Home
last modified time | relevance | path

Searched refs:child (Results 1 – 25 of 29) sorted by relevance

12

/system/extras/ext4_utils/
Dsetup_fs.c15 pid_t child; in setup_fs() local
46 child = fork(); in setup_fs()
47 if (child < 0) { in setup_fs()
51 if (child == 0) { in setup_fs()
56 while ((pid=waitpid(-1, &status, 0)) != child) { in setup_fs()
/system/core/include/utils/
DLruCache.h63 Entry* child; member
65 Entry(TKey key_, TValue value_) : key(key_), value(value_), parent(NULL), child(NULL) { in Entry()
232 for (Entry* p = mOldest; p != NULL; p = p->child) { in clear()
250 mYoungest->child = &entry; in attachToCache()
258 entry.parent->child = entry.child; in detachFromCache()
260 mOldest = entry.child; in detachFromCache()
262 if (entry.child != NULL) { in detachFromCache()
263 entry.child->parent = entry.parent; in detachFromCache()
269 entry.child = NULL; in detachFromCache()
/system/extras/simpleperf/
Dcallchain.cpp64 std::unique_ptr<CallChainNode> child = in SplitNode() local
66 child->children = std::move(parent->children); in SplitNode()
68 parent->children_period = child->period + child->children_period; in SplitNode()
71 parent->children.push_back(std::move(child)); in SplitNode()
Dreport.py63 for child in self.children:
64 child_strs = child.dump()
216 for child in node.children:
217 self.display_call_tree(tree, id, child, indent + 1)
Dthread_tree.cpp63 ThreadEntry* child = FindThreadOrNew(pid, tid); in ForkThread() local
64 child->comm = parent->comm; in ForkThread()
65 child->maps = parent->maps; in ForkThread()
/system/core/libmemunreachable/tests/
DThreadCapture_test.cpp222 [&](pid_t child){ in TEST_P() argument
224 ASSERT_GT(child, 0); in TEST_P()
229 ThreadCapture thread_capture(child, heap); in TEST_P()
314 [&](pid_t child){ in TEST_F() argument
316 ASSERT_GT(child, 0); in TEST_F()
322 ThreadCapture thread_capture(child, heap); in TEST_F()
324 syscall(SYS_tgkill, child, tid, sig); in TEST_F()
/system/extras/tests/net_test/
Dsock_diag_test.py370 for child, unused_args in children:
371 self.assertEqual(tcp_test.TCP_SYN_RECV, child.state)
373 child.id.dst)
375 child.id.src)
448 for child in children:
450 self.sock_diag.GetSockDiag(child) # No errors? Good, child found.
452 self.assertRaisesErrno(ENOENT, self.sock_diag.GetSockDiag, child)
461 for child in children:
462 self.assertRaisesErrno(ENOENT, self.sock_diag.GetSockDiag, child)
465 for child in children:
[all …]
/system/extras/simpleperf/runtest/
Druntest.py40 def add_child(self, child): argument
41 self.children.append(child)
49 for child in self.children:
50 strs.extend(child._dump(indent + 1))
125 def add_child(self, child): argument
126 self.children.append(child)
135 for child in self.children:
136 strs.extend(child._dump(indent + 1))
152 for child in self.children:
155 if child.check_relation(node):
/system/core/adb/
Dadb_utils_test.cpp37 static std::string subdir(const char* parent, const char* child) { in subdir() argument
40 str += child; in subdir()
/system/core/sdcard/
Dsdcard.c164 struct node *child; /* first contained file by this dir */ member
299 node->next = parent->child; in add_node_to_parent_locked()
300 parent->child = node; in add_node_to_parent_locked()
307 if (node->parent->child == node) { in remove_node_from_parent_locked()
308 node->parent->child = node->parent->child->next; in remove_node_from_parent_locked()
311 node2 = node->parent->child; in remove_node_from_parent_locked()
519 for (node = parent->child; node; node = node->next) { in derive_permissions_recursive_locked()
521 if (node->child) { in derive_permissions_recursive_locked()
664 for (node = node->child; node; node = node->next) { in lookup_child_by_name_locked()
680 struct node* child = lookup_child_by_name_locked(parent, name); in acquire_or_create_child_locked() local
[all …]
/system/extras/perfprofd/quipper/
Dperf_parser.cc555 PidTid child = std::make_pair(event.pid, event.tid); in MapForkEvent() local
556 if (parent != child && in MapForkEvent()
558 pidtid_to_comm_map_[child] = pidtid_to_comm_map_[parent]; in MapForkEvent()
/system/media/camera/docs/
Dmetadata_model.py177 for child in self._get_children():
178 if child.parent != self:
181 %(child, self, child.parent)
184 succ = child.validate_tree() and succ
Dhtml.mako68 .entry_type_enum_notes>p:first-child { display:inline; }
/system/extras/perfprofd/
Dperfprofdcore.cc246 AlarmHelper(unsigned num_seconds, pid_t child) in AlarmHelper() argument
249 assert(child); in AlarmHelper()
254 child_ = child; in AlarmHelper()
/system/vold/
DCommandListener.cpp741 int child = fork(); in runCommandInNamespace() local
742 if (child == 0) { in runCommandInNamespace()
759 if (child == -1) { in runCommandInNamespace()
765 TEMP_FAILURE_RETRY(waitpid(child, &status, 0)); in runCommandInNamespace()
DVolumeManager.cpp518 pid_t child; in remountUid() local
567 if (!(child = fork())) { in remountUid()
606 if (child == -1) { in remountUid()
610 TEMP_FAILURE_RETRY(waitpid(child, nullptr, 0)); in remountUid()
/system/sepolicy/
Dpostinstall_dexopt.te52 # installd wants to know about our child.
Dinstalld.te77 # otapreopt_chroot will transition into postinstall_dexopt, which will spawn a child.
Daccess_vectors263 sigchld # commonly granted from child to parent
Dapp.te56 # child shell or gdbserver pty access for runas.
/system/core/logwrapper/
Dlogwrap.c472 static void child(int argc, char* argv[]) { in child() function
552 child(argc, argv); in android_fork_execvp_ext()
/system/bt/doc/
Dstyle_guide.md309 // Conditional statements with only one child statement should elide braces.
310 // The child statement must be on a new line, indented by 2 spaces.
316 // Conditionals with a branch containing more than one child statement forces
/system/core/libmemunreachable/
DREADME.md39 …ocess is spawned. The collection process is similar to a normal `fork()` child process, except th…
/system/connectivity/shill/
DNETLINK_MESSAGES.txt29 Start by declaring a message object. This will be a message-specific child
/system/core/init/
Dreadme.txt177 Write the child's pid to the given files when it forks. Meant for

12