Home
last modified time | relevance | path

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

/external/python/cpython3/Python/
Dpystrhex.c66 Py_UCS1 *retbuf; in _Py_strhex_impl() local
73 retbuf = (Py_UCS1 *)PyBytes_AS_STRING(retval); in _Py_strhex_impl()
80 retbuf = PyUnicode_1BYTE_DATA(retval); in _Py_strhex_impl()
91 retbuf[j++] = Py_hexdigits[c >> 4]; in _Py_strhex_impl()
92 retbuf[j++] = Py_hexdigits[c & 0x0f]; in _Py_strhex_impl()
107 retbuf[j++] = Py_hexdigits[c >> 4]; in _Py_strhex_impl()
108 retbuf[j++] = Py_hexdigits[c & 0x0f]; in _Py_strhex_impl()
110 retbuf[j++] = sep_char; in _Py_strhex_impl()
114 retbuf[j++] = Py_hexdigits[c >> 4]; in _Py_strhex_impl()
115 retbuf[j++] = Py_hexdigits[c & 0x0f]; in _Py_strhex_impl()
[all …]
/external/ltp/testcases/kernel/mem/vma/
Dvma04.c61 static char retbuf[BUFSIZ]; variable
76 static void get_vmas(char *retbuf, void *addr_s, void *addr_e);
145 memset(retbuf, 0, sizeof(retbuf)); in fin()
196 static void get_vmas(char *retbuf, void *addr_s, void *addr_e) in get_vmas() argument
203 retbuf[0] = '\0'; in get_vmas()
218 strncat(retbuf, tmpstr, 32); in get_vmas()
236 get_vmas(retbuf, mmap_addr, mmap_addr + pagesize * 6); in case4()
237 assertion("2,4", retbuf, "case4"); in case4()
253 get_vmas(retbuf, mmap_addr, mmap_addr + pagesize * 6); in case5()
254 assertion("4,2", retbuf, "case5"); in case5()
[all …]
/external/ltp/testcases/kernel/syscalls/dup/
Ddup07.c49 struct stat retbuf; in main() local
68 fstat(rdoret, &retbuf); in main()
70 if (retbuf.st_mode != dupbuf.st_mode) { in main()
90 fstat(wroret, &retbuf); in main()
92 if (retbuf.st_mode != dupbuf.st_mode) { in main()
113 fstat(rdwret, &retbuf); in main()
115 if (retbuf.st_mode != dupbuf.st_mode) { in main()
/external/ipsec-tools/src/racoon/
Dadmin.c509 char *retbuf = NULL; local
516 retbuf = racoon_calloc(1, tlen);
517 if (retbuf == NULL) {
523 memcpy(retbuf, combuf, sizeof(*combuf));
524 ((struct admin_com *)retbuf)->ac_len = tlen;
527 memcpy(retbuf + sizeof(*combuf), buf->v, buf->l);
529 tlen = send(so, retbuf, tlen, 0);
530 racoon_free(retbuf);
/external/python/cpython2/Modules/
Dbinascii.c1046 char* retbuf; in binascii_hexlify() local
1065 retbuf = PyString_AS_STRING(retval); in binascii_hexlify()
1072 retbuf[j++] = c; in binascii_hexlify()
1075 retbuf[j++] = c; in binascii_hexlify()
1109 char* retbuf; in binascii_unhexlify() local
1134 retbuf = PyString_AS_STRING(retval); in binascii_unhexlify()
1144 retbuf[j++] = (top << 4) + bot; in binascii_unhexlify()
/external/ltp/testcases/kernel/mem/include/
Dmem.h75 void read_cpuset_files(char *prefix, char *filename, char *retbuf);
/external/python/cpython3/Modules/
Dbinascii.c1224 char* retbuf; in binascii_a2b_hex_impl() local
1249 retbuf = PyBytes_AS_STRING(retval); in binascii_a2b_hex_impl()
1263 retbuf[j++] = (top << 4) + bot; in binascii_a2b_hex_impl()
/external/ltp/testcases/kernel/mem/lib/
Dmem.c640 void read_cpuset_files(char *prefix, char *filename, char *retbuf) in read_cpuset_files() argument
660 if (read(fd, retbuf, BUFSIZ) < 0) in read_cpuset_files()