Home
last modified time | relevance | path

Searched refs:cpath (Results 1 – 14 of 14) sorted by relevance

/third_party/node/deps/npm/node_modules/cacache/lib/content/
Dread.js14 const { stat, cpath, sri } = await withContentSri(cache, integrity, async (cpath, sri) => {
16 const stat = await fs.stat(cpath)
17 return { stat, cpath, sri }
24 return readPipeline(cpath, stat.size, sri, new Pipeline()).concat()
27 const data = await fs.readFile(cpath, { encoding: null })
29 throw integrityError(sri, cpath)
35 const readPipeline = (cpath, size, sri, stream) => { argument
37 new fsm.ReadStream(cpath, {
57 const { stat, cpath, sri } = await withContentSri(cache, integrity, async (cpath, sri) => {
59 const stat = await fs.stat(cpath)
[all …]
/third_party/toybox/toys/other/
Dacpi.c29 char *cpath;
55 if (0 <= (dfd = open((TT.cpath=dirtree_path(tree, NULL)), O_RDONLY))) { in acpi_callback()
81 free(TT.cpath); in acpi_callback()
94 if (0 <= (dfd = open((TT.cpath=dirtree_path(tree, NULL)), O_RDONLY))) { in temp_callback()
103 free(TT.cpath); in temp_callback()
119 if (0 <= (dfd = open((TT.cpath=dirtree_path(tree, &dfd)), O_RDONLY))) { in cool_callback()
120 TT.cpath = strcat(TT.cpath, "/type"); in cool_callback()
121 if (readfile(TT.cpath, toybuf, 256) && !errno) { in cool_callback()
131 free(TT.cpath); in cool_callback()
/third_party/node/deps/npm/node_modules/chownr/
Dchownr.js68 const chown = (cpath, uid, gid, cb) => { argument
69 fs[LCHOWN](cpath, uid, gid, handleEISDIR(cpath, uid, gid, er => {
89 const cpath = path.resolve(p, child.name) constant
90 chown(cpath, uid, gid, cb)
93 const cpath = path.resolve(p, child.name) constant
94 chown(cpath, uid, gid, cb)
/third_party/skia/src/c/
Dsk_surface.cpp93 static const SkPath& AsPath(const sk_path_t& cpath) { in AsPath() argument
94 return reinterpret_cast<const SkPath&>(cpath); in AsPath()
101 static SkPath* as_path(sk_path_t* cpath) { in as_path() argument
102 return reinterpret_cast<SkPath*>(cpath); in as_path()
236 void sk_path_delete(sk_path_t* cpath) { delete as_path(cpath); } in sk_path_delete() argument
238 bool sk_path_get_bounds(const sk_path_t* cpath, sk_rect_t* crect) { in sk_path_get_bounds() argument
239 const SkPath& path = AsPath(*cpath); in sk_path_get_bounds()
299 void sk_canvas_clip_path(sk_canvas_t* ccanvas, const sk_path_t* cpath) { in sk_canvas_clip_path() argument
300 AsCanvas(ccanvas)->clipPath(AsPath(*cpath)); in sk_canvas_clip_path()
320 void sk_canvas_draw_path(sk_canvas_t* ccanvas, const sk_path_t* cpath, const sk_paint_t* cpaint) { in sk_canvas_draw_path() argument
[all …]
/third_party/mesa3d/src/util/perf/
Du_trace.py443 def utrace_generate(cpath, hpath, ctx_param, need_cs_param=True, argument
459 if cpath is not None:
460 hdr = os.path.basename(cpath).rsplit('.', 1)[0] + '.h'
461 with open(cpath, 'w') as f:
/third_party/python/Python/
Dfileutils.c1239 char *cpath; in _Py_stat()
1246 if (PyBytes_AsStringAndSize(bytes, &cpath, NULL) == -1) { in _Py_stat()
1251 ret = stat(cpath, statbuf); in _Py_stat()
1582 char *cpath; in _Py_wfopen() local
1590 cpath = _Py_EncodeLocaleRaw(path, NULL); in _Py_wfopen()
1591 if (cpath == NULL) { in _Py_wfopen()
1594 f = fopen(cpath, cmode); in _Py_wfopen()
1595 PyMem_RawFree(cpath); in _Py_wfopen()
1896 char *cpath; in _Py_wreadlink() local
1903 cpath = _Py_EncodeLocaleRaw(path, NULL); in _Py_wreadlink()
[all …]
/third_party/skia/experimental/tools/
Dpdf-comparison.py262 cpath, epath = (os.path.join(x, path) for x in (con, exp))
263 if is_same(cpath, epath):
264 remove(cpath, epath)
298 cpath, epath = (os.path.join(x, path) for x in (con, exp))
299 s = float(subprocess.check_output([image_diff_metric, cpath, epath]))
/third_party/mesa3d/src/gallium/auxiliary/util/
Du_tracepoints.py94 utrace_generate(cpath=args.src, hpath=args.hdr, ctx_param='struct pipe_context *pctx')
/third_party/mesa3d/src/gallium/drivers/freedreno/
Dfreedreno_tracepoints.py151 utrace_generate(cpath=args.src,
/third_party/mesa3d/src/freedreno/vulkan/
Dtu_tracepoints.py114 utrace_generate(cpath=args.utrace_src,
/third_party/mesa3d/src/intel/ds/
Dintel_tracepoints.py153 utrace_generate(cpath=args.utrace_src, hpath=args.utrace_hdr,
/third_party/ninja/src/
Dninja.cc117 Node* CollectTarget(const char* cpath, string* err);
292 Node* NinjaMain::CollectTarget(const char* cpath, string* err) { in CollectTarget() argument
293 string path = cpath; in CollectTarget()
/third_party/toybox/generated/
Dglobals.h211 char *cpath; member
/third_party/node/deps/corepack/dist/lib/
Dcorepack.cjs34891 var chown = (cpath, uid, gid, cb) => {
34892 fs6[LCHOWN](cpath, uid, gid, handleEISDIR(cpath, uid, gid, (er) => {
34908 const cpath = path8.resolve(p, child.name);
34909 chown(cpath, uid, gid, cb);
34912 const cpath = path8.resolve(p, child.name);
34913 chown(cpath, uid, gid, cb);