/external/chromium_org/chrome/installer/util/ |
H A D | create_reg_key_work_item.cc | 19 void UpOneDirectoryOrEmpty(std::wstring* dir) { argument 20 base::FilePath path = base::FilePath(*dir); 23 // In this case, clear dir. 26 dir->clear(); 28 *dir = directory.value();
|
/external/chromium_org/chrome/tools/crash_service/ |
H A D | main.cc | 22 bool GetCrashServiceDirectory(base::FilePath* dir) { argument 31 *dir = temp_dir;
|
/external/chromium_org/content/browser/fileapi/ |
H A D | sandbox_prioritized_origin_database_unittest.cc | 19 base::ScopedTempDir dir; local 21 ASSERT_TRUE(dir.CreateUniqueTempDir()); 26 SandboxPrioritizedOriginDatabase database(dir.path(), NULL); 73 base::ScopedTempDir dir; local 75 ASSERT_TRUE(dir.CreateUniqueTempDir()); 80 SandboxPrioritizedOriginDatabase database(dir.path(), NULL); 102 base::ScopedTempDir dir; local 104 ASSERT_TRUE(dir.CreateUniqueTempDir()); 109 SandboxPrioritizedOriginDatabase database(dir.path(), NULL); 140 base::ScopedTempDir dir; local [all...] |
/external/chromium_org/net/disk_cache/simple/ |
H A D | simple_index_file_posix.cc | 21 void operator()(DIR* dir) { closedir(dir); } argument 32 const ScopedDir dir(opendir(cache_path.value().c_str())); 33 if (!dir) { 38 while (readdir_r(dir.get(), &entry, &result) == 0) {
|
/external/chromium_org/net/test/ |
H A D | cert_test_util_nss.cc | 20 const base::FilePath& dir, 23 base::FilePath key_path = dir.AppendASCII(key_filename); 63 const base::FilePath& dir, 67 if (!ImportSensitiveKeyFromFile(dir, key_filename, slot)) { 72 scoped_refptr<X509Certificate> cert(ImportCertFromFile(dir, cert_filename)); 19 ImportSensitiveKeyFromFile( const base::FilePath& dir, const std::string& key_filename, PK11SlotInfo* slot) argument 62 ImportClientCertAndKeyFromFile( const base::FilePath& dir, const std::string& cert_filename, const std::string& key_filename, PK11SlotInfo* slot) argument
|
H A D | python_utils.cc | 19 void AppendToPythonPath(const base::FilePath& dir) { argument 24 dir_path = base::WideToUTF8(dir.value()); 26 dir_path = dir.value(); 51 base::FilePath dir(start_dir); 52 while (!base::DirectoryExists(dir.Append(to_try))) { 53 base::FilePath parent = dir.DirName(); 54 if (parent == dir) { 58 dir = parent; 60 *out_dir = dir; 67 bool GetPyProtoPath(base::FilePath* dir) { argument [all...] |
/external/chromium_org/sandbox/win/src/ |
H A D | win_utils_unittest.cc | 38 HANDLE dir = ::CreateFile(my_folder, FILE_ALL_ACCESS, local 41 EXPECT_NE(INVALID_HANDLE_VALUE, dir); 44 EXPECT_TRUE(SetReparsePoint(dir, temp_dir_nt.c_str())); 49 EXPECT_TRUE(DeleteReparsePoint(dir)); 50 EXPECT_TRUE(::CloseHandle(dir));
|
/external/chromium_org/third_party/WebKit/Source/core/rendering/ |
H A D | BidiRun.h | 37 BidiRun(int start, int stop, RenderObject* object, BidiContext* context, WTF::Unicode::Direction dir) argument 38 : BidiCharacterRun(start, stop, context, dir)
|
/external/chromium_org/third_party/boringssl/src/crypto/ |
H A D | directory_posix.c | 55 DIR *dir; member in struct:OPENSSL_dir_context_st 76 (*ctx)->dir = opendir(directory); 77 if ((*ctx)->dir == NULL) { 86 if (readdir_r((*ctx)->dir, &(*ctx)->dirent, &dirent) != 0 || 96 int r = closedir((*ctx)->dir);
|
/external/chromium_org/third_party/skia/tests/ |
H A D | OSPathTest.cpp | 14 * Will use SkOSPath::Join to append filename to dir, test that it works correctly, 17 * @param dir String representing the path to a folder. May or may not 22 static void test_dir_with_file(skiatest::Reporter* reporter, SkString dir, argument 29 // fullName should be "dir<SkPATH_SEPARATOR>file" 30 SkString fullName = SkOSPath::Join(dir.c_str(), filename.c_str()); 32 // fullName should be the combined size of dir and file, plus one if 33 // dir did not include the final path separator. 34 size_t expectedSize = dir.size() + filename.size(); 35 if (!dir.endsWith(SkPATH_SEPARATOR) && !dir [all...] |
/external/chromium_org/third_party/skia/tools/skpdiff/ |
H A D | 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);
|
/external/chromium_org/third_party/webrtc/base/ |
H A D | linuxfdwalk.c | 39 DIR *dir = opendir("/proc/self/fd"); local 40 if (!dir) { 43 int opendirfd = dirfd(dir); 47 while (errno = 0, (ent = readdir(dir)) != NULL) { 65 if (closedir(dir) < 0) {
|
/external/chromium_org/tools/gn/ |
H A D | config_values_extractors_unittest.cc | 16 void operator()(const std::string& dir, std::ostream& out) const { argument 17 out << dir << " "; local 22 void operator()(const SourceDir& dir, std::ostream& out) const { argument 23 out << dir.value() << " ";
|
H A D | input_file.h | 29 const SourceDir& dir() const { return dir_; } function in class:InputFile
|
H A D | label_pattern_unittest.cc | 17 const char* dir; member in struct:__anon16467::PatternCase 68 EXPECT_EQ(cur.dir, result.dir().value()) << i << " " << cur.input;
|
H A D | path_output.cc | 31 const SourceDir& dir, 33 if (dir.value() == "/") { 40 } else if (dir.value() == "//") { 57 } else if (dir == current_dir_) { 65 WritePathStr(out, dir.value()); 68 WritePathStr(out, base::StringPiece(dir.value().data(), 69 dir.value().size() - 1)); 147 // The current dir is a prefix of the output file, so we can strip the 30 WriteDir(std::ostream& out, const SourceDir& dir, DirSlashEnding slash_ending) const argument
|
/external/chromium_org/ui/base/resource/ |
H A D | data_pack_unittest.cc | 29 base::ScopedTempDir dir; local 30 ASSERT_TRUE(dir.CreateUniqueTempDir()); 31 base::FilePath data_path = dir.path().Append(FILE_PATH_LITERAL("sample.pak")); 61 base::ScopedTempDir dir; local 62 ASSERT_TRUE(dir.CreateUniqueTempDir()); 63 base::FilePath data_path = dir.path().Append(FILE_PATH_LITERAL("sample.pak")); 96 base::ScopedTempDir dir; local 97 ASSERT_TRUE(dir.CreateUniqueTempDir()); 98 base::FilePath data_path = dir.path().Append(FILE_PATH_LITERAL("sample.pak")); 152 base::ScopedTempDir dir; local 190 base::ScopedTempDir dir; local [all...] |
/external/chromium_org/win8/test/ |
H A D | metro_registration_helper.cc | 40 base::FilePath dir; local 41 if (!PathService::Get(base::DIR_EXE, &dir)) 44 base::FilePath chrome_exe(dir.Append(kChromeExe)); 45 base::FilePath registrar(dir.Append(kRegistrar));
|
/external/compiler-rt/test/msan/Linux/ |
H A D | glob_altdirfunc.cc | 19 static void my_gl_closedir(void *dir) { argument 20 if (!dir) 22 closedir((DIR *)dir); 25 static struct dirent *my_gl_readdir(void *dir) { argument 26 if (!dir) 28 struct dirent *d = readdir((DIR *)dir);
|
/external/droiddriver/src/com/google/android/droiddriver/util/ |
H A D | FileUtils.java | 50 * instead of "user.dir". 63 private static void mkdirs(File dir) { argument 64 if (dir == null || dir.exists()) { 68 mkdirs(dir.getParentFile()); 69 if (!dir.mkdir()) { 70 throw new DroidDriverException("failed to mkdir " + dir); 72 dir.setReadable(true /* readable */, false/* ownerOnly */); 73 dir.setWritable(true /* readable */, false/* ownerOnly */); 74 dir [all...] |
/external/e2fsprogs/lib/ext2fs/ |
H A D | lookup.c | 49 errcode_t ext2fs_lookup(ext2_filsys fs, ext2_ino_t dir, const char *name, argument 62 retval = ext2fs_dir_iterate(fs, dir, 0, buf, lookup_proc, &ls);
|
H A D | newdir.c | 31 struct ext2_dir_entry *dir = NULL; local 43 dir = (struct ext2_dir_entry *) buf; 45 retval = ext2fs_set_rec_len(fs, fs->blocksize, dir); 58 dir->inode = dir_ino; 59 dir->name_len = 1 | filetype; 60 dir->name[0] = '.'; 62 dir->rec_len = EXT2_DIR_REC_LEN(1); 67 dir = (struct ext2_dir_entry *) (buf + dir->rec_len); 68 retval = ext2fs_set_rec_len(fs, rec_len, dir); [all...] |
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.eclipse.build.tools/src/org/eclipse/releng/ |
H A D | VersionNumberStripper.java | 32 public void setDirectory(String dir){directory=dir;} argument
|
/external/icu/icu4c/source/layout/ |
H A D | StateTableProcessor2.h | 42 le_int32 dir; member in class:StateTableProcessor2
|
/external/openssl/apps/ |
H A D | version.c | 143 int cflags=0,version=0,date=0,options=0,platform=0,dir=0; local 165 dir=1; 167 date=version=cflags=options=platform=dir=1; 213 if (dir) printf("%s\n",SSLeay_version(SSLEAY_DIR));
|