/external/yaffs2/yaffs2/utils/ |
mkyaffs2image.c | 336 DIR *dir; local 342 dir = opendir(path); 344 if(dir) 346 while((entry = readdir(dir)) != NULL) 513 closedir(dir); 523 fprintf(stderr,"usage: mkyaffs2image [-f] [-c <size>] [-s <size>] dir image_file [file_contexts mountpoint] [convert]\n"); 527 fprintf(stderr," dir the directory tree to be converted\n"); 540 char *dir; local 570 dir = argv[optind] [all...] |
/frameworks/base/tools/aidl/ |
generate_java_binder.cpp | 436 int dir = convert_direction(arg->direction.data); local 437 if (dir == OUT_PARAMETER && arg->type.dimension != 0) { 447 else if (dir & IN_PARAMETER) {
|
/frameworks/native/cmds/installd/ |
installd.c | 405 DIR *dir; local 409 dir = opendir(user_data_dir); 410 if (dir != NULL) { 411 while ((dirent = readdir(dir))) { 428 closedir(dir);
|
/libcore/luni/src/main/java/java/text/ |
Bidi.java | 397 int dir = this.baseIsLeftToRight() local 402 parent = createUBiDi(text, 0, embeddings, 0, this.length, dir);
|
/libcore/luni/src/main/java/libcore/net/url/ |
FtpURLConnection.java | 145 String dir = url.getFile().substring(0, idx); local 146 write("CWD " + dir + "\r\n"); 148 if (reply != FTP_FILEOK && dir.length() > 0 && dir.charAt(0) == '/') { 149 write("CWD " + dir.substring(1) + "\r\n");
|
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/ |
BluetoothOppProvider.java | 79 private static final String SHARE_LIST_TYPE = "vnd.android.cursor.dir/vnd.android.btopp"; 253 Integer dir = values.getAsInteger(BluetoothShare.DIRECTION); local 258 dir = BluetoothShare.DIRECTION_OUTBOUND; 260 if (dir == BluetoothShare.DIRECTION_OUTBOUND && con == null) { 263 if (dir == BluetoothShare.DIRECTION_INBOUND && con == null) { 267 filteredValues.put(BluetoothShare.DIRECTION, dir);
|
/packages/apps/Browser/src/com/android/browser/provider/ |
SnapshotProvider.java | 116 File dir = context.getExternalFilesDir(null); local 117 return new File(dir, SnapshotDatabaseHelper.DATABASE_NAME);
|
/packages/providers/DownloadProvider/src/com/android/providers/downloads/ |
StorageManager.java | 46 * Manages the storage space consumed by Downloads Data dir. When space falls below 47 * a threshold limit (set in resource xml files), starts cleanup of the Downloads data dir 51 /** the max amount of space allowed to be taken up by the downloads data dir */ 69 /** The downloaded files are saved to this dir. it is the value returned by 131 File dir = null; local 143 dir = mDownloadDataDir; 146 dir = mExternalStorageDir; 149 dir = mSystemCacheDir; 153 dir = mExternalStorageDir; 155 dir = mDownloadDataDir [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.ndk/src/com/android/ide/eclipse/ndk/internal/discovery/ |
NdkDiscoveryUpdater.java | 231 String dir = line.getToken(); local 232 if (dir != null) 233 addArg(option + dir);
|
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/common/resources/platform/ |
AttributeInfoTest.java | 314 private void checkDir(File dir, boolean isResourceDir, 316 assertTrue(dir.isDirectory()); 317 File[] list = dir.listFiles();
|
/sdk/emulator/opengl/host/tools/emugen/ |
ApiGen.cpp | 401 Var::PointerDir dir = var.pointerDir(); local 402 if (dir == Var::POINTER_INOUT || dir == Var::POINTER_IN) { 627 Var::PointerDir dir = evars[j].pointerDir(); local 628 if (dir == Var::POINTER_INOUT || dir == Var::POINTER_OUT) { [all...] |
/system/core/init/ |
property_service.c | 482 DIR* dir = opendir(PERSISTENT_PROPERTY_DIR); local 489 if (dir) { 490 dir_fd = dirfd(dir); 491 while ((entry = readdir(dir)) != NULL) { 533 closedir(dir);
|
/system/core/toolbox/ |
getevent.c | 264 DIR *dir; local 272 dir = opendir(dirname); 273 if(dir == NULL) 275 while((de = readdir(dir))) { 291 closedir(dir); 453 DIR *dir; local 455 dir = opendir(dirname); 456 if(dir == NULL [all...] |
/system/extras/ext4_utils/ |
make_ext4fs.c | 173 int dir = S_ISDIR(stat.st_mode); local 174 fs_config_func(dentries[i].path, dir, &uid, &gid, &mode, &capabilities);
|
/frameworks/base/services/java/com/android/server/ |
WallpaperManagerService.java | 771 File dir = getWallpaperDir(wallpaper.userId); local 772 if (!dir.exists()) { 773 dir.mkdir(); 775 dir.getPath(), 779 File file = new File(dir, WALLPAPER); [all...] |
/frameworks/base/services/java/com/android/server/pm/ |
UserManagerService.java | 454 File dir = new File(mUsersDir, Integer.toString(info.id)); local 455 File file = new File(dir, USER_PHOTO_FILENAME); 456 if (!dir.exists()) { 457 dir.mkdir(); 459 dir.getPath(), 903 File dir = Environment.getUserSystemDirectory(userId); local 929 File dir = Environment.getUserSystemDirectory(userId); local [all...] |
/art/runtime/ |
common_test.h | 363 DIR* dir = opendir(dalvik_cache_.c_str()); local 364 ASSERT_TRUE(dir != NULL); 366 while ((e = readdir(dir)) != NULL) { 376 closedir(dir);
|
/cts/tests/tests/os/src/android/os/cts/ |
ParcelFileDescriptorTest.java | 374 File dir = con.getFilesDir(); local 375 File file = new File(dir, fileName);
|
/external/chromium/base/ |
file_path.cc | 234 FilePath dir = current.DirName(); local 235 StringType::size_type letter = FindDriveLetter(dir.value()); 237 ret_val.push_back(StringType(dir.value(), 0, letter + 1)); [all...] |
file_util_posix.cc | 99 DIR* dir = opendir(path.value().c_str()); local 100 if (dir) { 108 while (readdir_r(dir, &ent_buf, &ent) == 0 && ent) { 137 closedir(dir); 179 FilePath dir = FilePath(directories.top()); local 181 success = (rmdir(dir.value().c_str()) == 0); 433 FILE* CreateAndOpenTemporaryFileInDir(const FilePath& dir, FilePath* path) { 434 int fd = CreateAndOpenFdForTemporaryFile(dir, path); 444 bool CreateTemporaryFileInDir(const FilePath& dir, FilePath* temp_file) 715 DIR* dir = opendir(source.value().c_str()); local [all...] |
mime_util_xdg.cc | 372 std::string dir; local 374 TrimWhitespaceASCII(dirs.substr(pos, epos - pos), TRIM_ALL, &dir); 375 if (dir.length() == 0) { 379 subdirs_[dir] = num++; 382 TrimWhitespaceASCII(dirs.substr(pos), TRIM_ALL, &dir); 383 if (dir.length() == 0) { 387 subdirs_[dir] = num++; 392 // Make sure |dir| exists and add it to the list of icon directories. 393 void TryAddIconDir(const FilePath& dir) { 394 if (!file_util::DirectoryExists(dir)) [all...] |
process_util_linux.cc | 80 DIR* dir = opendir(path.value().c_str()); local 81 if (!dir) { 87 while (struct dirent* ent = readdir(dir)) { 99 closedir(dir);
|
/external/chromium/chrome/browser/download/ |
download_manager.cc | 349 FilePath dir = info->suggested_path.DirName(); local 351 if (!file_util::PathIsWritable(dir)) { 352 VLOG(1) << "Unable to write to directory \"" << dir.value() << "\""; 379 path = dir.Append(file_name); [all...] |
/external/chromium/chrome/browser/sync/glue/ |
session_model_associator.cc | 450 syncable::Directory* dir = trans->GetWrappedWriteTrans()->directory(); local 459 current_machine_tag_.append(dir->cache_guid()); [all...] |
/external/chromium/chrome/browser/ui/views/ |
shell_dialogs_win.cc | 848 FilePath dir; local [all...] |