Searched defs:child (Results 1 - 11 of 11) sorted by relevance

/system/core/adb/
H A Dadb_utils_test.cpp37 static std::string subdir(const char* parent, const char* child) { argument
40 str += child;
/system/extras/ext4_utils/
H A Dsetup_fs.c15 pid_t child; local
46 child = fork();
47 if (child < 0) {
51 if (child == 0) {
56 while ((pid=waitpid(-1, &status, 0)) != child) {
/system/extras/simpleperf/
H A Dcallchain.cpp64 std::unique_ptr<CallChainNode> child = local
66 child->children = std::move(parent->children);
68 parent->children_period = child->period + child->children_period;
71 parent->children.push_back(std::move(child));
H A Dthread_tree.cpp63 ThreadEntry* child = FindThreadOrNew(pid, tid); local
64 child->comm = parent->comm;
65 child->maps = parent->maps;
/system/core/include/utils/
H A DLruCache.h63 Entry* child; member in struct:android::LruCache::Entry
65 Entry(TKey key_, TValue value_) : key(key_), value(value_), parent(NULL), child(NULL) {
232 for (Entry* p = mOldest; p != NULL; p = p->child) {
250 mYoungest->child = &entry;
258 entry.parent->child = entry.child;
260 mOldest = entry.child;
262 if (entry.child != NULL) {
263 entry.child->parent = entry.parent;
269 entry.child
[all...]
/system/extras/perfprofd/quipper/
H A Dperf_parser.cc555 PidTid child = std::make_pair(event.pid, event.tid); local
556 if (parent != child &&
558 pidtid_to_comm_map_[child] = pidtid_to_comm_map_[parent];
563 // If the parent and child pids are the same, this is just a new thread
/system/vold/
H A DCommandListener.cpp741 int child = fork(); local
742 if (child == 0) {
759 if (child == -1) {
760 PLOG(ERROR) << "Failed to folk child process";
765 TEMP_FAILURE_RETRY(waitpid(child, &status, 0));
H A DVolumeManager.cpp518 pid_t child; local
567 if (!(child = fork())) {
606 if (child == -1) {
610 TEMP_FAILURE_RETRY(waitpid(child, nullptr, 0));
/system/core/logwrapper/
H A Dlogwrap.c472 static void child(int argc, char* argv[]) { function
552 child(argc, argv);
/system/extras/perfprofd/
H A Dperfprofdcore.cc232 // Constructor takes a timeout (in seconds) and a child pid; If an
234 // SIGKILL is sent to the child. Destructor resets alarm. Example:
246 AlarmHelper(unsigned num_seconds, pid_t child) argument
249 assert(child);
254 child_ = child;
300 // child
340 // reap child (no zombies please)
540 // child
/system/core/sdcard/
H A Dsdcard.c164 struct node *child; /* first contained file by this dir */ member in struct:node
299 node->next = parent->child;
300 parent->child = node;
307 if (node->parent->child == node) {
308 node->parent->child = node->parent->child->next;
311 node2 = node->parent->child;
519 for (node = parent->child; node; node = node->next) {
521 if (node->child) {
664 for (node = node->child; nod
680 struct node* child = lookup_child_by_name_locked(parent, name); local
764 fuse_notify_delete(struct fuse* fuse, const __u64 parent, const __u64 child, const char* name) argument
[all...]

Completed in 292 milliseconds