/third_party/node/deps/undici/ |
H A D | undici.js | 538 if (url.path != null && typeof url.path !== "string") { 539 throw new InvalidArgumentError("Invalid URL path: the path must be a string or null/undefined."); 552 let path = url.path != null ? url.path : `${url.pathname || ""}${url.search || ""}`; 556 if (path && !path.startsWith("/")) { 557 path [all...] |
/third_party/typescript/lib/ |
H A D | tsc.js | 3393 path: file.path, 3620 { name: "path", optional: true, captureSpan: true }, 3627 args: [{ name: "path" }, { name: "name", optional: true }], 3957 var path = toCanonicalFileName(name); 3958 var existing = cache.get(path); 3963 cache.set(path, { 3964 watcher: createWatcher((function (param1, param2, param3) { var _a; return (_a = cache.get(path)) === null || _a === void 0 ? void 0 : _a.callbacks.slice().forEach(function (cb) { return cb(param1, param2, param3); }); })), 3970 var watcher = cache.get(path); 3975 cache.delete(path); [all...] |
/third_party/python/Lib/test/ |
H A D | test_logging.py | 570 self.assertFalse(os.path.exists(fn)) 573 self.assertTrue(os.path.exists(fn)) 625 self.assertTrue(os.path.exists(fn)) 675 if os.path.exists(fn): 2052 self.log_data = urlparse(request.path) 2076 here = os.path.dirname(__file__) 2077 localhost_cert = os.path.join(here, "keycert.pem") 2104 self.assertEqual(self.log_data.path, '/frob') 2194 if os.path.isfile(fn): 3886 'pathname': os.path [all...] |
/third_party/mesa3d/src/compiler/nir/ |
H A D | nir_opt_load_store_vectorize.c | 393 nir_deref_path *path, in create_entry_key_from_deref() 397 while (path->path[path_len]) in create_entry_key_from_deref() 416 nir_deref_instr *parent = i ? path->path[i - 1] : NULL; in create_entry_key_from_deref() 417 nir_deref_instr *deref = path->path[i]; in create_entry_key_from_deref() 592 nir_deref_path path; in create_entry() local 593 nir_deref_path_init(&path, entry->deref, NULL); in create_entry() 594 entry->key = create_entry_key_from_deref(entry, ctx, &path, in create_entry() 391 create_entry_key_from_deref(void *mem_ctx, struct vectorize_ctx *ctx, nir_deref_path *path, uint64_t *offset_base) create_entry_key_from_deref() argument [all...] |
/third_party/littlefs/scripts/ |
H A D | plot.py | 133 def openio(path, mode='r', buffering=-1): 135 if path == '-': 141 return open(path, mode, buffering) 156 for path in paths: 157 if os.path.isdir(path): 158 for dir, _, files in os.walk(path): 161 inotify.add_watch(os.path.join(dir, f), flags) 163 inotify.add_watch(path, flags) 449 for path i [all...] |
/third_party/node/deps/openssl/openssl/apps/ |
H A D | cmp.c | 352 "[http[s]://]address[:port][/path] of CMP server. Default port 80 or 443."}, 354 "address may be a DNS name or an IP address; path can be overridden by -path"}, 356 "[http[s]://]address[:port][/path] of HTTP(S) proxy to use; path is ignored"}, 364 {"path", OPT_PATH, 's', 365 "HTTP path (aka CMP alias) at the CMP server. Default from -server, else \"/\""}, 1848 char *host = NULL, *port = NULL, *path = NULL, *used_path = opt_path; in setup_client_ctx() local 1881 &portnum, &path, NULL /* q */, NULL /* frag */)) { in setup_client_ctx() 1892 used_path = path; in setup_client_ctx() 2692 char *path = NULL; cmp_server() local [all...] |
/third_party/openssl/apps/ |
H A D | cmp.c | 352 "[http[s]://]address[:port][/path] of CMP server. Default port 80 or 443."}, 354 "address may be a DNS name or an IP address; path can be overridden by -path"}, 356 "[http[s]://]address[:port][/path] of HTTP(S) proxy to use; path is ignored"}, 364 {"path", OPT_PATH, 's', 365 "HTTP path (aka CMP alias) at the CMP server. Default from -server, else \"/\""}, 1848 char *host = NULL, *port = NULL, *path = NULL, *used_path = opt_path; in setup_client_ctx() local 1881 &portnum, &path, NULL /* q */, NULL /* frag */)) { in setup_client_ctx() 1892 used_path = path; in setup_client_ctx() 2691 char *path = NULL; cmp_server() local [all...] |
/third_party/lwip/src/netif/ppp/ |
H A D | eap.c | 1199 char *user, *path, *file; in name_of_pn_file() local 1211 path = malloc(pl); in name_of_pn_file() 1212 if (path == NULL) in name_of_pn_file() 1214 (void) slprintf(path, pl, "%s/%s", user, file); in name_of_pn_file() 1216 ppp_dbglog("pseudonym file: %s", path); in name_of_pn_file() 1219 return (path); in name_of_pn_file() 1226 char *path; local 1229 if ((path = name_of_pn_file()) == NULL) 1231 fd = open(path, modebits, S_IRUSR | S_IWUSR); 1233 free(path); 1241 char *path; remove_pn_file() local [all...] |
/third_party/skia/src/gpu/text/ |
H A D | GrTextBlob.cpp | 194 PathGlyph(const SkPath& path, SkPoint origin); 224 // If there are shaders, blurs or styles, the path must be scaled into source in draw() 233 // Calculate the matrix that maps the path glyphs from their size in the strike to in draw() 239 const SkPath& path = pathPos.fPath; in draw() local 245 GrStyledShape shape(path, paint); in draw() 250 // Transform the path to device because the deviceMatrix must be unchanged to in draw() 253 const SkPath& path = pathPos.fPath; in draw() local 260 path.transform(pathMatrix, &deviceOutline); in draw() 282 return PathGlyph{*variant.path(), pos}; in Make() 295 PathSubRun::PathGlyph::PathGlyph(const SkPath& path, SkPoin argument 2417 const SkPath& path = *variant.path(); processSourcePaths() local 2431 const SkPath& path = *variant.path(); processSourcePaths() local [all...] |
/third_party/protobuf/src/google/protobuf/ |
H A D | descriptor.cc | 748 // Returns the location denoted by the specified path through info, 753 const std::vector<int>& path, const SourceCodeInfo* info) const; 917 // Fast path: the Symbol is already cached. This is just a hash lookup. in FindByNameHelper() 1230 p->first->locations_by_path_[Join(loc->path(), ",")] = loc; in BuildLocationsByPath() 1235 const std::vector<int>& path, const SourceCodeInfo* info) const { in GetSourceLocation() 1240 return FindPtrOrNull(locations_by_path_, Join(path, ",")); in GetSourceLocation() 1483 // A faster path to reduce lock contention in finding extensions, assuming in FindExtensionByNumber() 2386 const std::vector<int>& path, in SourceLocationCommentPrinter() 2393 options.include_comments && file->GetSourceLocation(path, &source_loc_); in SourceLocationCommentPrinter() 2447 std::vector<int> path; in DebugStringWithOptions() local 1234 GetSourceLocation( const std::vector<int>& path, const SourceCodeInfo* info) const GetSourceLocation() argument 2385 SourceLocationCommentPrinter(const FileDescriptor* file, const std::vector<int>& path, const std::string& prefix, const DebugStringOptions& options) SourceLocationCommentPrinter() argument 2481 std::vector<int> path; DebugStringWithOptions() local 2967 GetSourceLocation(const std::vector<int>& path, SourceLocation* out_location) const GetSourceLocation() argument 2993 std::vector<int> path; // empty path for root FileDescriptor GetSourceLocation() local 3007 std::vector<int> path; GetSourceLocation() local 3013 std::vector<int> path; GetSourceLocation() local 3019 std::vector<int> path; GetSourceLocation() local 3025 std::vector<int> path; GetSourceLocation() local 3031 std::vector<int> path; GetSourceLocation() local 3037 std::vector<int> path; GetSourceLocation() local 3044 std::vector<int> path; GetSourceLocation() local [all...] |
/device/soc/hisilicon/hi3516dv300/sdk_linux/sample/taurus/resize_crop/smp/ |
H A D | smp_resize_crop.c | 134 * Take the file name part of the path
136 const char* HiPathName(const char* path)
in HiPathName() argument 138 HI_ASSERT(path);
in HiPathName() 140 const char *p = strrchr(path, '/');
in HiPathName() 144 return path;
in HiPathName()
|
/device/soc/rockchip/common/sdk_linux/init/ |
H A D | initramfs.c | 313 static void __init clean_path(char *path, umode_t fmode) in clean_path() argument 317 if (!init_stat(path, &st, AT_SYMLINK_NOFOLLOW) && (st.mode ^ fmode) & S_IFMT) { in clean_path() 319 init_rmdir(path); in clean_path() 321 init_unlink(path); in clean_path()
|
/third_party/ffmpeg/libavformat/ |
H A D | mmst.c | 91 char path[256]; ///< Path of the resource being asked for. member 209 if ((ret = mms_put_utf16(mms, mmst->path + 1)) < 0) // +1 for skip "/" in send_media_file_request() 523 mmst->host, sizeof(mmst->host), &port, mmst->path, in mms_open() 524 sizeof(mmst->path), uri); in mms_open()
|
/third_party/gn/src/base/json/ |
H A D | json_value_converter.h | 95 explicit FieldConverterBase(const std::string& path) : field_path_(path) {} in FieldConverterBase() argument 117 explicit FieldConverter(const std::string& path, in FieldConverter() argument 120 : FieldConverterBase<StructType>(path), in FieldConverter()
|
/third_party/alsa-utils/alsa-info/ |
H A D | alsa-info.sh | 667 for path in $(echo $SYSFS/class/sound/ctl-led/[ms][ip]*/card*); do 668 echo "!!CTL-LED: $path" >> $FILE 669 if [ -r "$path/list" ]; then 670 list=$(cat "$path/list") 674 #tree --noreport $path -L 2 | sed -e 's/^/\t/g' >> $FILE
|
/third_party/gn/src/gn/ |
H A D | xcode_object.h | 235 const std::string& path, 245 const std::string& path() const { return path_; } in path() function in PBXFileReference 277 explicit PBXGroup(const std::string& path = std::string(), 281 const std::string& path() const { return path_; } in path() function in PBXGroup
|
/third_party/googletest/googletest/test/ |
H A D | googletest-filepath-test.cc | 57 int remove(const char* path) { in remove() argument 58 LPCWSTR wpath = String::AnsiToUtf16(path); in remove() 64 int _rmdir(const char* path) { in _rmdir() argument 65 FilePath filepath(path); in _rmdir() 464 FilePath non_default_path("path"); in TEST() 471 FilePath non_default_path("path"); in TEST() 474 EXPECT_EQ("path", default_path.string()); in TEST() 475 EXPECT_EQ("path", non_default_path.string()); // RHS var is unchanged. in TEST() 480 FilePath non_default_path("path"); in TEST()
|
/third_party/mbedtls/library/ |
H A D | dhm.c | 580 static int load_file(const char *path, unsigned char **buf, size_t *n) in load_file() argument 585 if ((f = fopen(path, "rb")) == NULL) { in load_file() 627 int mbedtls_dhm_parse_dhmfile(mbedtls_dhm_context *dhm, const char *path) in mbedtls_dhm_parse_dhmfile() argument 633 if ((ret = load_file(path, &buf, &n)) != 0) { in mbedtls_dhm_parse_dhmfile()
|
/third_party/json/tests/src/ |
H A D | unit-regression2.cpp | 594 CHECK(result.dump() == R"([{"op":"add","path":"/foo/-","value":"3"}])"); 818 nlohmann::detail::std_fs::path text_path("/tmp/text.txt"); 821 const auto j_path = j.get<nlohmann::detail::std_fs::path>(); 826 CHECK_THROWS_WITH_AS(nlohmann::detail::std_fs::path(json(1)), "[json.exception.type_error.302] type must be string, but is number", json::type_error);
|
/third_party/mesa3d/src/freedreno/vulkan/ |
H A D | tu_kgsl.c | 215 static const char path[] = "/dev/kgsl-3d0"; in tu_enumerate_devices() local 224 fd = open(path, O_RDWR | O_CLOEXEC); in tu_enumerate_devices() 228 "failed to open device %s", path); in tu_enumerate_devices() 242 mesa_logi("Found compatible device '%s'.", path); in tu_enumerate_devices()
|
/third_party/node/test/cctest/ |
H A D | test_inspector_socket_server.cc | 156 void TestHttpRequest(const std::string& path, in TestHttpRequest() argument 165 Write("GET " + path + " HTTP/1.1\r\n" in TestHttpRequest() 370 static void TestHttpRequest(int port, const std::string& path, in TestHttpRequest() argument 374 socket.TestHttpRequest(path, expected_body); in TestHttpRequest()
|
/third_party/node/deps/v8/src/profiler/ |
H A D | profile-generator.h | 367 const std::vector<CodeEntry*>& path, 371 const ProfileStackTrace& path, 424 // Add pc -> ... -> main() call path to the profile. 425 void AddPath(base::TimeTicks timestamp, const ProfileStackTrace& path, 567 base::TimeTicks timestamp, const ProfileStackTrace& path, int src_line,
|
/third_party/rust/crates/bindgen/bindgen-tests/tests/ |
H A D | tests.rs | 12 use std::path::{Path, PathBuf}; 18 #[path = "../../bindgen-cli/options.rs"] 70 "--config-path", in rustfmt() 160 Some(std::path::Component::Normal(name)) => name, in error_diff_mismatch() 226 // Try the default path otherwise. in compare_generated_header() 625 observed_depfile.path(), in emit_depfile() 724 println!("In path is ::: {}", expect_path.display()); in test_wrap_static_fns() 728 println!("Out path is ::: {}", generated_path.display()); in test_wrap_static_fns()
|
/third_party/python/Lib/asyncio/ |
H A D | streams.py | 91 async def open_unix_connection(path=None, *, 99 lambda: protocol, path, **kwds) 103 async def start_unix_server(client_connected_cb, path=None, *, 114 return await loop.create_unix_server(factory, path, **kwds)
|
/third_party/skia/tools/fm/ |
H A D | fm.cpp | 655 SkString path = SkStringPrintf("%s/%s%s", in main() 657 for (char* it = path.writable_str(); *it != '\0'; it++) { in main() 660 sk_mkdir(path.c_str()); in main() 665 SkFILEWStream file(path.c_str()); in main()
|