/system/core/debuggerd/ |
getevent.c | 139 DIR *dir; local 141 dir = opendir(dirname); 142 if(dir == NULL) 147 while((de = readdir(dir))) { 155 closedir(dir);
|
/system/core/healthd/ |
BatteryMonitor.cpp | 279 DIR* dir = opendir(POWER_SUPPLY_SYSFS_PATH); local 280 if (dir == NULL) { 285 while ((entry = readdir(dir))) { 398 closedir(dir);
|
/system/core/toolbox/grep/ |
util.c | 116 char *d, *dir = NULL; local 159 dir = grep_malloc(sizeof(char) * 161 memcpy(dir, p->fts_path, 163 dir[d - p->fts_path] = '\0'; 165 ok = dir_matching(dir); 166 free(dir); 167 dir = NULL;
|
/system/core/toolbox/ |
lsof.c | 142 DIR *dir = opendir(info->path); local 143 if (dir == NULL) { 153 while ((de = readdir(dir))) { 159 closedir(dir); 233 DIR *dir = opendir("/proc"); local 234 if (dir == NULL) { 240 while ((de = readdir(dir))) { 251 closedir(dir); [all...] |
/system/extras/fatblock/ |
import.c | 196 struct dir *d; 199 DIR *dir; local 215 dir = opendir(path); 216 if (!dir) { 222 d = malloc(sizeof(struct dir)); 224 WARN("importing %s: couldn't allocate dir struct: " 226 closedir(dir); 234 closedir(dir); 243 while ((de = readdir(dir))) { [all...] |
/cts/tests/tests/provider/src/android/provider/cts/ |
MediaStore_FilesTest.java | 286 File dir = out.getParentFile(); local 287 dir.mkdirs();
|
/external/jmonkeyengine/engine/src/test/jme3test/bullet/ |
PhysicsHoverControl.java | 132 Vector3f dir = getForwardVector(tempVect2).multLocal(1, 0, 1).normalizeLocal(); local 153 float d = dir.dot(linearVelocity.normalize()); 154 Vector3f counter = dir.project(linearVelocity).normalizeLocal().negateLocal().multLocal(1 - d); 158 applyForce(dir.multLocal(accelerationValue), Vector3f.ZERO);
|
/packages/apps/Gallery/src/com/android/camera/ |
ImageManager.java | 208 File dir = new File(directory); local 209 if (!dir.exists()) dir.mkdirs();
|
/bionic/libc/kernel/common/linux/ |
interrupt.h | 75 struct proc_dir_entry *dir; member in struct:irqaction
|
/build/libs/host/ |
CopyFile.c | 435 DIR* dir; local 438 DBUG(("--- copy dir '%s' to '%s'\n", src, dst)); 458 DBUG(("--- creating dir '%s'\n", dst)); 473 dir = opendir(src); 474 if (dir == NULL) { 486 ent = readdir(dir); 516 closedir(dir);
|
/cts/tests/tests/media/src/android/media/cts/ |
MediaScannerConnectionTest.java | 53 File dir = getContext().getFilesDir(); local 54 mMediaFile = new File(dir, fileName);
|
/dalvik/libdex/ |
sha1.cpp | 87 #include <dir.h> 433 char dir[MAXDIR]; local 464 fnsplit(argv[i], drive, dir, name, ext); 469 sprintf(path, "%s%s%s", drive, dir, f.ff_name);
|
/development/ndk/platforms/android-3/include/linux/ |
interrupt.h | 63 struct proc_dir_entry *dir; member in struct:irqaction
|
/development/tools/elftree/ |
elftree.c | 99 struct search_dir *dir = malloc(sizeof(*dir)); local 100 dir->path = malloc(strlen(path) + 1); 101 strcpy(dir->path, path); 102 dir->next = dirs; 103 dirs = dir; 150 struct search_dir *dir; local 156 for (dir = dirs; dir; dir = dir->next) [all...] |
/development/tools/idegen/src/com/android/idegen/ |
Module.java | 173 String dir = getIntermediatesDirs().get(0).getAbsolutePath(); local 178 + " <option name=\"GEN_FOLDER_RELATIVE_PATH_APT\" value=\"" + dir + "\" />\n" 179 + " <option name=\"GEN_FOLDER_RELATIVE_PATH_AIDL\" value=\"" + dir
|
StandardModule.java | 93 for (String dir : DIRS_WITH_AUTO_DEPENDENCIES) { 95 boolean isDir = makeFile.getAbsolutePath().startsWith(repoRoot + "/" + dir); 175 String dir = matcher.group(1); local 176 builder.add(new File(rootDir, dir));
|
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/lang/ |
ProcessBuilderTest.java | 88 File dir = new File(System.getProperty("java.io.tmpdir")); local 89 ProcessBuilder pbReturn = pb.directory(dir); 91 assertEquals(dir, pb.directory());
|
/external/bluetooth/bluedroid/btif/co/ |
bta_fs_co.c | 60 DIR *dir; local 66 dir = opendir(path); 68 if (dir == NULL) { 81 de = readdir(dir); 121 closedir(dir); 855 DIR *dir; local 867 dir = opendir(p_path); 868 if(dir == NULL [all...] |
/external/chromium/chrome/browser/ |
memory_details_linux.cc | 84 DIR* dir = opendir("/proc"); local 85 if (!dir) 89 while ((dent = readdir(dir))) { 131 closedir(dir);
|
/external/chromium/chrome/browser/net/ |
sqlite_persistent_cookie_store.cc | 215 const FilePath dir = path_.DirName(); local 216 if (!file_util::PathExists(dir) && !file_util::CreateDirectory(dir))
|
/external/chromium/chrome/browser/themes/ |
browser_theme_pack_unittest.cc | 393 ScopedTempDir dir; local 394 ASSERT_TRUE(dir.CreateUniqueTempDir()); 395 FilePath file = dir.path().Append(FILE_PATH_LITERAL("data.pak"));
|
/external/chromium/testing/gtest/src/ |
gtest-filepath.cc | 115 // Example: FilePath("dir/file.exe").RemoveExtension("EXE") returns 116 // FilePath("dir/file"). If a case-insensitive extension is not 157 // not have a file, like "just/a/dir/", it returns the FilePath unmodified. 161 String dir; local 163 dir = String(c_str(), last_sep + 1 - c_str()); 165 dir = kCurrentDirectoryString; 167 return FilePath(dir); 172 // Given directory = "dir", base_name = "test", number = 0, 173 // extension = "xml", returns "dir/test.xml". If number is greater 174 // than zero (e.g., 12), returns "dir/test_12.xml" [all...] |
/external/chromium_org/ash/wm/ |
app_list_controller.cc | 420 const int dir = transition.target_page > current_page ? -1 : 1; local 423 const int shift = kMaxOverScrollShift * progress * dir;
|
/external/chromium_org/base/memory/ |
shared_memory_posix.cc | 227 FilePath dir = path.DirName(); local 228 if (access(dir.value().c_str(), W_OK | X_OK) < 0) { 229 PLOG(ERROR) << "Unable to access(W_OK|X_OK) " << dir.value(); 230 if (dir.value() == "/dev/shm") {
|
/external/chromium_org/chrome/browser/net/ |
sqlite_server_bound_cert_store.cc | 195 const base::FilePath dir = path_.DirName(); local 196 if (!base::PathExists(dir) && !base::CreateDirectory(dir))
|