/external/chromium/chrome/browser/chromeos/ |
H A D | cros_settings.h | 35 // Helper function to test if given path is a value cros settings name. 36 static bool IsCrosSettings(const std::string& path); 38 // Sets |in_value| to given |path| in cros settings. 40 void Set(const std::string& path, Value* in_value); 43 void FireObservers(const char* path); 45 // Gets settings value of given |path| to |out_value|. 47 bool Get(const std::string& path, Value** out_value) const; 50 // value at that path, even if it has a different type. 51 void SetBoolean(const std::string& path, bool in_value); 52 void SetInteger(const std::string& path, in [all...] |
/external/ant-glob/src/org/apache/tools/ant/util/ |
H A D | FileUtils.java | 28 * referred to using abstract path names which are translated to native 107 * Verifies that the specified filename represents an absolute path. 108 * Differs from new java.io.File("filename").isAbsolute() in that a path 110 * at minimum match "\\a\b" to be considered an absolute path. 112 * @return true if the filename represents an absolute path. 143 * Dissect the specified absolute path. 144 * @param path the path to dissect. 145 * @return String[] {root, remaining path}. 146 * @throws java.lang.NullPointerException if path i 149 dissect(String path) argument [all...] |
/external/chromium/chrome/browser/net/ |
H A D | file_system_url_request_job_factory.cc | 21 const std::string path = request->url().path(); local 23 // If the path ends with a /, we know it's a directory. If the path refers 26 if (!path.empty() && path[path.size() - 1] == '/') {
|
/external/linux-tools-perf/util/ |
H A D | path.c | 15 static char bad_path[] = "/bad-path/"; 47 static char *cleanup_path(char *path) argument 50 if (!memcmp(path, "./", 2)) { 51 path += 2; 52 while (*path == '/') 53 path++; 55 return path; 80 char path[PATH_MAX]; local 83 (void)perf_vsnpath(path, sizeof(path), fm 124 chomp_trailing_dir_sep(const char *path, int len) argument 136 strip_path_suffix(const char *path, const char *suffix) argument [all...] |
/external/llvm/lib/Support/ |
H A D | Program.cpp | 26 Program::ExecuteAndWait(const Path& path, argument 34 if (prg.Execute(path, args, envp, redirects, memoryLimit, ErrMsg)) 35 return prg.Wait(path, secondsToWait, ErrMsg); 41 Program::ExecuteNoWait(const Path& path, argument 48 prg.Execute(path, args, envp, redirects, memoryLimit, ErrMsg);
|
/external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/util/ |
H A D | Path.java | 40 private static String createPath(Box box, String path) { argument 42 return path; 46 path = String.format("/%s[%d]", box.getType(), index) + path; 48 return createPath(box.getParent(), path); 52 public static Box getPath(Box box, String path) { argument 53 List<Box> all = getPaths(box, path); 58 public static List<Box> getPaths(Box box, String path) { argument 59 if (path.startsWith("/")) { 65 return getPaths(isoFile, path 111 isContained(Box box, String path) argument [all...] |
/external/webkit/Source/WebCore/svg/ |
H A D | SVGPolygonElement.cpp | 40 void SVGPolygonElement::toPathData(Path& path) const 42 ASSERT(path.isEmpty()); 48 path.moveTo(points.first()); 52 path.addLineTo(points.at(i)); 54 path.closeSubpath();
|
/external/webkit/Source/WebKit/android/plugins/ |
H A D | ANPPathInterface.cpp | 34 static void anp_deletePath(ANPPath* path) { argument 35 delete path; 46 static void anp_reset(ANPPath* path) { argument 47 path->reset(); 50 static bool anp_isEmpty(const ANPPath* path) { argument 51 return path->isEmpty(); 54 static void anp_getBounds(const ANPPath* path, ANPRectF* bounds) { argument 55 SkANP::SetRect(bounds, path->getBounds()); 58 static void anp_moveTo(ANPPath* path, float x, float y) { argument 59 path 62 anp_lineTo(ANPPath* path, float x, float y) argument 66 anp_quadTo(ANPPath* path, float x0, float y0, float x1, float y1) argument 71 anp_cubicTo(ANPPath* path, float x0, float y0, float x1, float y1, float x2, float y2) argument 78 anp_close(ANPPath* path) argument 82 anp_offset(ANPPath* path, float dx, float dy, ANPPath* dst) argument [all...] |
/external/webkit/Tools/Scripts/webkitpy/test/ |
H A D | echo.py | 23 import os.path namespace 26 # Add WebKitTools/Scripts to the path to ensure we can find webkitpy. 27 sys.path.append(os.path.dirname(os.path.dirname(os.path.dirname(__file__))))
|
H A D | main.py | 48 unittest_path = os.path.join(dir_path, file_name) 55 package_path = os.path.abspath(package_root) 56 root_package_name = os.path.split(package_path)[1] # Equals "webkitpy". 61 for path in paths: 62 path = os.path.abspath(path) 64 rel_path = path[prefix_length:] 66 rel_path = os.path.splitext(rel_path)[0] 70 (rel_path, tail) = os.path [all...] |
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.apache.ant_1.7.1.v20090120-1145/bin/ |
H A D | antenv.cmd | 74 parse arg path elem 76 if path\='' & right(path, 1)\=';' then path = path || ';' 77 return path 79 if substr(path, length(path)) = ';' then glue = '' 81 if pos(translate(elem), translate(path)) = 0 then path [all...] |
/external/icu4c/common/ |
H A D | resbund_cnv.cpp | 25 ResourceBundle::ResourceBundle( const UnicodeString& path, argument 30 constructForLocale(path, locale, error); 33 ResourceBundle::ResourceBundle( const UnicodeString& path, argument 37 constructForLocale(path, Locale::getDefault(), error); 41 ResourceBundle::constructForLocale(const UnicodeString& path, argument 45 if (path.isEmpty()) { 49 UnicodeString nullTerminatedPath(path);
|
/external/expat/conftools/ |
H A D | PrintPath | 93 for path in $pathname 95 if [ $test_exec_flag $path/${program}${ext} ] && \ 96 [ ! -d $path/${program}${ext} ]; then 98 echo $path/${program}${ext} 105 if [ $test_exec_flag $path/${program} ] && \ 106 [ ! -d $path/${program} ]; then 108 echo $path/${program}
|
/external/valgrind/main/none/tests/ |
H A D | procfs-cmdline-exe.c | 21 const char* const path) 27 fd = open(path, 0); 49 const char* const path) 55 if ((n = readlink(path, buf, sizeof(buf) - 1)) >= 0) 68 const char* const path) 75 if ((n = readlinkat(AT_FDCWD, path, buf, sizeof(buf) - 1)) >= 0) 94 char path[512]; local 101 snprintf(path, sizeof(path), "/proc/%d/cmdline", getpid()); 104 test_cmdline(cwd, "/proc/<pid>/cmdline", path); 20 test_cmdline(const char* const cwd, const char* const label, const char* const path) argument 48 test_readlink(const char* const cwd, const char* const label, const char* const path) argument 67 test_readlinkat(const char* const cwd, const char* const label, const char* const path) argument [all...] |
/external/webkit/Source/WebKit/mac/Misc/ |
H A D | WebNSFileManagerExtras.h | 32 - (void)_webkit_setMetadataURL:(NSString *)URLString referrer:(NSString *)referrer atPath:(NSString *)path; 34 - (NSString *)_webkit_pathWithUniqueFilenameForPath:(NSString *)path; 40 - (NSArray *)contentsOfDirectoryAtPath:(NSString *)path error:(NSError **)error; 42 - (BOOL)removeItemAtPath:(NSString *)path error:(NSError **)error; 43 - (NSDictionary *)attributesOfFileSystemForPath:(NSString *)path error:(NSError **)error; 44 - (NSString *)destinationOfSymbolicLinkAtPath:(NSString *)path error:(NSError **)error; 45 - (NSDictionary *)attributesOfItemAtPath:(NSString *)path error:(NSError **)error;
|
/external/srec/portable/src/UNIX/ |
H A D | PANSIFileSystemUNIXImpl.c | 31 ESR_ReturnCode PANSIFileSystemGetVirtualPathImpl(PFileSystem* self, LCHAR* path, size_t* len) argument 43 CHKLOG(rc, lstrtrim(path)); 44 CHKLOG(rc, PFileSystemCanonicalSlashes(path)); 45 CHKLOG(rc, PFileSystemIsAbsolutePath(path, &isAbsolute)); 46 if (isAbsolute && path[0] != L('/')) 49 driveLetter = path[0]; 50 LSTRCPY(path, path + 2); 56 if (LSTRSTR(path, value)==path) 91 PANSIFileSystemMkdirImpl(PFileSystem* self, const LCHAR* path) argument 120 PANSIFileSystemGetcwdImpl(PFileSystem* self, LCHAR* path, size_t* len) argument 150 PANSIFileSystemChdirImpl(PFileSystem* self, const LCHAR* path) argument [all...] |
H A D | PFileWrapUNIX_OS_Specific.c | 31 ESR_ReturnCode pf_make_dir ( const LCHAR* path ) 35 passert(path!=NULL); 37 if ( mkdir ( path, S_IRWXU|S_IRWXG|S_IRWXO ) == 0) 64 ESR_ReturnCode pf_get_cwd ( LCHAR* path, size_t *len ) argument 68 if ( path != NULL ) 70 if ( getcwd ( path, *len ) != NULL) 104 ESR_ReturnCode pf_change_dir ( const LCHAR* path ) 108 passert ( path != NULL ); 109 passert ( *path != '\0' ); 111 if ( chdir ( path ) [all...] |
/external/webkit/Source/WebKit/wx/ |
H A D | wscript | 33 os.path.join(wk_root, 'Source', 'JavaScriptCore'), 34 os.path.join(wk_root, 'Source', 'WebCore'), 35 os.path.join(wk_root, 'Source', 'WebCore', 'bindings', 'wx'), 36 os.path.join(wk_root, 'Source', 'WebCore', 'DerivedSources'), 37 os.path.join(output_dir), 38 os.path.join(wk_root, 'Source', 'WebCore', 'page', 'wx'), 39 os.path.join(wk_root, 'Source', 'WebCore', 'platform', 'network', 'curl'), 40 os.path.join(wk_root, 'Source', 'WebCore', 'platform', 'wx'), 41 os.path.join(wk_root, 'Source', 'WebCore', 'platform', 'bridge', 'wx'), 42 os.path [all...] |
/external/chromium/chrome/browser/extensions/ |
H A D | extension_browsertest.h | 29 const Extension* LoadExtension(const FilePath& path); 32 const Extension* LoadExtensionIncognito(const FilePath& path); 36 const Extension* LoadExtensionNoFileAccess(const FilePath& path); 39 const Extension* LoadExtensionIncognitoNoFileAccess(const FilePath& path); 42 bool LoadExtensionAsComponent(const FilePath& path); 44 // Pack the extension in |dir_path| into a crx file and return its path. 52 bool InstallExtension(const FilePath& path, int expected_change) { argument 53 return InstallOrUpdateExtension("", path, INSTALL_UI_TYPE_NONE, 59 bool UpdateExtension(const std::string& id, const FilePath& path, argument 61 return InstallOrUpdateExtension(id, path, INSTALL_UI_TYPE_NON 67 InstallExtensionWithUI(const FilePath& path, int expected_change) argument 71 InstallExtensionWithUIAutoConfirm(const FilePath& path, int expected_change, Profile* profile) argument 79 StartInstallButCancel(const FilePath& path) argument [all...] |
/external/webkit/Source/WebKit/wx/bindings/python/ |
H A D | wscript | 33 os.path.join(wk_root, 'Source', 'JavaScriptCore'), 34 os.path.join(wk_root, 'Source', 'WebCore', 'bindings', 'cpp'), 35 os.path.join(wk_root, 'Source', 'WebCore', 'DerivedSources'), 36 os.path.join(wk_root, 'Source', 'WebKit', 'wx'), 37 os.path.join(wx_root, 'wxPython', 'include'), 38 os.path.join(wx_root, '..', 'wxPython', 'include'), 51 fullpath = os.path.join(wx_root, adir) 52 if os.path.exists(fullpath): 72 if os.path.exists(wxpy_include):
|
/external/webkit/Source/WebCore/fileapi/ |
H A D | File.h | 40 static PassRefPtr<File> create(const String& path) argument 42 return adoptRef(new File(path)); 46 static PassRefPtr<File> create(const String& path, const KURL& srcURL, const String& type) argument 48 return adoptRef(new File(path, srcURL, type)); 52 static PassRefPtr<File> create(const String& relativePath, const String& path) argument 54 return adoptRef(new File(relativePath, path)); 61 const String& path() const { return m_path; } function in class:WebCore::File 65 // Returns the relative path of this file in the context of a directory selection. 77 File(const String& path); 80 File(const String& path, cons [all...] |
/external/webkit/Source/WebKit/chromium/ |
H A D | gyp_webkit | 38 script_dir = os.path.dirname(__file__) 40 sys.path.append(os.path.join(script_dir, 'tools', 'gyp', 'pylib')) 55 specified_includes.add(os.path.realpath(arg[2:])) 58 def AddInclude(path): 59 if os.path.realpath(path) not in specified_includes: 60 result.append(path) 63 AddInclude(os.path.join(script_dir, 'build', 'common.gypi')) 66 supplements = glob.glob(os.path [all...] |
/external/webkit/Tools/DumpRenderTree/ |
H A D | wscript | 33 os.path.join(output_dir), 34 os.path.join(wk_root, 'Source', 'JavaScriptCore'), 35 os.path.join(wk_root, 'Source', 'WebCore'), 36 os.path.join(wk_root, 'Source', 'WebCore', 'bindings', 'wx'), 37 os.path.join(wk_root, 'Source', 'WebKit', 'wx'),
|
/external/webkit/Tools/Scripts/ |
H A D | roll-over-ChangeLogs | 37 `find . -type f -name 'ChangeLog'`.split.each do |path| 38 next unless File.stat(path).size > CHANGELOG_SIZE_THRESHOLD 40 old_path = "#{path}#{date_suffix}" 41 puts "Moving #{path} to #{old_path}..." 42 system "git", "mv", path, old_path 43 File.open path, "w" do |file| 46 system "git", "add", path
|
/external/webkit/Tools/Scripts/webkitpy/common/system/ |
H A D | path_unittest.py | 32 import path namespace 39 self.assertEqual(path.abspath_to_uri(test_path, platform=platform), 49 self.assertEqual(path.abspath_to_uri('/cygdrive/c/foo/bar.html', 57 self.assertEqual(path.abspath_to_uri("/foo/bar.html", 65 self.assertEqual(path.abspath_to_uri("/foo/bar.html", 73 self.assertEqual(path.abspath_to_uri("c:\\foo\\bar.html", 95 path.cygpath("/cygdrive/c/foo.txt") 96 self.assertTrue(path._CygPath._singleton.is_running()) 99 path._CygPath.stop_cygpath_subprocess() 102 self.assertFalse(path [all...] |