/external/elfutils/libelf/ |
elf_readall.c | 33 Elf *child = elf->state.ar.children; local 35 while (child != NULL) 37 if (child->map_address == NULL) 39 child->map_address = elf->map_address; 40 child->start_offset -= offset; 41 if (child->kind == ELF_K_AR) 42 child->state.ar.offset -= offset; 44 set_address (child, offset); 47 child = child->next [all...] |
elf_end.c | 71 the child but here we already have the child lock. We 72 solve this problem by giving free the child lock. The 83 struct Elf *child = parent->state.ar.children; local 85 while (child->next != elf) 86 child = child->next; 88 child->next = elf->next;
|
/external/valgrind/main/helgrind/tests/ |
tc01_simple_race.c | 6 /* Simple test program, has a race. Parent and child both modify x 20 pthread_t child; local 22 if (pthread_create(&child, NULL, child_fn, NULL)) { 27 /* Unprotected relative to child */ 30 if (pthread_join(child, NULL)) {
|
tc02_simple_tls.c | 6 /* Simple test program, no race: parent only modified x after child 14 /* Unprotected relative to parent, but in child's segment only */ 21 pthread_t child; local 25 if (pthread_create(&child, NULL, child_fn, NULL)) { 30 if (pthread_join(child, NULL)) {
|
tc16_byterace.c | 13 bytes[2*i + 0] ++; /* child accesses: 0 2 4 6 8 */ 20 pthread_t child; local 22 if (pthread_create(&child, NULL, child_fn, NULL)) { 27 /* Unprotected relative to child, but harmless, since different 32 /* Unprotected relative to child, but harmful; same bytes */ 36 if (pthread_join(child, NULL)) {
|
tc05_simple_race.c | 6 /* Simple test program, has a race. Parent and child both modify y 25 pthread_t child; local 27 if (pthread_create(&child, NULL, child_fn, NULL)) { 38 if (pthread_join(child, NULL)) {
|
tc06_two_races.c | 24 pthread_t child; local 26 if (pthread_create(&child, NULL, child_fn, NULL)) { 37 if (pthread_join(child, NULL)) {
|
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 );
|
tc24_nonzero_sem.c | 25 pthread_t child[N_THREADS]; local 30 r= pthread_create( &child[i], NULL, child_fn, (void*)&sem ); 35 r= pthread_join( child[i], NULL );
|
/external/skia/src/core/ |
SkTSort.h | 26 int child = root * 2 + 1; local 27 if (child+1 <= bottom && array[child] < array[child+1]) { 28 child += 1; 30 if (array[root] < array[child]) { 31 SkTSwap<T>(array[root], array[child]); 32 root = child;
|
/external/valgrind/main/memcheck/tests/ |
noisy_child.c | 22 pid_t child; local 29 child = fork(); 30 assert(child != -1); /* assert fork did not fail */ 32 if (child == 0) { 33 /* I am the child */
|
/external/skia/src/svg/ |
SkSVGClipPath.cpp | 36 SkSVGElement* child = *fChildren.begin(); local 37 SkASSERT(child->getType() == SkSVGType_Use); 38 SkSVGUse* use = (SkSVGUse*) child;
|
/external/webkit/Source/WebCore/editing/ |
RemoveNodePreservingChildrenCommand.cpp | 44 for (Node* child = m_node->firstChild(); child; child = child->nextSibling()) 45 children.append(child); 49 RefPtr<Node> child = children[i].release(); local 50 removeNode(child); 51 insertNodeBefore(child.release(), m_node);
|
/packages/apps/Camera/src/com/android/camera/ui/ |
RightAlignedHorizontalScrollView.java | 38 // Get the width of the child, i.e. the LinearLayout, and scroll to 40 View child = getChildAt(0); local 41 if (child != null) scrollTo(child.getWidth(), 0);
|
/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);
|
/external/webkit/Source/WebCore/html/ |
HTMLTableRowsCollection.cpp | 57 Node* child = 0; local 62 for (child = previous->nextSibling(); child; child = child->nextSibling()) { 63 if (child->hasTagName(trTag)) 64 return static_cast<HTMLTableRowElement*>(child); 70 child = table->firstChild(); 72 child = previous->parentNode()->nextSibling(); 73 for (; child; child = child->nextSibling()) [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) {
|
/system/extras/tests/bionic/libc/common/ |
test_clone.c | 62 int pid,child; local 72 printf ("child pid %d\n", pid); 75 child = waitpid (pid, &status, 0); 76 printf("waitpid returned %d\n", child); 77 if (child < 0) { 81 printf ("child %d, status 0x%x\n", child, status);
|
/cts/tests/tests/holo/src/android/holo/cts/ |
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());
|
/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);
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/common/layout/ |
TabHostRule.java | 40 // the child elements yourself, e.g. via addTab() etc. 71 INode child = frame.appendChild(FQCN_LINEAR_LAYOUT); local 72 child.setAttribute(ANDROID_URI, ATTR_LAYOUT_WIDTH, fillParent); 73 child.setAttribute(ANDROID_URI, ATTR_LAYOUT_HEIGHT, fillParent); 74 child.setAttribute(ANDROID_URI, ATTR_ID,
|
/bionic/libc/bionic/ |
pthread-atfork.c | 40 void (*child)(void); member in struct:atfork_t 50 /* We will lock this here, and unlock it in the parent and child functions. 52 * to the prepare and parent/child handlers. 62 * handlers should be called in the reverse order of the parent/child 78 /* Call pthread_atfork() child handlers */ 82 if (cursor->child != NULL) { 83 cursor->child(); 106 int pthread_atfork(void (*prepare)(void), void (*parent)(void), void(*child)(void)) 116 entry->child = child; [all...] |
/dalvik/tests/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");
|