/frameworks/base/core/tests/hosttests/test-apps/MultiDexLegacyTestServicesTests2/src/com/android/framework/multidexlegacytestservices/test2/ |
ServicesTests.java | 191 private static void clearDirContent(File dir) { 192 for (File subElement : dir.listFiles()) { 310 File dir = local 316 Assert.assertTrue(dir.getAbsolutePath(), dir.isDirectory()); 317 return dir;
|
/bionic/libc/bionic/ |
scandir.cpp | 99 DIR* dir = nullptr; local 101 dir = opendir(dir_name); 105 dir = fdopendir(dir_fd); 109 ScopedReaddir reader(dir);
|
/build/make/tools/fs_config/ |
fs_config_generate.c | 76 bool dir = false, file = false; local 90 dir = true; 93 if (dir) { 151 if (!file && !dir) { 157 if (dir) {
|
/cts/common/device-side/device-info/src/com/android/compatibility/common/deviceinfo/ |
PackageDeviceInfo.java | 46 String dir = pkg.applicationInfo.sourceDir; local 47 store.addResult(SYSTEM_PRIV, dir != null && dir.startsWith(PRIV_APP_DIR));
|
VintfFilesCollector.java | 53 File dir = DeviceInfo.makeResultDir(); local 54 assertNotNull("Cannot create directory for device info files", dir); 55 collect(dir); 60 private static void collect(File dir) throws Exception { 64 writeStringToFile(content, new File(dir, fileName));
|
/cts/hostsidetests/appsecurity/test-apps/StorageApp/src/com/android/cts/storageapp/ |
Hoarder.java | 41 final File dir = new File(args[2]); local 45 doBlocks(dir, false); 48 doInodes(dir, false); 60 public static void doBlocks(File dir, boolean oneshot) throws IOException { 62 while (dir.exists()) { 63 final File target = makeUniqueFile(dir); 68 final StructStatVfs stat = Os.statvfs(dir.getAbsolutePath()); 100 public static void doInodes(File dir, boolean oneshot) throws IOException { 102 while (dir.exists()) { 107 final File a = makeUniqueFile(dir); [all...] |
/cts/hostsidetests/edi/src/android/edi/cts/ |
LibraryDeviceInfo.java | 60 IFileEntry dir = mDevice.getFileEntry(path); local 62 if(dir == null || !dir.isDirectory()) { 66 for (IFileEntry file : dir.getChildren(false)) {
|
/device/generic/goldfish/camera/ |
EmulatedCameraFactory.h | 193 char *dir; member in struct:android::EmulatedCameraFactory::QemuCameraInfo 212 * attributes "name=... framedims=... dir=...", not
|
/external/antlr/antlr-3.4/gunit/src/main/java/org/antlr/gunit/swingui/runner/ |
ParserLoader.java | 52 File dir = new File(classDir); local 53 if(dir.isDirectory()) { 56 File[] files = dir.listFiles(new ClassFilenameFilter(grammarName)); 118 public boolean accept(File dir, String name) {
|
/external/autotest/client/profilers/powertop/src/ |
cpufreqstats.c | 89 DIR *dir; local 106 dir = opendir("/sys/devices/system/cpu"); 107 if (!dir) 110 while ((dirent = readdir(dir))) { 148 closedir(dir);
|
/external/caliper/caliper/src/main/java/com/google/caliper/runner/ |
OutputFileDumper.java | 49 * using either the {@code file} or {@code dir} options respectively. 71 } else if (config.options().containsKey("dir")) { 72 File dir = new File(config.options().get("dir")); local 73 if (dir.isFile()) { 76 this.resultFile = new File(dir, createFileName(benchmarkClass.name()));
|
TrialOutputFactoryService.java | 72 File dir; local 78 dir = directory; 80 File trialFile = new File(dir, String.format("trial-%d.log", trialNumber)); 127 // If none is configured then we don't care, just make a temp dir
|
/external/e2fsprogs/intl/ |
printf-parse.h | 57 char_directive *dir; member in struct:__anon19030
|
wprintf-parse.h | 57 wchar_t_directive *dir; member in struct:__anon19032
|
/external/e2fsprogs/lib/blkid/ |
devno.c | 100 DIR *dir; local 106 if ((dir = opendir(dirname)) == NULL) 109 while ((dp = readdir(dir)) != 0) { 133 closedir(dir); 149 const char **dir; local 155 for (dir = devdirs; *dir; dir++) 156 add_to_dirlist(*dir, &list) [all...] |
/external/e2fsprogs/lib/ext2fs/ |
finddev.c | 85 DIR *dir; local 92 if ((dir = opendir(dirname)) == NULL) 94 dp = readdir(dir); 110 closedir(dir); 118 dp = readdir(dir); 121 closedir(dir);
|
/external/icu/android_icu4j/src/main/java/android/icu/text/ |
ReplaceableContextIterator.java | 40 dir=0; 52 dir=0; 63 dir=0; 160 this.dir=1; 164 this.dir=-1; 168 this.dir=0; 177 if(dir>0) { 186 } else if(dir<0 && index>contextStart) { 197 protected int dir; // 0=initial state >0=forward <0=backward field in class:ReplaceableContextIterator
|
/external/icu/icu4c/source/common/ |
ubidiwrt.cpp | 457 UBiDiDirection dir; local 461 dir=ubidi_getVisualRun(pBiDi, run, &logicalStart, &runLength); 469 if(UBIDI_LTR==dir) { 583 UBiDiDirection dir; local 587 dir=ubidi_getVisualRun(pBiDi, run, &logicalStart, &runLength); 590 if(UBIDI_LTR==dir) {
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
ReplaceableContextIterator.java | 39 dir=0; 51 dir=0; 62 dir=0; 159 this.dir=1; 163 this.dir=-1; 167 this.dir=0; 176 if(dir>0) { 185 } else if(dir<0 && index>contextStart) { 196 protected int dir; // 0=initial state >0=forward <0=backward field in class:ReplaceableContextIterator
|
/external/libcxx/test/std/experimental/filesystem/fs.op.funcs/fs.op.permissions/ |
permissions.pass.cpp | 82 const path dir = env.create_dir("dir1"); local 99 {dir, perms::none, perms::none}, 100 {dir, perms::owner_all, perms::owner_all}, 101 {dir, perms::group_all | AP, perms::owner_all | perms::group_all}, 102 {dir, perms::group_all | RP, perms::owner_all}, 108 // test non-symlink with symlink_nofollow. The last test on file/dir 111 {dir, perms::group_all | AP | NF, perms::owner_all | perms::group_all}
|
/external/libcxx/test/std/experimental/filesystem/fs.op.funcs/fs.op.remove_all/ |
remove_all.pass.cpp | 58 const path non_empty_dir = env.create_dir("dir"); 115 const path dir = env.create_dir("dir"); local 116 const path file = env.create_file(dir / "file", 42); 117 const path link = env.create_symlink(dir, "sym"); 124 TEST_CHECK(exists(dir)); 133 const path dir = env.create_dir("dir"); local 134 const path dir1 = env.create_dir(dir / "dir1"); 137 dir, dir1 [all...] |
/external/libese/libese-hw/nxp/pn80t/ |
linux_spidev.c | 83 char dir[5]; local 89 if (snprintf(dir, sizeof(dir), "%s", (out ? "out" : "in")) >= 90 (int)sizeof(dir)) { 113 if (write(fd, dir, strlen(dir)) < 0) {
|
/external/libxkbcommon/xkbcommon/src/compose/ |
paths.c | 35 const char *dir = secure_getenv("XLOCALEDIR"); local 36 if (!dir) 37 dir = XLOCALEDIR; 38 return dir; 42 * Files like compose.dir have the format LEFT: RIGHT. Lookup @name in 179 * ASCII charset. But for some reason the compose.dir points the C 188 resolved = resolve_name("compose.dir", RIGHT_TO_LEFT, locale);
|
/external/ltp/lib/ |
tst_tmpdir.c | 39 * FUNCTION TITLE : Create/remove a testing temp dir 125 DIR *dir; local 146 if ((dir = opendir(obj)) == NULL) { 161 for (dir_ent = (struct dirent *)readdir(dir); 162 dir_ent != NULL; dir_ent = (struct dirent *)readdir(dir)) { 175 closedir(dir); 279 tst_resm(TINFO, "Failed to record test working dir");
|
/external/ltp/testcases/kernel/syscalls/getdents/ |
getdents02.c | 159 struct linux_dirent dir; local 166 getdents(fd, &dir, sizeof(dir)); 177 struct linux_dirent dir; local 187 getdents(fd, &dir, sizeof(dir));
|