/third_party/musl/src/passwd/ |
H A D | getspnam_r.c | 71 char path[20+NAME_MAX]; in getspnam_r() local 91 if (snprintf(path, sizeof path, "/etc/tcb/%s/shadow", name) >= sizeof path) in getspnam_r() 94 fd = open(path, O_RDONLY|O_NOFOLLOW|O_NONBLOCK|O_CLOEXEC); in getspnam_r()
|
/third_party/node/deps/npm/node_modules/node-gyp/gyp/pylib/gyp/ |
H A D | MSVSProject.py | 84 def AddToolFile(self, path): 88 path: Relative path from project to tool file. 90 self.tool_files_section.append(["ToolFile", {"RelativePath": path}]) 165 def AddFileConfig(self, path, config, attrs=None, tools=None): 169 path: Relative path to the file. 175 ValueError: Relative path does not match any file added via AddFiles(). 177 # Find the file node with the right relative path 178 parent = self.files_dict.get(path) [all...] |
/third_party/mesa3d/src/vulkan/util/ |
H A D | vk_entrypoints_gen.py | 224 assert os.path.dirname(args.out_c) == os.path.dirname(args.out_h) 229 'header': os.path.basename(args.out_h), 236 'filename': os.path.basename(__file__), 243 guard = os.path.basename(args.out_h).replace('.', '_').upper()
|
/third_party/rust/crates/cxx/gen/src/ |
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/rust/crates/clang-sys/build/ |
H A D | static.rs | 5 use std::path::{Path, PathBuf}; 32 /// Gets the name of an LLVM or Clang static library from a path. 33 fn get_library_name(path: &Path) -> Option<String> { in get_library_name() 34 path.file_stem().map(|p| { in get_library_name() 51 // libraries may be in one of two forms, a full path to the library in get_llvm_libraries() 53 if let Some(path) = p.strip_prefix("-l") { in get_llvm_libraries() 54 Some(path.into()) in get_llvm_libraries() 80 /// path to that directory.
|
/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_install_daemon_test/ |
H A D | bms_install_daemon_operator_test.cpp | 127 std::string path;
in HWTEST_F() local 128 auto ret = InstalldOperator::IsExistFile(path);
in HWTEST_F() 152 std::string path;
in HWTEST_F() local 153 auto ret = InstalldOperator::IsExistDir(path);
in HWTEST_F() 177 std::string path;
in HWTEST_F() local 178 auto ret = InstalldOperator::IsDirEmpty(path);
in HWTEST_F() 190 std::string path;
in HWTEST_F() local 191 auto ret = InstalldOperator::MkRecursiveDir(path, false);
in HWTEST_F() 193 path = "/data/app/el2";
in HWTEST_F() 194 ret = InstalldOperator::MkRecursiveDir(path, fals in HWTEST_F() 206 std::string path; HWTEST_F() local 219 std::string path; HWTEST_F() local 285 std::string path; HWTEST_F() local 299 std::string path; HWTEST_F() local 313 std::string path; HWTEST_F() local 327 std::string path; HWTEST_F() local 392 std::string path; HWTEST_F() local 408 std::string path; HWTEST_F() local 422 std::string path; HWTEST_F() local 436 std::string path; HWTEST_F() local 468 std::string path; HWTEST_F() local 665 std::vector<std::string> path; HWTEST_F() local 680 std::vector<std::string> path; HWTEST_F() local 1482 std::string path = "test.path"; HWTEST_F() local [all...] |