/external/linux-tools-perf/util/ |
trace-event-info.c | 313 struct dirent *dent; local 324 while ((dent = readdir(dir))) { 325 if (dent->d_type != DT_DIR || 326 strcmp(dent->d_name, ".") == 0 || 327 strcmp(dent->d_name, "..") == 0 || 328 !name_in_tp_list(dent->d_name, tps)) 330 format = malloc_or_die(strlen(sys) + strlen(dent->d_name) + 10); 331 sprintf(format, "%s/%s/format", sys, dent->d_name); 342 while ((dent = readdir(dir))) { 343 if (dent->d_type != DT_DIR | 390 struct dirent *dent; local [all...] |
symbol.c | 1659 struct dirent *dent; local [all...] |
/external/openssh/openbsd-compat/ |
bsd-closefrom.c | 74 struct dirent *dent; local 81 while ((dent = readdir(dirp)) != NULL) { 82 fd = strtol(dent->d_name, &endp, 10); 83 if (dent->d_name != endp && *endp == '\0' &&
|
/external/chromium_org/sandbox/linux/suid/ |
linux_util.c | 73 struct dirent* dent; local 74 while ((dent = readdir(proc))) { 77 const unsigned long int pid_ul = strtoul(dent->d_name, &endptr, 10); 106 while ((dent = readdir(fd))) { 108 int printed = snprintf(buf, sizeof(buf), "fd/%s", dent->d_name);
|
/system/core/adb/ |
file_sync_service.c | 92 msg.dent.id = ID_DENT; 106 msg.dent.mode = htoll(st.st_mode); 107 msg.dent.size = htoll(st.st_size); 108 msg.dent.time = htoll(st.st_mtime); 109 msg.dent.namelen = htoll(len); 111 if(writex(s, &msg.dent, sizeof(msg.dent)) || 121 msg.dent.id = ID_DONE; 122 msg.dent.mode = 0; 123 msg.dent.size = 0 [all...] |
file_sync_service.h | 67 } dent; member in union:__anon60748
|
file_sync_client.c | 95 if(readx(fd, &msg.dent, sizeof(msg.dent))) break; 96 if(msg.dent.id == ID_DONE) return 0; 97 if(msg.dent.id != ID_DENT) break; 99 len = ltohl(msg.dent.namelen); 105 func(ltohl(msg.dent.mode), 106 ltohl(msg.dent.size), 107 ltohl(msg.dent.time),
|
/external/chromium_org/base/files/ |
file_enumerator_posix.cc | 133 struct dirent* dent; local 134 while (readdir_r(dir, &dent_buf, &dent) == 0 && dent) { 136 info.filename_ = FilePath(dent->d_name); 138 FilePath full_name = source.Append(dent->d_name); 149 << source.Append(dent->d_name).value();
|
/external/chromium/base/ |
linux_util.cc | 209 struct dirent* dent; local 210 while ((dent = readdir(proc))) { 212 const unsigned long int pid_ul = strtoul(dent->d_name, &endptr, 10); 228 while ((dent = readdir(fd))) { 230 dent->d_name) >= static_cast<int>(sizeof(buf))) { 265 struct dirent* dent; local 266 while ((dent = readdir(task))) { 268 const unsigned long int tid_ul = strtoul(dent->d_name, &endptr, 10);
|
file_util_posix.cc | 726 struct dirent* dent; local 727 while (readdir_r(dir, &dent_buf, &dent) == 0 && dent) { 729 info.filename = FilePath(dent->d_name); 731 FilePath full_name = source.Append(dent->d_name); 742 << source.Append(dent->d_name).value();
|
/external/chromium_org/base/ |
linux_util.cc | 209 struct dirent* dent; local 210 while ((dent = readdir(proc))) { 212 const unsigned long int pid_ul = strtoul(dent->d_name, &endptr, 10); 228 while ((dent = readdir(fd))) { 230 dent->d_name) >= static_cast<int>(sizeof(buf))) { 270 struct dirent* dent; local 271 while ((dent = readdir(task))) { 273 const unsigned long int tid_ul = strtoul(dent->d_name, &endptr, 10);
|
/external/wpa_supplicant_8/hostapd/ |
hostapd_cli.c | 715 struct dirent *dent; local 726 while ((dent = readdir(dir))) { 727 if (strcmp(dent->d_name, ".") == 0 || 728 strcmp(dent->d_name, "..") == 0) 730 printf("%s\n", dent->d_name); 1111 struct dirent *dent; local 1114 while ((dent = readdir(dir))) { 1115 if (os_strcmp(dent->d_name, ".") == 0 1117 os_strcmp(dent->d_name, "..") == 0) 1120 dent->d_name) [all...] |
/external/chromium/chrome/browser/ |
memory_details_linux.cc | 88 struct dirent* dent; local 89 while ((dent = readdir(dir))) { 93 for (const char* p = dent->d_name; *p; ++p) { 104 snprintf(buf, sizeof(buf), "/proc/%s/stat", dent->d_name);
|
/system/vold/ |
CommandListener.cpp | 292 struct dirent *dent = (struct dirent *) malloc(dirent_len); local 293 if (dent == NULL) { 300 while (!readdir_r(d, dent, &result) && result != NULL) { 301 if (dent->d_name[0] == '.') 303 if (dent->d_type != DT_REG) 305 size_t name_len = strlen(dent->d_name); 307 !strcmp(&dent->d_name[name_len - 5], ".asec")) { 310 strlcpy(id, dent->d_name, name_len - 4); 316 free(dent);
|
VolumeManager.cpp | 1575 struct dirent *dent = (struct dirent *) malloc(dirent_len); local [all...] |
/external/wpa_supplicant_8/src/drivers/ |
driver_test.c | 227 struct dirent *dent; local 261 while ((dent = readdir(dir))) { 266 if (dent->d_type != DT_SOCK && dent->d_type != DT_UNKNOWN) 269 if (strcmp(dent->d_name, ".") == 0 || 270 strcmp(dent->d_name, "..") == 0) 276 drv->test_dir, dent->d_name); 280 if (!broadcast && strstr(dent->d_name, desttxt) == NULL) 284 __func__, dent->d_name); 314 struct dirent *dent; local 1343 struct dirent *dent; local [all...] |
/external/iputils/ |
rarpd.c | 221 struct dirent *dent; local 231 while ((dent = readdir(d)) != NULL) { 232 if (strncmp(dent->d_name, name, 8) == 0) 236 return dent != NULL;
|
/external/wpa_supplicant_8/wpa_supplicant/wpa_gui-qt4/ |
wpagui.cpp | 274 struct dirent *dent; local 279 while ((dent = readdir(dir))) { 285 if (dent->d_type != DT_SOCK && 286 dent->d_type != DT_UNKNOWN) 290 if (strcmp(dent->d_name, ".") == 0 || 291 strcmp(dent->d_name, "..") == 0) 294 dent->d_name); 295 ctrl_iface = strdup(dent->d_name); [all...] |
/external/genext2fs/ |
genext2fs.c | 1662 struct dirent *dent; local [all...] |
/external/chromium_org/third_party/leveldatabase/ |
env_chromium.cc | 788 struct dirent* dent; 790 while ((readdir_result = readdir_r(dir, &dent_buf, &dent)) == 0 && dent) { 791 if (strcmp(dent->d_name, ".") == 0 || strcmp(dent->d_name, "..") == 0) 793 result->push_back(CreateFilePath(dent->d_name)); [all...] |
/external/kernel-headers/original/linux/ |
wanrouter.h | 513 struct proc_dir_entry *dent; /* proc filesystem entry */ member in struct:wan_device
|
/external/wpa_supplicant_8/wpa_supplicant/ |
wpa_cli.c | 3604 struct dirent *dent; local [all...] |
/external/linux-tools-perf/ |
builtin-script.c | 667 /* Helper function for filesystems that return a dent->d_type DT_UNKNOWN */ 668 static int is_directory(const char *base_path, const struct dirent *dent) 673 sprintf(path, "%s/%s", base_path, dent->d_name);
|
/external/skia/tests/ |
PathTest.cpp | 1105 SkPath dent; local [all...] |