/system/core/debuggerd/ |
getevent.c | 140 struct dirent *de; local 147 while((de = readdir(dir))) { 148 if(de->d_name[0] == '.' && 149 (de->d_name[1] == '\0' || 150 (de->d_name[1] == '.' && de->d_name[2] == '\0'))) 152 strcpy(filename, de->d_name);
|
debuggerd.c | 373 struct dirent *de; local 382 while ((de = readdir(d)) != NULL) { 385 if (!strcmp(de->d_name, ".") || !strcmp(de->d_name, "..")) 387 new_tid = atoi(de->d_name);
|
/system/core/toolbox/ |
lsof.c | 152 struct dirent* de; local 153 while ((de = readdir(dir))) { 154 if (!strcmp(de->d_name, ".") || !strcmp(de->d_name, "..")) 157 print_type(de->d_name, info); 238 struct dirent* de; local 239 while ((de = readdir(dir))) { 240 if (!strcmp(de->d_name, ".") || !strcmp(de->d_name, "..")) 244 pid = strtol(de->d_name, &endptr, 10) [all...] |
ls.c | 96 struct dirent *de; local 102 while ((de = readdir(d)) != 0) { 103 if (strcmp(de->d_name, ".") == 0 || strcmp(de->d_name, "..") == 0) 105 if (de->d_name[0] == '.' && (flags & LIST_ALL) == 0) 109 snprintf(tmp, sizeof(tmp), "/%s", de->d_name); 111 snprintf(tmp, sizeof(tmp), "%s/%s", dirname, de->d_name); 265 struct dirent *de; local 278 while((de = readdir(d)) != 0){ 279 if (!strcmp(de->d_name, ".") || !strcmp(de->d_name, "..")) continue [all...] |
ps.c | 177 struct dirent *de; local 183 while((de = readdir(d)) != 0){ 184 if(isdigit(de->d_name[0])){ 185 int tid = atoi(de->d_name); 196 struct dirent *de; local 228 while((de = readdir(d)) != 0){ 229 if(isdigit(de->d_name[0])){ 230 int pid = atoi(de->d_name);
|
schedtop.c | 159 struct dirent *de; local 163 while((de = readdir(d)) != 0){ 164 if(isdigit(de->d_name[0])){ 165 int tid = atoi(de->d_name); 198 struct dirent *de; local 201 while((de = readdir(d)) != 0){ 202 if(isdigit(de->d_name[0])){ 203 int pid = atoi(de->d_name); 275 struct dirent *de; local
|
getevent.c | 265 struct dirent *de; local 275 while((de = readdir(dir))) { 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); 454 struct dirent *de; local 461 while((de = readdir(dir))) { 462 if(de->d_name[0] == '.' && 463 (de->d_name[1] == '\0' | [all...] |
/system/extras/fatblock/ |
import.c | 200 struct dirent *de; local 243 while ((de = readdir(dir))) { 244 if (de->d_name[0] == '.') { 248 ret = snprintf(ch_path, PATH_MAX, "%s/%s", path, de->d_name); 261 if (convert_name(item->name, de->d_name)) { 265 switch (de->d_type) {
|
/system/vold/ |
CommandListener.cpp | 224 struct dirent *de; local 231 while ((de = readdir(dir))) { 232 int pid = Process::getPid(de->d_name);
|
/dalvik/tests/068-classloader/src/ |
Main.java | 161 System.out.println("Got expected LinkageError on DE"); 167 DoubledExtend de = baseRef.getExtended(); local 173 result = Base.doStuff(de); 174 System.err.println("ERROR: did not get LinkageError on DE"); 177 System.out.println("Got expected LinkageError on DE"); 215 DoubledExtendOkay de = baseRef.getExtended(); local 221 result = BaseOkay.doStuff(de); 266 /* "de" will be the wrong variety of DoubledExtendOkay */ 267 DoubledExtendOkay de = iface.getDoubled(); local 269 String str = de.getStr() 308 DoubledExtendOkay de = baseRef.getExtended(); local [all...] |
/external/e2fsprogs/lib/blkid/ |
devname.c | 125 struct dirent *de, *d_de; local 132 while ((de = readdir(dir)) != NULL) { 133 if (!strcmp(de->d_name, ".") || !strcmp(de->d_name, "..") || 134 !strcmp(de->d_name, devname) || 135 strncmp(de->d_name, "dm-", 3) || 136 strlen(de->d_name) > sizeof(path)-32) 138 sprintf(path, "/sys/block/%s/slaves", de->d_name);
|
/external/grub/stage2/ |
fsys_jfs.c | 44 ldtentry_t *de; member in struct:jfs_info 133 ldtentry_t *de; local 141 de = (ldtentry_t *)dtpage->slot; 142 stbl = (s8 *)&de[(int)dtpage->header.stblindex]; 144 return &de[(int)stbl[jfs.sindex++]]; 150 return &de[(int)((s8 *)&de[(int)dtpage->header.stblindex])[0]]; 162 idtentry_t *de; local 174 de = (idtentry_t *)dtpage->slot; 182 xd = &de[(int)((s8 *)&de[(int)dtpage->header.stblindex])[0]].xd 276 ldtentry_t *de; local [all...] |
/external/icu4c/test/intltest/ |
dtfmapts.cpp | 140 DateFormat *de = DateFormat::createDateTimeInstance(DateFormat::LONG, DateFormat::LONG, Locale::getGerman()); local 142 if (def == NULL || fr == NULL || it == NULL || de == NULL){ 157 if (fr != NULL && it != NULL && de != NULL) 177 res3 = de->format(d, res3); 209 if (fr != NULL && it != NULL && de != NULL) 229 de->adoptCalendar(newCal); 231 if( *(de->getCalendar()) != *(it->getCalendar())) { 237 de->adoptNumberFormat(newNf); 239 if( *(de->getNumberFormat()) != *(it->getNumberFormat())) { 245 de->adoptTimeZone(newTz); [all...] |
/external/webkit/Source/WebCore/editing/ |
VisibleSelection.cpp | 200 Node* de = d->documentElement(); local 201 if (!de)
|
/frameworks/base/cmds/dumpstate/ |
utils.c | 42 struct dirent *de; local 50 while ((de = readdir(d))) { 56 if (!(pid = atoi(de->d_name))) {
|
/frameworks/base/cmds/installd/ |
utils.c | 186 struct dirent *de; local 193 while ((de = readdir(d))) { 194 const char *name = de->d_name; 199 if (de->d_type == DT_DIR) {
|
/frameworks/base/cmds/rawbu/ |
backup.cpp | 67 struct dirent *de; local 87 de = readdir(dir); 89 if (de == NULL) { 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); 254 struct dirent *de; local 269 de = readdir(dir); 271 if (de == NULL) [all...] |
/system/core/fastboot/ |
usb_linux.c | 210 struct dirent *de; local 217 while((de = readdir(busdir)) && (usb == 0)) { 218 if(badname(de->d_name)) continue; 220 sprintf(busname, "%s/%s", base, de->d_name); 225 while((de = readdir(devdir)) && (usb == 0)) { 227 if(badname(de->d_name)) continue; 228 sprintf(devname, "%s/%s", busname, de->d_name);
|
/system/extras/tests/fstest/ |
perm_checker.c | 364 struct dirent *de; local 392 while ((de = readdir(d)) != 0) { 393 if (!strcmp(de->d_name, ".") || !strcmp(de->d_name, "..")) 395 snprintf(tmp, sizeof(tmp), "%s%s", namebuf, de->d_name);
|
/bootable/recovery/ |
recovery.c | 480 struct dirent* de; local 500 while ((de = readdir(d)) != NULL) { 501 int name_len = strlen(de->d_name); 503 if (de->d_type == DT_DIR) { 505 if (name_len == 1 && de->d_name[0] == '.') continue; 506 if (name_len == 2 && de->d_name[0] == '.' && 507 de->d_name[1] == '.') continue; 514 strcpy(dirs[d_size], de->d_name); 518 } else if (de->d_type == DT_REG && 520 strncasecmp(de->d_name + (name_len-4), ".zip", 4) == 0) [all...] |
/system/core/adb/ |
usb_linux.c | 137 struct dirent *de; local 143 while((de = readdir(busdir)) != 0) { 144 if(badname(de->d_name)) continue; 146 snprintf(busname, sizeof busname, "%s/%s", base, de->d_name); 151 while((de = readdir(devdir))) { 163 if(badname(de->d_name)) continue; 164 snprintf(devname, sizeof devname, "%s/%s", busname, de->d_name);
|
/system/core/libusbhost/ |
usbhost.c | 87 struct dirent *de; local 93 while ((de = readdir(busdir)) != 0 && !done) { 94 if(badname(de->d_name)) continue; 96 snprintf(busname, sizeof busname, "%s/%s", USB_FS_DIR, de->d_name); 100 while ((de = readdir(devdir)) && !done) { 101 if(badname(de->d_name)) continue; 103 snprintf(devname, sizeof devname, "%s/%s", busname, de->d_name);
|
/system/netd/ |
CommandListener.cpp | 109 struct dirent *de; local 116 while((de = readdir(d))) { 117 if (de->d_name[0] == '.') 119 cli->sendMsg(ResponseCode::InterfaceListResult, de->d_name, false); [all...] |
/external/dbus/dbus/ |
dbus-message-util.c | 153 struct dirent *de; local 155 while ((de = readdir(d))) 161 if (de->d_name[0] == '.') 165 l = strtol(de->d_name, &e, 10); [all...] |
/external/e2fsprogs/e2fsck/ |
unix.c | 253 struct dirent* de; local 264 while ((de=readdir(d)) != NULL) { 265 if (!strncmp(".", de->d_name, 1)) 268 de->d_name); 666 while ((c = getopt (argc, argv, "panyrcC:B:dE:fvtFVM:b:I:j:P:l:L:N:SsDk")) != EOF) [all...] |