/external/lldb/test/pexpect-2.4/examples/ |
ftp.py | 12 child = pexpect.spawn('ftp ftp.openbsd.org') variable 13 child.expect('(?i)name .*: ') 14 child.sendline('anonymous') 15 child.expect('(?i)password') 16 child.sendline('pexpect@sourceforge.net') 17 child.expect('ftp> ') 18 child.sendline('cd /pub/OpenBSD/3.7/packages/i386') 19 child.expect('ftp> ') 20 child.sendline('bin') 21 child.expect('ftp> ' [all...] |
df.py | 12 child = pexpect.spawn ('df') variable 18 i = child.expect ([pattern, pexpect.EOF]) 20 filesystem_list.append (child.match.groups())
|
/external/ltrace/testsuite/ltrace.minor/ |
trace-fork.c | 2 Objectives : Verify that ltrace can trace to child process after 11 child () function 13 printf("Fork Child\n"); 26 child(); 29 printf("My child pid is %d\n",pid);
|
trace-clone.c | 2 Objectives : Verify that ltrace can trace to child process after 13 int child () function 29 pid = __clone2((myfunc)&child, stack, STACK_SIZE, CLONE_FS, NULL); 31 pid = clone((myfunc)&child, stack + STACK_SIZE, CLONE_FS, NULL);
|
/external/valgrind/helgrind/tests/ |
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)) {
|
tc01_simple_race.c | 6 /* Simple test program, has a race. Parent and child both modify x 21 pthread_t child; local 22 if (pthread_create(&child, NULL, child_fn, NULL)) { 27 /* Unprotected relative to child */ 30 if (pthread_join(child, NULL)) {
|
tc05_simple_race.c | 6 /* Simple test program, has a race. Parent and child both modify y 26 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)) {
|
tc16_byterace.c | 13 bytes[2*i + 0] ++; /* child accesses: 0 2 4 6 8 */ 21 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)) {
|
stackteardown.c | 87 /* Parent creates 1 child, that will detach, and exit after destroying 93 pthread_t child; local 105 r = pthread_create(&child, &attr, child_fn, NULL); assert(!r);
|
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/elfutils/src/libelf/ |
elf_readall.c | 48 Elf *child = elf->state.ar.children; local 50 while (child != NULL) 52 if (child->map_address == NULL) 54 child->map_address = elf->map_address; 55 child->start_offset -= offset; 56 if (child->kind == ELF_K_AR) 57 child->state.ar.offset -= offset; 59 set_address (child, offset); 62 child = child->next [all...] |
/external/libxml2/python/tests/ |
tst.py | 16 child = root.children variable 17 if child.name != "foo": 18 print("child.name failed")
|
nsdel.py | 45 # Remove a namespace refered to by a child 49 child = root.newChild(namespace, "child", None) variable
|
/external/valgrind/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 */
|
err_disable3.c | 2 /* Check that a child thread doesn't inherit its parent's disablement 39 pthread_t child; local 49 fprintf(stderr, "\n--------- p: creating child ---------\n\n"); 51 r = pthread_create(&child, NULL, child_fn, NULL); 53 sleep(1); // let the child run first (determinism fix) 54 fprintf(stderr, "\n--------- p: join child ---------\n\n"); 55 r = pthread_join(child, NULL);
|
/packages/apps/MusicFX/src/com/android/musicfx/ |
SeekBarRotator.java | 52 final View child = getChildAt(0); local 54 if (child.getVisibility() != GONE) { 55 // swap width and height for child 56 measureChild(child, heightMeasureSpec, widthMeasureSpec); 58 child.getMeasuredHeightAndState(), 59 child.getMeasuredWidthAndState()); 69 final View child = getChildAt(0); local 71 if (child.getVisibility() != GONE) { 72 // rotate the child 90 degrees counterclockwise around its upper-left 73 child.setPivotX(0) [all...] |
/external/skia/src/svg/parser/ |
SkSVGClipPath.cpp | 28 SkSVGElement* child = *fChildren.begin(); local 29 SkASSERT(child->getType() == SkSVGType_Use); 30 SkSVGUse* use = (SkSVGUse*) child;
|
/packages/apps/LegacyCamera/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/deqp/framework/randomshaders/ |
rsgExpressionGenerator.cpp | 73 Expression* child = curExpr->createNextChild(m_state); local 75 if (child) 77 m_expressionStack.push_back(child);
|
/external/elfutils/src/libdw/ |
libdw_visit_scopes.c | 75 struct Dwarf_Die_Chain child; local 78 child.parent = root; 79 if ((ret = INTUSE(dwarf_child) (&root->die, &child.die)) != 0) 84 return __libdw_visit_scopes (depth + 1, &child, 95 children in place before moving to the next real child. */ 96 while (INTUSE(dwarf_tag) (&child.die) == DW_TAG_imported_unit) 98 Dwarf_Die orig_child_die = child.die; 100 Dwarf_Attribute *attr = INTUSE(dwarf_attr) (&child.die, 103 if (INTUSE(dwarf_formref_die) (attr, &child.die) != NULL 104 && INTUSE(dwarf_child) (&child.die, &child.die) == 0 [all...] |
/external/jmonkeyengine/engine/src/bullet-native/ |
com_jme3_bullet_collision_shapes_CompoundCollisionShape.cpp | 68 btCollisionShape* child = reinterpret_cast<btCollisionShape*>(childId); local 78 shape->addChildShape(trans, child); 95 btCollisionShape* child = reinterpret_cast<btCollisionShape*>(childId); local 101 shape->removeChildShape(child);
|
/external/llvm/lib/DebugInfo/DWARF/ |
DWARFDebugInfoEntry.cpp | 63 const DWARFDebugInfoEntryMinimal *child = getFirstChild(); local 64 if (recurseDepth > 0 && child) { 65 while (child) { 66 child->dump(OS, u, recurseDepth-1, indent+2); 67 child = child->getSibling(); 359 const DWARFDebugInfoEntryMinimal *Child = getFirstChild(); 360 while (Child) { 361 Child->collectChildrenAddressRanges(U, Ranges); 362 Child = Child->getSibling() [all...] |
/external/ltrace/testsuite/ltrace.torture/ |
vfork-thread.c | 22 pid_t child = vfork (); local 23 if (child == 0) 30 puts ("vforked child exiting");
|
/external/valgrind/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);
|