Searched refs:expr (Results 1 - 25 of 62) sorted by relevance

123

/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/lib2to3/fixes/
H A Dfix_repr.py15 atom < '`' expr=any '`' >
19 expr = results["expr"].clone()
21 if expr.type == self.syms.testlist1:
22 expr = parenthesize(expr)
23 return Call(Name(u"repr"), [expr], prefix=node.prefix)
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/compiler/
H A Dast.py85 def __init__(self, expr, attrname, flags, lineno=None):
86 self.expr = expr
92 return self.expr, self.attrname, self.flags
95 return self.expr,
98 return "AssAttr(%s, %s, %s)" % (repr(self.expr), repr(self.attrname), repr(self.flags))
170 def __init__(self, nodes, expr, lineno=None):
172 self.expr = expr
178 children.append(self.expr)
[all...]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Tools/scripts/
H A Deptags.py21 expr = r'^[ \t]*(def|class)[ \t]+([a-zA-Z_][a-zA-Z0-9_]*)[ \t]*[:\(]' variable
22 matcher = re.compile(expr)
H A Dptags.py27 expr = '^[ \t]*(def|class)[ \t]+([a-zA-Z0-9_]+)[ \t]*[:\(]' variable
28 matcher = re.compile(expr)
/device/linaro/bootloader/edk2/StdLib/Include/Arm/machine/
H A Datomic.h59 #define __with_interrupts_disabled(expr) \
70 (expr); \
/device/generic/goldfish/tools/
H A Dmk_qemu_image.sh30 disksize=`expr $curdisksize + 1024 \* 1024 `
32 end=`expr $disksize \/ 512 - 2048 - 1`
/device/linaro/bootloader/edk2/BaseTools/Source/C/VfrCompile/Pccts/support/rexpr/
H A Drexpr.h23 int rexpr( char *expr, char *s );
H A Drexpr.c4 * int rexpr(char *expr, char *s);
8 * 1 if 's' is in the language described by the regular expression 'expr'
22 * <andExpr> ::= <expr> ( <expr> )*
24 * <expr> ::= {'~'} '[' <atomList> ']' <repeatSymbol>
76 static int expr( GraphPtr g );
93 static int expr();
115 * return 1 if s in language described by expr
117 * -1 if expr is an invalid regular expression
120 static int rexpr(char *expr,cha argument
246 static int expr(GraphPtr g) function
[all...]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Python/
H A Dsymtable.c1008 VISIT_SEQ(st, expr, s->v.FunctionDef.args->defaults);
1010 VISIT_SEQ(st, expr, s->v.FunctionDef.decorator_list);
1023 VISIT_SEQ(st, expr, s->v.ClassDef.bases);
1025 VISIT_SEQ(st, expr, s->v.ClassDef.decorator_list);
1039 VISIT(st, expr, s->v.Return.value);
1051 VISIT_SEQ(st, expr, s->v.Delete.targets);
1054 VISIT_SEQ(st, expr, s->v.Assign.targets);
1055 VISIT(st, expr, s->v.Assign.value);
1058 VISIT(st, expr, s->v.AugAssign.target);
1059 VISIT(st, expr,
[all...]
H A Dcompile.c1204 VISIT(c, expr, st->v.Expr.value);
1240 VISIT_IN_SCOPE(c, expr, mod->v.Expression.body);
1354 VISIT(c, expr, (expr_ty)asdl_seq_GET(decos, i));
1377 VISIT(c, expr, arg);
1398 VISIT_SEQ(c, expr, args->defaults);
1453 VISIT_SEQ(c, expr, s->v.ClassDef.bases);
1515 VISIT(c, expr, e->v.IfExp.test);
1517 VISIT(c, expr, e->v.IfExp.body);
1520 VISIT(c, expr, e->v.IfExp.orelse);
1540 VISIT_SEQ(c, expr, arg
[all...]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Python/
H A Dsymtable.c1006 VISIT_SEQ(st, expr, s->v.FunctionDef.args->defaults);
1008 VISIT_SEQ(st, expr, s->v.FunctionDef.decorator_list);
1021 VISIT_SEQ(st, expr, s->v.ClassDef.bases);
1023 VISIT_SEQ(st, expr, s->v.ClassDef.decorator_list);
1037 VISIT(st, expr, s->v.Return.value);
1049 VISIT_SEQ(st, expr, s->v.Delete.targets);
1052 VISIT_SEQ(st, expr, s->v.Assign.targets);
1053 VISIT(st, expr, s->v.Assign.value);
1056 VISIT(st, expr, s->v.AugAssign.target);
1057 VISIT(st, expr,
[all...]
H A Dcompile.c1181 VISIT(c, expr, st->v.Expr.value);
1217 VISIT_IN_SCOPE(c, expr, mod->v.Expression.body);
1331 VISIT(c, expr, (expr_ty)asdl_seq_GET(decos, i));
1354 VISIT(c, expr, arg);
1375 VISIT_SEQ(c, expr, args->defaults);
1430 VISIT_SEQ(c, expr, s->v.ClassDef.bases);
1492 VISIT(c, expr, e->v.IfExp.test);
1494 VISIT(c, expr, e->v.IfExp.body);
1497 VISIT(c, expr, e->v.IfExp.orelse);
1517 VISIT_SEQ(c, expr, arg
[all...]
/device/linaro/bootloader/edk2/BaseTools/Source/C/VfrCompile/Pccts/dlg/
H A Dtokens.h92 void expr(void);
94 extern void expr();
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/
H A Drlcompleter.py135 expr, attr = m.group(1, 3)
137 thisobject = eval(expr, self.namespace)
154 word = self._callable_postfix(val, "%s.%s" % (expr, word))
H A Dsymbol.py67 expr = 310 variable
/device/linaro/bootloader/edk2/BaseTools/Source/C/VfrCompile/Pccts/antlr/
H A Dmrhoist.c78 if (second->expr == PRED_AND_LIST) {
88 } else if (second->expr == PRED_OR_LIST) {
99 require (0,"Illegal pred->expr");
103 if (first->expr == PRED_AND_LIST) {
113 } else if (first->expr == PRED_OR_LIST) {
124 require (0,"Illegal predicate->expr");
129 if (first->expr == PRED_AND_LIST && second->expr == PRED_AND_LIST) {
143 } else if (first->expr == PRED_AND_LIST && second->expr
[all...]
H A Dmisc.c12 * int Tnum(char *); Get number of expr/token
14 * int hasAction(expr); Does expr already have action assigned?
15 * void setHasAction(expr); Indicate that expr now has an action
125 p->expr = e;
136 * We need to track an expr for each automaton. If we disallowed this
214 hasAction( char *expr )
216 hasAction( expr )
217 char *expr;
230 setHasAction( char *expr, char *action ) argument
[all...]
H A Dpred.c177 root->expr = PRED_OR_LIST;
399 pred->expr = p->action;
469 root->expr = PRED_AND_LIST;
618 if ( a->expr == PRED_AND_LIST || a->expr == PRED_OR_LIST )
637 fprintf(stderr, "LL(1) context for %s(addr 0x%x) after ruleref:", a->expr, a);
666 if ( a->expr == PRED_AND_LIST || a->expr == PRED_OR_LIST )
714 if ( p->expr == PRED_AND_LIST || p->expr
[all...]
H A Dgeneric.h60 #define require(expr, err) {if ( !(expr) ) fatal_internal(err);}
209 char *expr; member in struct:_exprOrder
H A Ddumpnode.c63 if (p->expr == PRED_AND_LIST ||
64 p->expr == PRED_OR_LIST) {
65 fprintf(stderr," %s", (p->expr == NULL ? "null expr" : p->expr));
85 fprintf(stderr," \"%s\" (%x)", (p->expr == NULL ? "null expr" : p->expr) ,p);
131 fprintf(stderr,"predicate k=%d \"%s\" line %d\n",p->k,p->expr,p->source->line);
142 fprintf(stderr," pred expr \"
[all...]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/
H A Dtest_decorators.py30 expr = compile(exprstr, "dbcheck-%s" % func.func_name, "eval")
32 if not eval(expr, globals, locals):
157 for expr in [ "1+2", "x[3]", "(1, 2)" ]:
158 # Sanity check: is expr is a valid expression by itself?
159 compile(expr, "testexpr", "exec")
161 codestr = "@%s\ndef f(): pass" % expr
175 for expr, exc in [ ("undef", NameError),
179 codestr = "@%s\ndef f(): pass\nassert f() is None" % expr
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Demo/classes/
H A DComplex.py231 def checkop(expr, a, b, value, fuzz = 1e-6):
234 result = eval(expr)
312 for expr in sorted(testsuite):
313 print expr + ':'
314 t = (expr,)
315 for item in testsuite[expr]:
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Include/
H A Dgraminit.h57 #define expr 310 macro
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Include/
H A Dgraminit.h57 #define expr 310 macro
/device/linaro/hikey/l-loader/
H A Dgenerate_ptable.sh15 ENTRIES_IN_SECTOR=$(expr ${SECTOR_SIZE} / 128)
16 ENTRY_SECTORS=$(expr 128 / ${ENTRIES_IN_SECTOR})
17 PRIMARY_SECTORS=$(expr ${ENTRY_SECTORS} + 2)
18 SECONDARY_SECTORS=$(expr ${ENTRY_SECTORS} + 1)
38 SECTOR_ALIGNMENT=$(expr ${SECTOR_SIZE} / 512)
39 SECTOR_NUMBER=$(expr '(' ${SECTOR_NUMBER} '*' 512 + ${SECTOR_SIZE} - 1 ')' / ${SECTOR_SIZE})
192 BK_PTABLE_LBA=$(expr ${SECTOR_NUMBER} - ${SECONDARY_SECTORS})

Completed in 207 milliseconds

123