Home
last modified time | relevance | path

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

/third_party/node/deps/npm/node_modules/cacache/lib/content/
Dread.js23 return withContentSri(cache, integrity, (cpath, sri) => {
24 return readFileAsync(cpath, null).then(data => {
30 throw integrityError(sri, cpath)
39 return withContentSriSync(cache, integrity, (cpath, sri) => {
40 const data = fs.readFileSync(cpath)
46 throw integrityError(sri, cpath)
56 withContentSri(cache, integrity, (cpath, sri) => {
57 return lstatAsync(cpath).then(stat => ({ cpath, sri, stat })) property
58 }).then(({ cpath, sri, stat }) => { property
60 fs.createReadStream(cpath),
[all …]
/third_party/flutter/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()
97 static SkPath* as_path(sk_path_t* cpath) { in as_path() argument
98 return reinterpret_cast<SkPath*>(cpath); in as_path()
178 void sk_path_delete(sk_path_t* cpath) { delete as_path(cpath); } in sk_path_delete() argument
180 void sk_path_move_to(sk_path_t* cpath, float x, float y) { in sk_path_move_to() argument
181 as_path(cpath)->moveTo(x, y); in sk_path_move_to()
184 void sk_path_line_to(sk_path_t* cpath, float x, float y) { in sk_path_line_to() argument
185 as_path(cpath)->lineTo(x, y); in sk_path_line_to()
188 void sk_path_quad_to(sk_path_t* cpath, float x0, float y0, float x1, float y1) { in sk_path_quad_to() argument
[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.py322 def utrace_generate(cpath, hpath, ctx_param): argument
323 if cpath is not None:
324 hdr = os.path.basename(cpath).rsplit('.', 1)[0] + '.h'
325 with open(cpath, 'w') as f:
/third_party/grpc/src/python/grpcio/
Dsupport.py55 cpath = os.path.join(tempdir, 'a.c')
56 with open(cpath, 'w') as cfile:
59 compiler.compile([cpath])
/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.py145 utrace_generate(cpath=args.src, hpath=args.hdr, ctx_param='struct pipe_context *pctx')
/third_party/mesa3d/src/freedreno/vulkan/
Dtu_tracepoints.py157 utrace_generate(cpath=args.utrace_src, hpath=args.utrace_hdr, ctx_param='struct tu_device *dev')
/third_party/ninja/src/
Dninja.cc108 Node* CollectTarget(const char* cpath, string* err);
272 Node* NinjaMain::CollectTarget(const char* cpath, string* err) { in CollectTarget() argument
273 string path = cpath; in CollectTarget()
/third_party/boost/tools/build/src/tools/
Dembarcadero.jam336 local cpath = $(command[1]:D) ;
338 if $(cpath)
340 root = $(cpath:P) ;
/third_party/toybox/generated/
Dglobals.h210 char *cpath; member