/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/getpid/ |
1-1.c | 25 * -> check that the child process getpid() return value matchs the fork() return 54 /* This will be executed by the child process */ 55 static void child(void) function 61 /* This will be executed by the child thread */ 97 ("Child thread got a different return value from getpid()\n"); 113 /* We will place the child pid in a mmaped file */ 154 /* Okay, let's create the child process */ 160 /* Child process : */ 162 child(); 172 "The child process did not terminate as expected") [all...] |
/external/python/cpython3/Lib/lib2to3/fixes/ |
fix_except.py | 83 for child in reversed(suite_stmts[:i]): 84 e_suite.insert_child(0, child)
|
/external/strace/tests/ |
ioctl_nsfs.c | 96 child(void *arg) function 122 pid = clone(child, tail_alloc(get_page_size() / 2), 134 error_msg_and_fail("unexpected child exit status %d", status);
|
/external/strace/tests-m32/ |
ioctl_nsfs.c | 96 child(void *arg) function 122 pid = clone(child, tail_alloc(get_page_size() / 2), 134 error_msg_and_fail("unexpected child exit status %d", status);
|
/external/strace/tests-mx32/ |
ioctl_nsfs.c | 96 child(void *arg) function 122 pid = clone(child, tail_alloc(get_page_size() / 2), 134 error_msg_and_fail("unexpected child exit status %d", status);
|
/external/swiftshader/third_party/SPIRV-Tools/source/ |
cfa.h | 40 bb_iter iter; ///< Iterator to the current child node being processed 159 BB* child = *top.iter; local 161 if (FindInWorkList(work_list, child->id())) { 162 backedge(top.block, child); 164 if (processed.count(child->id()) == 0) { 165 preorder(child); 167 block_info{child, std::begin(*successor_func(child))}); 168 processed.insert(child->id());
|
/external/jacoco/org.jacoco.core.test/src/org/jacoco/core/internal/analysis/ |
SourceNodeImplTest.java | 181 final SourceNodeImpl child = new SourceNodeImpl(ElementType.CLASS, local 190 node.increment(child); 202 final SourceNodeImpl child = new SourceNodeImpl(ElementType.CLASS, local 204 child.increment(CounterImpl.getInstance(1, 11), 207 node.increment(child); 208 node.increment(child);
|
/external/jsilver/src/com/google/clearsilver/jsilver/adaptor/ |
JHdf.java | 171 for (Data child : d.getChildren()) { 172 if (child.isFirstSibling()) { 173 return new JHdf(child, dataFactory, loadPathCache, options); 175 // The first child returned should be the first sibling. Throw an error 177 throw new IllegalStateException("First child was not first sibling."); 216 for (Data child : data.getChildren()) { 217 if (child.isFirstSibling()) { 218 return new JHdf(child, dataFactory, loadPathCache, options);
|
/external/ltp/testcases/kernel/syscalls/ipc/semctl/ |
semctl06.c | 96 int count, child, status, nwait; local 134 while ((child = wait(&status)) > 0) { 137 child, status); 166 int count, child, nwait; local 208 while ((child = wait(&status)) > 0) { 211 prog, child, status);
|
/external/ltp/testcases/kernel/syscalls/mkdir/ |
mkdir09.c | 28 * same directory multiple times. On exit of all child processes, 69 int getchild(int group, int child, int children); 95 printf(" -c Child groups\n"); 135 int count, child, status; local 160 /* allocate space for list of child pid's */ 215 if ((child = wait(&status)) > 0) { 220 child, status); 264 int getchild(int group, int child, int children) 275 } else if (pid == 0) { /* child does this */ 288 "Test not inplemented for child %d", child) [all...] |
/external/yapf/yapf/yapflib/ |
blank_line_calculator.py | 76 for child in node.children: 77 self.Visit(child) 85 for child in node.children[index:]: 86 self.Visit(child) 101 for child in node.children[index:]: 102 self.Visit(child) 132 The index of the first child past the comment nodes. 137 # node as its only child.
|
/external/python/cpython2/Lib/test/ |
test_signal.py | 67 def wait(self, child): 68 """Wait for child to finish, ignoring EINTR.""" 71 child.wait() 94 child = ignoring_eintr(subprocess.Popen, ['kill', '-HUP', str(pid)]) 95 if child: 96 self.wait(child) 106 del child 108 child = subprocess.Popen(['kill', '-USR1', str(pid)]) 110 self.wait(child) 119 child = ignoring_eintr(subprocess.Popen, ['kill', '-USR2', str(pid)] [all...] |
/cts/tests/tests/widget/src/android/widget/cts/ |
GridViewTest.java | 331 View child; local 360 child = mGridView.getChildAt(NUM_COLUMNS - 1); // get the rightmost view at the first line. 361 childRight[STRETCH_SPACING][INDEX_RIGHTMOST] = child.getRight(); 363 child = mGridView.getChildAt(0); 364 childRight[STRETCH_SPACING][INDEX_0] = child.getRight(); 366 child = mGridView.getChildAt(1); 367 childRight[STRETCH_SPACING][INDEX_1] = child.getRight(); 376 child = mGridView.getChildAt(NUM_COLUMNS - 1); // get the rightmost view at the first line. 377 childRight[STRETCH_COLUMN_WIDTH][INDEX_RIGHTMOST] = child.getRight(); 379 child = mGridView.getChildAt(0) 441 View child = mGridView.getChildAt(i); local [all...] |
/development/samples/devbytes/graphics/FoldingLayout/src/com/example/android/foldinglayout/ |
FoldingLayout.java | 40 * This layout throws an exception if there is more than one child added to the view. 44 * This layout folds the contents of its child in real time. By applying matrix 45 * transformations when drawing to canvas, the contents of the child may change as 48 * This can be avoided by having the child of this layout wrap its content inside a 60 private final String FOLDING_VIEW_EXCEPTION_MESSAGE = "Folding Layout can only 1 child at " + 120 protected boolean addViewInLayout(View child, int index, LayoutParams params, 123 boolean returnValue = super.addViewInLayout(child, index, params, preventRequestLayout); 128 public void addView(View child, int index, LayoutParams params) { 130 super.addView(child, index, params); 135 View child = getChildAt(0) local 142 View child = getChildAt(0); local [all...] |
/external/libcap/progs/ |
capsh.c | 48 pid_t child; local 51 child = 0; 311 child = fork(); 312 if (child < 0) { 314 } else if (!child) { 324 if (!child) { 328 retval = kill(child, value); 330 perror("Unable to kill child process"); 333 result = waitpid(child, &status, 0); 334 if (result != child) { [all...] |
/external/libchrome/third_party/jinja2/ |
idtracking.py | 157 for child in node.iter_child_nodes(): 158 self.sym_visitor.visit(child) 165 for child in node.body: 166 self.sym_visitor.visit(child) 169 for child in node.iter_child_nodes(exclude=('call',)): 170 self.sym_visitor.visit(child) 173 for child in node.body: 174 self.sym_visitor.visit(child) 195 for child in node.body: 196 self.sym_visitor.visit(child) [all...] |
/external/ltp/testcases/kernel/syscalls/kill/ |
kill10.c | 99 * SIGUSR2 -> Reply to Child to stop 100 * SIGHUP -> Reset child signal counter 102 * * Level 3 - Child 142 * 6 - Manager - Child interaction 143 * 7 - Child setup 144 * 8 - Child processing 356 /* reply to child on USR2 */ 437 * fork_pgrps() forks off a child, changes it's pgrp, then continues 441 pid_t child; local 452 switch (child = fork()) 680 pid_t child; local [all...] |
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_create/ |
3-2.c | 105 sem_t semsync[2]; /* These semaphores will only be used in child process! */ 178 pid_t child, ctrl; local 186 child = fork(); /* We'll test the feature in another process as this test may segfault */ 188 if (child == -1) { 193 if (child != 0) { /* father */ 194 /* Just wait for the child and check its return value */ 195 ctrl = waitpid(child, &status, 0); 196 if (ctrl != child) { 208 ("The child process returned unresolved status\n"); 211 output("The child process returned: %i\n" 524 pthread_t child; local [all...] |
/external/mesa3d/src/mapi/glapi/gen/ |
gl_XML.py | 714 for child in element.getchildren(): 715 if child.tag == "return": 716 return_type = child.get( "type", "void" ) 717 elif child.tag == "param": 718 param = self.context.factory.create_parameter(child, self.context) 916 for child in element.getchildren(): 917 if child.tag == "category": 918 self.process_category( child ) 919 elif child.tag == "OpenGLAPI": 920 self.process_OpenGLAPI( file_name, child ) [all...] |
/external/syzkaller/vendor/golang.org/x/net/context/ |
pre_go17.go | 78 // propagateCancel arranges for child to be canceled when parent is. 79 func propagateCancel(parent Context, child canceler) { 87 child.cancel(false, p.err) 92 p.children[child] = true 99 child.cancel(false, parent.Err()) 100 case <-child.Done(): 125 func removeChild(parent Context, child canceler) { 132 delete(p.children, child) 183 for child := range c.children { 184 // NOTE: acquiring the child's lock while holding parent's lock [all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/ |
test_signal.py | 67 def wait(self, child):
68 """Wait for child to finish, ignoring EINTR."""
71 child.wait()
94 child = ignoring_eintr(subprocess.Popen, ['kill', '-HUP', str(pid)])
95 if child:
96 self.wait(child)
106 del child
108 child = subprocess.Popen(['kill', '-USR1', str(pid)])
110 self.wait(child)
119 child = ignoring_eintr(subprocess.Popen, ['kill', '-USR2', str(pid)]) [all...] |
/external/python/httplib2/ref/ |
ref.css | 136 .productions > table td:first-child, 137 .productions > table td:last-child { 143 .productions > table td:first-child + td + td { 149 .productions > table td:first-child + td { 182 .realtable thead :first-child { 193 .realtable td:first-child, 194 .realtable th:first-child {
|
/external/skia/tools/bookmaker/ |
bmhParser.cpp | 192 for (auto child : definition->fChildren) { 193 if (MarkType::kExample == child->fMarkType) { 196 hasExcluder |= MarkType::kNoExample == child->fMarkType; 478 for (const auto& child : fParent->fChildren) { 479 if (child->fFiddle == definition->fFiddle) { 480 if (MarkType::kExample != child->fMarkType) { 558 for (auto& child : def.fChildren ) { 559 reportDuplicates(*child, dup); 568 for (auto& child : def->fChildren) { 569 Definition* result = find_fiddle(child, name) 1115 Definition* child = *childIter; local [all...] |
/external/skqp/tools/bookmaker/ |
bmhParser.cpp | 192 for (auto child : definition->fChildren) { 193 if (MarkType::kExample == child->fMarkType) { 196 hasExcluder |= MarkType::kNoExample == child->fMarkType; 478 for (const auto& child : fParent->fChildren) { 479 if (child->fFiddle == definition->fFiddle) { 480 if (MarkType::kExample != child->fMarkType) { 558 for (auto& child : def.fChildren ) { 559 reportDuplicates(*child, dup); 568 for (auto& child : def->fChildren) { 569 Definition* result = find_fiddle(child, name) 1115 Definition* child = *childIter; local [all...] |
/development/samples/devbytes/animation/ListViewItemAnimations/src/com/example/android/listviewitemanimations/ |
ListViewItemAnimations.java | 268 View child = listview.getChildAt(i); local 271 if (child != viewToRemove) { 272 mItemIdTopMap.put(itemId, child.getTop()); 288 final View child = listview.getChildAt(i); 292 int top = child.getTop(); 297 int childHeight = child.getHeight() + listview.getDividerHeight(); 313 moveView(child, 0, 0, delta, 0, endAction);
|