/packages/apps/Settings/src/com/android/settings/dashboard/ |
DashboardDecorator.java | 44 final View child = parent.getChildAt(i); local 45 final ViewHolder holder = parent.getChildViewHolder(child); 55 int top = getChildTop(child); 56 mDivider.setBounds(child.getLeft(), top, child.getRight(), 62 private int getChildTop(View child) { 63 final RecyclerView.LayoutParams params = (RecyclerView.LayoutParams) child 65 return child.getTop() + params.topMargin + Math.round(ViewCompat.getTranslationY(child));
|
/external/compiler-rt/test/profile/Inputs/ |
instrprof-file_ex.c | 3 * file locking support, the data from each child should not 16 int child[10]; local 29 // in child: 33 fprintf(stderr, "Can not open file %s from child\n", FN); 37 fprintf(F, "Dump from Child %d\n", i); 41 child[i] = c; 48 if ((tid = waitpid(child[i], &child_status, 0)) == -1)
|
/external/deqp/framework/randomshaders/ |
rsgExpressionGenerator.cpp | 73 Expression* child = curExpr->createNextChild(m_state); local 75 if (child) 77 m_expressionStack.push_back(child);
|
/external/libxml2/python/tests/ |
nsdel.py | 45 # Remove a namespace refered to by a child 49 child = root.newChild(namespace, "child", None) variable
|
/external/linux-kselftest/tools/testing/selftests/futex/functional/ |
futex_requeue_pi_mismatched_ops.c | 59 pthread_t child; local 82 if (pthread_create(&child, NULL, blocking_child, NULL)) { 87 /* Allow the child to block in the kernel. */ 93 * it likely gave the lock to the child, which is now hung 101 * requeue_pi target and aborted. Wake the child with 111 error("futex_wake did not wake the child\n", 0); 126 pthread_join(child, NULL);
|
/external/linux-kselftest/tools/testing/selftests/x86/ |
iopl.c | 63 pid_t child = fork(); local 64 if (child == -1) 67 if (child == 0) { 78 if (waitpid(child, &status, 0) != 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(); 360 const DWARFDebugInfoEntryMinimal *Child = getFirstChild(); 361 while (Child) { 362 Child->collectChildrenAddressRanges(U, Ranges); 363 Child = Child->getSibling() [all...] |
/external/ltp/testcases/kernel/syscalls/ptrace/ |
ptrace05.c | 61 pid_t child; local 99 switch (child = fork()) { 105 tst_resm(TINFO, "[child] Sending kill(.., %d)", 109 "[child] kill(.., %d) failed.", 130 waitpid(child, &status, 0); 174 if (kill(child, 0)) { 194 /* Make sure the child dies a quick and painless death ... */ 195 kill(child, 9);
|
/external/ltp/testcases/misc/math/float/bessel/ |
genbessel.c | 73 pid_t child; local 83 child = create_file(funct, 0); 84 waitpid(child, NULL, 0); 87 child = create_file(funct, 0); 88 waitpid(child, NULL, 0); 91 child = create_file(funct, 0); 92 waitpid(child, NULL, 0); 95 child = create_file(funct, 0); 96 waitpid(child, NULL, 0); 99 child = create_file(funct, 0) [all...] |
/external/ltp/testcases/misc/math/float/exp_log/ |
genexp_log.c | 69 pid_t child; local 80 child = create_file(funct, 0); 81 waitpid(child, NULL, 0); 84 child = create_file(funct, 0); 85 waitpid(child, NULL, 0); 88 child = create_file(funct, 0); 89 waitpid(child, NULL, 0); 92 child = create_file(funct, 0); 93 waitpid(child, NULL, 0); 96 child = create_file(funct, 0) [all...] |
/external/ltp/testcases/misc/math/float/iperb/ |
geniperb.c | 73 pid_t child; local 82 child = create_file(funct, 0); 83 waitpid(child, NULL, 0); 86 child = create_file(funct, 0); 87 waitpid(child, NULL, 0); 90 child = create_file(funct, 0); 91 waitpid(child, NULL, 0);
|
/external/ltp/testcases/misc/math/float/power/ |
genpower.c | 69 pid_t child; local 80 child = create_file(funct, 0); 81 waitpid(child, NULL, 0); 84 child = create_file(funct, 0); 85 waitpid(child, NULL, 0); 88 child = create_file(funct, 0); 89 waitpid(child, NULL, 0); 92 child = create_file(funct, 0); 93 waitpid(child, NULL, 0); 96 child = create_file(funct, 0) [all...] |
/external/ltp/testcases/misc/math/float/trigo/ |
gentrigo.c | 70 pid_t child; local 81 child = create_file(funct, 0); 82 waitpid(child, NULL, 0); 85 child = create_file(funct, 0); 86 waitpid(child, NULL, 0); 89 child = create_file(funct, 0); 90 waitpid(child, NULL, 0); 93 child = create_file(funct, 0); 94 waitpid(child, NULL, 0); 97 child = create_file(funct, 0) [all...] |
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/fork/ |
11-1.c | 20 * The file locks are not inherited by the child process. 25 * -> child creates a thread 26 * -> child thread trylock stdout 27 * -> join the child 29 * The test fails if the child thread cannot lock the file 30 * -- this would mean the child process got stdout file lock ownership. 60 printf("FAIL: The child process inherited the lock\n"); 73 pid_t child, ctl; local 80 child = fork(); 82 if (child == -1) [all...] |
12-1.c | 19 * The child process is created with no pending signal 57 pid_t child, ctl; local 133 /* Create the child */ 134 child = fork(); 136 if (child == -1) { 140 /* child */ 141 if (child == 0) { 146 UNRESOLVED(errno, "Sigprocmask failed in child"); 173 output("SIGUSR1 and SIGUSR2 are blocked in child\n"); 182 "failed to examine pending signal set in child"); [all...] |
13-1.c | 19 * Interval timers are reset in the child process. 24 * -> check the timer has been cleared in child. 26 * The test fails if the timer is running in the child. 62 pid_t child, ctl; local 99 /* Create the child */ 100 child = fork(); 102 if (child == -1) { 106 /* child */ 107 if (child == 0) { 113 "Failed to read ITIMER_REAL in child"); [all...] |
14-1.c | 19 * Opened semaphores are inherited in the child process.. 24 * -> The child tries and posts both semaphores, then terminates. 25 * -> The parent waits for the child, then check the semaphores were posted 27 * The test fails if any semaphore has not been posted in the child. 57 pid_t child, ctl; local 81 /* Create the child */ 82 child = fork(); 84 if (child == -1) { 88 /* child */ 89 if (child == 0) [all...] |
17-1.c | 20 * the child process inherits the policy and priority 26 * -> check the child inherited the same policy. 28 * The test fails if the child does not inherit the parent's values. 59 pid_t child, ctl; local 78 /* Create the child */ 79 child = fork(); 81 if (child == -1) { 85 /* child */ 86 if (child == 0) { 93 "Failed to read scheduling policy in child"); [all...] |
17-2.c | 20 * the child process inherits the policy and priority 26 * -> check the child inherited the same policy. 28 * The test fails if the child does not inherit the parent's values. 89 pid_t child, ctl; local 109 /* Create the child */ 110 child = fork(); 112 if (child == -1) { 116 /* child */ 117 if (child == 0) { 124 "Failed to read scheduling policy in child"); [all...] |
21-1.c | 26 * The test fails if the thread is executing in the child process. 62 UNRESOLVED(errno, "failed to wait for the semaphore in child"); 65 FAILED("The thread is executing in the child process"); 73 pid_t child, ctl; local 94 /* Create the child */ 95 child = fork(); 97 if (child == -1) 108 /* child */ 109 if (child == 0) { 117 /* Parent joins the child */ [all...] |
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/mmap/ |
11-4.c | 26 * 2. Wait for the child proces to exit, then 54 pid_t child; local 63 child = fork(); 64 switch (child) { 113 printf("Child exited abnormally\n");
|
6-1.c | 20 * 1. Spawn a child process. 21 * 2. The child process mmap a memory region setting prot as PROT_READ. 50 pid_t child; local 63 child = fork(); 65 switch (child) { 89 waitpid(child, &status, WUNTRACED); 94 printf("Child process terminated by signal %d\n", sig_num);
|
6-2.c | 21 * 1. Spawn a child process. 22 * 2. The child process mmap a memory region setting prot as PROT_NONE. 52 pid_t child; local 65 child = fork(); 66 switch (child) { 95 waitpid(child, &status, 0); 100 printf("Child process terminated by signal %d\n", sig_num);
|
6-3.c | 21 * 1. Spawn a child process. 22 * 2. The child process mmap a memory region setting prot as PROT_NONE. 51 pid_t child; local 64 child = fork(); 65 switch (child) { 85 waitpid(child, &status, 0); 90 printf("Child process terminated by signal %d\n", sig_num);
|
7-3.c | 23 * 4. Fork a child process. 24 * 5. Child process mmap the same shared memory object into memory. 25 * 6. Check whether the change in step 3 is visible to the child. 48 pid_t child; local 75 child = fork(); 77 switch (child) { 79 /* Mmap again the same shared memory to child's memory */ 103 waitpid(child, &exit_stat, WUNTRACED); 111 printf("Child has not exit properly\n");
|