/external/antlr/runtime/CSharp3/Sources/Antlr3.Runtime/Tree/ |
BaseTreeAdaptor.cs | 127 // ensure new subtree root has parent/child index set 133 object child = GetChild( t, i ); 134 object newSubTree = DupTree( child, t ); 141 * Add a child to the tree t. If child is a flat tree (a list), make all 142 * in list children of t. Warning: if t has no children, but child does 143 * and child isNil then you can decide it is ok to move children to t via 144 * t.children = child.children; i.e., without copying the array. Just 149 public virtual void AddChild( object t, object child ) 151 if ( t != null && child != null [all...] |
/external/antlr/tool/src/main/java/org/antlr/tool/ |
Strip.java | 164 CommonTree child = (CommonTree)a.getChild(0); 166 tokens.delete(child.token.getTokenIndex()); 175 CommonTree child = (CommonTree)a.getChild(0); 177 tokens.delete(child.token.getTokenIndex()); 188 CommonTree child = (CommonTree)a.getChild(0); 189 int stop = child.getTokenStopIndex(); 190 if ( child.getType()==ANTLRv3Parser.SEMPRED ) {
|
/external/junit/src/main/java/org/junit/runners/ |
ParentRunner.java | 50 * must implement finding the children of the node, describing each child, and 51 * running each child. ParentRunner will filter and sort children, handle 101 * Returns a {@link Description} for {@code child}, which can be assumed to 104 protected abstract Description describeChild(T child); 107 * Runs the test corresponding to {@code child}, which can be assumed to be 112 protected abstract void runChild(T child, RunNotifier notifier); 200 for (T child : getFilteredChildren()) { 201 if (!isIgnored(child)) { 274 * Evaluates whether a child is ignored. The default implementation always 280 protected boolean isIgnored(T child) { [all...] |
/external/mesa3d/src/mapi/glapi/gen/ |
glX_server_table.py | 147 # If all of the child nodes are non-empty leaf nodes, pull 182 for child in children: 183 if child[1] == []: 222 child_index += child[2] 229 for child in children: 230 if child[1] != []: 231 self.dump_tree(child, base_opcode, remaining_bits - M, child_index, depth + 1) 232 child_index += child[2] 249 # child nodes. For leaf nodes, the followign 2^M values are 252 # If an inner node's child index is 0, the child is an empt [all...] |
/external/iperf3/src/ |
cjson.c | 187 if (!(item->type & cJSON_IsReference) && (item->child != NULL)) 189 cJSON_Delete(item->child); 1776 cJSON *child = NULL; local 2274 cJSON *child = NULL; local [all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/lib2to3/ |
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():
251 child nodes, and an optional context keyword argument.
296 for child in self.children:
297 for node in child.post_order():
304 for child in self.children: [all...] |
/external/parameter-framework/upstream/tools/xmlGenerator/ |
EddParser.py | 187 def addChild(self, child, append=True) : 188 """ A.addChid(B) -> add B to A child list if B class name is in A white List""" 190 # Will raise an exception if this child is not in the white list 191 self.childWhiteList.index(child.__class__.__name__) 192 # If no exception was raised, add child to child list 195 self.children.append(child) 197 self.children.insert(0, child) 200 # the child class is not in the white list 201 raise ChildNotPermitedError("", self, child) [all...] |
/external/python/cpython2/Lib/lib2to3/ |
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(): 251 child nodes, and an optional context keyword argument. 296 for child in self.children: 297 for node in child.post_order(): 304 for child in self.children [all...] |
/external/python/cpython3/Lib/lib2to3/ |
pytree.py | 161 for i, child in enumerate(self.parent.children): 162 if child is self: 178 for i, child in enumerate(self.parent.children): 179 if child is self: 185 for child in self.children: 186 yield from child.leaves() 219 child nodes, and an optional context keyword argument. 264 for child in self.children: 265 yield from child.post_order() 271 for child in self.children [all...] |
/cts/tests/autofillservice/src/android/autofillservice/cts/ |
VirtualContainerView.java | 230 Log.d(TAG, "Adding new child" + syncMsg + " at index " + index + ": " + item); 231 final ViewStructure child = mSync local 234 child.setAutofillId(structure.getAutofillId(), item.id); 235 child.setDataIsSensitive(item.sensitive); 237 child.setInputType(item.line.inputType); 240 child.setClassName(item.className); 242 child.setId(1000 + index, packageName, "id", item.resourceId); 243 child.setText(item.text); 247 child.setAutofillValue(AutofillValue.forText(item.text)); 249 child.setFocused(item.line.focused) [all...] |
/external/linux-kselftest/tools/testing/selftests/exec/ |
execveat.c | 71 pid_t child; local 80 child = fork(); 81 if (child < 0) { 85 if (child == 0) { 86 /* Child: do execveat(). */ 92 /* Parent: wait for & check child's exit status. */ 93 rc = waitpid(child, &status, 0); 94 if (rc != child) { 95 printf("[FAIL] (waitpid(%d,...) returned %d)\n", child, rc); 99 printf("[FAIL] (child %d did not exit cleanly, status=%08x)\n" [all...] |
/external/mesa3d/src/compiler/nir/ |
nir_lower_io_arrays_to_elements.c | 47 tail = tail->child; 51 while (tail->child != NULL) { 52 tail = tail->child; 109 assert(arr_intr->variables[0]->deref.child); 113 nir_deref_as_array(arr_intr->variables[0]->deref.child); 123 element_intr->variables[0]->deref.child = &ndarr->deref; 203 tail = tail->child; 206 for (tail = tail->child; tail; tail = tail->child) {
|
nir_lower_io_to_scalar.c | 158 if (darr->deref.child) 159 ndarr->deref.child = 160 &clone_deref_array(nir_deref_as_array(darr->deref.child), 208 if (intr->variables[0]->deref.child) { 209 chan_intr->variables[0]->deref.child = 210 &clone_deref_array(nir_deref_as_array(intr->variables[0]->deref.child), 265 if (intr->variables[0]->deref.child) { 266 chan_intr->variables[0]->deref.child = 267 &clone_deref_array(nir_deref_as_array(intr->variables[0]->deref.child),
|
/external/pdfium/fpdfsdk/ |
fpdfdoc_embeddertest.cpp | 184 FPDF_BOOKMARK child = FPDFBookmark_GetFirstChild(document(), nullptr); local 185 EXPECT_TRUE(child); 186 EXPECT_EQ(34u, FPDFBookmark_GetTitle(child, buf, sizeof(buf))); 189 EXPECT_EQ(nullptr, FPDFBookmark_GetFirstChild(document(), child)); 191 FPDF_BOOKMARK sibling = FPDFBookmark_GetNextSibling(document(), child); 206 FPDF_BOOKMARK child = FPDFBookmark_Find(document(), title.get()); local 207 EXPECT_TRUE(child); 211 EXPECT_EQ(34u, FPDFBookmark_GetTitle(child, buf, sizeof(buf))); 215 EXPECT_EQ(child, FPDFBookmark_GetFirstChild(document(), nullptr));
|
/cts/tests/tests/widget/src/android/widget/cts/ |
LayoutDirectionTest.java | 99 LinearLayout child = new LinearLayout(mActivity); local 100 child.setLayoutDirection(LAYOUT_DIRECTION_INHERIT); 101 parent.addView(child); 107 assertEquals(LAYOUT_DIRECTION_LTR, child.getLayoutDirection()); 113 assertEquals(LAYOUT_DIRECTION_RTL, child.getLayoutDirection());
|
/development/tools/checkcolor/src/main/java/com/google/checkcolor/lint/ |
HardcodedColorDetector.java | 153 final Node child = childNodes.item(i); local 154 if (child.getNodeType() != Node.TEXT_NODE) { 158 final String value = child.getNodeValue(); 162 context.report(ISSUE, childElement, context.getLocation(child), 166 addIndirectColor(context, value, child);
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Python/ |
thread_sgi.h | 24 pid_t child;
member in struct:pidlist 87 if (pidlist[i].parent == mypid && (pid = pidlist[i].child) > 0) {
95 pidlist[j].child = -1;
104 if (pidlist[i].child == -1) {
160 pidlist[maxpidindex++].child = success;
|
/external/elfutils/libelf/ |
elf_end.c | 83 the child but here we already have the child lock. We 84 solve this problem by giving free the child lock. The 95 struct Elf *child = parent->state.ar.children; local 97 while (child->next != elf) 98 child = child->next; 100 child->next = elf->next;
|
/external/linux-kselftest/tools/testing/selftests/x86/ |
mov_ss_trap.c | 57 pid_t child = fork(); local 58 if (child < 0) 61 if (child) { 62 if (waitpid(child, &status, 0) != child) 63 err(1, "waitpid for child"); 78 err(1, "waitpid for child");
|
/external/ltp/testcases/kernel/mem/vmtests/ |
stack_space.c | 139 int child; local 144 if ((child = fork()) == 0) { /* child */ 148 if (child < 0) { 163 while ((child = wait(&status)) > 0) { 165 tst_resm(TINFO, "\t%s[%d] exited status = 0x%x\n", prog, child, 424 tst_resm(TINFO, "term1 - child - exiting\n");
|
/external/owasp/sanitizer/tools/ |
cut_release.py | 78 return "".join([inner_text(child) for child in node.childNodes]) 106 for child in os.listdir(src_path): 108 if "." == child[0:1]: continue 110 os.path.join(src_path, child), dest_path)
|
/external/python/cpython2/Python/ |
thread_sgi.h | 24 pid_t child; member in struct:pidlist 87 if (pidlist[i].parent == mypid && (pid = pidlist[i].child) > 0) { 95 pidlist[j].child = -1; 104 if (pidlist[i].child == -1) { 160 pidlist[maxpidindex++].child = success;
|
/external/slf4j/slf4j-ext/src/main/java/org/slf4j/profiler/ |
Profiler.java | 97 * Starts a child stop watch and stops any previously started time 131 // for (Object child : childTimeInstrumentList) { 132 // if (child instanceof Profiler) 133 // ((Profiler) child).stop(); 206 * Return a copy of the child instrument list for this Profiler instance. 208 * @return a copy of this instance's child time instrument list 235 for (TimeInstrument child : childTimeInstrumentList) { 236 if (child instanceof StopWatch) { 237 buildStopWatchString(buf, du, ELAPSED_TIME, indentation, (StopWatch) child); 238 } else if (child instanceof Profiler) [all...] |
/external/u-boot/drivers/pinctrl/ |
pinctrl-generic.c | 315 /* skip this node; may contain config child nodes */ 344 struct udevice *child; local 351 for (device_find_first_child(config, &child); 352 child; 353 device_find_next_child(&child)) { 354 ret = pinctrl_generic_set_state_subnode(dev, child);
|
/frameworks/av/media/libeffects/config/src/ |
EffectsConfig.cpp | 42 for (auto* child = node.FirstChildElement(childTag); child != nullptr; 43 child = child->NextSiblingElement(childTag)) { 44 children.emplace_back(*child);
|