/external/boringssl/src/crypto/bn_extra/ |
bn_asn1.c | 22 CBS child; local 23 if (!CBS_get_asn1(cbs, &child, CBS_ASN1_INTEGER) || 24 CBS_len(&child) == 0) { 29 if (CBS_data(&child)[0] & 0x80) { 35 if (CBS_data(&child)[0] == 0x00 && 36 CBS_len(&child) > 1 && 37 !(CBS_data(&child)[1] & 0x80)) { 42 return BN_bin2bn(CBS_data(&child), CBS_len(&child), ret) != NULL; 52 CBB child; local [all...] |
/external/libxml2/python/tests/ |
tst.py | 16 child = root.children variable 17 if child.name != "foo": 18 print("child.name failed")
|
/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)) {
|
/external/elfutils/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/linux-kselftest/tools/testing/selftests/powerpc/pmu/ebb/ |
fork_cleanup_test.c | 20 * Test that a fork clears the PMU state of the child. eg. BESCR/EBBHR/EBBRR 21 * are cleared, and MMCR0_PMCC is reset, preventing the child from accessing 27 static int child(void) function 67 exit(child()); 69 /* Child does the actual testing */
|
/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/autotest/frontend/client/src/autotest/common/ |
DomUtils.java | 7 Element child = elem.getFirstChildElement(); local 8 while (child != null) { 9 Element nextChild = child.getNextSiblingElement(); 10 elem.removeChild(child); 11 child = nextChild;
|
/external/jcommander/src/test/java/com/beust/jcommander/args/ |
ArgsInherited.java | 25 @Parameter(names = "-child", description = "Child parameter") 26 public Integer child = 1; field in class:ArgsInherited
|
/external/ltp/testcases/kernel/security/tomoyo/ |
newns.c | 33 static int child(void *arg) function 45 const pid_t pid = ltp_clone_quick(CLONE_NEWNS, child, (void *)argv);
|
/external/ltp/testcases/kernel/syscalls/setrlimit/ |
setrlimit04.c | 39 pid_t child; local 46 child = SAFE_FORK(); 47 if (child == 0) 49 SAFE_WAITPID(child, &status, 0); 52 tst_res(TPASS, "child process completed OK"); 56 tst_res(TFAIL, "child %s", tst_strstatus(status));
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/fork/ |
3-1.c | 22 * -> create a child; then terminate this child. 54 pid_t child, ctl; local 59 /* Create the child */ 60 child = fork(); 61 if (child == -1) { 65 /* child */ 66 if (child == 0) { 67 /* The child stops immediatly */ 71 /* Parent joins the child */ [all...] |
4-1.c | 19 * The parent process ID of the child is the process ID of the parent (caller of fork()) 22 * -> create a child 52 pid_t child, ctl; local 58 /* Create the child */ 59 child = fork(); 60 if (child == -1) { 64 /* child */ 65 if (child == 0) { 76 /* Parent joins the child */ 77 ctl = waitpid(child, &status, 0) [all...] |
9-1.c | 25 * -> Check the alarm is not running in the child process. 26 * -> join the child 28 * The test fails if the child has a pending alarm. 55 pid_t child, ctl; local 67 /* Create the child */ 68 child = fork(); 70 if (child == -1) { 74 /* child */ 75 if (child == 0) { 80 FAILED("The child alarm pending was not reset.") [all...] |
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_detach/ |
1-2.c | 127 pthread_t child; local 154 pthread_create(&child, &scenarii[sc].ta, threaded, 196 ret = pthread_detach(child); 199 "Failed to detach the child thread."); 204 ret = pthread_join(child, NULL);
|
/external/strace/tests/ |
clone_parent.c | 41 child(void *const arg) function 57 const pid_t pid = clone(child, tail_alloc(child_stack_size),
|
/external/strace/tests-m32/ |
clone_parent.c | 41 child(void *const arg) function 57 const pid_t pid = clone(child, tail_alloc(child_stack_size),
|
/external/strace/tests-mx32/ |
clone_parent.c | 41 child(void *const arg) function 57 const pid_t pid = clone(child, tail_alloc(child_stack_size),
|
/frameworks/base/libs/hwui/tests/unit/ |
SnapshotTests.cpp | 28 auto child = TestUtils::makeSnapshot(Matrix4::identity(), Rect(50, 50, 90, 90)); local 30 child->previous = root.get(); 36 child->serializeIntersectedClip(allocator, &rect, Matrix4::identity()); 38 EXPECT_EQ(Rect(50, 50, 75, 75), intersectWithChild->rect) << "Expect intersect with child"; 44 child->serializeIntersectedClip(allocator, &rect, Matrix4::identity()); 57 auto child = TestUtils::makeSnapshot(Matrix4::identity(), Rect(50, 50, 90, 90)); local 58 child->previous = root.get(); 59 child->applyClip(&rect, Matrix4::identity()); 61 EXPECT_TRUE(child->getClipArea().isSimple()); 62 EXPECT_EQ(Rect(50, 50, 75, 75), child->getRenderTargetClip()) 67 auto child = TestUtils::makeSnapshot(Matrix4::identity(), Rect(50, 50, 90, 90)); local [all...] |
/toolchain/binutils/binutils-2.27/gprof/ |
i386.c | 53 Sym *child; local 76 child = sym_lookup (&symtab, destpc); 77 if (child && child->addr == destpc) 84 (unsigned long) destpc, child->name)); 85 arc_add (parent, child, (unsigned long) 0);
|