/external/chromium_org/third_party/android_crazy_linker/src/tests/ |
test_shared_relro.cpp | 47 pid_t child = fork(); local 48 if (child < 0) 51 if (child == 0) { 52 // In the child. 53 printf("Child waiting for foo relro fd\n"); 58 printf("RELRO used in child process\n"); 82 printf("RELRO enabled and sent to child\n"); 86 printf("Parent waiting for child\n"); 88 // Wait for child to complete. 90 waitpid(child, &status, 0) [all...] |
test_two_shared_relros.cpp | 52 pid_t child = fork(); local 53 if (child < 0) 56 if (child == 0) { 57 // In the child. 58 printf("Child waiting for foo relro fd\n"); 63 printf("Child waiting for bar relro fd\n"); 67 printf("RELROs used in child process\n"); 96 printf("RELROs enabled and sent to child\n"); 100 printf("Parent waiting for child\n"); 102 // Wait for child to complete [all...] |
/external/chromium_org/ui/views/ime/ |
input_method_bridge_unittest.cc | 30 // |child| owns |native_widget|. 34 Widget* child = new Widget; local 38 // |child| owns |native_widget|. 39 child_params.native_widget = new NativeWidgetAura(child); 40 child->Init(child_params); 42 child->GetInputMethod()->OnFocus();
|
/external/deqp/framework/randomshaders/ |
rsgExpressionGenerator.cpp | 73 Expression* child = curExpr->createNextChild(m_state); local 75 if (child) 77 m_expressionStack.push_back(child);
|
/external/ltrace/testsuite/ltrace.torture/ |
vfork-thread.c | 22 pid_t child = vfork (); local 23 if (child == 0) 30 puts ("vforked child exiting");
|
/external/qemu/distrib/ext4_utils/src/ |
setup_fs.c | 15 pid_t child; local 46 child = fork(); 47 if (child < 0) { 51 if (child == 0) { 56 while ((pid=waitpid(-1, &status, 0)) != child) {
|
/external/strace/test/ |
leaderkill.c | 2 * thread child calling exit_group() and proper passing of the process exit 33 pid_t child, got_pid; local 39 child = fork(); 41 switch (child) { 54 got_pid = waitpid(child, &status, 0); 55 assert(got_pid == child);
|
/external/valgrind/main/helgrind/tests/ |
tc09_bad_unlock.c | 17 pthread_t child; local 33 // start child and get it to unlock this lock 35 pthread_create( &child, NULL, child_fn, (void*)&mx2 ); 36 /* child runs and attempts to unlock our lock. Error 38 pthread_join(child, NULL );
|
/external/valgrind/main/none/tests/ |
pth_blockedsig.c | 22 fprintf (stdout, "thread CHILD sending SIGUSR1 to thread MAIN\n"); 35 pthread_t child; local 50 if (pthread_create (&child, NULL, child_main, NULL) != 0) 53 pthread_join (child, NULL);
|
/ndk/sources/android/crazy_linker/tests/ |
test_shared_relro.cpp | 47 pid_t child = fork(); local 48 if (child < 0) 51 if (child == 0) { 52 // In the child. 53 printf("Child waiting for foo relro fd\n"); 58 printf("RELRO used in child process\n"); 82 printf("RELRO enabled and sent to child\n"); 86 printf("Parent waiting for child\n"); 88 // Wait for child to complete. 90 waitpid(child, &status, 0) [all...] |
test_two_shared_relros.cpp | 52 pid_t child = fork(); local 53 if (child < 0) 56 if (child == 0) { 57 // In the child. 58 printf("Child waiting for foo relro fd\n"); 63 printf("Child waiting for bar relro fd\n"); 67 printf("RELROs used in child process\n"); 96 printf("RELROs enabled and sent to child\n"); 100 printf("Parent waiting for child\n"); 102 // Wait for child to complete [all...] |
/system/extras/ext4_utils/ |
setup_fs.c | 15 pid_t child; local 46 child = fork(); 47 if (child < 0) { 51 if (child == 0) { 56 while ((pid=waitpid(-1, &status, 0)) != child) {
|
/cts/hostsidetests/theme/app/src/android/theme/app/ |
ReferenceViewGroup.java | 55 View child = getChildAt(i); local 56 LayoutParams params = child.getLayoutParams(); 59 child.measure(width, height); 81 View child = getChildAt(i); local 82 child.layout(0, 0, child.getMeasuredWidth(), child.getMeasuredHeight());
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/stack/ |
StackScrollState.java | 60 ExpandableView child = (ExpandableView) mHostView.getChildAt(i); local 61 ViewState viewState = mStateMap.get(child); 64 mStateMap.put(child, viewState); 67 viewState.height = child.getIntrinsicHeight(); 68 viewState.gone = child.getVisibility() == View.GONE; 78 public void removeViewStateForView(View child) { 79 mStateMap.remove(child); 89 ExpandableView child = (ExpandableView) mHostView.getChildAt(i); local 90 ViewState state = mStateMap.get(child); 92 Log.wtf(CHILD_NOT_FOUND_TAG, "No child state was found when applying this state " [all...] |
/development/samples/ApiDemos/src/com/example/android/apis/animation/ |
FixedGridLayout.java | 31 * child order (the order in which they were added, or the index 64 final View child = getChildAt(index); local 65 child.measure(cellWidthSpec, cellHeightSpec); 87 final View child = getChildAt(index); local 89 int w = child.getMeasuredWidth(); 90 int h = child.getMeasuredHeight(); 95 child.layout(left, top, left+w, top+h);
|
/development/samples/FixedGridLayout/src/com/example/android/fixedgridlayout/ |
FixedGridLayout.java | 34 * child order (the order in which they were added, or the index 77 final View child = getChildAt(index); local 78 child.measure(cellWidthSpec, cellHeightSpec); 98 final View child = getChildAt(index); local 100 int w = child.getMeasuredWidth(); 101 int h = child.getMeasuredHeight(); 106 child.layout(left, top, left+w, top+h);
|
/frameworks/base/tests/RenderScriptTests/ModelViewer/src/com/android/modelviewer/ |
SgTransform.java | 60 public void addChild(SgTransform child) { 61 mChildren.add(child); 62 child.setParent(this, mChildren.size() - 1); 95 SgTransform child = (SgTransform)mChildren.get(i); local 96 mChildField.set(child.getData(), i, false);
|
/libcore/jsr166-tests/src/test/java/jsr166/ |
ThreadLocalTest.java | 60 Thread child = null; local 62 child = new ITLThread(x); 63 child.start(); 73 if (child != null) { // Wait for child (if any) 75 child.join();
|
/external/antlr/antlr-3.4/tool/src/main/java/org/antlr/tool/ |
CompositeGrammarTree.java | 46 //System.out.println("add "+t.toStringTree()+" as child to "+this.toStringTree()); 63 CompositeGrammarTree child = children.get(i); local 64 r = child.getRule(ruleName); 94 CompositeGrammarTree child = children.get(i); local 95 n = child.findNode(g); 109 CompositeGrammarTree child = children.get(i); local 110 n = child.findNode(grammarName); 125 CompositeGrammarTree child = children.get(i); local 126 child._getPostOrderedGrammarList(grammars); 141 CompositeGrammarTree child = children.get(i) local 155 CompositeGrammarTree child = children.get(i); local [all...] |
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/category/ |
CategoryTrack.java | 80 View child = getChildAt(i); local 81 child.invalidate();
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/common/layout/ |
TabHostRule.java | 41 // the child elements yourself, e.g. via addTab() etc. 73 INode child = frame.appendChild(FQCN_LINEAR_LAYOUT); local 74 child.setAttribute(ANDROID_URI, ATTR_LAYOUT_WIDTH, fillParent); 75 child.setAttribute(ANDROID_URI, ATTR_LAYOUT_HEIGHT, fillParent); 76 child.setAttribute(ANDROID_URI, ATTR_ID,
|
/art/test/063-process-manager/src/ |
Main.java | 7 System.out.println("\nspawning child #" + i); 8 child(); method 15 static private void child() throws Exception { method in class:Main 16 System.out.println("spawning child"); 22 System.out.println("child died");
|
/bionic/libc/bionic/ |
pthread_atfork.cpp | 37 void (*child)(void); member in struct:atfork_t 50 // We lock the atfork list here, unlock it in the parent, and reset it in the child. 52 // to the prepare and parent/child handlers. 55 // the list before forking, and have prepare, parent, and child all work on the consistent copy. 59 // handlers should be called in the reverse order of the parent/child 70 if (it->child != NULL) { 71 it->child(); 88 int pthread_atfork(void (*prepare)(void), void (*parent)(void), void(*child)(void)) { 96 entry->child = child; [all...] |
/bootable/recovery/ |
adb_install.cpp | 87 pid_t child; local 88 if ((child = fork()) == 0) { 101 if (waitpid(child, &status, WNOHANG) != 0) { 114 kill(child, SIGKILL); 131 waitpid(child, &status, 0);
|
/cts/suite/audio_quality/lib/src/task/ |
TaskSequential.cpp | 59 TaskGeneric* child = *i; local 60 TaskGeneric::ExecutionResult result = child->run(); 110 TaskAsync* child = *i; local 111 TaskGeneric::ExecutionResult result = child->complete();
|