/external/e2fsprogs/misc/ |
chattr.c | 276 if (strcmp (de->d_name, ".") && strcmp (de->d_name, "..")) { 279 path = malloc(strlen (dir_name) + 1 + strlen (de->d_name) + 1); 285 sprintf(path, "%s/%s", dir_name, de->d_name);
|
/external/kernel-headers/original/linux/nfsd/ |
nfsfh.h | 223 dentry->d_parent->d_name.name, dentry->d_name.name); 314 dentry->d_parent->d_name.name, dentry->d_name.name);
|
/external/openssl/crypto/ |
LPdir_unix.c | 103 strncpy((*ctx)->entry_name, direntry->d_name, sizeof((*ctx)->entry_name) - 1);
|
/frameworks/base/tools/aapt/ |
DirectoryWalker.h | 80 String8 fullPath = mBasePath.appendPathCopy(mEntry.d_name);
|
/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.4.3/sysroot/usr/include/ |
dirent.h | 50 member that gives the length of `d_name'. 73 _D_EXACT_NAMLEN (DP) returns the length of DP->d_name, not including 77 that is, the allocation size needed to hold the DP->d_name string. 86 # define _D_EXACT_NAMLEN(d) (strlen ((d)->d_name)) 88 # define _D_ALLOC_NAMLEN(d) (((char *) (d) + (d)->d_reclen) - &(d)->d_name[0]) 90 # define _D_ALLOC_NAMLEN(d) (sizeof (d)->d_name > 1 ? sizeof (d)->d_name : \
|
/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.6/sysroot/usr/include/ |
dirent.h | 50 member that gives the length of `d_name'. 73 _D_EXACT_NAMLEN (DP) returns the length of DP->d_name, not including 77 that is, the allocation size needed to hold the DP->d_name string. 86 # define _D_EXACT_NAMLEN(d) (strlen ((d)->d_name)) 88 # define _D_ALLOC_NAMLEN(d) (((char *) (d) + (d)->d_reclen) - &(d)->d_name[0]) 90 # define _D_ALLOC_NAMLEN(d) (sizeof (d)->d_name > 1 ? sizeof (d)->d_name : \
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.7-4.6/sysroot/usr/include/ |
dirent.h | 50 member that gives the length of `d_name'. 73 _D_EXACT_NAMLEN (DP) returns the length of DP->d_name, not including 77 that is, the allocation size needed to hold the DP->d_name string. 86 # define _D_EXACT_NAMLEN(d) (strlen ((d)->d_name)) 88 # define _D_ALLOC_NAMLEN(d) (((char *) (d) + (d)->d_reclen) - &(d)->d_name[0]) 90 # define _D_ALLOC_NAMLEN(d) (sizeof (d)->d_name > 1 ? sizeof (d)->d_name : \
|
/prebuilts/python/darwin-x86/2.7.5/include/python2.7/ |
descrobject.h | 43 PyObject *d_name
|
grammar.h | 52 char *d_name; /* For printing */ member in struct:__anon60459
|
/prebuilts/python/linux-x86/2.7.5/include/python2.7/ |
descrobject.h | 43 PyObject *d_name
|
grammar.h | 52 char *d_name; /* For printing */ member in struct:__anon60582
|
/system/core/toolbox/ |
ps.c | 194 if(isdigit(de->d_name[0])){ 195 int tid = atoi(de->d_name); 245 if(isdigit(de->d_name[0])){ 246 int pid = atoi(de->d_name);
|
getevent.c | 276 if (strstr(de->d_name, prefix) == de->d_name) { 277 snprintf(filename, sizeof(filename), "%s/%s/rdesc", dirname, de->d_name); 281 printf(" HID descriptor: %s\n\n", de->d_name); 462 if(de->d_name[0] == '.' && 463 (de->d_name[1] == '\0' || 464 (de->d_name[1] == '.' && de->d_name[2] == '\0'))) 466 strcpy(filename, de->d_name);
|
/system/core/init/ |
property_service.c | 492 if (strncmp("persist.", entry->d_name, strlen("persist."))) 499 fd = openat(dir_fd, entry->d_name, O_RDONLY | O_NOFOLLOW); 502 entry->d_name, errno); 506 ERROR("fstat on property file \"%s\" failed errno: %d\n", entry->d_name, errno); 518 entry->d_name, sb.st_uid, sb.st_gid, sb.st_nlink, sb.st_mode); 526 property_set(entry->d_name, value); 529 entry->d_name, errno);
|
/external/libcap-ng/libcap-ng-0.7/utils/ |
netcap.c | 66 if(*ent->d_name<'0' || *ent->d_name>'9') 69 pid = strtol(ent->d_name, NULL, 10); 167 if (ent->d_name[0] == '.') 169 snprintf(ln, 256, "%s/%s", buf, ent->d_name);
|
/external/linux-tools-perf/util/ |
help.c | 144 if (prefixcmp(de->d_name, prefix)) 148 strbuf_addstr(&buf, de->d_name); 152 entlen = strlen(de->d_name) - prefix_len; 153 if (has_extension(de->d_name, ".exe")) 156 add_cmdname(cmds, de->d_name + prefix_len, entlen);
|
/external/bluetooth/bluedroid/btif/co/ |
bta_fs_co.c | 89 if (0 == strcmp(de->d_name, ".") || 0 == strcmp(de->d_name, "..")) 92 if((int)strlen(de->d_name) > PATH_MAX - nameLen) { 93 BTIF_TRACE_DEBUG1("d_name len:%d is too big", strlen(de->d_name)); 98 strcpy(filenameOffset, de->d_name); 911 sprintf(fullname, "%s/%s", p_path, dirent->d_name); 923 strcpy(p_entry->p_name, dirent->d_name); 926 dirent->d_name, 945 dirent->d_name, [all...] |
/frameworks/native/cmds/rawbu/ |
backup.cpp | 94 if (0 == strcmp(de->d_name, ".") 95 || 0 == strcmp(de->d_name, "..") 96 || 0 == strcmp(de->d_name, "lost+found") 101 strcpy(filenameOffset, de->d_name); 280 if (0 == strcmp(de->d_name, ".") 281 || 0 == strcmp(de->d_name, "..") 282 || 0 == strcmp(de->d_name, "lost+found") 290 fullPath = (char*)malloc(srcLen + strlen(de->d_name) + 2); 293 strcpy(fullPath+srcLen+1, de->d_name);
|
/bootable/recovery/minui/ |
events.c | 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/oprofile/libop/ |
op_alloc_counter.c | 164 return (isdigit(entry->d_name[0])); 189 available |= 1 << atoi(counterlist[i]->d_name);
|
/external/skia/tools/skpdiff/ |
skpdiff_util.cpp | 120 SkString joinedPath = SkOSPath::SkPathJoin(path, entry->d_name); 124 entries->push_back(SkString(entry->d_name));
|
/system/vold/ |
main.cpp | 125 if (de->d_name[0] == '.') 131 fd = openat(dfd, de->d_name, O_RDONLY | O_DIRECTORY);
|
/frameworks/base/core/jni/ |
android_server_Watchdog.cpp | 83 int tid = atoi(ent->d_name);
|
/system/core/cpio/ |
mkbootfs.c | 178 if(de->d_name[0] == '.') continue; 181 if(!strcmp(de->d_name, "root")) continue; 192 names[entries] = strdup(de->d_name); 195 de->d_name);
|
/system/core/fastboot/ |
usb_linux.c | 260 if(badname(de->d_name)) continue; 262 sprintf(busname, "%s/%s", base, de->d_name); 269 if(badname(de->d_name)) continue; 270 sprintf(devname, "%s/%s", busname, de->d_name);
|