/external/antlr/antlr-3.4/runtime/Java/src/main/java/org/antlr/runtime/tree/ |
BaseTree.java | 35 * instead of the child-sibling approach in v2. A flat tree (a list) is 83 /** Add t as child of this node. 85 * Warning: if t has no children, but child does 86 * and child isNil then this routine moves children to t via 87 * t.children = child.children; i.e., without copying the array. 90 //System.out.println("add child "+t.toStringTree()+" "+this.toStringTree()); 98 throw new RuntimeException("attempt to add child list to itself"); 107 // handle double-link stuff for each child of nil root 120 else { // child is not nil (don't care about children) 144 throw new IllegalArgumentException("Can't set single child to a list") 209 BaseTree child = (BaseTree)newChildren.get(j); local 259 Tree child = (Tree)getChild(c); local 272 BaseTree child = (BaseTree)getChild(c); local 292 CommonTree child = (CommonTree)this.getChild(c); local [all...] |
/external/compiler-rt/test/BlocksRuntime/ |
fail.c | 48 pid_t child = fork(); local 50 if (child == 0) { 51 // in child 64 if (child < 0) { 70 if (deadchild != child) { 71 printf("wait got %d instead of %d\n", deadchild, child); 78 //printf("exit status of child %d was %d\n", child, WEXITSTATUS(status)); 79 sprintf(buffer, "/tmp/errorfile_%d", child);
|
/external/deqp/executor/tools/ |
xeExtractSampleLists.cpp | 82 const xe::ri::Item& child = items.getItem(itemNdx); local 84 if (child.getType() == xe::ri::TYPE_SECTION) 85 extractSampleLists(casePath, listNdx, static_cast<const xe::ri::Section&>(child).items); 86 else if (child.getType() == xe::ri::TYPE_SAMPLELIST) 88 writeSampleList(casePath, *listNdx, static_cast<const xe::ri::SampleList&>(child));
|
/external/e2fsprogs/lib/ss/ |
help.c | 43 int fd, child; local 105 switch (child = fork()) { 115 while (wait(NULL) != child) {
|
/external/fio/lib/ |
rbtree.c | 224 struct rb_node *child, *parent; local 228 child = node->rb_right; 230 child = node->rb_left; 238 child = node->rb_right; 242 if (child) 243 rb_set_parent(child, parent); 245 parent->rb_right = child; 248 parent->rb_left = child; 272 if (child) 273 rb_set_parent(child, parent) [all...] |
/external/google-breakpad/src/client/linux/microdump_writer/ |
microdump_writer_unittest.cc | 60 const pid_t child = fork(); local 61 if (child == 0) { 74 context.tid = child; 101 ASSERT_TRUE(WriteMicrodump(child, &context, sizeof(context), mappings));
|
/external/google-breakpad/src/processor/ |
module_comparer.cc | 287 StaticContainedRangeMap<MemAddr, char> *child = local 290 ASSERT_TRUE(CompareCRM(iter1->second, child)); 291 delete child;
|
/external/jsilver/src/com/google/clearsilver/jsilver/data/ |
AbstractData.java | 52 Data child = getChild(path); local 53 if (child == null) { 56 String result = child.getValue(); 68 Data child = getChild(path); local 69 if (child == null) { 72 String result = child.getValue(); 109 Data child = createChild(path); local 110 child.setValue(value);
|
UnmodifiableData.java | 55 // Check if child already exists 56 Data child = getChild(path); local 58 if (child == null) { 59 // If the child described by path does not exist we throw 63 return child;
|
/external/junit/src/junit/framework/ |
JUnit4TestAdapter.java | 62 Description child= removeIgnored(each); local 63 if (! child.isEmpty()) 64 result.addChild(child);
|
/external/skia/src/core/ |
SkTDPQueue.h | 136 int child = LeftOf(index); local 138 if (child >= fArray.count()) { 144 if (child + 1 >= fArray.count()) { 145 // We only have a left child. 146 if (LESS(fArray[child], fArray[index])) { 147 SkTSwap(fArray[child], fArray[index]); 148 this->setIndex(child); 152 } else if (LESS(fArray[child + 1], fArray[child])) { 153 // The right child is the one we should swap with, if we swap [all...] |
/external/valgrind/helgrind/tests/ |
tc11_XCHG.c | 8 /* Simple test program, no race. Parent and child both modify x and 145 pthread_t child; local 147 if (pthread_create(&child, NULL, child_fn, NULL)) { 155 if (pthread_join(child, NULL)) {
|
tc20_verifywrap.c | 69 create a child thread, generate a race error, and join with it 75 { pthread_t child; local 76 r= pthread_create( &child, NULL, racy_child, NULL ); assert(!r); 77 sleep(1); /* just to ensure parent thread reports race, not child */ 79 r= pthread_join( child, NULL ); assert(!r);
|
/external/valgrind/memcheck/tests/ |
atomic_incs.c | 753 pid_t child, p2; local 782 child = fork(); 783 if (child == -1) { 788 if (child == 0) { 789 /* --- CHILD --- */ 790 printf("child\n"); 813 p2 = waitpid(child, &status, 0); 814 assert(p2 == child); 816 /* assert that child finished normally */
|
/external/valgrind/none/tests/linux/ |
pthread-stack.c | 70 pthread_t child; local 85 /* Create a file-based stack for the child */ 99 /* Create child run */ 100 r = pthread_create(&child, &attr, child_func, NULL); 102 r = pthread_join(child, NULL);
|
/frameworks/base/core/java/android/widget/ |
ViewSwitcher.java | 28 * child views, of which only one is shown at a time. 62 public void addView(View child, int index, ViewGroup.LayoutParams params) { 66 super.addView(child, index, params); 85 View child = mFactory.makeView(); local 86 LayoutParams lp = (LayoutParams) child.getLayoutParams(); 90 addView(child, lp); 91 return child;
|
/frameworks/base/core/java/com/android/internal/widget/ |
BackgroundFallback.java | 57 final View child = root.getChildAt(i); local 58 final Drawable childBg = child.getBackground(); 59 if (child == content) { 62 if (childBg == null && child instanceof ViewGroup && 63 ((ViewGroup) child).getChildCount() == 0) { 66 } else if (child.getVisibility() != View.VISIBLE || childBg == null || 73 left = Math.min(left, child.getLeft()); 74 top = Math.min(top, child.getTop()); 75 right = Math.max(right, child.getRight()); 76 bottom = Math.max(bottom, child.getBottom()) [all...] |
/frameworks/base/tests/RenderScriptTests/SceneGraph/src/com/android/scenegraph/ |
Transform.java | 61 Transform child = mChildren.get(i); local 62 childrenAllocs[i] = child.getRSData().getAllocation();
|
/frameworks/base/tests/RenderThreadTest/src/com/example/renderthread/ |
SubActivity.java | 45 View child = container.getChildAt(i); local 46 int dir = child.getId() == R.id.from_left ? 1 : -1; 47 child.setTranslationX(dx * dir); 48 child.animate().translationX(0).setDuration(MainActivity.DURATION);
|
/libcore/dom/src/test/java/org/w3c/domts/level1/core/ |
characterdataappenddata.java | 34 * Retrieve the character data from the second child 70 CharacterData child; local 76 child = (CharacterData) nameNode.getFirstChild(); 77 child.appendData(", Esquire"); 78 childValue = child.getData();
|
characterdataappenddatagetdata.java | 35 * Retrieve the character data from the second child 71 CharacterData child; local 76 child = (CharacterData) nameNode.getFirstChild(); 77 child.appendData(", Esquire"); 78 childData = child.getData();
|
characterdatadeletedatabegining.java | 34 * Retrieve the character data from the last child of the 69 CharacterData child; local 74 child = (CharacterData) nameNode.getFirstChild(); 75 child.deleteData(0, 16); 76 childData = child.getData();
|
characterdatadeletedataend.java | 35 * Retrieve the character data from the last child of the 71 CharacterData child; local 76 child = (CharacterData) nameNode.getFirstChild(); 77 child.deleteData(30, 5); 78 childData = child.getData();
|
characterdatadeletedataexceedslength.java | 36 * Retrieve the character data from the last child of the 73 CharacterData child; local 78 child = (CharacterData) nameNode.getFirstChild(); 79 child.deleteData(4, 50); 80 childData = child.getData();
|
characterdatadeletedatagetlengthanddata.java | 35 * Retrieve the character data from the last child of the 74 CharacterData child; local 82 child = (CharacterData) nameNode.getFirstChild(); 83 child.deleteData(30, 5); 84 childData = child.getData(); 86 childLength = (int) child.getLength();
|