/external/chromium_org/third_party/skia/platform_tools/android/bin/ |
download_toolchains.py | 12 filepath = sys.argv[2] variable 15 download_utils.SyncURL(url, filepath)
|
/external/skia/platform_tools/android/bin/ |
download_toolchains.py | 12 filepath = sys.argv[2] variable 15 download_utils.SyncURL(url, filepath)
|
/external/chromium_org/testing/gtest/test/ |
gtest_premature_exit_test.cc | 54 static bool FileExists(const char* filepath) { 56 return Stat(filepath, &stat) == 0; 106 const char* const filepath = GetEnv("TEST_PREMATURE_EXIT_FILE"); local 107 ASSERT_TRUE(filepath != NULL); 108 ASSERT_NE(*filepath, '\0'); 132 const char* const filepath = GetEnv("TEST_PREMATURE_EXIT_FILE"); local 133 if (filepath != NULL && *filepath != '\0') { 134 if (PrematureExitTest::FileExists(filepath)) { 137 filepath); [all...] |
/external/gtest/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/asus/tilapia/recovery/lib/ |
downloadFN.h | 6 void SetTraceFile(char *filepath);
|
/external/chromium_org/chrome/browser/ |
icon_loader_win.cc | 21 const base::FilePath& filepath) { 22 if (!IsIconMutableFromFilepath(filepath)) 23 return filepath.Extension(); 24 return filepath.value(); 28 bool IconLoader::IsIconMutableFromFilepath(const base::FilePath& filepath) { 29 return filepath.MatchesExtension(L".exe") || 30 filepath.MatchesExtension(L".dll") || 31 filepath.MatchesExtension(L".ico") [all...] |
icon_loader_android.cc | 10 const base::FilePath& filepath) { 15 bool IconLoader::IsIconMutableFromFilepath(const base::FilePath&) {
|
/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/chromium_org/base/nix/ |
mime_util_xdg.cc | 24 std::string GetFileMimeType(const FilePath& filepath) { 25 if (filepath.empty()) 29 return xdg_mime_get_mime_type_from_file_name(filepath.value().c_str());
|
mime_util_xdg.h | 15 class FilePath; 23 BASE_EXPORT std::string GetFileMimeType(const FilePath& filepath);
|
/external/qemu/include/android/ |
tcpdump.h | 22 extern int qemu_tcpdump_start( const char* filepath );
|
/external/skia/tools/pyutils/ |
url_utils.py | 22 def create_filepath_url(filepath): 23 """ Returns a file:/// URL pointing at the given filepath on local disk. 26 filepath: string; path to a file on local disk (may be absolute or relative, 30 A file:/// URL pointing at the file. Regardless of whether filepath was 35 An Exception, if filepath is already a URL. 37 if urlparse.urlparse(filepath).scheme: 38 raise Exception('"%s" is already a URL' % filepath) 40 'file:', urllib.pathname2url(os.path.abspath(filepath))) 45 filepath 'dest_path'. 49 dest_path: string; complete filepath to write to (may be absolute o [all...] |
/external/chromium_org/build/ |
find_isolated_tests.py | 26 def hash_file(filepath): 29 with open(filepath, 'rb') as f: 59 for filepath in sorted(glob.glob(pattern)): 60 test_name = os.path.splitext(os.path.basename(filepath))[0] 67 sha1_hash = hash_file(filepath) 68 os.remove(filepath)
|
/external/chromium_org/third_party/webrtc/modules/remote_bitrate_estimator/test/ |
bwe_test_baselinefile.cc | 44 BaseLineFileVerify(const std::string& filepath, bool allow_missing_file) 48 reader.reset(ResourceFileReader::Create(filepath, "bin")); 51 filepath.c_str()); 61 filepath.c_str()); 102 BaseLineFileUpdate(const std::string& filepath, 106 filepath_(filepath) { 154 std::string filepath = filename; local 155 std::replace(filepath.begin(), filepath.end(), '/', '_'); 156 filepath = std::string(kResourceSubDir) + "/" + filepath [all...] |
bwe_test_fileutils.cc | 56 std::string filepath = webrtc::test::ResourcePath(filename, extension); local 57 FILE* file = fopen(filepath.c_str(), "rb"); 60 BWE_TEST_LOGGING_LOG1("Create", "Can't read file: %s", filepath.c_str()); 84 std::string filepath = webrtc::test::OutputPath() + filename + "." + local 86 FILE* file = fopen(filepath.c_str(), "wb"); 89 BWE_TEST_LOGGING_LOG1("Create", "Can't write file: %s", filepath.c_str());
|
/external/chromium_org/tools/crx_id/ |
crx_id.py | 78 def GetPublicKeyFromPath(filepath, is_win_path=False): 83 if (len(filepath) >= 2 and 84 filepath[0].islower() and 85 filepath[1] == ':'): 86 filepath = filepath[0].upper() + filepath[1:] 93 filepath = filepath.encode('utf-16le') 95 return filepath [all...] |
/external/chromium_org/third_party/skia/tools/ |
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]
|
/external/skia/tools/ |
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]
|
/external/chromium_org/third_party/skia/tools/copyright/ |
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/skia/tools/copyright/ |
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/chromium_org/tools/resources/ |
find_unused_resources.py | 85 A list of pairs of [resource_id, filepath] for the unused resources. 105 filepath = result.group(2) 106 filename = os.path.basename(filepath) 128 unused_resources.append([resource_id, filepath]) 183 # |unused_resources| stores pairs of [resource_id, filepath] for resource ids 193 for resource_id, filepath in unused_resources: 198 for resource_id, filepath in unused_resources: 200 print 'git rm ' + os.path.join(directory, filepath)
|
/development/build/tools/ |
mk_sources_zip.py | 138 filepath = os.path.join(srcdir, filename) 139 if filename.endswith(".java") and os.path.isfile(filepath): 140 pkg = checkJavaFile(filepath) 142 verbose("No package found in %s", filepath) 150 verbose("Ignore package %s [%s]", pkg, filepath) 156 copy(p, filepath, pkg) 160 elif os.path.isdir(filepath): 162 parseSrcDir(p, filepath) 185 # Copy the given file (given its absolute filepath) to 187 def copy(p, filepath, dest_pkg) [all...] |