Searched refs:dent (Results 1 – 7 of 7) sorted by relevance
/system/core/libprocinfo/include/procinfo/ |
D | process.h | 81 struct dirent* dent; variable 82 while ((dent = readdir(dir.get()))) { 83 if (strcmp(dent->d_name, ".") != 0 && strcmp(dent->d_name, "..") != 0) { 85 if (!android::base::ParseInt(dent->d_name, &tid, 1, std::numeric_limits<pid_t>::max())) { 87 *error = std::string("failed to parse task id: ") + dent->d_name;
|
/system/core/adb/daemon/ |
D | file_sync_service.cpp | 181 msg.dent.id = ID_DENT; in do_list() 192 msg.dent.mode = st.st_mode; in do_list() 193 msg.dent.size = st.st_size; in do_list() 194 msg.dent.time = st.st_mtime; in do_list() 195 msg.dent.namelen = d_name_length; in do_list() 197 if (!WriteFdExactly(s, &msg.dent, sizeof(msg.dent)) || in do_list() 205 msg.dent.id = ID_DONE; in do_list() 206 msg.dent.mode = 0; in do_list() 207 msg.dent.size = 0; in do_list() 208 msg.dent.time = 0; in do_list() [all …]
|
/system/core/libmeminfo/libdmabufinfo/ |
D | dmabufinfo.cpp | 107 struct dirent* dent; in ReadDmaBufFdRefs() local 108 while ((dent = readdir(dir.get()))) { in ReadDmaBufFdRefs() 110 ::android::base::StringPrintf("%s/%s", fdpath.c_str(), dent->d_name); in ReadDmaBufFdRefs() 112 if (!strcmp(dent->d_name, ".") || !strcmp(dent->d_name, "..") || in ReadDmaBufFdRefs() 128 if (!::android::base::ParseInt(dent->d_name, &fd)) { in ReadDmaBufFdRefs()
|
/system/core/libmeminfo/libdmabufinfo/tools/ |
D | dmabuf_dump.cpp | 161 struct dirent* dent; in main() local 162 while ((dent = readdir(dir.get()))) { in main() 163 if (dent->d_type != DT_DIR) continue; in main() 165 int matched = sscanf(dent->d_name, "%d", &pid); in main()
|
/system/core/adb/ |
D | file_sync_protocol.h | 67 } dent; member
|
/system/core/adb/client/ |
D | file_sync_client.cpp | 620 if (!ReadFdExactly(sc.fd, &msg.dent, sizeof(msg.dent))) return false; in sync_ls() 622 if (msg.dent.id == ID_DONE) return true; in sync_ls() 623 if (msg.dent.id != ID_DENT) return false; in sync_ls() 625 size_t len = msg.dent.namelen; in sync_ls() 632 func(msg.dent.mode, msg.dent.size, msg.dent.time, buf); in sync_ls()
|
D | auth.cpp | 195 while (struct dirent* dent = readdir(dir.get())) { in load_keys() local 196 std::string name = dent->d_name; in load_keys()
|