/external/expat/conftools/ |
PrintPath | 2 # Look for program[s] somewhere in $PATH. 8 # Look in PATHNAME instead of $PATH 22 pathname=$PATH 47 # Next, we adjust PATH (or what was given to us as PATH) to 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} ] && [all...] |
/external/valgrind/main/none/tests/ |
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); [all...] |
/external/webkit/Source/WebKit/mac/Misc/ |
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;
|
WebNSFileManagerExtras.m | 65 // Get the pieces of the path. 91 CFStringRef path; 98 WKSetMetadataURL((NSString *)info->URLString, (NSString *)info->referrer, (NSString *)info->path); 104 if (info->path) 105 CFRelease(info->path); 113 - (void)_webkit_setMetadataURL:(NSString *)URLString referrer:(NSString *)referrer atPath:(NSString *)path 116 ASSERT(path); 134 info->path = path ? CFStringCreateCopy(0, (CFStringRef)path) : 0 [all...] |
/external/srec/portable/src/UNIX/ |
PANSIFileSystemUNIXImpl.c | 31 ESR_ReturnCode PANSIFileSystemGetVirtualPathImpl(PFileSystem* self, LCHAR* path, size_t* len) 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) [all...] |
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 ) 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 ) == 0 [all...] |
/external/webkit/Source/WebKit/wx/ |
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.join(wk_root, 'Source', 'WebCore', 'platform', 'graphics', 'wx') [all...] |
/external/webkit/Source/WebKit/wx/bindings/python/ |
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/Tools/Scripts/webkitpy/common/system/ |
path.py | 39 def abspath_to_uri(path, platform=None): 40 """Converts a platform-specific absolute path to a file: URL.""" 43 return "file:" + _escape(_convert_path(path, platform)) 46 def cygpath(path): 47 """Converts an absolute cygwin path to an absolute Windows path.""" 48 return _CygPath.convert_using_singleton(path) 68 def convert_using_singleton(path): 78 return _CygPath._singleton.convert(path) 101 def convert(self, path) [all...] |
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._CygPath._singleton.is_running() [all...] |
/external/webkit/Tools/Scripts/webkitpy/test/ |
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.split(rel_path [all...] |
/external/webkit/Source/WebCore/fileapi/ |
File.h | 40 static PassRefPtr<File> create(const String& path) 42 return adoptRef(new File(path)); 46 static PassRefPtr<File> create(const String& path, const KURL& srcURL, const String& type) 48 return adoptRef(new File(path, srcURL, type)); 52 static PassRefPtr<File> create(const String& relativePath, const String& path) 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, const KURL& srcURL, const String& type) [all...] |
/external/webkit/Source/WebCore/platform/ |
AsyncFileSystem.h | 71 // Opens a new file system. The create parameter specifies whether or not to create the path if it does not already exists. 84 // Deletes a file or directory at a given path. 88 virtual void remove(const String& path, PassOwnPtr<AsyncFileSystemCallbacks>) = 0; 90 // Recursively deletes a directory at a given path. 93 virtual void removeRecursively(const String& path, PassOwnPtr<AsyncFileSystemCallbacks>) = 0; 95 // Retrieves the metadata information of the file or directory at a given path. 98 virtual void readMetadata(const String& path, PassOwnPtr<AsyncFileSystemCallbacks>) = 0; 100 // Creates a file at a given path. If exclusive flag is true, it fails if the path already exists. 103 virtual void createFile(const String& path, bool exclusive, PassOwnPtr<AsyncFileSystemCallbacks>) = 0 [all...] |
/external/webkit/Source/WebKit/chromium/ |
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.join(script_dir, '*', 'supplement.gypi') [all...] |
/external/webkit/Tools/DumpRenderTree/ |
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/ |
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
|
/frameworks/base/cmds/installd/ |
utils.c | 19 int create_pkg_path_in_dir(char path[PKG_PATH_MAX], 39 char *dst = path; 42 if (append_and_increment(&dst, dir->path, &dst_size) < 0 45 ALOGE("Error building APK path"); 53 * Create the package path name for a given package name with a postfix for 56 int create_pkg_path(char path[PKG_PATH_MAX], 77 if (append_and_increment(&dst, android_data_dir.path, &dst_size) < 0 79 ALOGE("Error building prefix for APK path"); 86 ALOGW("Error appending UID to APK path"); 92 dir.path = prefix 326 const char* path = getenv(var); local [all...] |
/bionic/libc/kernel/tools/ |
utils.py | 45 return os.path.basename(sys.argv[0]) 48 return os.path.dirname(sys.argv[0]) 53 path = from_path 54 if path == None: 55 path = os.path.realpath(sys.argv[0]) 56 path = os.path.dirname(path) 57 D("this script seems to be located in: %s" % path) [all...] |
/external/chromium/chrome/browser/prefs/ |
pref_service.cc | 261 void PrefService::RegisterBooleanPref(const char* path, 263 RegisterPreference(path, Value::CreateBooleanValue(default_value)); 266 void PrefService::RegisterIntegerPref(const char* path, int default_value) { 267 RegisterPreference(path, Value::CreateIntegerValue(default_value)); 270 void PrefService::RegisterDoublePref(const char* path, double default_value) { 271 RegisterPreference(path, Value::CreateDoubleValue(default_value)); 274 void PrefService::RegisterStringPref(const char* path, 276 RegisterPreference(path, Value::CreateStringValue(default_value)); 279 void PrefService::RegisterFilePathPref(const char* path, 281 RegisterPreference(path, Value::CreateStringValue(default_value.value())) [all...] |
/external/chromium/chrome/browser/chromeos/ |
plugin_selection_policy_unittest.cc | 87 FilePath* path) { 92 if (path) 93 *path = policy_file; 99 FilePath policy_file(temp_dir_.path()); 110 FilePath path; local 111 ASSERT_TRUE(CreatePolicy("basic", kBasicPolicy, &path)); 113 EXPECT_TRUE(policy->InitFromFile(path)); 118 FilePath path; local 119 ASSERT_TRUE(CreatePolicy("basic", kBasicPolicy, &path)); 121 EXPECT_TRUE(policy->InitFromFile(path)); 125 FilePath path; local 132 FilePath path; local 139 FilePath path; local 146 FilePath path; local 153 FilePath path; local 160 FilePath path; local 167 FilePath path; local 175 FilePath path; local 216 FilePath path = GetPolicyPath("missing_file"); local 226 FilePath path; local [all...] |
/external/chromium/net/base/ |
net_util_win.cc | 33 std::string path; 36 // URL contains no host, the path is the filename. In this case, the path 39 path = url.path(); 40 size_t first_non_slash = path.find_first_not_of("/\\"); 42 path.erase(0, first_non_slash); 45 // on the path. 46 path = "\\\\"; 47 path.append(host) [all...] |
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
PathDestructionActivity.java | 23 import android.graphics.Path; 31 * scheme in particular, because we should be able to have the Java-level path finalized 32 * without destroying the underlying native path object until we are done referencing it 58 private Path getRandomPath() { 64 Path path = new Path(); local 65 path.moveTo(left, top); 66 path.lineTo(right, top); 67 path.lineTo(right, bottom) 82 Path path; local [all...] |
/external/chromium/chrome/common/extensions/docs/server/ |
chromeextensionsdocs.py | 26 def matchPath(self, path): 28 if path[0:len(match)] == match: 47 path = os.path.realpath(os.path.join('/', self.request.path)) 48 # special path to invoke the unit tests 50 if path == "/test": 55 if (path == "/chrome/extensions") or (path == "chrome/extensions/") [all...] |
/external/bluetooth/bluez/sap/ |
manager.c | 45 const char *path = adapter_get_path(adapter); local 48 DBG("path %s", path); 52 return sap_server_register(path, &src); 57 const char *path = adapter_get_path(adapter); local 59 DBG("path %s", path); 61 sap_server_unregister(path);
|
/external/chromium/chrome/common/extensions/ |
PRESUBMIT.py | 6 import os.path namespace 10 os.path.normpath("chrome/common/extensions/api"), 11 os.path.normpath("chrome/common/extensions/docs") 16 os.path.normpath("chrome/common/extensions/docs/server") 31 dir = os.path.normpath(input_api.os_path.dirname(f.LocalPath())) 37 dir = os.path.dirname(dir)
|