Searched refs:dent (Results 1 - 5 of 5) sorted by relevance
/system/core/libprocinfo/include/procinfo/ |
H A D | process.h | 79 struct dirent* dent; variable in typeref:struct:android::procinfo::dirent 80 while ((dent = readdir(dir.get()))) { 81 if (strcmp(dent->d_name, ".") != 0 && strcmp(dent->d_name, "..") != 0) { 83 if (!android::base::ParseInt(dent->d_name, &tid, 1, std::numeric_limits<pid_t>::max())) { 84 LOG(ERROR) << "failed to parse task id: " << dent->d_name;
|
/system/core/adb/ |
H A D | file_sync_service.cpp | 151 msg.dent.id = ID_DENT; 162 msg.dent.mode = st.st_mode; 163 msg.dent.size = st.st_size; 164 msg.dent.time = st.st_mtime; 165 msg.dent.namelen = d_name_length; 167 if (!WriteFdExactly(s, &msg.dent, sizeof(msg.dent)) || 175 msg.dent.id = ID_DONE; 176 msg.dent.mode = 0; 177 msg.dent [all...] |
H A D | file_sync_service.h | 71 } dent; member in union:syncmsg
|
H A D | file_sync_client.cpp | 620 if (!ReadFdExactly(sc.fd, &msg.dent, sizeof(msg.dent))) return false; 622 if (msg.dent.id == ID_DONE) return true; 623 if (msg.dent.id != ID_DENT) return false; 625 size_t len = msg.dent.namelen; 632 func(msg.dent.mode, msg.dent.size, msg.dent.time, buf);
|
H A D | adb_auth_host.cpp | 227 while (struct dirent* dent = readdir(dir.get())) { 228 std::string name = dent->d_name; 230 // We can't use dent->d_type here because it's not available on Windows.
|
Completed in 86 milliseconds