/external/skia/platform_tools/android/bin/ |
H A D | download_toolchains.py | 12 filepath = sys.argv[2] variable 15 download_utils.SyncURL(url, filepath)
|
/external/skia/tools/copyright/ |
H A D | 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, ' [all...] |
H A D | fileparser.py | 11 def CreateParser(filepath): 12 """Returns a Parser as appropriate for the file at this filepath. 14 if (filepath.endswith('.cpp') or 15 filepath.endswith('.h') or 16 filepath.endswith('.c')):
|
/external/gtest/test/ |
H A D | gtest_premature_exit_test.cc | 54 static bool FileExists(const char* filepath) { argument 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/ |
H A D | 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/ |
H A D | 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[ [all...] |
/external/skia/tools/ |
H A D | retrieve_from_googlesource.py | 18 def get(repo_url, filepath): 23 filepath: string; path of the file within the repository. 28 base64_url = '/'.join((repo_url, '+', 'master', filepath)) + '?format=TEXT' 35 print >> sys.stderr, 'Usage: %s <repo_url> <filepath>' % sys.argv[0]
|
H A D | jsondiff.py | 49 def _GetFileContentsAsString(self, filepath): 53 if filepath is None: 55 elif filepath.startswith('http:') or filepath.startswith('https:'): 56 return urllib2.urlopen(filepath).read() 58 return open(filepath, 'r').read() 185 'the "old" side of the diff. This can be a filepath on ' + 192 'filepath on local storage, or a URL.')
|
H A D | sk_tool_utils_font.cpp | 86 SkString filepath(GetResourcePath(file)); 87 if (sk_exists(filepath.c_str())) { 88 return SkTypeface::CreateFromFile(filepath.c_str());
|
H A D | create_test_font.cpp | 385 SkString filepath(GetResourcePath(fontDesc.fFile)); 386 SkASSERT(sk_exists(filepath.c_str())); 387 SkTypeface* resourceTypeface = SkTypeface::CreateFromFile(filepath.c_str());
|
/external/pdfium/core/src/fpdfdoc/ |
H A D | doc_basic.cpp | 285 static CFX_WideString FILESPEC_DecodeFileName(FX_WSTR filepath) argument 287 if (filepath.GetLength() <= 1) { 291 if (filepath.Left(sizeof("/Mac") - 1) == CFX_WideStringC(L"/Mac")) { 292 return ChangeSlashToPlatform(filepath.GetPtr() + 1); 294 return ChangeSlashToPlatform(filepath.GetPtr()); 296 if (filepath.GetAt(0) != '/') { 297 return ChangeSlashToPlatform(filepath.GetPtr()); 299 if (filepath.GetAt(1) == '/') { 300 return ChangeSlashToPlatform(filepath.GetPtr() + 1); 302 if (filepath 365 FILESPEC_EncodeFileName(FX_WSTR filepath) argument [all...] |
/external/pdfium/core/src/fpdfapi/fpdf_parser/ |
H A D | fpdf_parser_fdf.cpp | 131 void FPDF_FileSpec_SetWin32Path(CPDF_Object* pFileSpec, const CFX_WideString& filepath) argument 134 if (filepath.GetLength() > 1 && filepath[1] == ':') { 136 result += filepath[0]; 137 if (filepath[2] != '\\') { 140 result += ChangeSlash(filepath.c_str() + 2); 141 } else if (filepath.GetLength() > 1 && filepath[0] == '\\' && filepath[1] == '\\') { 142 result = ChangeSlash(filepath [all...] |
/external/protobuf/python/ |
H A D | setup.py | 108 filepath = os.path.join(dirpath, filename) 109 if filepath.endswith("_pb2.py") or filepath.endswith(".pyc") or \ 110 filepath.endswith(".so") or filepath.endswith(".o") or \ 111 filepath.endswith('google/protobuf/compiler/__init__.py'): 112 os.remove(filepath)
|
/external/llvm/utils/lit/lit/formats/ |
H A D | googletest.py | 79 filepath = os.path.join(source_path, filename) 80 if os.path.isdir(filepath): 85 for subfilename in os.listdir(filepath): 86 execpath = os.path.join(filepath, subfilename) 93 testSuite, path_in_suite, filepath,
|
H A D | base.py | 23 filepath = os.path.join(source_path, filename) 24 if not os.path.isdir(filepath):
|
/external/compiler-rt/lib/sanitizer_common/ |
H A D | sanitizer_common.cc | 205 const char *StripPathPrefix(const char *filepath, argument 207 if (filepath == 0) return 0; 208 if (strip_path_prefix == 0) return filepath; 209 const char *res = filepath; 210 if (const char *pos = internal_strstr(filepath, strip_path_prefix))
|
H A D | sanitizer_win.cc | 218 const char *filepath; member in struct:__sanitizer::__anon2906::ModuleInfo 240 module_infos[i].filepath = modules[i].full_name(); 251 mi.filepath[0] ? mi.filepath : "[no name]"); 252 } else if (mi.filepath[0]) { 253 Printf("\t??\?-??? %s\n", mi.filepath);
|
/external/chromium-trace/trace-viewer/third_party/Paste/paste/ |
H A D | fileapp.py | 304 ``filepath`` the path to the archive being served 313 def __init__(self, filepath): 314 if zipfile.is_zipfile(filepath): 315 self.archive = zipfile.ZipFile(filepath,"r") 316 elif tarfile.is_tarfile(filepath): 317 self.archive = tarfile.TarFileCompat(filepath,"r") 319 raise AssertionError("filepath '%s' is not a zip or tar " % filepath)
|
/external/google-breakpad/src/tools/mac/upload_system_symbols/ |
H A D | upload_system_symbols.go | 182 // Upload enqueues the contents of filepath to be uploaded. 183 func (uq *UploadQueue) Upload(filepath string) { 184 uq.queue <- filepath 241 // DumpSymbols enqueues the filepath to have its symbols dumped in the specified 243 func (dq *DumpQueue) DumpSymbols(filepath string, arch string) { 245 path: filepath,
|
/external/e2fsprogs/e2fsck/ |
H A D | profile_helpers.c | 261 profile_init_path(const char * filepath, argument 271 for(s = filepath, n_entries = 1; *s; s++) { 282 for(s = filepath, i=0; (t = strchr(s, ':')) || (t=s+strlen(s)); s=t+1, i++) {
|
/external/webrtc/src/modules/audio_processing/test/ |
H A D | apmtest.m | 1 function apmtest(task, testname, filepath, casenumber, legacy) 35 if nargin < 3 || isempty(filepath) 36 filepath = 'data/'; 55 inpath = [filepath 'input/']; 56 outpath = [filepath 'output/']; 57 refpath = [filepath 'reference/'];
|
/external/libcxx/test/libcxx/test/ |
H A D | format.py | 40 filepath = os.path.join(source_path, filename) 41 if not os.path.isdir(filepath):
|
/external/skia/platform_tools/android/third_party/cpufeatures/ |
H A D | cpu-features.c | 524 const char filepath[] = "/proc/self/auxv"; local 525 int fd = TEMP_FAILURE_RETRY(open(filepath, O_RDONLY)); 527 D("Could not open %s: %s\n", filepath, strerror(errno)); 537 D("Error while reading %s: %s\n", filepath, strerror(errno));
|
/external/protobuf/gtest/test/ |
H A D | gtest-filepath_test.cc | 32 // Google Test filepath utilities 41 #include <gtest/internal/gtest-filepath.h> 76 FilePath filepath(path); 78 filepath.RemoveTrailingPathSeparator().c_str());
|
/external/protobuf/gtest/src/ |
H A D | gtest-filepath.cc | 32 #include <gtest/internal/gtest-filepath.h> 156 // FilePath("./") or, on Windows, FilePath(".\\"). If the filepath does
|