/external/chromium_org/content/child/ |
H A D | webfileutilities_impl.cc | 28 bool WebFileUtilitiesImpl::getFileInfo(const WebString& path, argument 35 if (!base::GetFileInfo(base::FilePath::FromUTF16Unsafe(path), 40 web_file_info.platformPath = path; 44 WebString WebFileUtilitiesImpl::directoryName(const WebString& path) { argument 45 return base::FilePath::FromUTF16Unsafe(path).DirName().AsUTF16Unsafe(); 48 WebString WebFileUtilitiesImpl::baseName(const WebString& path) { argument 49 return base::FilePath::FromUTF16Unsafe(path).BaseName().AsUTF16Unsafe(); 52 blink::WebURL WebFileUtilitiesImpl::filePathToURL(const WebString& path) { argument 53 return net::FilePathToFileURL(base::FilePath::FromUTF16Unsafe(path));
|
/external/chromium_org/mojo/public/tools/bindings/pylib/mojom_tests/parse/ |
H A D | run_translate.py | 9 import os.path namespace 12 sys.path.insert(0, os.path.join(os.path.dirname(os.path.abspath(__file__)), 13 os.path.pardir, os.path.pardir)) 31 os.path.splitext(os.path.basename(filename))[0])
|
/external/chromium_org/native_client_sdk/src/build_tools/ |
H A D | build_version.py | 14 SCRIPT_DIR = os.path.dirname(os.path.abspath(__file__)) 15 SRC_DIR = os.path.dirname(os.path.dirname(os.path.dirname(SCRIPT_DIR))) 16 sys.path.append(os.path.join(SRC_DIR, 'build/util')) 21 VERSION_PATH = os.path.join(SRC_DIR, 'chrome', 'VERSION') 72 nacl_dir = os.path.join(SRC_DIR, 'native_client')
|
/external/chromium_org/third_party/skia/tools/tests/ |
H A D | base_unittest.py | 20 sys.path.append( 21 os.path.join(os.path.dirname(os.path.realpath(__file__)), os.pardir)) 31 def create_empty_dir(self, path): 32 """Creates an empty directory at path and returns path. 35 path: path on local disk 37 shutil.rmtree(path [all...] |
/external/chromium_org/tools/perf/clear_system_cache/ |
H A D | clear_system_cache_main.cc | 19 void ClearCacheForFile(const base::FilePath& path) { argument 20 VLOG(1) << "Clearing " << path.MaybeAsASCII(); 21 base::EvictFileFromSystemCache(path); 36 base::FilePath path(args[i]); 37 if (!base::PathExists(path)) { 38 LOG(ERROR) << "Couldn't find " << path.MaybeAsASCII(); 42 if (base::DirectoryExists(path)) { 43 base::FileEnumerator enumerator(path, should_recurse, 50 ClearCacheForFile(path);
|
/external/deqp/scripts/ |
H A D | cppcheck.py | 120 fullDstFile = os.path.realpath(dstFile) 126 for path in INCLUDE_DIRS: 127 command += " -I %s" % path 129 for path in SRC_DIRS: 130 command += " %s" % path 143 srcDir = os.path.realpath(os.path.normpath(os.path.join(os.path.dirname(__file__), "..", "..")))
|
/external/fonttools/Lib/fontTools/pens/ |
H A D | cocoaPen.py | 11 def __init__(self, glyphSet, path=None): 13 if path is None: 15 path = NSBezierPath.bezierPath() 16 self.path = path 19 self.path.moveToPoint_(p) 22 self.path.lineToPoint_(p) 25 self.path.curveToPoint_controlPoint1_controlPoint2_(p3, p1, p2) 28 self.path.closePath()
|
/external/fonttools/Tools/fontTools/pens/ |
H A D | cocoaPen.py | 11 def __init__(self, glyphSet, path=None): 13 if path is None: 15 path = NSBezierPath.bezierPath() 16 self.path = path 19 self.path.moveToPoint_(p) 22 self.path.lineToPoint_(p) 25 self.path.curveToPoint_controlPoint1_controlPoint2_(p3, p1, p2) 28 self.path.closePath()
|
/external/libcxx/test/ |
H A D | makemake.py | 22 path = os.path.join(root, test) 23 out_name = os.path.splitext(path)[0] # trim .cpp 24 out_name = os.path.splitext(out_name)[0] # trim .pass 25 out_name = os.path.normpath(out_name) 27 with open(os.path.join(root, 'Android.mk'), 'w') as makefile: 28 makefile_path = os.path.normpath(os.path.join(
|
/external/skia/tools/tests/ |
H A D | base_unittest.py | 20 sys.path.append( 21 os.path.join(os.path.dirname(os.path.realpath(__file__)), os.pardir)) 31 def create_empty_dir(self, path): 32 """Creates an empty directory at path and returns path. 35 path: path on local disk 37 shutil.rmtree(path [all...] |
/external/chromium_org/chrome/browser/chromeos/file_manager/ |
H A D | path_util_unittest.cc | 45 base::FilePath path; local 50 &path)); 51 EXPECT_EQ(kDownloads, path); 56 &path)); 57 EXPECT_EQ(kDownloads.AppendASCII("a/b"), path); 63 &path)); 65 // Only the "Downloads" path is converted. 69 &path)); 78 base::FilePath path; local 83 &path)); [all...] |
/external/chromium_org/chrome/browser/ui/tabs/ |
H A D | tab_resources.cc | 8 #include "ui/gfx/path.h" 32 gfx::Path* path) { 33 DCHECK(path); 41 path->moveTo(left, bottom); 44 path->lineTo(left + kTabBottomCurveWidth, bottom - kTabBottomCurveWidth); 45 path->lineTo(left + kTabCapWidth - kTabTopCurveWidth, 47 path->lineTo(left + kTabCapWidth, top); 51 path->lineTo(left + kTabCapWidth, 0); 52 path->lineTo(right - kTabCapWidth, 0); 56 path 29 GetHitTestMask(int width, int height, bool include_top_shadow, gfx::Path* path) argument [all...] |
/external/chromium_org/third_party/angle/build/ |
H A D | gyp_angle | 13 script_dir = os.path.dirname(__file__) 14 angle_dir = os.path.normpath(os.path.join(script_dir, os.pardir)) 16 sys.path.append(os.path.join(angle_dir, 'third_party', 'gyp', 'pylib')) 29 # Add common.gypi to the include path. 30 args.append('-I' + os.path.join(script_dir, 'common.gypi')) 33 args.append(os.path.join(script_dir, 'all.gyp'))
|
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/common/system/ |
H A D | path.py | 38 def abspath_to_uri(platform, path): 39 """Converts a platform-specific absolute path to a file: URL.""" 40 return "file:" + _escape(_convert_path(platform, path)) 43 def cygpath(path): 44 """Converts an absolute cygwin path to an absolute Windows path.""" 45 return _CygPath.convert_using_singleton(path) 65 def convert_using_singleton(path): 75 return _CygPath._singleton.convert(path) 98 def convert(self, path) [all...] |
/external/chromium-trace/trace-viewer/third_party/closure_linter/closure_linter/ |
H A D | errorrecord.py | 33 path: Path to the file. 38 def __init__(self, path, error_string, new_error): 39 self.path = path 44 def MakeErrorRecord(path, error): 52 path: Path of file the error was found in. 61 error_string = erroroutput.GetUnixErrorOutput(path, error, new_error) 65 return ErrorRecord(path, error_string, new_error)
|
/external/chromium_org/chrome/browser/resources/chromeos/chromevox/ |
H A D | PRESUBMIT.py | 9 def FileFilter(path): 10 return (path.endswith('check_chromevox.py') or 11 path.endswith('jscompilerwrapper.py') or 12 path.endswith('jsbundler.py')) 21 sys.path.insert(0, input_api.os_path.join( 26 sys.path.pop(0)
|
/external/chromium_org/chromeos/settings/ |
H A D | cros_settings_provider.cc | 23 void CrosSettingsProvider::Set(const std::string& path, argument 29 !::StartsWithASCII(path, "cros.session.", true)) { 30 LOG(ERROR) << "Ignoring the guest request to change: " << path; 33 DoSet(path, value); 36 void CrosSettingsProvider::NotifyObservers(const std::string& path) { argument 38 notify_cb_.Run(path);
|
/external/chromium_org/third_party/closure_linter/closure_linter/ |
H A D | errorrecord.py | 33 path: Path to the file. 38 def __init__(self, path, error_string, new_error): 39 self.path = path 44 def MakeErrorRecord(path, error): 52 path: Path of file the error was found in. 61 error_string = erroroutput.GetUnixErrorOutput(path, error, new_error) 65 return ErrorRecord(path, error_string, new_error)
|
/external/chromium_org/third_party/libaddressinput/chromium/tools/ |
H A D | update-strings.py | 25 script_dir = os.path.dirname(os.path.realpath(__file__)) 26 from_file = os.path.abspath(os.path.join( 28 to_file = os.path.abspath(os.path.join(
|
/external/chromium_org/third_party/skia/tools/ |
H A D | reformat-json.py | 35 GM_DIRECTORY = os.path.realpath( 36 os.path.join(os.path.dirname(os.path.dirname(__file__)), 'gm')) 37 if GM_DIRECTORY not in sys.path: 38 sys.path.append(GM_DIRECTORY)
|
/external/skia/tools/ |
H A D | reformat-json.py | 35 GM_DIRECTORY = os.path.realpath( 36 os.path.join(os.path.dirname(os.path.dirname(__file__)), 'gm')) 37 if GM_DIRECTORY not in sys.path: 38 sys.path.append(GM_DIRECTORY)
|
/external/chromium_org/components/pref_registry/ |
H A D | pref_registry_syncable.cc | 77 void PrefRegistrySyncable::RegisterBooleanPref(const char* path, argument 80 RegisterSyncablePreference(path, 85 void PrefRegistrySyncable::RegisterIntegerPref(const char* path, argument 88 RegisterSyncablePreference(path, 93 void PrefRegistrySyncable::RegisterDoublePref(const char* path, argument 96 RegisterSyncablePreference(path, 101 void PrefRegistrySyncable::RegisterStringPref(const char* path, argument 104 RegisterSyncablePreference(path, 110 const char* path, 113 RegisterSyncablePreference(path, 109 RegisterFilePathPref( const char* path, const base::FilePath& default_value, PrefSyncStatus sync_status) argument 119 RegisterListPref(const char* path, PrefSyncStatus sync_status) argument 124 RegisterListPref(const char* path, base::ListValue* default_value, PrefSyncStatus sync_status) argument 130 RegisterDictionaryPref(const char* path, PrefSyncStatus sync_status) argument 135 RegisterDictionaryPref( const char* path, base::DictionaryValue* default_value, PrefSyncStatus sync_status) argument 142 RegisterLocalizedBooleanPref( const char* path, int locale_default_message_id, PrefSyncStatus sync_status) argument 153 RegisterLocalizedIntegerPref( const char* path, int locale_default_message_id, PrefSyncStatus sync_status) argument 164 RegisterLocalizedDoublePref( const char* path, int locale_default_message_id, PrefSyncStatus sync_status) argument 175 RegisterLocalizedStringPref( const char* path, int locale_default_message_id, PrefSyncStatus sync_status) argument 186 RegisterInt64Pref( const char* path, int64 default_value, PrefSyncStatus sync_status) argument 196 RegisterUint64Pref( const char* path, uint64 default_value, PrefSyncStatus sync_status) argument 206 RegisterSyncablePreference( const char* path, base::Value* default_value, PrefSyncStatus sync_status) argument [all...] |
H A D | pref_registry_syncable.h | 49 base::Callback<void(const char* path, const PrefSyncStatus sync_status)> 68 void RegisterBooleanPref(const char* path, 71 void RegisterIntegerPref(const char* path, 74 void RegisterDoublePref(const char* path, 77 void RegisterStringPref(const char* path, 80 void RegisterFilePathPref(const char* path, 83 void RegisterListPref(const char* path, 85 void RegisterDictionaryPref(const char* path, 87 void RegisterListPref(const char* path, 90 void RegisterDictionaryPref(const char* path, [all...] |
/external/chromium_org/chrome/browser/media_galleries/ |
H A D | media_scan_manager_unittest.cc | 148 // final path in |full_path|. 153 test_results_dir_.path().AppendASCII(root_relative_path); 157 // Create the specified path, and add it to preferences as a gallery. 168 gallery_info.path, 303 base::FilePath path; local 304 MakeTestFolder("found_media_folder", &path); 307 found_folders[path] = file_counts; 333 base::FilePath path; local 341 MakeTestFolder("A", &path); 342 MakeTestFolder("A/B", &path); 380 base::FilePath path; local 421 base::FilePath path; local 471 base::FilePath path; local 520 base::FilePath path; local 625 base::FilePath path; local 667 base::FilePath path; local 713 base::FilePath path; local [all...] |
/external/chromium_org/tools/grit/grit/tool/ |
H A D | buildinfo.py | 45 langs[output.attrs['lang']] = os.path.dirname(output.GetFilename()) 54 path = node.FileForLanguage(lang, dirname, create_file=False, 56 if path: 57 path = os.path.join(self.output_directory, path) 58 path = os.path.normpath(path) 59 print '%s|%s' % ('rc_all', path) [all...] |