/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/lib2to3/tests/ |
test_all_fixers.py | 22 for filepath in support.all_project_files(): 23 self.refactor.refactor_file(filepath)
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/lib2to3/tests/ |
test_all_fixers.py | 22 for filepath in support.all_project_files(): 23 self.refactor.refactor_file(filepath)
|
/external/libchrome/base/files/ |
file_util_posix.cc | 84 bool RealPath(const FilePath& path, FilePath* real_path) { 86 FilePath::CharType buf[PATH_MAX]; 90 *real_path = FilePath(buf); 95 bool VerifySpecificPathControlledByUser(const FilePath& path, 148 int CreateAndOpenFdForTemporaryFile(FilePath directory, FilePath* path) { 166 FilePath path; 168 ScopedFD fd(CreateAndOpenFdForTemporaryFile(FilePath("/dev/shm"), &path)); 190 FilePath MakeAbsoluteFilePath(const FilePath& input) [all...] |
file_path_watcher_fsevents.h | 30 bool Watch(const FilePath& path, 46 void OnFilePathsChanged(const std::vector<FilePath>& paths); 51 void DispatchEvents(const std::vector<FilePath>& paths, 52 const FilePath& target, 53 const FilePath& resolved_target); 67 void ReportError(const FilePath& target); 73 void StartEventStream(FSEventStreamEventId start_event, const FilePath& path); 81 FilePath target_; 85 FilePath resolved_target_;
|
/build/blueprint/pathtools/ |
glob_test.go | 19 "path/filepath" 96 pattern: filepath.Join(pwd, "testdata/c/*/*.ext"), 98 filepath.Join(pwd, "testdata/c/f/f.ext"), 99 filepath.Join(pwd, "testdata/c/g/g.ext"), 102 filepath.Join(pwd, "testdata/c"), 103 filepath.Join(pwd, "testdata/c/f"), 104 filepath.Join(pwd, "testdata/c/g"), 105 filepath.Join(pwd, "testdata/c/h"), 152 pattern: filepath.Join(pwd, "testdata/**/*.ext"), 154 filepath.Join(pwd, "testdata/d.ext") [all...] |
glob.go | 20 "path/filepath" 29 // The supported glob patterns are equivalent to filepath.Glob, with an 39 // exclude patterns are equivalent to filepath.Glob, with an extension that 42 if filepath.Base(pattern) == "**" { 65 // Uses filepath.Glob instead of manually statting to get consistent results. 66 pattern = filepath.Clean(pattern) 67 matches, err = filepath.Glob(pattern) 78 matchDirs, err = filepath.Glob(pattern) 112 newMatches, err := filepath.Glob(filepath.Join(m, file) [all...] |
/external/e2fsprogs/util/ |
libecho.c | 43 char filepath[256]; local 52 strcpy(filepath, f); 54 slash = strrchr(filepath, '\\'); 60 filepath[0] = '\0'; 70 printf("%s%s%s\n", prefix, filepath, fdt.name); 75 printf("%s%s%s\n", prefix, filepath, fdt.name);
|
/external/libchrome/base/mac/ |
bundle_locations.mm | 23 FilePath MainBundlePath() { 34 FilePath OuterBundlePath() { 45 FilePath FrameworkBundlePath() { 58 static void AssignOverridePath(const FilePath& file_path, 74 void SetOverrideOuterBundlePath(const FilePath& file_path) { 78 void SetOverrideFrameworkBundlePath(const FilePath& file_path) {
|
/external/libbrillo/brillo/ |
cryptohome.cc | 19 using base::FilePath; 36 FilePath salt_path(g_system_salt_path); 80 FilePath GetUserPathPrefix() { 81 return FilePath(g_user_home_prefix); 84 FilePath GetRootPathPrefix() { 85 return FilePath(g_root_home_prefix); 88 FilePath GetHashedUserPath(const std::string& hashed_username) { 89 return FilePath( 93 FilePath GetUserPath(const std::string& username) { 95 return FilePath(""); [all...] |
/external/v8/ |
WATCHLISTS | 31 # IMPORTANT: The regular expression filepath is tested against each path using 37 'filepath': 'include/', 40 'filepath': 'src/snapshot/', 43 'filepath': 'src/debug/', 46 'filepath': 'src/interpreter/', 47 'filepath': 'test/cctest/interpreter/', 48 'filepath': 'test/unittests/interpreter/', 51 'filepath': 'src/flag-definitions.h', 54 'filepath': 'src/heap/', 57 'filepath': '.' [all...] |
/frameworks/av/drm/common/ |
ReadWriteUtils.cpp | 35 String8 ReadWriteUtils::readBytes(const String8& filePath) { 37 file = fopen(filePath.string(), "r"); 57 int ReadWriteUtils::readBytes(const String8& filePath, char** buffer) { 59 file = fopen(filePath.string(), "r"); 78 void ReadWriteUtils::writeToFile(const String8& filePath, const String8& data) { 80 file = fopen(filePath.string(), "w+"); 88 ALOGE("Failed to write the data to: %s", filePath.string()); 95 void ReadWriteUtils::appendToFile(const String8& filePath, const String8& data) { 97 file = fopen(filePath.string(), "a+"); 104 ALOGE("Failed to write the data to: %s", filePath.string()) [all...] |
/packages/inputmethods/LatinIME/native/jni/src/dictionary/utils/ |
file_utils.h | 27 static int getFileSize(const char *const filePath); 34 static int getFilePathWithSuffixBufSize(const char *const filePath, const char *const suffix); 36 static void getFilePathWithSuffix(const char *const filePath, const char *const suffix, 44 // Returns whether the filePath have the suffix. 45 static bool getFilePathWithoutSuffix(const char *const filePath, const char *const suffix, 48 static void getDirPath(const char *const filePath, const int dirPathBufSize, 51 static void getBasename(const char *const filePath, const int outNameBufSize,
|
/system/webservd/webservd/ |
temp_file_manager.cc | 23 TempFileManager::TempFileManager(const base::FilePath& temp_dir_path, 33 base::FilePath TempFileManager::CreateTempFileName( 35 std::vector<base::FilePath>& file_list_ref = request_files_[request_id]; 38 base::FilePath file_name = temp_dir_path_.AppendASCII(name); 51 void TempFileManager::DeleteFiles(const std::vector<base::FilePath>& files) { 52 for (const base::FilePath& file : files) 56 bool FileDeleter::DeleteFile(const base::FilePath& path) {
|
/frameworks/base/core/tests/coretests/src/android/os/storage/ |
StorageManagerIntegrationTest.java | 68 String filePath = mFile.getAbsolutePath(); 69 mountObb(filePath); 70 verifyObb1Contents(filePath); 71 unmountObb(filePath, DONT_FORCE); 120 String filePath = mFile.getAbsolutePath(); 121 mountObb(filePath, OBB_FILE_3_PASSWORD, OnObbStateChangeListener.MOUNTED); 122 verifyObb3Contents(filePath); 123 unmountObb(filePath, DONT_FORCE); 133 String filePath = mFile.getAbsolutePath(); 134 mountObb(filePath, OBB_FILE_3_PASSWORD, OnObbStateChangeListener.ERROR_COULD_NOT_MOUNT) [all...] |
/external/skia/tools/copyright/ |
main.py | 36 for filepath in filepaths: 37 parser = fileparser.CreateParser(filepath) 40 filepath) 42 old_file_contents = ReadFileIntoString(filepath) 46 filepath) 49 ReportWarning('cannot find copyright block in file %s' % filepath) 54 holder, filepath)) 62 WriteStringToFile(new_file_contents, filepath) 85 def ReadFileIntoString(filepath): 88 with open(filepath, 'r') as file_handle [all...] |
/external/google-breakpad/src/testing/gtest/test/ |
gtest-options_test.cc | 63 FilePath GetAbsolutePathOf(const FilePath& relative_path) { 64 return FilePath::ConcatPaths(FilePath::GetCurrentDir(), relative_path); 81 EXPECT_STREQ(GetAbsolutePathOf(FilePath("test_detail.xml")).c_str(), 87 EXPECT_STREQ(GetAbsolutePathOf(FilePath("filename.abc")).c_str(), 95 FilePath(std::string("path") + GTEST_PATH_SEP_ + 129 original_working_dir_ = FilePath::GetCurrentDir(); 133 FilePath::GetCurrentDir().c_str()); 140 FilePath original_working_dir_ [all...] |
/external/gtest/test/ |
gtest-options_test.cc | 63 FilePath GetAbsolutePathOf(const FilePath& relative_path) { 64 return FilePath::ConcatPaths(FilePath::GetCurrentDir(), relative_path); 81 EXPECT_EQ(GetAbsolutePathOf(FilePath("test_detail.xml")).string(), 87 EXPECT_EQ(GetAbsolutePathOf(FilePath("filename.abc")).string(), 95 FilePath(std::string("path") + GTEST_PATH_SEP_ + 130 original_working_dir_ = FilePath::GetCurrentDir(); 134 FilePath::GetCurrentDir().string()); 141 FilePath original_working_dir_ [all...] |
/external/protobuf/gtest/test/ |
gtest-options_test.cc | 63 FilePath GetAbsolutePathOf(const FilePath& relative_path) { 64 return FilePath::ConcatPaths(FilePath::GetCurrentDir(), relative_path); 81 EXPECT_STREQ(GetAbsolutePathOf(FilePath("test_detail.xml")).c_str(), 87 EXPECT_STREQ(GetAbsolutePathOf(FilePath("filename.abc")).c_str(), 95 FilePath(std::string("path") + GTEST_PATH_SEP_ + 129 original_working_dir_ = FilePath::GetCurrentDir(); 133 FilePath::GetCurrentDir().c_str()); 140 FilePath original_working_dir_ [all...] |
/external/vulkan-validation-layers/tests/gtest-1.7.0/test/ |
gtest-options_test.cc | 63 FilePath GetAbsolutePathOf(const FilePath& relative_path) { 64 return FilePath::ConcatPaths(FilePath::GetCurrentDir(), relative_path); 81 EXPECT_EQ(GetAbsolutePathOf(FilePath("test_detail.xml")).string(), 87 EXPECT_EQ(GetAbsolutePathOf(FilePath("filename.abc")).string(), 95 FilePath(std::string("path") + GTEST_PATH_SEP_ + 130 original_working_dir_ = FilePath::GetCurrentDir(); 134 FilePath::GetCurrentDir().string()); 141 FilePath original_working_dir_ [all...] |
/ndk/sources/third_party/googletest/googletest/test/ |
gtest-options_test.cc | 63 FilePath GetAbsolutePathOf(const FilePath& relative_path) { 64 return FilePath::ConcatPaths(FilePath::GetCurrentDir(), relative_path); 81 EXPECT_EQ(GetAbsolutePathOf(FilePath("test_detail.xml")).string(), 87 EXPECT_EQ(GetAbsolutePathOf(FilePath("filename.abc")).string(), 95 FilePath(std::string("path") + GTEST_PATH_SEP_ + 130 original_working_dir_ = FilePath::GetCurrentDir(); 134 FilePath::GetCurrentDir().string()); 141 FilePath original_working_dir_ [all...] |
/prebuilts/go/darwin-x86/src/cmd/go/ |
go_windows_test.go | 11 "path/filepath" 23 file := filepath.Join(tmp, "a.go") 28 dir := filepath.Join(tmp, "dir") 46 noVolume := file[len(filepath.VolumeName(file)):] 47 wrongPath := filepath.Join(dir, noVolume)
|
/prebuilts/go/linux-x86/src/cmd/go/ |
go_windows_test.go | 11 "path/filepath" 23 file := filepath.Join(tmp, "a.go") 28 dir := filepath.Join(tmp, "dir") 46 noVolume := file[len(filepath.VolumeName(file)):] 47 wrongPath := filepath.Join(dir, noVolume)
|
/external/libchrome/base/process/ |
process_handle_mac.cc | 29 FilePath GetProcessExecutablePath(ProcessHandle process) { 32 return FilePath(); 34 return FilePath(pathbuf);
|
/prebuilts/go/darwin-x86/test/fixedbugs/ |
bug302.go | 14 "path/filepath" 18 run("go", "tool", "compile", filepath.Join("fixedbugs", "bug302.dir", "p.go")) 20 run("go", "tool", "compile", "-I", ".", filepath.Join("fixedbugs", "bug302.dir", "main.go"))
|
/prebuilts/go/linux-x86/test/fixedbugs/ |
bug302.go | 14 "path/filepath" 18 run("go", "tool", "compile", filepath.Join("fixedbugs", "bug302.dir", "p.go")) 20 run("go", "tool", "compile", "-I", ".", filepath.Join("fixedbugs", "bug302.dir", "main.go"))
|