/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/lib2to3/fixes/ |
D | fix_itertools_imports.py | 20 for child in children[::2]: 21 if child.type == token.NAME: 22 member = child.value 23 name_node = child 24 elif child.type == token.STAR: 28 assert child.type == syms.import_as_name 29 name_node = child.children[0] 32 child.value = None 33 child.remove() 42 for child in children: [all …]
|
D | fix_ws_comma.py | 27 for child in new.children: 28 if child in self.SEPS: 29 prefix = child.prefix 31 child.prefix = u"" 35 prefix = child.prefix 37 child.prefix = u" "
|
D | fix_next.py | 86 for child in assign.children: 87 if child.type == token.EQUAL: 89 elif is_subtree(child, node):
|
D | fix_except.py | 83 for child in reversed(suite_stmts[:i]): 84 e_suite.insert_child(0, child)
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/lib2to3/ |
D | btm_utils.py | 98 for child in self.children: 99 for x in child.leaves(): 127 for child in node.children: 128 if node.children.index(child)%2: 130 reduced = reduce_tree(child, new_node) 137 for child in node.children: 138 reduced = reduce_tree(child, new_node) 169 for child in node.children: 170 if child.type == syms.Details: 172 details_node = child [all …]
|
D | fixer_util.py | 345 for child in node.children: 347 if child.type == syms.for_stmt: 348 if _find(name, child.children[1]): 349 return child 350 n = find_binding(name, make_suite(child.children[-1]), package) 352 elif child.type in (syms.if_stmt, syms.while_stmt): 353 n = find_binding(name, make_suite(child.children[-1]), package) 355 elif child.type == syms.try_stmt: 356 n = find_binding(name, make_suite(child.children[2]), package) 360 for i, kid in enumerate(child.children[3:]): [all …]
|
D | pytree.py | 192 for i, child in enumerate(self.parent.children): 193 if child is self: 209 for i, child in enumerate(self.parent.children): 210 if child is self: 216 for child in self.children: 217 for x in child.leaves(): 296 for child in self.children: 297 for node in child.post_order(): 304 for child in self.children: 305 for node in child.pre_order(): [all …]
|
D | btm_matcher.py | 105 for child in current_ast_node.children: 107 if isinstance(child, pytree.Leaf) and child.value == u";":
|
D | patcomp.py | 116 child = children[0] 117 if child.type == token.STAR: 120 elif child.type == token.PLUS: 123 elif child.type == token.LBRACE:
|
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Other/Maintained/Tools/Pccts/h/ |
D | ASTBase.cpp | 134 register ASTBase *child, *sibling=NULL, *tail, *w; in tmake() local 143 child = va_arg(ap, ASTBase *); in tmake() 144 while ( child != NULL ) in tmake() 146 for (w=child; w->_right!=NULL; w=w->_right) {;} /* find end of child */ in tmake() 147 if ( sibling == NULL ) {sibling = child; tail = w;} in tmake() 148 else {tail->_right = child; tail = w;} in tmake() 149 child = va_arg(ap, ASTBase *); in tmake()
|
D | ast.c | 258 register AST *child, *sibling=NULL, *tail=NULL /* MR20 */, *w; in zztmake() local 271 child = va_arg(ap, AST *); in zztmake() 272 while ( child != NULL ) in zztmake() 274 for (w=child; w->right!=NULL; w=w->right) {;} /* find end of child */ in zztmake() 275 if ( sibling == NULL ) {sibling = child; tail = w;} in zztmake() 276 else {tail->right = child; tail = w;} in zztmake() 277 child = va_arg(ap, AST *); in zztmake()
|
D | PCCTSAST.cpp | 98 register PCCTS_AST *child, *sibling=NULL, *tail, *w; in make() local 106 child = va_arg(ap, PCCTS_AST *); in make() 107 while ( child != NULL ) in make() 110 for (w=child; w->right()!=NULL; w=w->right()) {;} in make() 111 if ( sibling == NULL ) {sibling = child; tail = w;} in make() 112 else {tail->setRight(child); tail = w;} in make() 113 child = va_arg(ap, PCCTS_AST *); in make() 532 ScanAST *t=NULL, *root, *child, *last; in stringparser_parse_tree() local 545 child = stringparser_parse_element(parser); in stringparser_parse_tree() 546 if ( t==NULL ) { t = child; last = t; } in stringparser_parse_tree() [all …]
|
/device/linaro/bootloader/edk2/BaseTools/Source/C/VfrCompile/Pccts/h/ |
D | ASTBase.cpp | 134 register ASTBase *child, *sibling=NULL, *tail=NULL /*MR23*/, *w; in tmake() local 143 child = va_arg(ap, ASTBase *); in tmake() 144 while ( child != NULL ) in tmake() 146 for (w=child; w->_right!=NULL; w=w->_right) {;} /* find end of child */ in tmake() 147 if ( sibling == NULL ) {sibling = child; tail = w;} in tmake() 148 else {tail->_right = child; tail = w;} in tmake() 149 child = va_arg(ap, ASTBase *); in tmake()
|
D | ast.c | 258 register AST *child, *sibling=NULL, *tail=NULL /* MR20 */, *w; in zztmake() local 271 child = va_arg(ap, AST *); in zztmake() 272 while ( child != NULL ) in zztmake() 274 for (w=child; w->right!=NULL; w=w->right) {;} /* find end of child */ in zztmake() 275 if ( sibling == NULL ) {sibling = child; tail = w;} in zztmake() 276 else {tail->right = child; tail = w;} in zztmake() 277 child = va_arg(ap, AST *); in zztmake()
|
D | PCCTSAST.cpp | 98 register PCCTS_AST *child, *sibling=NULL, *tail=NULL /*MR23*/, *w; in make() local 106 child = va_arg(ap, PCCTS_AST *); in make() 107 while ( child != NULL ) in make() 110 for (w=child; w->right()!=NULL; w=w->right()) {;} in make() 111 if ( sibling == NULL ) {sibling = child; tail = w;} in make() 112 else {tail->setRight(child); tail = w;} in make() 113 child = va_arg(ap, PCCTS_AST *); in make() 544 ScanAST *t=NULL, *root, *child, *last=NULL /*MR23*/; in stringparser_parse_tree() local 557 child = stringparser_parse_element(parser); in stringparser_parse_tree() 558 if ( t==NULL ) { t = child; last = t; } in stringparser_parse_tree() [all …]
|
/device/linaro/hikey/hifi/xaf/hifi-dpf/include/lib/ |
D | rbtree.h | 106 static inline void rb_set_left(rb_tree_t *tree, rb_idx_t n_idx, rb_node_t *child) in rb_set_left() argument 108 n_idx->left = child; in rb_set_left() 112 static inline void rb_set_right(rb_tree_t *tree, rb_idx_t n_idx, rb_node_t *child) in rb_set_right() argument 114 n_idx->right = child; in rb_set_right()
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/ |
D | test_signal.py | 67 def wait(self, child): argument 71 child.wait() 94 child = ignoring_eintr(subprocess.Popen, ['kill', '-HUP', str(pid)]) 95 if child: 96 self.wait(child) 106 del child 108 child = subprocess.Popen(['kill', '-USR1', str(pid)]) 110 self.wait(child) 119 child = ignoring_eintr(subprocess.Popen, ['kill', '-USR2', str(pid)]) 120 if child: [all …]
|
D | test_minidom.py | 242 child = dom.appendChild(dom.createElement("abc")) 244 child.setAttribute("def", "ghi") 245 self.confirm(child.getAttribute("def") == "ghi") 246 self.confirm(child.attributes["def"].value == "ghi") 248 child.setAttribute("jkl", "mno") 249 self.confirm(child.getAttribute("jkl") == "mno") 250 self.confirm(child.attributes["jkl"].value == "mno") 252 self.confirm(len(child.attributes) == 2) 254 child.setAttribute("def", "newval") 255 self.confirm(child.getAttribute("def") == "newval") [all …]
|
/device/generic/goldfish/wifi/createns/ |
D | createns.cpp | 274 pid_t child = 0; in main() local 275 if (::read(readPipe.get(), &child, sizeof(child)) != sizeof(child)) { in main() 279 if (!writeNamespacePid(argv[1], child)) { in main()
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Python/ |
D | thread_sgi.h | 24 pid_t child; member 87 if (pidlist[i].parent == mypid && (pid = pidlist[i].child) > 0) { in clean_threads() 95 pidlist[j].child = -1; in clean_threads() 104 if (pidlist[i].child == -1) { in clean_threads() 160 pidlist[maxpidindex++].child = success; in PyThread_start_new_thread()
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/ |
D | ast.py | 144 for child in iter_child_nodes(node): 145 _fix(child, lineno, col_offset) 155 for child in walk(node): 156 if 'lineno' in child._attributes: 157 child.lineno = getattr(child, 'lineno', 0) + n
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Lib/ |
D | ast.py | 144 for child in iter_child_nodes(node): 145 _fix(child, lineno, col_offset) 155 for child in walk(node): 156 if 'lineno' in child._attributes: 157 child.lineno = getattr(child, 'lineno', 0) + n
|
/device/google/cuttlefish/host/commands/launch/ |
D | flag_forwarder.cc | 113 for (xmlNodePtr child = node->children; child != nullptr; child = child->next) { in xmlChildWithName() local 114 if (child->type != XML_ELEMENT_NODE) { in xmlChildWithName() 117 if (std::strcmp((const char*) child->name, name.c_str()) == 0) { in xmlChildWithName() 118 return child; in xmlChildWithName()
|
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Other/Maintained/Tools/Pccts/sorcerer/lib/ |
D | astlib.c | 148 register SORAST *child, *sibling=NULL, *tail = NULL, *w; in ast_make() local 161 child = va_arg(ap, SORAST *); in ast_make() 162 while ( child != NULL ) in ast_make() 165 for (w=child; w->ast_right!=NULL; w=w->ast_right) {;} in ast_make() 166 if ( sibling == NULL ) {sibling = child; tail = w;} in ast_make() 167 else {tail->ast_right = child; tail = w;} in ast_make() 168 child = va_arg(ap, SORAST *); in ast_make() 685 ScanAST *t=NULL, *root, *child, *last = NULL; local 698 child = stringparser_parse_element(parser); 699 if ( t==NULL ) { t = child; last = t; } [all …]
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Lib/xml/dom/ |
D | minidom.py | 179 for child in self.childNodes: 180 if child.nodeType == Node.TEXT_NODE: 181 if not child.data: 184 L[-1].nextSibling = child.nextSibling 185 if child.nextSibling: 186 child.nextSibling.previousSibling = child.previousSibling 187 child.unlink() 188 elif L and L[-1].nodeType == child.nodeType: 191 node.data = node.data + child.data 192 node.nextSibling = child.nextSibling [all …]
|