/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);
|
/prebuilt/linux-x86/toolchain/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 : \
|
/system/core/cpio/ |
mkbootfs.c | 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/toolbox/ |
ps.c | 184 if(isdigit(de->d_name[0])){ 185 int tid = atoi(de->d_name); 229 if(isdigit(de->d_name[0])){ 230 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);
|
schedtop.c | 164 if(isdigit(de->d_name[0])){ 165 int tid = atoi(de->d_name); 202 if(isdigit(de->d_name[0])){ 203 int pid = atoi(de->d_name);
|
/external/oprofile/opcontrol/ |
opcontrol.cpp | 535 if (strlen(dirent->d_name) >= 4 && memcmp(dirent->d_name, "cpu", 3) == 0) { 538 strcat(cpupath, dirent->d_name); 543 printf(" %s %9u samples received\n", dirent->d_name, num); 548 printf(" %s %9u samples lost overflow\n", dirent->d_name, num); 553 printf(" %s %9u samples invalid eip\n", dirent->d_name, num); 558 printf(" %s %9u backtrace aborted\n", dirent->d_name, num);
|
/system/extras/ext4_utils/ |
make_ext4fs.c | 46 return (strcmp(d->d_name, "..") && strcmp(d->d_name, ".")); 96 dentries[i].filename = strdup(namelist[i]->d_name); 100 asprintf(&dentries[i].path, "%s/%s", dir_path, namelist[i]->d_name); 101 asprintf(&dentries[i].full_path, "%s/%s", full_path, namelist[i]->d_name);
|
/frameworks/base/cmds/rawbu/ |
backup.cpp | 93 if (0 == strcmp(de->d_name, ".") 94 || 0 == strcmp(de->d_name, "..") 95 || 0 == strcmp(de->d_name, "lost+found") 100 strcpy(filenameOffset, de->d_name); 275 if (0 == strcmp(de->d_name, ".") 276 || 0 == strcmp(de->d_name, "..") 277 || 0 == strcmp(de->d_name, "lost+found") 285 fullPath = (char*)malloc(srcLen + strlen(de->d_name) + 2); 288 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/bluetooth/glib/build/win32/dirent/ |
dirent.c | 138 memset (nd->dd_dir.d_name, 0, FILENAME_MAX);
214 _tcscpy (dirp->dd_dir.d_name, dirp->dd_dta.name);
|
/external/dbus/dbus/ |
dbus-sysdeps-util-win.c | 446 #define MAXNAMLEN 255 /* sizeof(struct dirent.d_name)-1 */ 455 unsigned short d_reclen; /* length of d_name */ 456 char d_name[_MAX_FNAME+1]; /* filename (null terminated) */ member in struct:dirent 541 strncpy(dp->dent.d_name, dp->fileinfo.cFileName, _MAX_FNAME); 543 dp->dent.d_reclen = strlen(dp->dent.d_name); 652 else if (ent->d_name[0] == '.' && 653 (ent->d_name[1] == '\0' || 654 (ent->d_name[1] == '.' && ent->d_name[2] == '\0'))) 659 if (!_dbus_string_append (filename, ent->d_name)) [all...] |
/external/oprofile/libop/ |
op_alloc_counter.c | 164 return (isdigit(entry->d_name[0])); 189 available |= 1 << atoi(counterlist[i]->d_name);
|
/external/wpa_supplicant_8/src/wps/ |
wps_ufd.c | 47 if (sscanf(entry->d_name, "%8x.%4s", &prefix, ext) != 2) 75 os_strlcpy(file_name, namelist[0]->d_name, 13);
|
/system/vold/ |
main.cpp | 116 if (de->d_name[0] == '.') 122 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/fastboot/ |
usb_linux.c | 218 if(badname(de->d_name)) continue; 220 sprintf(busname, "%s/%s", base, de->d_name); 227 if(badname(de->d_name)) continue; 228 sprintf(devname, "%s/%s", busname, de->d_name);
|
/system/core/libcutils/ |
dir_hash.c | 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/extras/tests/sdcard/ |
sysutil.cpp | 419 if (0 == strcmp(entry->d_name, ".") 420 || 0 == strcmp(entry->d_name, "..") 421 || 0 == strcmp(entry->d_name, "lost+found")) 427 strcat(name_buffer, entry->d_name);
|
/external/bluetooth/glib/gio/ |
glocalfileenumerator.c | 286 && (0 == strcmp (entry->d_name, ".") || 287 0 == strcmp (entry->d_name, ".."))) 292 local->entries[i].name = g_strdup (entry->d_name);
|
/external/chromium/base/ |
linux_util.cc | 212 const unsigned long int pid_ul = strtoul(dent->d_name, &endptr, 10); 230 dent->d_name) >= static_cast<int>(sizeof(buf))) { 268 const unsigned long int tid_ul = strtoul(dent->d_name, &endptr, 10);
|
/external/chromium/net/tools/flip_server/ |
mem_cache.cc | 103 current_dir_name + "/" + dir_data->d_name; 109 if (std::string(dir_data->d_name) != "." && 110 std::string(dir_data->d_name) != "..") {
|