/external/pdfium/core/fpdfdoc/ |
cpdf_filespec.cpp | 62 WideString CPDF_FileSpec::DecodeFileName(const WideString& filepath) { 63 if (filepath.GetLength() <= 1) 67 if (filepath.Left(sizeof("/Mac") - 1) == WideStringView(L"/Mac")) 68 return ChangeSlashToPlatform(filepath.c_str() + 1); 69 return ChangeSlashToPlatform(filepath.c_str()); 72 if (filepath[0] != L'/') 73 return ChangeSlashToPlatform(filepath.c_str()); 74 if (filepath[1] == L'/') 75 return ChangeSlashToPlatform(filepath.c_str() + 1); 76 if (filepath[2] == L'/') [all...] |
cpdf_filespec.h | 25 static WideString EncodeFileName(const WideString& filepath); 28 static WideString DecodeFileName(const WideString& filepath);
|
/external/googletest/googletest/test/ |
gtest_premature_exit_test.cc | 50 static bool FileExists(const char* filepath) { 52 return Stat(filepath, &stat) == 0; 116 const char* const filepath = GetEnv("TEST_PREMATURE_EXIT_FILE"); local 117 if (filepath != NULL && *filepath != '\0') { 118 if (PrematureExitTest::FileExists(filepath)) { 121 filepath);
|
/external/v8/testing/gtest/test/ |
gtest_premature_exit_test.cc | 50 static bool FileExists(const char* filepath) { 52 return Stat(filepath, &stat) == 0; 116 const char* const filepath = GetEnv("TEST_PREMATURE_EXIT_FILE"); local 117 if (filepath != NULL && *filepath != '\0') { 118 if (PrematureExitTest::FileExists(filepath)) { 121 filepath);
|
/external/vulkan-validation-layers/tests/gtest-1.7.0/test/ |
gtest_premature_exit_test.cc | 54 static bool FileExists(const char* filepath) { 56 return Stat(filepath, &stat) == 0; 104 const char* const filepath = GetEnv("TEST_PREMATURE_EXIT_FILE"); local 105 ASSERT_TRUE(filepath != NULL); 106 ASSERT_NE(*filepath, '\0'); 130 const char* const filepath = GetEnv("TEST_PREMATURE_EXIT_FILE"); local 131 if (filepath != NULL && *filepath != '\0') { 132 if (PrematureExitTest::FileExists(filepath)) { 135 filepath); [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/libcap-ng/libcap-ng-0.7/ |
py-compile | 114 filetrans="filepath = path" 116 filetrans="filepath = os.path.normpath('$destdir' + os.sep + path)" 128 if not os.path.exists(filepath) or not (len(filepath) >= 3 129 and filepath[-3:] == '.py'): 133 py_compile.compile(filepath, filepath + 'c', path) 145 if not os.path.exists(filepath) or not (len(filepath) >= 3 146 and filepath[-3:] == '.py') [all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/lib2to3/tests/ |
test_all_fixers.py | 22 for filepath in support.all_project_files():
23 self.refactor.refactor_file(filepath)
|
/external/python/cpython2/Lib/lib2to3/tests/ |
test_all_fixers.py | 22 for filepath in support.all_project_files(): 23 self.refactor.refactor_file(filepath)
|
/prebuilts/go/darwin-x86/src/path/filepath/ |
symlink_unix.go | 3 package filepath package
|
example_test.go | 9 "path/filepath" 13 fmt.Printf("No dots: %q\n", filepath.Ext("index")) 14 fmt.Printf("One dot: %q\n", filepath.Ext("index.js")) 15 fmt.Printf("Two dots: %q\n", filepath.Ext("main.test.js"))
|
/prebuilts/go/linux-x86/src/path/filepath/ |
symlink_unix.go | 3 package filepath package
|
example_test.go | 9 "path/filepath" 13 fmt.Printf("No dots: %q\n", filepath.Ext("index")) 14 fmt.Printf("One dot: %q\n", filepath.Ext("index.js")) 15 fmt.Printf("Two dots: %q\n", filepath.Ext("main.test.js"))
|
/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/ltp/testcases/kernel/controllers/libcontrollers/ |
libcontrollers.c | 120 int read_file(char *filepath, int action, unsigned int *value) 127 tmp = read_shares_file(filepath); 134 fp = fopen(filepath, "r"); 136 error_function("Could not open file", filepath); 143 error_function("Could not close file", filepath); 150 filepath); 172 int read_shares_file(char *filepath) 176 fp = fopen(filepath, "r"); 178 error_function("Could not open file", filepath); 183 error_function("Could not close file", filepath); [all...] |
/external/junit-params/src/main/java/junitparams/custom/ |
FileParametersProvider.java | 43 String filepath = fileParameters.value(); local 46 if (filepath.indexOf(':') < 0) { 47 return new FileReader(filepath); 50 String protocol = filepath.substring(0, filepath.indexOf(':')); 51 String filename = filepath.substring(filepath.indexOf(':') + 1);
|
/external/boringssl/src/util/ |
diff_asm.go | 22 "path/filepath" 29 opensslDir = flag.String("openssl", filepath.Join("..", "openssl"), "The path to the OpenSSL checkout.") 33 path = strings.Replace(path, filepath.FromSlash("/fipsmodule/"), string(filepath.Separator), 1) 34 switch filepath.ToSlash(path) { 38 return filepath.FromSlash("crypto/ec/asm/ecp_nistz256-x86_64.pl") 67 err := filepath.Walk(*boringsslDir, func(path string, info os.FileInfo, err error) error { 72 path, err = filepath.Rel(*boringsslDir, path) 77 dir := filepath.Base(filepath.Dir(path) [all...] |
/external/chromium-trace/catapult/devil/devil/utils/ |
host_utils.py | 11 def get_size(filepath): 13 return os.path.getsize(filepath) 15 logging.warning('File or directory no longer found: %s', filepath)
|
/external/python/cpython3/Lib/lib2to3/tests/ |
test_all_fixers.py | 23 for filepath in support.all_project_files(): 24 self.refactor.refactor_file(filepath)
|
/external/skia/infra/bots/recipe_modules/isolate/resources/ |
find_isolated_tests.py | 25 def hash_file(filepath): 28 with open(filepath, 'rb') as f: 70 for filepath in sorted(glob.glob(pattern)): 71 os.remove(filepath) 75 for filepath in sorted(glob.glob(pattern)): 76 test_name = os.path.splitext(os.path.basename(filepath))[0] 85 os.remove(filepath) 87 sha1_hash = hash_file(filepath)
|
/external/skqp/infra/bots/recipe_modules/isolate/resources/ |
find_isolated_tests.py | 25 def hash_file(filepath): 28 with open(filepath, 'rb') as f: 70 for filepath in sorted(glob.glob(pattern)): 71 os.remove(filepath) 75 for filepath in sorted(glob.glob(pattern)): 76 test_name = os.path.splitext(os.path.basename(filepath))[0] 85 os.remove(filepath) 87 sha1_hash = hash_file(filepath)
|
/prebuilts/go/darwin-x86/src/cmd/go/internal/str/ |
path.go | 8 "path/filepath" 15 sv := strings.ToUpper(filepath.VolumeName(s)) 16 pv := strings.ToUpper(filepath.VolumeName(prefix)) 27 if prefix != "" && prefix[len(prefix)-1] == filepath.Separator { 30 return s[len(prefix)] == filepath.Separator && s[:len(prefix)] == prefix
|
/prebuilts/go/linux-x86/src/cmd/go/internal/str/ |
path.go | 8 "path/filepath" 15 sv := strings.ToUpper(filepath.VolumeName(s)) 16 pv := strings.ToUpper(filepath.VolumeName(prefix)) 27 if prefix != "" && prefix[len(prefix)-1] == filepath.Separator { 30 return s[len(prefix)] == filepath.Separator && s[:len(prefix)] == prefix
|
/external/flatbuffers/include/flatbuffers/ |
util.h | 190 inline std::string StripExtension(const std::string &filepath) { 191 size_t i = filepath.find_last_of("."); 192 return i != std::string::npos ? filepath.substr(0, i) : filepath; 196 inline std::string GetExtension(const std::string &filepath) { 197 size_t i = filepath.find_last_of("."); 198 return i != std::string::npos ? filepath.substr(i + 1) : ""; 202 inline std::string StripPath(const std::string &filepath) { 203 size_t i = filepath.find_last_of(PathSeparatorSet); 204 return i != std::string::npos ? filepath.substr(i + 1) : filepath 217 std::string filepath = path; local [all...] |