/third_party/mesa3d/src/util/ |
H A D | disk_cache.c | 106 char *path = disk_cache_generate_cache_dir(local, gpu_name, driver_id); in disk_cache_create() local 107 if (!path) in disk_cache_create() 110 cache->path = ralloc_strdup(cache, path); in disk_cache_create() 111 if (cache->path == NULL) in disk_cache_create() 119 if (!disk_cache_mmap_cache_index(local, cache, path)) in disk_cache_create()
|
/third_party/node/deps/npm/node_modules/npm-package-arg/lib/ |
H A D | npa.js | 10 const path = global.FAKE_WINDOWS ? require('path').win32 : require('path') 219 if (name === 'path') { 221 throw new Error('cannot override existing path with a second path') 238 // file:foo from /path/to/bar goes to /path/to/foo, when we want 239 // it to be /path/to/bar/foo 247 resolvedUrl = new URL(rawWithPrefix, `file://${path [all...] |
/third_party/node/deps/openssl/openssl/crypto/conf/ |
H A D | conf_mod.c | 291 const char *path = NULL; in module_load_dso() local 295 /* Look for alternative path in module section */ in module_load_dso() 296 path = _CONF_get_string(cnf, value, "path"); in module_load_dso() 297 if (path == NULL) { in module_load_dso() 298 path = name; in module_load_dso() 300 dso = DSO_load(NULL, path, NULL, 0); in module_load_dso() 321 ERR_raise_data(ERR_LIB_CONF, errcode, "module=%s, path=%s", name, path); in module_load_dso()
|
/third_party/libabigail/src/ |
H A D | abg-elf-reader.cc | 107 /// find_alt_dwarf_debug_info_link(). That link is a path that is relative 117 /// @param alt_file_name a relative path to the alternate debug info 120 /// @param alt_file_path the resulting absolute path to the alternate 121 /// debuginfo path denoted by @p alt_file_name and found under one of 154 /// path of the alternate debug info file associated to @p elf_module. 225 // If we reach this point it means we have found the path to the in find_alt_dwarf_debug_info() 336 /// @param alt_file_name the resulting path to the alternate 402 for (const auto& path : rdr.debug_info_root_paths()) in locate_alt_ctf_debug_info() 405 if (!tools_utils::find_file_under_dir(*path, name, file_path)) in locate_alt_ctf_debug_info() 448 /// @param elf_path the path t 917 get_soname_of_elf_file(const string& path, string &soname) get_soname_of_elf_file() argument 959 get_type_of_elf_file(const string& path, elf::elf_type& type) get_type_of_elf_file() argument [all...] |
/third_party/python/Tools/i18n/ |
H A D | pygettext.py | 275 if not os.path.exists(name): 293 if os.path.isdir(name): 304 [os.path.join(root, file) for file in files 305 if os.path.splitext(file)[1] == _py_ext] 308 elif os.path.exists(name): 675 options.outfile = os.path.join(options.outpath, options.outfile)
|
/third_party/python/Tools/scripts/ |
H A D | stable_abi.py | 23 import os.path namespace 359 def generate_or_check(manifest, args, path, func): 368 existing = path.read_text() 372 path.write_text(generated) 374 print(f'File {path} differs from expected!') 377 str(path), '<expected>', 414 if os.path.exists(LIBRARY):
|
/third_party/openssl/crypto/conf/ |
H A D | conf_mod.c | 285 const char *path = NULL; in module_load_dso() local 289 /* Look for alternative path in module section */ in module_load_dso() 290 path = _CONF_get_string(cnf, value, "path"); in module_load_dso() 291 if (path == NULL) { in module_load_dso() 292 path = name; in module_load_dso() 294 dso = DSO_load(NULL, path, NULL, 0); in module_load_dso() 315 ERR_raise_data(ERR_LIB_CONF, errcode, "module=%s, path=%s", name, path); in module_load_dso()
|
/third_party/vk-gl-cts/external/vulkan-docs/src/scripts/ |
H A D | reflow.py | 39 sys.path.insert(0, 'xml') 474 outFilename = str(outDir / (os.path.basename(filename) + args.suffix)) 513 file_path = os.path.join(root, file) 516 sub_folder = os.path.join(root, subdir) 649 reflow_count_file_path = os.path.dirname(os.path.realpath(__file__))
|
/third_party/skia/tests/ |
H A D | ColorSpaceTest.cpp | 47 static void test_path(skiatest::Reporter* r, const char* path, in test_path() argument 50 std::unique_ptr<SkStream> stream(GetResourceAsStream(path)); in test_path() 119 auto test = [&](const char* path) { in DEF_TEST() 120 sk_sp<SkData> data = GetResourceAsData(path); in DEF_TEST() 152 auto parse = [&](const char* path) { in DEF_TEST() 153 sk_sp<SkData> data = GetResourceAsData(path); in DEF_TEST()
|
/third_party/skia/third_party/externals/angle2/src/tests/test_expectations/ |
H A D | GPUTestExpectationsParser.cpp | 360 const std::string &path) in loadTestExpectationsFromFileImpl() 366 if (!ReadFileToString(path, &data)) in loadTestExpectationsFromFileImpl() 375 const std::string &path) in loadTestExpectationsFromFile() 377 return loadTestExpectationsFromFileImpl(&config, path); in loadTestExpectationsFromFile() 380 bool GPUTestExpectationsParser::loadAllTestExpectationsFromFile(const std::string &path) in loadAllTestExpectationsFromFile() argument 382 return loadTestExpectationsFromFileImpl(nullptr, path); in loadAllTestExpectationsFromFile() 359 loadTestExpectationsFromFileImpl(const GPUTestConfig *config, const std::string &path) loadTestExpectationsFromFileImpl() argument 374 loadTestExpectationsFromFile(const GPUTestConfig &config, const std::string &path) loadTestExpectationsFromFile() argument
|
/third_party/python/Lib/ |
H A D | webbrowser.py | 57 # User gave us a browser name or path. 109 This is useful to create a controller when a user specifies a path to 121 name = os.path.basename(cmd) 132 controller.basename = os.path.basename(browser) 171 self.basename = os.path.basename(self.name) 414 tempdir = os.path.join(tempfile.gettempdir(), 417 filename = os.path.join(glob.escape(tempdir), glob.escape(user) + "-*") 546 iexplore = os.path.join(os.environ.get("PROGRAMFILES", "C:\\Program Files"),
|
H A D | doctest.py | 331 # the possibly dotted module path (if any) and the exception message (if 390 # [XX] Normalize with respect to os.path.pardir? 397 # Normalize the path. On Windows, replace "/" with "\". 398 test_path = os.path.join(*(test_path.split('/'))) 400 # Find the base directory for the path. 403 basedir = os.path.split(module.__file__)[0] 407 basedir = os.path.split(sys.argv[0])[0] 413 fullpath = os.path.join(directory, test_path) 414 if os.path.exists(fullpath): 422 # Combine the base directory and the test path [all...] |
/third_party/toybox/toys/pending/ |
H A D | syslogd.c | 41 char *path; member 383 unlink(fnode->path); in cleanup() 414 error_exit("Socket path should not be more than 108"); in syslogd_main() 421 tsd->path = (toys.optflags & FLAG_p) ? TT.unix_socket : "/dev/log"; // DEFLOGSOCK in syslogd_main() 428 tsd->path = temp; in syslogd_main() 441 strcpy(tsd->sdu.sun_path, tsd->path); in syslogd_main() 453 chmod(tsd->path, 0777); in syslogd_main()
|
/third_party/skia/infra/bots/task_drivers/perf_puppeteer_skottie_frames/ |
H A D | perf_puppeteer_skottie_frames.go | 18 "path/filepath" 41 nodeBinPath = flag.String("node_bin_path", "", "Path to the node bin directory (should have npm also). This directory *must* be on the PATH when this executable is called, otherwise, the wrong node or npm version may be found (e.g. the one on the system), even if we are explicitly calling npm with the absolute path.") 166 return filepath.Walk(lottiesPath, func(path string, info os.FileInfo, _ error) error { 167 if path == lottiesPath { 171 lottieFolders = append(lottieFolders, path) 195 // See comment in setup about why we specify the absolute path for node. 247 return filepath.Walk(perfJSONPath, func(path string, info os.FileInfo, _ error) error { 248 if strings.HasSuffix(path, ".json") { 249 jsonInputs = append(jsonInputs, path)
|
/third_party/skia/infra/bots/task_drivers/perf_puppeteer_render_skps/ |
H A D | perf_puppeteer_render_skps.go | 18 "path/filepath" 41 nodeBinPath = flag.String("node_bin_path", "", "Path to the node bin directory (should have npm also). This directory *must* be on the PATH when this executable is called, otherwise, the wrong node or npm version may be found (e.g. the one on the system), even if we are explicitly calling npm with the absolute path.") 168 return filepath.Walk(skpsPath, func(path string, info os.FileInfo, _ error) error { 169 if path == skpsPath { 175 skpFiles = append(skpFiles, path) 195 // See comment in setup about why we specify the absolute path for node. 246 return filepath.Walk(perfJSONPath, func(path string, info os.FileInfo, _ error) error { 247 if strings.HasSuffix(path, ".json") { 248 jsonInputs = append(jsonInputs, path)
|
/third_party/selinux/libselinux/utils/ |
H A D | sefcontext_compile.c | 297 const char *path = NULL; in main() local 334 path = argv[optind]; in main() 335 if (stat(path, &buf) < 0) { in main() 336 fprintf(stderr, "%s: could not stat: %s: %s\n", argv[0], path, strerror(errno)); in main() 389 rc = process_file(rec, path); in main() 404 rc = snprintf(stack_path, sizeof(stack_path), "%s.bin", path); in main()
|
/third_party/curl/lib/ |
H A D | smb.c | 372 char *path; member 438 /* Parse the URL path */ in smb_setup_connection() 713 if((strlen(req->path) + 1) > sizeof(msg.bytes)) in smb_send_open() 719 byte_count = strlen(req->path); in smb_send_open() 731 strcpy(msg.bytes, req->path); in smb_send_open() 1164 char *path; in smb_parse_url_path() local 1167 /* URL decode the path */ in smb_parse_url_path() 1168 CURLcode result = Curl_urldecode(data->state.up.path, 0, &path, NULL, in smb_parse_url_path() 1173 /* Parse the path fo in smb_parse_url_path() [all...] |
/third_party/backends/backend/ |
H A D | gphoto2.c | 132 static SANE_String TopFolder; /* Fixed part of path strings */ 750 if (strcmp (Cam_data.port, info.path) == 0) in sane_init() 1595 SANE_Char path[256]; in get_pictures_info() local 1606 strcpy (path, TopFolder); in get_pictures_info() 1611 strcat (path, "/"); in get_pictures_info() 1612 strcat (path, (const char *) folder_list[current_folder]); in get_pictures_info() 1615 num_pictures = read_dir (path, 1); in get_pictures_info() 1675 CameraFilePath path; in snap_pic() local 1694 CHECK_RET (gp_camera_capture (camera, GP_CAPTURE_IMAGE, &path, NULL)); in snap_pic() 1778 SANE_Char path[25 in read_info() local [all...] |
/third_party/mesa3d/src/amd/vulkan/ |
H A D | radv_meta.c | 444 radv_builtin_cache_path(char *path) in radv_builtin_cache_path() argument 454 ret = snprintf(path, PATH_MAX + 1, "%s%s%zd", xdg_cache_home, suffix, sizeof(void *) * 8); in radv_builtin_cache_path() 462 strcpy(path, pwd.pw_dir); in radv_builtin_cache_path() 463 strcat(path, "/.cache"); in radv_builtin_cache_path() 464 if (mkdir(path, 0755) && errno != EEXIST) in radv_builtin_cache_path() 467 ret = snprintf(path, PATH_MAX + 1, "%s%s%zd", pwd.pw_dir, suffix2, sizeof(void *) * 8); in radv_builtin_cache_path() 478 char path[PATH_MAX + 1]; in radv_load_meta_pipeline() 483 if (!radv_builtin_cache_path(path)) in radv_load_meta_pipeline() 486 int fd = open(path, O_RDONLY); in radv_load_meta_pipeline() 509 char path[PATH_MA in radv_store_meta_pipeline() local [all...] |
/third_party/python/Lib/importlib/ |
H A D | _bootstrap.py | 344 `submodule_search_locations` is the sequence of path entries to 728 """Meta path import for built-in modules. 749 def find_spec(cls, fullname, path=None, target=None): 756 def find_module(cls, fullname, path=None): 759 If 'path' is ever specified then the search is considered a failure. 767 spec = cls.find_spec(fullname, path) 806 """Meta path import for frozen modules. 921 def find_spec(cls, fullname, path=None, target=None): 951 def find_module(cls, fullname, path=None): 1044 def _find_spec_legacy(finder, name, path) [all...] |
/third_party/skia/src/gpu/ops/ |
H A D | AAHairLinePathRenderer.cpp | 186 // in this case approx the path with lines 252 int gather_lines_and_quads(const SkPath& path, in gather_lines_and_quads() argument 262 SkPath::Iter iter(path, false); in gather_lines_and_quads() 428 GrPathUtils::scaleToleranceToSrc(SK_Scalar1, m, path.getBounds()); in gather_lines_and_quads() 758 const SkPath& path, in Make() 772 viewMatrix, path, in Make() 780 const SkPath& path, in AAHairlineOp() 788 fPaths.emplace_back(PathData{viewMatrix, path, devClipBounds, capLength}); in AAHairlineOp() 790 this->setTransformedBounds(path.getBounds(), viewMatrix, HasAABloat::kYes, in AAHairlineOp() 1041 // given path in predictPrograms() 755 Make(GrRecordingContext* context, GrPaint&& paint, const SkMatrix& viewMatrix, const SkPath& path, const GrStyle& style, const SkIRect& devClipBounds, const GrUserStencilSettings* stencilSettings) Make() argument 776 AAHairlineOp(GrProcessorSet* processorSet, const SkPMColor4f& color, uint8_t coverage, const SkMatrix& viewMatrix, const SkPath& path, SkIRect devClipBounds, SkScalar capLength, const GrUserStencilSettings* stencilSettings) AAHairlineOp() argument 1281 const SkPath& path = GrTest::TestPath(random); GR_DRAW_OP_TEST_DEFINE() local 1323 SkPath path; onDrawPath() local [all...] |
/third_party/lzma/CPP/7zip/UI/Common/ |
H A D | HashCalc.cpp | 185 void CHashBundle::Final(bool isDir, bool isAltStream, const UString &path)
in Final() argument 219 for (unsigned k = 0; k < path.Len(); k++)
in Final() 221 wchar_t c = path[k];
in Final() 378 UString path = path2;
in WriteLine() local 385 path.Replace(WCHAR_PATH_SEPARATOR, L'/');
in WriteLine() 386 // path.Replace((wchar_t)('\\' + 0xf000), L'\\'); // to debug WSL
in WriteLine() 390 ConvertUnicodeToUTF8(path, utf8);
in WriteLine() 437 const UString &path,
in WriteLine() 447 WriteLine(hashFileString, options, path, isDir, methodName, hashesString);
in WriteLine() 528 UString path;
in HashCalc() local 435 WriteLine(CDynLimBuf &hashFileString, const CHashOptionsLocal &options, const UString &path, bool isDir, const CHashBundle &hb) WriteLine() argument 1169 UString path; GetProperty() local 1526 UString path; Extract() local [all...] |
H A D | ArchiveExtractCallback.cpp | 493 // we don't want to call SetAttrib() for root drive path
in CreateComplexDirectory() 534 static void AddPathToMessage(UString &s, const FString &path)
in AddPathToMessage() argument 537 s += fs2us(path);
in AddPathToMessage() 540 HRESULT CArchiveExtractCallback::SendMessageError(const char *message, const FString &path)
in SendMessageError() argument 543 AddPathToMessage(s, path);
in SendMessageError() 547 HRESULT CArchiveExtractCallback::SendMessageError_with_LastError(const char *message, const FString &path)
in SendMessageError_with_LastError() argument 557 AddPathToMessage(s, path);
in SendMessageError_with_LastError() 617 void Parse(const UString &path);
620 void CLinkLevelsInfo::Parse(const UString &path)
in Parse() argument 622 IsAbsolute = NName::IsAbsolutePath(path);
in Parse() 657 IsSafePath(const UString &path) IsSafePath() argument 722 MakePath_from_2_Parts(const FString &prefix, const FString &path) MakePath_from_2_Parts() argument 1915 const FString path = _diskFilePath + k_ZoneId_StreamName; CloseFile() local [all...] |
/third_party/libbpf/src/ |
H A D | libbpf.c | 714 char path[]; member 1294 static struct bpf_object *bpf_object__new(const char *path, in bpf_object__new() argument 1302 obj = calloc(1, sizeof(struct bpf_object) + strlen(path) + 1); in bpf_object__new() 1304 pr_warn("alloc memory failed for %s\n", path); in bpf_object__new() 1308 strcpy(obj->path, path); in bpf_object__new() 1313 libbpf_strlcpy(obj->name, basename((void *)path), sizeof(obj->name)); in bpf_object__new() 1395 obj->efile.fd = open(obj->path, O_RDONLY | O_CLOEXEC); 1401 pr_warn("elf: failed to open %s: %s\n", obj->path, cp); 1410 pr_warn("elf: failed to open %s as ELF file: %s\n", obj->path, elf_errms 2261 pathname_concat(char *buf, size_t buf_sz, const char *path, const char *name) global() argument 2274 build_map_pin_path(struct bpf_map *map, const char *path) global() argument 7819 bpf_object_open(const char *path, const void *obj_buf, size_t obj_buf_sz, const struct bpf_object_open_opts *opts) global() argument 7911 bpf_object__open_file(const char *path, const struct bpf_object_open_opts *opts) global() argument 7921 bpf_object__open(const char *path) global() argument 8438 make_parent_dir(const char *path) global() argument 8460 check_path(const char *path) global() argument 8490 bpf_program__pin(struct bpf_program *prog, const char *path) global() argument 8519 bpf_program__unpin(struct bpf_program *prog, const char *path) global() argument 8540 bpf_map__pin(struct bpf_map *map, const char *path) global() argument 8601 bpf_map__unpin(struct bpf_map *map, const char *path) global() argument 8637 bpf_map__set_pin_path(struct bpf_map *map, const char *path) global() argument 8675 bpf_object__pin_maps(struct bpf_object *obj, const char *path) global() argument 8723 bpf_object__unpin_maps(struct bpf_object *obj, const char *path) global() argument 8753 bpf_object__pin_programs(struct bpf_object *obj, const char *path) global() argument 8790 bpf_object__unpin_programs(struct bpf_object *obj, const char *path) global() argument 8813 bpf_object__pin(struct bpf_object *obj, const char *path) global() argument 8830 bpf_object__unpin(struct bpf_object *obj, const char *path) global() argument 10441 bpf_link__open(const char *path) global() argument 10475 bpf_link__pin(struct bpf_link *link, const char *path) global() argument 11719 bpf_program__attach_uprobe_multi(const struct bpf_program *prog, pid_t pid, const char *path, const char *func_pattern, const struct bpf_uprobe_multi_opts *opts) global() argument 12101 char *path = NULL, *provider = NULL, *name = NULL; global() local [all...] |
/third_party/cups-filters/filter/foomatic-rip/ |
H A D | foomaticrip.c | 185 /* What path to use for filter programs and such in config_set_option() 187 * Your printer driver must be in the path, as must be the renderer, in config_set_option() 188 * and possibly other stuff. The default path is often fine on Linux, in config_set_option() 788 const char *path; in main() local 1028 path = cupsfilterpath; in main() 1029 while ((path = strncpy_tochar(tmp, path, 1024, ":"))) { in main() 1055 path = cupsfilterpath; in main() 1056 while ((path = strncpy_tochar(tmp, path, 102 in main() [all...] |