/external/ply/ply/example/BASIC/ |
D | basinterp.py | 378 def expr_str(self, expr): member in BasicInterpreter 383 return "(%s)" % self.expr_str(expr[1]) 388 return "%s %s %s" % (self.expr_str(expr[2]), expr[1], self.expr_str(expr[3])) 393 return "%s %s %s" % (self.expr_str(expr[2]), expr[1], self.expr_str(expr[3])) 400 return "%s(%s)" % (varname, self.expr_str(dim1)) 401 return "%s(%s,%s)" % (varname, self.expr_str(dim1), self.expr_str(dim2)) 422 _out += '"%s"%s' % (p[0], self.expr_str(p[1])) 424 _out += self.expr_str(p[1]) 433 (line, self.var_str(instr[1]), self.expr_str(instr[2]))) 450 line, instr[1], self.expr_str(instr[2]), self.expr_str(instr[3])) [all …]
|
/external/selinux/libsepol/cil/src/ |
D | cil_tree.c | 364 char *expr_str; in cil_expr_to_string() local 413 expr_str = cil_malloc(len); in cil_expr_to_string() 414 snprintf(expr_str, len, "(%s %s)", op_str, stack[pos-1]); in cil_expr_to_string() 424 expr_str = cil_malloc(len); in cil_expr_to_string() 425 snprintf(expr_str, len, "(%s %s %s)", op_str, stack[pos-1], stack[pos-2]); in cil_expr_to_string() 432 stack[pos] = expr_str; in cil_expr_to_string() 505 char *expr_str; in cil_tree_print_expr() local 511 rc = cil_expr_to_string(datum_expr, &expr_str); in cil_tree_print_expr() 513 rc = cil_expr_to_string(str_expr, &expr_str); in cil_tree_print_expr() 519 cil_log(CIL_INFO, "%s)", expr_str); in cil_tree_print_expr() [all …]
|
D | cil_policy.c | 969 char *expr_str; in cil_mlsconstrains_to_policy() local 975 expr_str = cil_cons_expr_to_string(db, cons->datum_expr); in cil_mlsconstrains_to_policy() 978 fprintf(out, "mlsconstrain %s %s;\n", cp_str, expr_str); in cil_mlsconstrains_to_policy() 981 free(expr_str); in cil_mlsconstrains_to_policy() 992 char *expr_str; in cil_validatetrans_to_policy() local 997 expr_str = cil_cons_expr_to_string(db, trans->datum_expr); in cil_validatetrans_to_policy() 1000 fprintf(out, "%s %s %s;\n", kind, class->datum.fqn, expr_str); in cil_validatetrans_to_policy() 1002 free(expr_str); in cil_validatetrans_to_policy() 1638 char *expr_str; in cil_constrains_to_policy() local 1644 expr_str = cil_cons_expr_to_string(db, cons->datum_expr); in cil_constrains_to_policy() [all …]
|
D | cil_write_ast.c | 13 static int cil_unfill_expr(struct cil_list *expr_str, char **out_str, int paren); 230 static int cil_unfill_expr(struct cil_list *expr_str, char **out_str, int paren) { in cil_unfill_expr() argument 240 curr = expr_str->head; in cil_unfill_expr() 394 rc = cil_unfill_expr(permx->expr_str, &expr, 1); in cil_unfill_permx()
|
D | android.c | 270 static int cil_attrib_type_expr(struct cil_list *expr_str, struct version_args *args) in cil_attrib_type_expr() argument 278 cil_list_for_each(curr, expr_str) { in cil_attrib_type_expr()
|
D | cil_internal.h | 623 struct cil_list *expr_str; member
|
D | cil_binary.c | 4476 char *expr_str; in __cil_print_permissionx() local 4487 __cil_expr_to_string(px->expr_str, CIL_PERMISSIONX, &expr_str); in __cil_print_permissionx() 4489 cil_log(CIL_ERR, "%s %s (%s)", kind_str, DATUM(px->obj)->fqn, expr_str); in __cil_print_permissionx() 4491 free(expr_str); in __cil_print_permissionx()
|
D | cil_copy_ast.c | 812 cil_copy_expr(db, orig->expr_str, &new->expr_str); in cil_copy_fill_permissionx()
|
D | cil.c | 2376 (*permx)->expr_str = NULL; in cil_permissionx_init()
|
D | cil_post.c | 1011 …rc = __cil_expr_to_bitmap(permx->expr_str, permx->perms, 0x10000, db); // max is one more than 0xF… in __evaluate_permissionx_expression()
|
D | cil_build_ast.c | 2112 rc = cil_gen_expr(parse_current->next->next, CIL_PERMISSIONX, &permx->expr_str); in cil_fill_permissionx() 2177 cil_list_destroy(&permx->expr_str, CIL_TRUE); in cil_destroy_permissionx()
|
/external/llvm-project/lldb/source/Interpreter/ |
D | CommandInterpreter.cpp | 1522 std::string expr_str(command, expr_content_start, in PreprocessCommand() local 1544 target.EvaluateExpression(expr_str.c_str(), exe_ctx.GetFramePtr(), in PreprocessCommand() 1567 expr_str.c_str()); in PreprocessCommand() 1574 expr_str.c_str()); in PreprocessCommand() 1588 "expression setup error for the expression '%s'", expr_str.c_str()); in PreprocessCommand() 1592 "expression parse error for the expression '%s'", expr_str.c_str()); in PreprocessCommand() 1597 expr_str.c_str()); in PreprocessCommand() 1603 "expression discarded for the expression '%s'", expr_str.c_str()); in PreprocessCommand() 1607 "expression interrupted for the expression '%s'", expr_str.c_str()); in PreprocessCommand() 1612 expr_str.c_str()); in PreprocessCommand() [all …]
|
/external/llvm-project/lldb/examples/darwin/heap_find/ |
D | heap.py | 1285 for expr_str in args: 1288 section.addr.load_addr, section.size, expr_str) 1290 section_modules[idx].file.fullpath, section.name, expr_str)
|
/external/python/cpython3/Parser/pegen/ |
D | parse_string.c | 291 fstring_find_expr_location(Token *parent, char *expr_str, int *p_lines, int *p_cols) in fstring_find_expr_location() argument 300 char *substr = strstr(parent_str, expr_str); in fstring_find_expr_location()
|
/external/python/cpython3/Lib/test/ |
D | test_dis.py | 198 expr_str = "x + 1" variable 584 self.do_disassembly_test(expr_str, dis_expr_str) 840 (expr_str, code_info_expr_str),
|
/external/python/cpython3/Python/ |
D | ast.c | 4701 fstring_fix_node_location(const node *parent, node *n, char *expr_str) in fstring_fix_node_location() argument 4711 substr = strstr(parent->n_str, expr_str); in fstring_fix_node_location()
|