/external/e2fsprogs/lib/e2p/ |
iod.c | 29 struct dirent *de, *dep; local 48 de = malloc(max_len+1); 49 if (!de) 51 memset(de, 0, max_len+1); 55 free(de); 66 memcpy(de, dep, len); 67 if ((*func)(dir_name, de, private)) 70 free(de);
|
/frameworks/base/libs/diskusage/ |
dirsize.c | 42 struct dirent *de; local 50 while ((de = readdir(d))) { 51 const char *name = de->d_name; 52 if (de->d_type == DT_DIR) {
|
/external/dhcpcd/ |
ifaddrs.c | 98 struct dirent *de; local 112 while ((de = readdir(d))) { 113 if (de->d_name[0] == '.') 115 ifa = get_interface(de->d_name, AF_INET); 120 ifa = get_interface(de->d_name, AF_PACKET);
|
/system/core/toolbox/ |
rm.c | 21 struct dirent *de; local 39 while ((de = readdir(dir)) != NULL) { 41 if (!strcmp(de->d_name, "..") || !strcmp(de->d_name, ".")) 43 sprintf(dn, "%s/%s", name, de->d_name);
|
wipe.c | 84 struct dirent *de; local 103 de = readdir(dir); 105 if (de == NULL) { 109 if (0 == strcmp(de->d_name, ".") 110 || 0 == strcmp(de->d_name, "..") 111 || 0 == strcmp(de->d_name, "lost+found") 116 strcpy(filenameOffset, de->d_name);
|
/system/netd/ |
main.cpp | 92 struct dirent *de; local 103 while((de = readdir(d))) { 106 if (de->d_name[0] == '.') 109 if (de->d_type != DT_DIR && lvl > 0) 112 fd = openat(dfd, de->d_name, O_RDONLY | O_DIRECTORY);
|
PppController.cpp | 141 struct dirent *de; local 142 while ((de = readdir(d))) { 143 if (de->d_name[0] == '.') 145 if ((!strncmp(de->d_name, "tty", 3)) && (strlen(de->d_name) > 3)) { 146 mTtys->push_back(strdup(de->d_name));
|
/bootable/recovery/applypatch/ |
freecache.c | 16 struct dirent* de; local 22 while ((de = readdir(d)) != 0) { 24 for (i = 0; de->d_name[i] != '\0' && isdigit(de->d_name[i]); ++i); 25 if (de->d_name[i]) continue; 27 // de->d_name[i] is numeric 31 strcat(path, de->d_name); 59 printf("%s is open by %s\n", link, de->d_name); 76 struct dirent* de; local 96 while ((de = readdir(d)) != 0) [all...] |
/bootable/recovery/minzip/ |
DirUtil.c | 173 struct dirent *de; local 194 while ((de = readdir(dir)) != NULL) { 197 if (!strcmp(de->d_name, "..") || !strcmp(de->d_name, ".")) { 200 snprintf(dn, sizeof(dn), "%s/%s", path, de->d_name); 252 const struct dirent *de; local 253 while (errno == 0 && (de = readdir(dir)) != NULL) { 254 if (!strcmp(de->d_name, "..") || !strcmp(de->d_name, ".")) { 259 snprintf(dn, sizeof(dn), "%s/%s", path, de->d_name) [all...] |
/external/bouncycastle/src/main/java/org/bouncycastle/crypto/util/ |
PrivateKeyFactory.java | 126 DEREncodable de = keyInfo.getAlgorithmId().getParameters(); local 129 if (de != null) 131 DSAParameter params = DSAParameter.getInstance(de.getDERObject());
|
PublicKeyFactory.java | 163 DEREncodable de = keyInfo.getAlgorithmId().getParameters(); local 166 if (de != null) 168 DSAParameter params = DSAParameter.getInstance(de.getDERObject());
|
/external/jhead/ |
makernote.c | 13 int de; local 37 for (de=0;de<NumDirEntries;de++){ 42 DirEntry = DIR_ENTRY_ADDR(DirStart, de);
|
gpsinfo.c | 126 int de; local 142 for (de=0;de<NumDirEntries;de++){ 148 DirEntry = DIR_ENTRY_ADDR(DirStart, de);
|
/external/webkit/Source/WebCore/platform/efl/ |
FileSystemEfl.cpp | 136 struct dirent* de; local 137 while (de = readdir(dir)) { 139 if (de->d_name[0] == '.') { 140 if (de->d_name[1] == '\0') 142 if (de->d_name[1] == '.' && de->d_name[2] == '\0') 145 if (fnmatch(cfilter.data(), de->d_name, 0)) 148 nameLen = strlen(de->d_name); 152 memcpy(fileName, de->d_name, nameLen + 1);
|
/hardware/invensense/libsensors/ |
SensorBase.cpp | 97 struct dirent *de; local 104 while((de = readdir(dir))) { 105 if(de->d_name[0] == '.' && 106 (de->d_name[1] == '\0' || 107 (de->d_name[1] == '.' && de->d_name[2] == '\0'))) 109 strcpy(filename, de->d_name);
|
/system/core/cpio/ |
mkbootfs.c | 117 struct dirent *de; local 135 while((de = readdir(d)) != 0){ 137 if(de->d_name[0] == '.') continue; 140 if(!strcmp(de->d_name, "root")) continue; 151 names[entries] = strdup(de->d_name); 154 de->d_name);
|
/system/core/libcutils/ |
dir_hash.c | 134 struct dirent *de; local 141 while ((de = readdir(d)) != NULL) { 142 if (strcmp(de->d_name, ".") == 0) { 145 if (strcmp(de->d_name, "..") == 0) { 149 char *name = malloc(strlen(de->d_name) + 1); 165 strcpy(name, de->d_name);
|
/system/core/netcfg/ |
netcfg.c | 79 struct dirent *de; local 84 while((de = readdir(d))) { 85 if(de->d_name[0] == '.') continue; 86 dump_interface(de->d_name);
|
/system/vold/ |
Process.cpp | 98 struct dirent* de; local 99 while ((de = readdir(dir))) { 100 if (!strcmp(de->d_name, ".") || !strcmp(de->d_name, "..") 101 || strlen(de->d_name) + parent_length + 1 >= PATH_MAX) 106 strcat(path, de->d_name); 182 struct dirent* de; local 189 while ((de = readdir(dir))) { 191 int pid = getPid(de->d_name);
|
main.cpp | 102 struct dirent *de; local 113 while((de = readdir(d))) { 116 if (de->d_name[0] == '.') 119 if (de->d_type != DT_DIR && lvl > 0) 122 fd = openat(dfd, de->d_name, O_RDONLY | O_DIRECTORY);
|
/bionic/libc/unistd/ |
opendir.c | 223 struct dirent *this_de, *de; local 256 de = (struct dirent *) malloc(sizeof(struct dirent)); 257 *de = *this_de; 258 de_list[n_elem++] = de;
|
/bootable/recovery/minui/ |
events.c | 51 struct dirent *de; local 56 while((de = readdir(dir))) { 59 // fprintf(stderr,"/dev/input/%s\n", de->d_name); 60 if(strncmp(de->d_name,"event",5)) continue; 61 fd = openat(dirfd(dir), de->d_name, O_RDONLY);
|
/external/bluetooth/bluez/compat/ |
dun.c | 95 struct dirent *de; local 105 while ((de = readdir(dir)) != NULL) { 107 int len = readlink(de->d_name, link, sizeof(link)); 124 struct dirent *de; local 139 while ((de = readdir(dir)) != NULL) { 141 if (isdigit(de->d_name[0])) { 142 sprintf(path, "%s/%s/fd", PROC_BASE, de->d_name); 144 *pid = atoi(de->d_name);
|
/external/iproute2/misc/ |
lnstat_util.c | 184 /* de->d_name is guaranteed to be <= NAME_MAX */ 210 struct dirent *de; local 251 while ((de = readdir(dir))) { 254 if (de->d_type != DT_REG) 258 req_files, de->d_name)) 261 lf = alloc_and_open(path, de->d_name);
|
/system/core/adb/ |
file_sync_service.c | 79 struct dirent *de; local 97 while((de = readdir(d))) { 98 int len = strlen(de->d_name); 104 strcpy(fname, de->d_name); 112 writex(s, de->d_name, len)) {
|