Searched refs:filepath (Results 1 - 25 of 58) sorted by relevance

123

/external/chromium/chrome/browser/
H A Dicon_manager_win.cc9 IconGroupID IconManager::GetGroupIDFromFilepath(const FilePath& filepath) { argument
10 std::wstring extension = filepath.Extension();
14 return filepath.value();
H A Dicon_manager_linux.cc10 IconGroupID IconManager::GetGroupIDFromFilepath(const FilePath& filepath) { argument
18 return mime_util::GetFileMimeType(filepath);
/external/skia/tools/copyright/
H A Dmain.py36 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 Dfileparser.py11 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/e2fsprogs/util/
H A Dlibecho.c43 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 Dpy-compile114 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/webkit/Tools/Scripts/webkitpy/tool/steps/
H A Dattachtobug.py44 filepath = state["filepath"]
46 description = self._options.description or filepath.split(os.sep)[-1]
51 self._tool.bugs.add_attachment_to_bug(bug_id, filepath, description, filename, comment_text)
/external/qemu/
H A Dtcpdump.h22 extern int qemu_tcpdump_start( const char* filepath );
H A Dgen-charmap.py164 for filepath in sys.argv[1:]:
165 m = re_mapname.match(filepath)
167 print "%s is not a keyboard charmap name" % filepath
173 for filepath in sys.argv[1:]:
174 m = re_mapname.match(filepath)
176 result = process_file( filepath )
H A Dtcpdump.c73 qemu_tcpdump_start( const char* filepath )
82 if (filepath == NULL)
85 capture_file = fopen(filepath, "wb");
/external/chromium/base/
H A Dmime_util.h19 std::string GetFileMimeType(const FilePath& filepath);
/external/qemu/android/protocol/
H A Dcore-commands-qemu.c94 char* filepath = qemu_find_file(type, filename); local
95 if (filepath == NULL) {
98 strncpy(path, filepath, path_buf_size);
100 qemu_free(filepath);
H A Dcore-commands-impl.c296 char* filepath = NULL; local
300 filepath = qemu_find_file(cmd->type, cmd->filename);
301 if (filepath != NULL) {
302 resp.resp_data_size = strlen(filepath) + 1;
304 _coreCmdImpl_respond(corecmd, &resp, filepath);
305 if (filepath != NULL) {
306 qemu_free(filepath);
/external/webkit/Tools/Scripts/
H A Dupdate-sources-list.py43 filepath = os.path.join(wkroot, "Source", "WebCore", "WebCoreSources.bkl")
44 assert(os.path.exists(filepath))
46 doc = minidom.parse(filepath)
/external/protobuf/python/
H A Dsetup.py92 filepath = os.path.join(dirpath, filename) variable
93 if filepath.endswith("_pb2.py") or filepath.endswith(".pyc"):
94 os.remove(filepath)
/external/chromium/chrome/browser/chromeos/login/
H A Duser_image_loader.h41 // Start reading the image for |username| from |filepath| on the file thread.
44 const std::string& filepath,
69 void LoadImage(const std::string& filepath, const ImageInfo& image_info);
H A Duser_image_loader.cc42 void UserImageLoader::LoadImage(const std::string& filepath, argument
46 file_util::ReadFileToString(FilePath(filepath), &image_data);
/external/chromium/googleurl/src/
H A Durl_parse_internal.h88 Component* filepath,
93 Component* filepath,
/external/llvm/utils/unittest/
H A DCMakeLists.txt39 googletest/gtest-filepath.cc
/external/webkit/Source/JavaScriptCore/JavaScriptCore.vcproj/JavaScriptCore/
H A Dreact-to-vsprops-changes.py25 for filepath in glob.iglob(os.path.join(obj_directory, '*', '*.%s' % extension)):
26 delete_if_older_than(filepath, newest_vsprops_time)
/external/llvm/utils/lit/lit/
H A DTestFormats.py71 filepath = os.path.join(source_path, filename)
72 if os.path.isdir(filepath):
76 for subfilename in os.listdir(filepath):
77 execpath = os.path.join(filepath, subfilename)
84 testSuite, path_in_suite, filepath,
123 filepath = os.path.join(source_path, filename)
124 if not os.path.isdir(filepath):
/external/qemu/android/utils/
H A Dini.c259 iniFile_newFromFile( const char* filepath )
261 FILE* fp = fopen(filepath, "rt");
269 filepath, strerror(errno));
284 filepath, size);
293 ini = iniFile_newFromMemory(text, filepath);
304 * filepath - Path to a file where to save the instance.
312 iniFile_saveToFileCommon( IniFile* f, const char* filepath, int strip ) argument
314 FILE* fp = fopen(filepath, "wt");
321 filepath, strerror(errno));
341 iniFile_saveToFile( IniFile* f, const char* filepath )
[all...]
/external/webkit/Tools/wx/packaging/
H A Dbuild-win-installer.py58 filepath = os.path.join(dir, name)
59 if os.path.isfile(filepath):
60 retval = filepath
/external/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_stacktrace.cc20 const char *StripPathPrefix(const char *filepath, argument
22 if (filepath == 0) return 0;
23 if (filepath == internal_strstr(filepath, strip_file_prefix))
24 return filepath + internal_strlen(strip_file_prefix);
25 return filepath;
/external/webkit/Tools/CodeCoverage/
H A Drun-generate-coverage-data108 filepath = split[1][:-5].replace('#',os.path.sep)
109 return os.path.join(os.path.sep,filepath)
114 filepath = split[1][:-5].replace('#',os.path.sep)
115 return os.path.abspath(os.path.join(root,os.path.pardir,os.path.pardir,filepath))
120 filepath = split[1][:-5].replace('#',os.path.sep)
121 return os.path.abspath(os.path.join(root,filepath))

Completed in 549 milliseconds

123