Home
last modified time | relevance | path

Searched refs:de (Results 1 – 15 of 15) sorted by relevance

/frameworks/native/libs/diskusage/
Ddirsize.c35 struct dirent *de; in calculate_dir_size() local
43 while ((de = readdir(d))) { in calculate_dir_size()
44 const char *name = de->d_name; in calculate_dir_size()
45 if (de->d_type == DT_DIR) { in calculate_dir_size()
/frameworks/native/cmds/rawbu/
Dbackup.cpp68 struct dirent *de; in wipe() local
88 de = readdir(dir); in wipe()
90 if (de == NULL) { in wipe()
94 if (0 == strcmp(de->d_name, ".") in wipe()
95 || 0 == strcmp(de->d_name, "..") in wipe()
96 || 0 == strcmp(de->d_name, "lost+found") in wipe()
101 strcpy(filenameOffset, de->d_name); in wipe()
259 struct dirent *de; in backup_dir() local
274 de = readdir(dir); in backup_dir()
276 if (de == NULL) { in backup_dir()
[all …]
/frameworks/native/cmds/installd/
Dutils.cpp445 struct dirent *de; in _delete_dir_contents() local
452 while ((de = readdir(d))) { in _delete_dir_contents()
453 const char *name = de->d_name; in _delete_dir_contents()
456 if (exclusion_predicate && exclusion_predicate(name, (de->d_type == DT_DIR))) { in _delete_dir_contents()
460 if (de->d_type == DT_DIR) { in _delete_dir_contents()
585 struct dirent *de; in _copy_dir_files() local
586 while ((de = readdir(ds))) { in _copy_dir_files()
587 if (de->d_type != DT_REG) { in _copy_dir_files()
591 const char *name = de->d_name; in _copy_dir_files()
Dotapreopt.cpp744 for (struct dirent* de = readdir(c_dir); de != nullptr; de = readdir(c_dir)) { in ClearDirectory() local
745 const char* name = de->d_name; in ClearDirectory()
751 if (de->d_type != DT_REG && de->d_type != DT_LNK) { in ClearDirectory()
756 << de->d_type in ClearDirectory()
DInstalldNativeService.cpp1231 struct dirent *de; in collectManualStats() local
1242 while ((de = readdir(d))) { in collectManualStats()
1243 const char *name = de->d_name; in collectManualStats()
1250 if (de->d_type == DT_DIR) { in collectManualStats()
1268 if (de->d_type == DT_LNK && !strcmp(name, "lib")) { in collectManualStats()
1282 struct dirent *de; in collectManualStatsForUser() local
1293 while ((de = readdir(d))) { in collectManualStatsForUser()
1294 if (de->d_type == DT_DIR) { in collectManualStatsForUser()
1295 const char *name = de->d_name; in collectManualStatsForUser()
/frameworks/base/libs/androidfw/tests/data/basic/
Dbuild27 --split hdpi --split xhdpi --split xxhdpi --split fr,de \
/frameworks/native/cmds/dumpstate/
Dutils.cpp271 struct dirent *de; in for_each_userid() local
281 while ((de = readdir(d))) { in for_each_userid()
283 if (de->d_type != DT_DIR || !(userid = atoi(de->d_name))) { in for_each_userid()
294 struct dirent *de; in __for_each_pid() local
302 while ((de = readdir(d))) { in __for_each_pid()
308 if (!(pid = atoi(de->d_name))) { in __for_each_pid()
361 struct dirent *de; in for_each_tid_helper() local
374 while ((de = readdir(d))) { in for_each_tid_helper()
380 if (!(tid = atoi(de->d_name))) { in for_each_tid_helper()
Ddumpstate.cpp262 struct dirent *de; in dump_dev_files() local
270 while ((de = readdir(d))) { in dump_dev_files()
271 if (de->d_type != DT_LNK) { in dump_dev_files()
274 snprintf(path, sizeof(path), "%s/%s/%s", driverpath, de->d_name, filename); in dump_dev_files()
/frameworks/base/core/jni/
Dandroid_util_Process.cpp201 struct dirent *de; in android_os_Process_setProcessGroup() local
244 while ((de = readdir(d))) { in android_os_Process_setProcessGroup()
248 if (de->d_name[0] == '.') in android_os_Process_setProcessGroup()
250 t_pid = atoi(de->d_name); in android_os_Process_setProcessGroup()
253 ALOGE("Error getting pid for '%s'\n", de->d_name); in android_os_Process_setProcessGroup()
/frameworks/native/services/inputflinger/
DEventHub.cpp1716 struct dirent *de; in scanDirLocked() local
1723 while((de = readdir(dir))) { in scanDirLocked()
1724 if(de->d_name[0] == '.' && in scanDirLocked()
1725 (de->d_name[1] == '\0' || in scanDirLocked()
1726 (de->d_name[1] == '.' && de->d_name[2] == '\0'))) in scanDirLocked()
1728 strcpy(filename, de->d_name); in scanDirLocked()
/frameworks/av/services/audioflinger/
DAudioFlinger.cpp3307 struct dirent de; in dumpTee() local
3309 int rc = readdir_r(dir, &de, &result); in dumpTee()
3317 if (result != &de) { in dumpTee()
3318 ALOGW("readdir_r returned unexpected result %p != %p", result, &de); in dumpTee()
3322 size_t nameLen = strlen(de.d_name); in dumpTee()
3324 strcmp(&de.d_name[nameLen - 4], ".wav")) { in dumpTee()
3327 strcpy(entries[entryCount++].mFileName, de.d_name); in dumpTee()
/frameworks/base/media/tests/contents/media_api/music/
Dtest_amr_ietf.amr287 N[@��t,T�v�<��G�a �ݭ����{2������b��OV�<��ϣt��^��de���ך �[B���`<���Ĕ
/frameworks/support/development/checkstyle/
DLICENSE91 a de-facto standard. To achieve this, non-free programs must be
/frameworks/native/opengl/tests/angeles/
Dlicense-LGPL.txt91 a de-facto standard. To achieve this, non-free programs must be
/frameworks/data-binding/compiler/src/main/resources/
DNOTICE.txt859 appropriate decompression or de-archiving software is widely available