/external/chromium/chrome/browser/ |
icon_manager_win.cc | 9 IconGroupID IconManager::GetGroupIDFromFilepath(const FilePath& filepath) { 10 std::wstring extension = filepath.Extension(); 14 return filepath.value();
|
icon_manager_linux.cc | 10 IconGroupID IconManager::GetGroupIDFromFilepath(const FilePath& filepath) { 18 return mime_util::GetFileMimeType(filepath);
|
/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_android.cc | 10 const base::FilePath& filepath) { 15 bool IconLoader::IsIconMutableFromFilepath(const base::FilePath&) {
|
icon_loader_win.cc | 20 const base::FilePath& filepath) { 21 if (!IsIconMutableFromFilepath(filepath)) 22 return filepath.Extension(); 23 return filepath.value(); 26 bool IconLoader::IsIconMutableFromFilepath(const base::FilePath& filepath) { 27 base::FilePath::StringType extension = filepath.Extension();
|
/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/tools/checkdeps/ |
java_checker.py | 20 that reads all the .java files and builds a mapping of class name -> filepath. 21 In CheckFile, we convert each import statement into a real filepath, and check 31 _classmap: dict of fully-qualified Java class name -> filepath 65 def _PrescanFile(self, filepath): 67 print 'Prescanning: ' + filepath 68 with codecs.open(filepath, encoding='utf-8') as f: 69 short_class_name, _ = os.path.splitext(os.path.basename(filepath)) 75 print ' ' + filepath 79 self._classmap[full_class_name] = filepath 81 print 'WARNING: no package definition found in %s' % filepath [all...] |
cpp_checker.py | 74 def CheckFile(self, rules, filepath): 76 print 'Checking: ' + filepath 78 dependee_status = results.DependeeStatus(filepath) 81 with codecs.open(filepath, encoding='utf-8') as f: 100 is_include, violation = self.CheckLine(rules, line, filepath)
|
/external/qemu/ |
tcpdump.h | 22 extern int qemu_tcpdump_start( const char* filepath );
|
/external/chromium_org/tools/grit/grit/format/ |
html_inline.py | 106 filepath = os.path.normpath(os.path.join(base_path, filename)) 107 inlined_files.add(filepath) 113 inline_data = base64.standard_b64encode(util.ReadFile(filepath, util.BINARY)) 143 rewrite_function: function(filepath, text, distribution) which will be 159 def SrcReplace(src_match, filepath=input_filepath, 163 src_match, filepath, distribution, inlined_files, names_only=names_only, 221 filepath = GetFilepath(src_match) 222 if filepath is None: 224 inlined_files.add(filepath) 228 filepath, [all...] |
/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/base/ |
mime_util.h | 11 class FilePath; 19 std::string GetFileMimeType(const FilePath& filepath); 34 // then a generic icon, and finally an empty FilePath if all else fails. 35 FilePath GetMimeIcon(const std::string& mime_type, size_t size);
|
/external/chromium_org/base/nix/ |
mime_util_xdg.h | 15 class FilePath; 23 BASE_EXPORT std::string GetFileMimeType(const FilePath& filepath); 36 // then a generic icon, and finally an empty FilePath if all else fails. 37 BASE_EXPORT FilePath GetMimeIcon(const std::string& mime_type, size_t size);
|
/external/chromium_org/chrome/browser/ui/webui/ |
feedback_ui.h | 14 class FilePath; 23 const base::FilePath& filepath,
|
feedback_ui_unittest.cc | 19 void CreateFile(const base::FilePath& filename) { 43 base::FilePath filepath = temp_dir_.path().Append( local 45 ASSERT_NO_FATAL_FAILURE(CreateFile(filepath)); 57 base::FilePath filepath = local 59 ASSERT_NO_FATAL_FAILURE(CreateFile(filepath));
|
/external/qemu/android/protocol/ |
core-commands-qemu.c | 94 char* filepath = qemu_find_file(type, filename); local 95 if (filepath == NULL) { 98 strncpy(path, filepath, path_buf_size); 100 qemu_free(filepath);
|
/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')):
|
/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...] |
/cts/suite/cts/deviceTests/opengl/ |
cob_exporter.py | 40 print("Writing "+mesh.name+" to "+self.filepath) 42 f = open(self.filepath, 'wb') 63 default_path = os.path.splitext(bpy.data.filepath)[0] + ".cob" 64 self.layout.operator(COBExporter.bl_idname, text="Compressed Object (.cob)").filepath = default_path
|
/external/chromium_org/chrome/browser/chromeos/login/ |
user_image_loader.h | 40 // Start reading the image from |filepath| on a worker thread pool. Calls 44 void Start(const std::string& filepath, int size, 47 // Start reading the image from |filepath| on a worker thread associated with 51 void Start(const std::string& filepath, int size, 73 void LoadImage(const std::string& filepath,
|
user_image_loader.cc | 42 void UserImageLoader::Start(const std::string& filepath, 47 Start(filepath, size, sequence_token, loaded_cb); 50 void UserImageLoader::Start(const std::string& filepath, 63 base::Bind(&UserImageLoader::LoadImage, this, filepath, image_info, 68 const std::string& filepath, 74 file_util::ReadFileToString(base::FilePath(filepath), &image_data);
|
/external/chromium_org/third_party/protobuf/python/ |
setup.py | 122 filepath = os.path.join(dirpath, filename) 123 if filepath.endswith("_pb2.py") or filepath.endswith(".pyc") or \ 124 filepath.endswith(".so") or filepath.endswith(".o") or \ 125 filepath.endswith('google/protobuf/compiler/__init__.py'): 126 os.remove(filepath)
|