OpenGrok
Home
Sort by:
relevance
|
last modified time
|
path
Full Search
in project(s):
src
xsrc
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:purity
(Results
1 - 17
of
17
) sorted by relevancy
/src/external/gpl3/gcc.old/dist/gcc/d/dmd/
sideeffect.d
70
* be impure (e.g. debug is allowed to violate
purity
)
139
PURE
purity
= tf.
purity
;
140
if (t.ty == Tdelegate &&
purity
> PURE.weak)
143
purity
= PURE.weak;
145
purity
= PURE.const_;
148
if (
purity
== PURE.const_)
275
* because
purity
and nothrow are inferred, and because some of the
func.d
196
purityInprocess = 1, /// working on determining
purity
1336
if (tf.
purity
== PURE.impure) //
purity
not specified
1362
if (tf.
purity
== PURE.fwdref)
1364
PURE
purity
= tf.
purity
;
1365
if (
purity
> PURE.weak && isNested())
1366
purity
= PURE.weak;
1367
if (
purity
> PURE.weak && needThis())
1369
// The attribute of the 'this' reference affects
purity
strengt
[
all
...]
mtype.d
299
* which would maintain strong
purity
.
305
/* Should catch delegates and function pointers, and fold in their
purity
725
if (!t1.
purity
&& t2.
purity
)
4226
PURE
purity
= PURE.impure;
4240
this.
purity
= PURE.fwdref;
4290
t.
purity
=
purity
;
4307
* Set '
purity
' field of 'this'.
4313
if (tf.
purity
!= PURE.fwdref
[
all
...]
semantic3.d
612
assert(funcdecl.type == f || (funcdecl.type.ty == Tfunction && f.
purity
== PURE.impure && (cast(TypeFunction)funcdecl.type).
purity
>= PURE.fwdref));
1261
f.
purity
= PURE.fwdref;
1422
const puErr = ctf.
purity
&& !dtf.
purity
;
json.d
296
extern(D) void property(const char[] name, PURE
purity
)
298
final switch (
purity
)
dcast.d
827
// lots of legacy code breaks with the following
purity
check
847
if (tf.
purity
== PURE.impure)
1207
if (tf.
purity
== PURE.impure)
3014
if (tf1.
purity
!= tf2.
purity
)
3015
d.
purity
= PURE.impure;
3016
assert(d.
purity
!= PURE.fwdref);
mtype.h
602
PURE
purity
; // PURExxxx
member in class:TRUST::TypeFunction
dmangle.d
363
if (ta.
purity
)
dsymbolsem.d
3106
* auto bar() {} // become a weak
purity
function
3108
* auto baz() {} // become a weak
purity
function
3116
if (tf.
purity
== PURE.impure && (funcdecl.isNested() || funcdecl.isThis()))
3131
/* If the parent's
purity
is inferred, then this function's
purity
needs
3136
tf.
purity
= PURE.fwdref; // default to pure
3151
if (tf.
purity
== PURE.fwdref)
3232
tfo.
purity
= f.
purity
;
3899
/*
Purity
and safety can be inferred for some functions by examinin
[
all
...]
clone.d
66
if (tf.
purity
!= PURE.impure)
typesem.d
1186
tf.
purity
= PURE.fwdref;
3718
tf.
purity
= PURE.const_;
expression.d
1165
* Check the
purity
, i.e. if we're in a pure function
1187
checkOverridenDtor(sc, f, dd => dd.type.toTypeFunction().
purity
!= PURE.impure, "impure");
1269
* Check for
purity
and safety violations.
1275
/* Look for
purity
and safety violations when accessing variable v
3982
tfy.
purity
= tfx.
purity
;
expressionsem.d
3972
// the
purity
violation error is redundant.
4385
// lazy parameters can be called without violating
purity
and safety
4969
//
Purity
and safety check should run after testing arguments matching
4981
if (!tf.
purity
&& sc.func.setImpure())
13076
*
Purity
(`pure`), safety (`@safe`), no GC allocations(`@nogc`)
/src/external/mit/isl/dist/
isl_transitive_closure.c
346
static int
purity
(__isl_keep isl_basic_set *bset, isl_int *c, int *div_purity,
function
480
p =
purity
(delta, delta_c[i], div_purity, eq);
/src/external/gpl3/gcc.old/dist/gcc/d/
d-builtins.cc
550
- The
purity
of a built-in can vary depending on compiler flags set
555
tf->
purity
= DECL_PURE_P (decl) ? PURE::const_
/src/external/gpl3/gcc.old/dist/libphobos/libdruntime/core/
lifetime.d
2377
* bypassed safety,
purity
, and throwabilty checks. To prevent breaking
2400
* bypassed safety,
purity
, and throwabilty checks. To prevent breaking
/src/external/gpl3/gcc.old/dist/libphobos/src/std/
exception.d
427
If a delegate is passed, the safety and
purity
of this function are inferred
428
from `Dg`'s safety and
purity
.
538
//
purity
and safety inference test
Completed in 97 milliseconds
Indexes created Wed Jun 10 00:26:05 UTC 2026