Home
last modified time | relevance | path

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

/external/skqp/src/c/
Dsk_surface.cpp165 static const SkPath& AsPath(const sk_path_t& cpath) { in AsPath() argument
166 return reinterpret_cast<const SkPath&>(cpath); in AsPath()
169 static SkPath* as_path(sk_path_t* cpath) { in as_path() argument
170 return reinterpret_cast<SkPath*>(cpath); in as_path()
263 void sk_path_delete(sk_path_t* cpath) { delete as_path(cpath); } in sk_path_delete() argument
265 void sk_path_move_to(sk_path_t* cpath, float x, float y) { in sk_path_move_to() argument
266 as_path(cpath)->moveTo(x, y); in sk_path_move_to()
269 void sk_path_line_to(sk_path_t* cpath, float x, float y) { in sk_path_line_to() argument
270 as_path(cpath)->lineTo(x, y); in sk_path_line_to()
273 void sk_path_quad_to(sk_path_t* cpath, float x0, float y0, float x1, float y1) { in sk_path_quad_to() argument
[all …]
/external/skia/src/c/
Dsk_surface.cpp165 static const SkPath& AsPath(const sk_path_t& cpath) { in AsPath() argument
166 return reinterpret_cast<const SkPath&>(cpath); in AsPath()
169 static SkPath* as_path(sk_path_t* cpath) { in as_path() argument
170 return reinterpret_cast<SkPath*>(cpath); in as_path()
263 void sk_path_delete(sk_path_t* cpath) { delete as_path(cpath); } in sk_path_delete() argument
265 void sk_path_move_to(sk_path_t* cpath, float x, float y) { in sk_path_move_to() argument
266 as_path(cpath)->moveTo(x, y); in sk_path_move_to()
269 void sk_path_line_to(sk_path_t* cpath, float x, float y) { in sk_path_line_to() argument
270 as_path(cpath)->lineTo(x, y); in sk_path_line_to()
273 void sk_path_quad_to(sk_path_t* cpath, float x0, float y0, float x1, float y1) { in sk_path_quad_to() argument
[all …]
/external/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()
/external/libxkbcommon/xkbcommon/src/compose/
Dtable.c163 const char *cpath; in xkb_compose_table_new_from_locale() local
177 cpath = get_xcomposefile_path(); in xkb_compose_table_new_from_locale()
178 if (cpath) { in xkb_compose_table_new_from_locale()
179 file = fopen(cpath, "r"); in xkb_compose_table_new_from_locale()
184 cpath = path = get_home_xcompose_file_path(); in xkb_compose_table_new_from_locale()
193 cpath = path = get_locale_compose_file_path(table->locale); in xkb_compose_table_new_from_locale()
207 ok = parse_file(table, file, cpath); in xkb_compose_table_new_from_locale()
/external/python/cpython3/Python/
Dfileutils.c430 char *cpath; in Py_EncodeLocale() local
446 cpath = PyMem_Malloc(len+1); in Py_EncodeLocale()
447 if (cpath == NULL) { in Py_EncodeLocale()
454 memcpy(cpath, PyBytes_AsString(bytes), len + 1); in Py_EncodeLocale()
456 return cpath; in Py_EncodeLocale()
1021 char *cpath; in _Py_wfopen() local
1029 cpath = Py_EncodeLocale(path, NULL); in _Py_wfopen()
1030 if (cpath == NULL) in _Py_wfopen()
1032 f = fopen(cpath, cmode); in _Py_wfopen()
1033 PyMem_Free(cpath); in _Py_wfopen()
[all …]
/external/dtc/
Dflattree.c728 static char *nodename_from_path(const char *ppath, const char *cpath) in nodename_from_path() argument
734 if (!strneq(ppath, cpath, plen)) in nodename_from_path()
736 cpath, ppath); in nodename_from_path()
742 return xstrdup(cpath + plen); in nodename_from_path()
/external/toybox/generated/
Dglobals.h200 char *cpath; member
/external/llvm/bindings/go/llvm/
Dir.go1774 cpath := C.CString(path)
1775 defer C.free(unsafe.Pointer(cpath))
1776 fail := C.LLVMCreateMemoryBufferWithContentsOfFile(cpath, &b.C, &cmsg)