Home
last modified time | relevance | path

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

/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/python/cpython3/Python/
Dpystrhex.c9 Py_UCS1* retbuf; in _Py_strhex_impl() local
18 retbuf = (Py_UCS1*) PyMem_Malloc(arglen*2); in _Py_strhex_impl()
19 if (!retbuf) in _Py_strhex_impl()
26 retbuf = PyUnicode_1BYTE_DATA(retval); in _Py_strhex_impl()
33 retbuf[j++] = Py_hexdigits[c]; in _Py_strhex_impl()
35 retbuf[j++] = Py_hexdigits[c]; in _Py_strhex_impl()
39 retval = PyBytes_FromStringAndSize((const char *)retbuf, arglen*2); in _Py_strhex_impl()
40 PyMem_Free(retbuf); in _Py_strhex_impl()
/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.c1182 char* retbuf; in binascii_a2b_hex_impl() local
1202 retbuf = PyBytes_AS_STRING(retval); in binascii_a2b_hex_impl()
1212 retbuf[j++] = (top << 4) + bot; in binascii_a2b_hex_impl()
/external/ltp/testcases/kernel/mem/lib/
Dmem.c637 void read_cpuset_files(char *prefix, char *filename, char *retbuf) in read_cpuset_files() argument
657 if (read(fd, retbuf, BUFSIZ) < 0) in read_cpuset_files()