/external/guava/guava-tests/test/com/google/common/io/ |
PatternFilenameFilterTest.java | 42 File dir = new File("foo"); local 44 assertTrue(filter.accept(dir, "a")); 45 assertTrue(filter.accept(dir, "aaaa")); 46 assertFalse(filter.accept(dir, "b")); 48 // Show that dir is ignored
|
/external/icu4c/layout/ |
CanonShaping.cpp | 63 le_int32 out = 0, dir = 1; local 67 dir = -1; 70 for (i = 0; i < charCount; i += 1, out += dir) {
|
StateTableProcessor2.h | 42 le_int32 dir; member in class:StateTableProcessor2
|
/external/openssh/ |
sftp-glob.c | 38 SFTP_DIRENT **dir; member in struct:SFTP_OPENDIR 53 if (do_readdir(cur.conn, (char *)path, &r->dir)) { 73 if (od->dir[od->offset] == NULL) 83 strlcpy(ret->d_name, od->dir[od->offset++]->filename, MAXPATHLEN); 85 strlcpy(ret->d_name, od->dir[od->offset++]->filename, 105 free_sftp_dirents(od->dir);
|
/external/skia/tools/skpdiff/ |
skpdiff_util.cpp | 110 DIR* dir = opendir(path); local 111 if (NULL == dir) { 115 // Loop through dir entries until there are none left (i.e. readdir returns NULL) 117 while ((entry = readdir(dir))) { 128 closedir(dir);
|
/frameworks/base/core/java/com/android/internal/os/ |
SamplingProfilerIntegration.java | 59 File dir = new File(SNAPSHOT_DIR); typedefs 60 dir.mkdirs(); 62 dir.setWritable(true, false); 64 dir.setExecutable(true, false); 65 if (dir.isDirectory()) {
|
/frameworks/base/services/tests/servicestests/src/com/android/server/ |
EntropyMixerTest.java | 31 File dir = getContext().getDir("testInitialWrite", Context.MODE_PRIVATE); local 32 File file = File.createTempFile("testInitialWrite", "dat", dir);
|
/frameworks/base/tools/aapt/ |
DirectoryWalker.h | 59 dir = NULL; 60 dir = opendir(mBasePath.string() ); 62 if (dir == NULL) 74 struct dirent* entryPtr = readdir(dir); 89 closedir(dir); 95 DIR* dir; member in class:SystemDirectoryWalker
|
/frameworks/compile/mclinker/lib/MC/ |
SearchDirs.cpp | 43 iterator dir, dirEnd = end(); local 44 for (dir = begin(); dir!=dirEnd; ++dir) { 45 delete (*dir); 51 MCLDDirectory* dir = new MCLDDirectory(pPath); local 52 if (dir->isInSysroot()) 53 dir->setSysroot(m_SysRoot); 55 if (exists(dir->path()) && is_directory(dir->path())) [all...] |
/hardware/invensense/60xx/libsensors_iio/ |
SensorBase.cpp | 94 DIR *dir;
local 96 dir = opendir(dirname);
97 if(dir == NULL)
102 while((de = readdir(dir))) {
126 closedir(dir);
|
/libcore/luni/src/test/java/libcore/java/io/ |
OldFileTest.java | 60 private void deleteTempFolder(File dir) { 61 String files[] = dir.list(); 63 File f = new File(dir, files[i]); 70 dir.delete(); 77 System.setProperty("user.dir", dirName); 113 System.setProperty("user.dir", userDir); 159 File dir = new File(base, platformId); local 160 dir.mkdir(); 161 File f = new File(dir, "xxx.xxx"); 171 File dir = new File(""); // current director local 179 File dir = new File(cts + "\/hello"); local [all...] |
/ndk/sources/android/support/src/musl-locale/ |
intl.c | 49 static const char dir[] = "/"; local 58 return (char *) dir;
|
/system/core/toolbox/ |
chmod.c | 16 DIR *dir = opendir(path); local 17 if (dir == NULL) { 24 while ((dp = readdir(dir)) != NULL) { 45 closedir(dir);
|
rm.c | 23 DIR *dir; local 36 dir = opendir(name); 37 if (dir == NULL) 42 while ((de = readdir(dir)) != NULL) { 58 closedir(dir); 64 if (closedir(dir) < 0)
|
wipe.c | 83 DIR *dir; local 87 dir = opendir(path); 89 if (dir == NULL) { 103 de = readdir(dir); 130 closedir(dir); 153 dir = opendir(path); 154 if (dir == NULL) { 174 closedir(dir);
|
/system/extras/libpagemap/ |
pm_kernel.c | 63 DIR *proc; 64 struct dirent *dir; local 80 while ((dir = readdir(proc))) { 81 if (sscanf(dir->d_name, "%d", &pid) < 1)
|
/cts/tests/tests/holo/src/android/holo/cts/ |
BitmapAssets.java | 57 File dir = getBitmapDir(type); local 58 if (dir.exists()) { 59 File[] files = dir.listFiles(); 128 File dir = file.getParentFile(); local 129 dir.mkdirs();
|
/packages/apps/LegacyCamera/src/com/android/camera/ |
Storage.java | 115 File dir = new File(DIRECTORY); local 116 dir.mkdirs(); 117 if (!dir.isDirectory() || !dir.canWrite()) {
|
/bootable/recovery/tools/ota/ |
check-lost+found.c | 100 DIR *dir = opendir(fn); local 101 if (dir == NULL) { 106 while ((ent = readdir(dir))) { 110 closedir(dir);
|
/external/chromium_org/base/files/ |
file_enumerator_posix.cc | 122 DIR* dir = opendir(source.value().c_str()); local 123 if (!dir) 134 while (readdir_r(dir, &dent_buf, &dent) == 0 && dent) { 156 closedir(dir);
|
/external/chromium_org/content/public/android/javatests/src/org/chromium/content/browser/ |
ImportantFileWriterAndroidTest.java | 71 File dir = getInstrumentation().getTargetContext().getFilesDir(); local 72 File testFile = new File(dir, "ImportantFileTest");
|
/external/chromium_org/third_party/WebKit/Source/web/ |
ValidationMessageClientImpl.cpp | 87 WebTextDirection dir = m_currentAnchor->renderer()->style()->direction() == RTL ? WebTextDirectionRightToLeft : WebTextDirectionLeftToRight; local 90 m_client->showValidationMessage(anchorInRootView, m_message, title, dir); 91 m_webView.client()->showValidationMessage(anchorInRootView, m_message, title, dir);
|
/external/chromium_org/third_party/leveldatabase/src/util/ |
testharness.cc | 61 std::string dir; local 62 Status s = Env::Default()->GetTestDirectory(&dir); 64 return dir;
|
/external/chromium_org/tools/gn/ |
label.h | 24 Label(const SourceDir& dir, 30 Label(const SourceDir& dir, const base::StringPiece& name); 43 const SourceDir& dir() const { return dir_; } function in class:Label 86 // Returns true if the toolchain dir/name of this object matches some 107 return ((stringhash(v.dir().value()) * 131 + 115 return ((hash_value(v.dir().value()) * 131 +
|
ninja_helper.cc | 39 return kObjectDirNoSlash + target->label().dir().SourceAbsoluteWithOneSlash(); 46 target->label().dir().SourceAbsoluteWithOneSlash()); 103 base::StringPiece dir = FindDir(&source.value()); local 104 CHECK(dir.size() >= 2 && dir[0] == '/' && dir[1] == '/') 105 << "Source file isn't in the source repo: " << dir; 106 AppendStringPiece(&ret.value(), dir.substr(1)); 182 target->label().dir().SourceAbsoluteWithOneSlash());
|