/external/fonttools/Windows/ |
fonttools-win-setup.iss | 53 // Article 44 - Native ISX procedures for PATH modification 63 pmAddToBeginning = $1; // Add dir to beginning of Path 64 pmAddToEnd = $2; // Add dir to end of Path 65 pmAddAllways = $4; // Add also if specified dir is already included in existing path 67 pmRemove = $10; // Remove dir from path 68 pmRemoveSubdirsAlso = $20; // Remove dir and all subdirs from path 71 psCurrentUser = 1; // Modify path for current user 72 psAllUsers = 2; // Modify path for all users 78 mpBothAddAndRemove = -3; // User has specified that dir should both be removed from and added to path 81 { Helper procedure: Split a path environment variable into individual dirnames [all...] |
/bionic/libc/kernel/tools/ |
kernel.py | 7 import sys, cpp, re, os.path, string, time namespace 29 # for path in <your list of files>: 30 # scanner.parseFile(path) 39 # corresponding to a non-bracketed path name, e.g.: 89 hdr_dir = os.path.realpath(os.path.dirname(from_file)) 90 hdr_dir = hdr_dir.replace("%s/" % os.path.realpath(kernel_root), 106 def parseFile(self, path, arch=None, kernel_root=None): 108 if not os.path.exists(path) [all...] |
/external/mesa3d/src/gallium/state_trackers/vega/ |
api_path.c | 31 #include "path.h" 64 void vegaClearPath(VGPath path, VGbitfield capabilities) 67 struct path *p = 0; 69 if (path == VG_INVALID_HANDLE) { 74 p = handle_to_path(path); 80 struct path *path = 0; local 88 path = handle_to_path(p); 89 path_destroy(path); 92 void vegaRemovePathCapabilities(VGPath path, [all...] |
/build/tools/atree/ |
fs.cpp | 21 is_dir(const string& path) 25 err = stat(path.c_str(), &st); 30 remove_file(const string& path) 32 int err = unlink(path.c_str()); 34 fprintf(stderr, "error deleting file %s (%s)\n", path.c_str(), 42 remove_recursively(const string& path) 46 if (is_dir(path)) { 47 DIR *d = opendir(path.c_str()); 50 path.c_str(), strerror(errno)); 63 string full = path; [all...] |
/development/tools/hosttestlib/src/com/android/hosttest/ |
DeviceTest.java | 41 * Retrieves host file system path that contains test app files 42 * @return {@link String} containing path, or <code>null</code> 47 * Sets host file system path that contains test app files 48 * @param path absolute file system path to test data files 50 public void setTestAppPath(String path);
|
/external/autotest/client/common_lib/ |
logs_to_collect | 3 # the full path to this file, chromeos-install will attempt to collect these 6 # This is the relative path to mounted stateful partition. Files in this folder 8 # value set to the full path of this logs_to_collect file. 9 # crash collect will ignore this path as it does not exist without specifying 13 # The is the absolute path for autotest results folder. This path will be used
|
/external/chromium-trace/catapult/catapult_build/ |
remove_stale_pyc_files.py | 16 root, ext = os.path.splitext(filename) 20 pyc_path = os.path.join(dirname, filename) 21 py_path = os.path.join(dirname, root + '.py') 24 if not os.path.exists(py_path): 38 for path in sys.argv[1:]: 39 RemoveAllStalePycFiles(path)
|
temp_deployment_dir.py | 29 if os.path.isdir(src): 37 for path in paths: 38 destination = os.path.join(deployment_dir, os.path.basename(path)) 39 link_func(path, destination)
|
/external/chromium-trace/catapult/systrace/systrace/tracing_agents/ |
atrace_from_file_agent_unittest.py | 15 TEST_DIR = os.path.join(os.path.dirname(__file__), '..', 'test_data') 17 COMPRESSED_ATRACE_DATA = os.path.join(TEST_DIR, 'compressed_atrace_data.txt') 18 DECOMPRESSED_ATRACE_DATA = os.path.join(TEST_DIR, 20 NON_EXISTENT_DATA = os.path.join(TEST_DIR, 'THIS_FILE_DOES_NOT_EXIST.txt') 43 if os.path.exists(output_file_name):
|
/external/chromium-trace/catapult/telemetry/telemetry/internal/platform/ |
linux_platform_backend_unittest.py | 17 path = os.path.join(util.GetUnittestDataDir(), 'ubuntu-saucy-lsb-release') 18 with open(path) as f: 30 path = os.path.join(util.GetUnittestDataDir(), 'arch-lsb-release') 31 with open(path) as f:
|
/external/chromium-trace/catapult/telemetry/third_party/modulegraph/modulegraph_tests/ |
test_relimport2.py | 18 self.root = os.path.join( 19 os.path.dirname(os.path.abspath(__file__)), 21 self.mf = modulegraph.ModuleGraph(path=[ self.root ] + sys.path) 25 self.mf.run_script(os.path.join(self.root, 'pkg/__init__.py'))
|
/external/chromium-trace/catapult/telemetry/third_party/pyserial/serial/tools/ |
list_ports_linux.py | 66 """given a path to a usb device in sysfs, return a string describing it""" 67 bus, dev = os.path.basename(os.path.realpath(sysfs_path)).split('-') 80 base = os.path.basename(os.path.realpath(sysfs_path)) 83 dev = int(read_line(os.path.join(sysfs_path, 'devnum'))) 103 base = os.path.basename(device) 106 if os.path.exists(sys_dev_path): 107 sys_usb = os.path.dirname(os.path.dirname(os.path.realpath(sys_dev_path)) [all...] |
/external/chromium-trace/catapult/third_party/Paste/tests/ |
test_cgiapp.py | 7 data_dir = os.path.join(os.path.dirname(__file__), 'cgiapp_data') 12 app = TestApp(CGIApplication({}, script='ok.cgi', path=[data_dir])) 19 app = TestApp(CGIApplication({}, script='form.cgi', path=[data_dir])) 27 app = TestApp(CGIApplication({}, script='error.cgi', path=[data_dir])) 31 app = TestApp(CGIApplication({}, script='stderr.cgi', path=[data_dir]))
|
/external/chromium-trace/catapult/third_party/WebOb/docs/wiki-example-code/ |
example.py | 58 self.storage_dir = os.path.abspath(os.path.normpath(storage_dir)) 74 def get_page(self, path): 75 path = path.lstrip('/') 76 if not path: 77 path = 'index' 78 path = os.path.join(self.storage_dir, path) [all...] |
/external/chromium-trace/catapult/tracing/tracing_build/ |
trace2html_unittest.py | 24 simple_trace_path = os.path.join( 25 os.path.dirname(__file__), 27 big_trace_path = os.path.join( 28 os.path.dirname(__file__), 30 non_json_trace_path = os.path.join( 31 os.path.dirname(__file__),
|
/external/curl/tests/data/ |
test7 | 19 Set-Cookie: foobar=name; domain=127.0.0.1; path=/; 20 Set-Cookie: mismatch=this; domain=127.0.0.1; path="/silly/"; 21 Set-Cookie: partmatch=present; domain=.0.0.1; path=/; 56 Set-Cookie: foobar=name; domain=127.0.0.1; path=/; 57 Set-Cookie: mismatch=this; domain=127.0.0.1; path="/silly/"; 58 Set-Cookie: partmatch=present; domain=.0.0.1; path=/;
|
/external/fio/lib/ |
linux-dev-lookup.c | 10 int blktrace_lookup_device(const char *redirect, char *path, unsigned int maj, 18 D = opendir(path); 28 sprintf(full_path, "%s%s%s", path, FIO_OS_PATH_SEPARATOR, dir->d_name); 38 strcpy(path, full_path); 52 strcpy(path, redirect); 58 strcpy(path, full_path);
|
/external/icu/icu4c/source/common/ |
ures_cnv.c | 34 char *path = pathBuffer; local 40 path = NULL; 52 u_UCharsToChars(myPath, path, length+1); /* length+1 to include the NUL */ 57 length=ucnv_fromUChars(cnv, path, (int32_t)sizeof(pathBuffer), myPath, length, status); 63 /* not NUL-terminated - path too long */ 75 return ures_open(path, localeID, status);
|
/external/icu/icu4c/source/test/perf/perldriver/ |
Common.pl.template | 12 $PerformanceDataPath = ""; #Change to Performance Data Path 14 $ICULatest = ""; # Change to path of latest ICU (e.g. /home/user/Desktop/icu-4.0) 15 $ICUPrevious = ""; # Change to path of previous ICU 21 $CollationDataPath = $PerformanceDataPath."/collation"; # Collation Performance Data Path 22 $ConversionDataPath = $PerformanceDataPath."/conversion"; # Conversion Performance Data Path 23 $UDHRDataPath = $PerformanceDataPath."/udhr"; # UDHR Performance Data Path
|
/external/libbrillo/brillo/ |
file_utils.cc | 49 kFailure = 0, // Failed to delete whatever was at the path. 51 kEmpty = 2 // Anything that was at the path has been deleted. 54 // Checks if a regular file owned by |uid| and |gid| exists at |path|, otherwise 55 // deletes anything that might be at |path|. Returns a RegularFileOrDeleteResult 56 // enum indicating what is at |path| after the function finishes. 57 RegularFileOrDeleteResult RegularFileOrDelete(const base::FilePath& path, 63 AT_FDCWD, path.value().c_str(), O_RDONLY | O_CLOEXEC | O_NOFOLLOW))); 66 // If there is a file/directory at |path|, see if it matches our criteria. 76 // If we get here and anything was at |path|, try to delete it so we can put 79 if (!base::DeleteFile(path, true)) [all...] |
/external/libxml2/result/SVG/ |
marker.xml | 6 <path d="M 0 0 L 0 100 L 100 50 z"/> 11 <path d="M0 0"> 13 beginning of the path --> 16 <!-- Turn off markers in the middle of the path --> 19 <!-- Place an arrowhead at the end of the path--> 22 </path>
|
/external/libxml2/test/SVG/ |
marker.xml | 8 <path d="M 0 0 L 0 100 L 100 50 z"/>
13 <path d="M0 0">
15 beginning of the path -->
20 <!-- Turn off markers in the middle of the path -->
24 <!-- Place an arrowhead at the end of the path-->
27 </path>
|
/external/libyuv/files/ |
download_vs_toolchain.py | 20 checkout_root = os.path.dirname(os.path.realpath(__file__)) 21 sys.path.insert(0, os.path.join(checkout_root, 'build')) 22 sys.path.insert(0, os.path.join(checkout_root, 'tools', 'find_depot_tools'))
|
/external/mockftpserver/MockFtpServer/src/test/groovy/org/mockftpserver/fake/filesystem/ |
TestUnixFakeFileSystem.groovy | 47 List listNames(String path) {
51 super.listNames(path)
54 List listFiles(String path) {
58 super.listFiles(path)
61 boolean delete(String path) {
65 super.delete(path)
|
/external/nanopb-c/tests/site_scons/site_tools/ |
nanopb.py | 19 the nanopb generator by a relative path. If this script is used in another 20 application, the path to nanopb root directory has to be defined: 22 env.SetDefault(NANOPB = "path/to/nanopb") 24 Additionally, the path to protoc and the options to give to protoc can be 27 env.SetDefault(PROTOC = "path/to/protoc") 28 env.SetDefault(PROTOCFLAGS = "--plugin=protoc-gen-nanopb=path/to/protoc-gen-nanopb") 34 import os.path namespace 41 '''Find the path to nanopb root directory.''' 46 p = os.path.abspath(os.path.join(os.path.dirname(__file__), '..', '..', '..') [all...] |