/third_party/rust/crates/cxx/gen/cmd/src/gen/ |
H A D | include.rs | 14 /// The header's path, not including the enclosing quotation marks or angle 16 pub path: String, 17 /// Whether to emit `#include "path"` or `#include <path>`. 58 .any(|header| header.path == "rust/cxx.h" || header.path == "rust\\cxx.h") in has_cxx_header() 75 writeln!(out, "#include \"{}\"", include.path.escape_default()); 78 writeln!(out, "#include <{}>", include.path); 186 path: include.path in from() [all...] |
/third_party/python/Tools/scripts/ |
H A D | pep384_macrocheck.py | 32 name = os.path.join(startpath, search) 33 if not os.path.exists(name): 35 "Please give the path to Python's include directory." 48 name = os.path.join(startpath, include) 49 if not os.path.exists(name): 50 name = os.path.join(startpath, "../PC", include)
|
/third_party/python/Tools/ssl/ |
H A D | make_ssl_data.py | 8 - the path to the OpenSSL source tree (e.g. git checkout) 9 - the path to the header file to be generated Modules/_ssl_data_{version}.h 101 args.err_h = os.path.join(args.srcdir, "include", "openssl", "err.h") 102 if not os.path.isfile(args.err_h): 105 args.errcodes = os.path.join(args.srcdir, "crypto", "err", "openssl.ec") 106 args.errtxt = os.path.join(args.srcdir, "crypto", "err", "openssl.txt") 108 if not os.path.isfile(args.errtxt):
|
/third_party/rust/crates/cxx/gen/build/src/gen/ |
H A D | include.rs | 14 /// The header's path, not including the enclosing quotation marks or angle 16 pub path: String, 17 /// Whether to emit `#include "path"` or `#include <path>`. 58 .any(|header| header.path == "rust/cxx.h" || header.path == "rust\\cxx.h") in has_cxx_header() 75 writeln!(out, "#include \"{}\"", include.path.escape_default()); 78 writeln!(out, "#include <{}>", include.path); 186 path: include.path in from() [all...] |
/third_party/python/Lib/distutils/tests/ |
H A D | test_bdist_rpm.py | 52 # import foo fails with safe path 54 'PYTHONSAFEPATH changes default sys.path') 59 pkg_dir = os.path.join(tmp_dir, 'foo') 82 dist_created = os.listdir(os.path.join(pkg_dir, 'dist')) 99 # import foo fails with safe path 101 'PYTHONSAFEPATH changes default sys.path') 106 pkg_dir = os.path.join(tmp_dir, 'foo') 128 dist_created = os.listdir(os.path.join(pkg_dir, 'dist')) 135 os.remove(os.path.join(pkg_dir, 'dist', 'foo-0.1-1.noarch.rpm'))
|
H A D | test_config_cmd.py | 36 this_file = os.path.splitext(__file__)[0] + '.py' 83 f1 = os.path.join(tmp_dir, 'one') 84 f2 = os.path.join(tmp_dir, 'two') 90 self.assertTrue(os.path.exists(f)) 97 self.assertFalse(os.path.exists(f))
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/DebugInfo/PDB/ |
H A D | PDBSymbolCompiland.cpp | 29 return sys::path::filename(getSourceFileFullPath()).str(); in getSourceFileName() 35 // RecordedResult could be the basename, relative path or full path of the in getSourceFileFullPath() 56 if (sys::path::is_absolute(EnvSrc)) in getSourceFileFullPath() 67 // We will return it as full path if we can't find a better one. in getSourceFileFullPath() 68 if (sys::path::is_absolute(Path)) in getSourceFileFullPath() 76 if (sys::path::is_absolute(RecordedResult)) in getSourceFileFullPath() 95 auto file_extension = sys::path::extension(FileName); in getSourceFileFullPath()
|
/third_party/skia/third_party/externals/microhttpd/src/examples/ |
H A D | spdy_response_with_callback.c | 82 const char *path, in standard_request_handler() 101 printf("received request for '%s %s %s'\n", method, path, version); in standard_request_handler() 102 if(strcmp(path,"/spdy-draft.txt")==0) in standard_request_handler() 123 if(strcmp(path,"/close")==0) in standard_request_handler() 144 void *clspath = strdup(path); in standard_request_handler() 78 standard_request_handler(void *cls, struct SPDY_Request * request, uint8_t priority, const char *method, const char *path, const char *version, const char *host, const char *scheme, struct SPDY_NameValue * headers, bool more) standard_request_handler() argument
|
/third_party/skia/third_party/externals/angle2/third_party/logdog/logdog/ |
H A D | streamname.py | 116 """StreamPath is a full stream path. 120 When constructed with parse or make, the stream path must be completely valid. 134 ValueError: If path is not a full, valid stream path string. 141 def parse(cls, path): 145 path (str): the full stream path to parse. 148 ValueError: If path is not a full, valid stream path string. 150 parts = path [all...] |
/third_party/python/Lib/distutils/command/ |
H A D | build.py | 46 "specify final destination interpreter path (build.py)"), 96 self.build_purelib = os.path.join(self.build_base, 'lib') 98 self.build_platlib = os.path.join(self.build_base, 113 self.build_temp = os.path.join(self.build_base, 116 self.build_scripts = os.path.join(self.build_base, 120 self.executable = os.path.normpath(sys.executable)
|
/third_party/typescript/tests/baselines/reference/ |
H A D | declarationEmitLocalClassDeclarationMixin.js | 19 abstract match(path: string): boolean; 27 match(path: string) { 90 FilteredThing.prototype.match = function (path) {
108 match(path: string): boolean;
112 match(path: string): boolean;
|
/third_party/rust/crates/clap/clap_complete/src/shells/ |
H A D | shell.rs | 2 use std::path::Path; 95 /// Parse a shell from a path to the executable for the shell 106 pub fn from_shell_path<P: AsRef<Path>>(path: P) -> Option<Shell> { in from_shell_path() 107 parse_shell_from_path(path.as_ref()) in from_shell_path() 145 fn parse_shell_from_path(path: &Path) -> Option<Shell> { in parse_shell_from_path() 146 let name = path.file_stem()?.to_str()?; in parse_shell_from_path()
|
/third_party/rust/crates/cxx/gen/lib/src/gen/ |
H A D | include.rs | 14 /// The header's path, not including the enclosing quotation marks or angle 16 pub path: String, 17 /// Whether to emit `#include "path"` or `#include <path>`. 58 .any(|header| header.path == "rust/cxx.h" || header.path == "rust\\cxx.h") in has_cxx_header() 75 writeln!(out, "#include \"{}\"", include.path.escape_default()); 78 writeln!(out, "#include <{}>", include.path); 186 path: include.path in from() [all...] |
/third_party/skia/third_party/externals/abseil-cpp/ |
H A D | generate_def_files.py | 93 os.path.join(out_dir, 'obj', 'third_party', 'abseil-cpp')): 95 obj_files.extend((os.path.join(root, f) for f in matched_files)) 143 def_file = os.path.join('third_party', 'abseil-cpp', 146 def_file = os.path.join('third_party', 'abseil-cpp', 167 if not os.getcwd().endswith('src') or not os.path.exists('chrome/browser'):
|
/third_party/skia/modules/canvaskit/npm_build/ |
H A D | node.example.js | 3 const path = require('path'); 5 const assetPath = path.join(__dirname, '..', 'tests', 'assets'); 13 let img = fs.readFileSync(path.join(assetPath, 'mandrill_512.png')); 16 let fontData = fs.readFileSync(path.join(assetPath, 'Roboto-Regular.woff')); 57 let robotoData = fs.readFileSync(path.join(assetPath, 'Roboto-Regular.woff'));
|
/third_party/skia/experimental/c-api-example/ |
H A D | skia-c-example.c | 25 static void emit_png(const char* path, sk_surface_t* surface) { in emit_png() argument 29 FILE* f = fopen(path, "wb"); in emit_png() 60 sk_path_t* path = sk_pathbuilder_detach_path(path_builder); in draw() local 61 sk_canvas_draw_path(canvas, path, stroke); in draw() 72 sk_path_delete(path); in draw()
|
/third_party/skia/build/fuchsia/ |
H A D | update_fuchsia_sdk | 81 if os.path.exists(curr_dir): 88 if not os.path.exists(sdk_dir): 90 if not os.path.exists(clang_dir): 94 if (not os.access(sdk_dir, os.W_OK)) or (not os.path.isdir(sdk_dir)): 96 if (not os.access(clang_dir, os.W_OK)) or (not os.path.isdir(clang_dir)):
|
/third_party/rust/crates/os_str_bytes/tests/ |
H A D | common.rs | 16 use std::path::Path; 17 use std::path::PathBuf; 57 let path = PathBuf::from_raw_vec(string.clone()); 58 test_from_bytes::<Path, _, _>(&path, string); 59 assert_eq!(os_string, path.map(PathBuf::into_os_string));
|
/third_party/skia/buildtools/checkdeps/ |
H A D | proto_checker.py | 41 """Checks if the given path is a valid path starting from |_root_dir|.""" 45 return os.path.isdir(self._root_dir + "/" + match.group(1)) 76 dependee_dir = os.path.dirname(dependee_path) 77 import_path = os.path.join(dependee_dir, import_path) 78 import_path = os.path.relpath(import_path, self._root_dir) 113 """Returns True iff the given path ends in one of the extensions 116 return os.path.splitext(file_path)[1] in ProtoChecker.EXTENSIONS 119 """Check if the new #include file path should be presubmit checked. 122 file_path: file path t [all...] |
/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_bundle_installer_proxy_test/ |
H A D | bms_bundle_installer_proxy_test.cpp | 484 std::string path = "path"; in HWTEST_F() local 486 auto res = bundleInstallerProxy.WriteFile(path, outputFd); in HWTEST_F() 500 std::string path = "/"; in HWTEST_F() local 502 auto res = bundleInstallerProxy.WriteFile(path, outputFd); in HWTEST_F() 517 std::string path = "path"; in HWTEST_F() local 518 auto res = bundleInstallerProxy.WriteHapFileToStream(streamInstaller, path); in HWTEST_F() 538 std::string path = "/"; in HWTEST_F() local 539 auto res = bundleInstallerProxy.WriteHapFileToStream(streamInstaller, path); in HWTEST_F() 554 std::string path = "path"; HWTEST_F() local 576 std::string path = "/"; HWTEST_F() local 593 std::string path = "path"; HWTEST_F() local 615 std::string path = "/"; HWTEST_F() local 632 std::string path = "path"; HWTEST_F() local 654 std::string path = "/"; HWTEST_F() local [all...] |
/foundation/bundlemanager/bundle_framework_lite/services/bundlemgr_lite/src/ |
H A D | bundle_util.cpp | 74 * path should not include ".." or "./" or ".\0" 76 bool BundleUtil::CheckRealPath(const char *path) in CheckRealPath() argument 78 if (path == nullptr) { in CheckRealPath() 80 HILOG_ERROR(HILOG_MODULE_AAFWK, "[BMS] CheckRealPath path null"); in CheckRealPath() 84 if (strlen(path) > PATH_LENGTH) { in CheckRealPath() 86 HILOG_ERROR(HILOG_MODULE_AAFWK, "[BMS] CheckRealPath path too long:%d", strlen(path)); in CheckRealPath() 90 char *next = const_cast<char *>(path); in CheckRealPath() 98 HILOG_ERROR(HILOG_MODULE_AAFWK, "[BMS] CheckRealPath path fail:%d", *next); in CheckRealPath() 106 bool BundleUtil::IsFile(const char *path) in IsFile() argument 130 IsDir(const char *path) IsDir() argument 375 GetJsonStream(const char *path) GetJsonStream() argument 849 RemoveDir(const char *path) RemoveDir() argument [all...] |
/kernel/linux/linux-5.10/arch/powerpc/platforms/cell/spufs/ |
H A D | inode.c | 279 static int spufs_context_open(struct path *path) in spufs_context_open() argument 288 filp = dentry_open(path, O_RDONLY, current_cred()); in spufs_context_open() 410 struct path path = {.mnt = mnt, .dentry = dentry}; in spufs_create_context() local 449 ret = spufs_context_open(&path); in spufs_create_context() 498 static int spufs_gang_open(struct path *path) in spufs_gang_open() argument 509 * in error path of *_open(). in spufs_gang_open() 511 filp = dentry_open(path, O_RDONL in spufs_gang_open() 526 struct path path = {.mnt = mnt, .dentry = dentry}; spufs_create_gang() local 543 spufs_create(struct path *path, struct dentry *dentry, unsigned int flags, umode_t mode, struct file *filp) spufs_create() argument [all...] |
/kernel/linux/linux-6.6/arch/powerpc/platforms/cell/spufs/ |
H A D | inode.c | 278 static int spufs_context_open(const struct path *path) in spufs_context_open() argument 287 filp = dentry_open(path, O_RDONLY, current_cred()); in spufs_context_open() 409 struct path path = {.mnt = mnt, .dentry = dentry}; in spufs_create_context() local 448 ret = spufs_context_open(&path); in spufs_create_context() 494 static int spufs_gang_open(const struct path *path) in spufs_gang_open() argument 505 * in error path of *_open(). in spufs_gang_open() 507 filp = dentry_open(path, O_RDONL in spufs_gang_open() 522 struct path path = {.mnt = mnt, .dentry = dentry}; spufs_create_gang() local 539 spufs_create(const struct path *path, struct dentry *dentry, unsigned int flags, umode_t mode, struct file *filp) spufs_create() argument [all...] |
/kernel/linux/linux-6.6/tools/perf/arch/arm/util/ |
H A D | cs-etm.c | 78 char path[PATH_MAX]; in cs_etm_validate_context_id() local 97 snprintf(path, PATH_MAX, "cpu%d/%s", in cs_etm_validate_context_id() 99 err = perf_pmu__scan_file(cs_etm_pmu, path, "%x", &val); in cs_etm_validate_context_id() 104 path); in cs_etm_validate_context_id() 149 char path[PATH_MAX]; in cs_etm_validate_timestamp() local 164 snprintf(path, PATH_MAX, "cpu%d/%s", in cs_etm_validate_timestamp() 166 err = perf_pmu__scan_file(cs_etm_pmu, path, "%x", &val); in cs_etm_validate_timestamp() 171 CORESIGHT_ETM_PMU_NAME, path); in cs_etm_validate_timestamp() 251 char msg[BUFSIZ], path[PATH_MAX], *sink; in cs_etm_set_sink_attr() local 264 snprintf(path, PATH_MA in cs_etm_set_sink_attr() 567 char path[PATH_MAX]; cs_etm_is_etmv4() local 586 cs_etm_get_ro(struct perf_pmu *pmu, int cpu, const char *path) cs_etm_get_ro() argument 602 cs_etm_get_ro_signed(struct perf_pmu *pmu, int cpu, const char *path) cs_etm_get_ro_signed() argument 618 cs_etm_pmu_path_exists(struct perf_pmu *pmu, int cpu, const char *path) cs_etm_pmu_path_exists() argument [all...] |
/test/testfwk/developer_test/local_coverage/keyword_registration/ |
H A D | keyword_filter.py | 50 file_path = os.path.join(root_path, file) 61 css_file_path = os.path.join(root_path, file) 70 if os.path.exists(css_file_path): 81 os.path.normcase(os.path.join(os.path.dirname(gcov_file_path), file_name)) 85 os.path.normcase(os.path.join(self.report_path, file_name)) 95 self.keyword_file_path = os.path.normcase( 96 os.path [all...] |