Home
last modified time | relevance | path

Searched refs:argsize (Results 1 – 12 of 12) sorted by relevance

/external/fmtlib/test/fuzzing/
Dnamed_arg.cpp13 void invoke_fmt(const uint8_t* Data, std::size_t Size, unsigned int argsize) { in invoke_fmt() argument
25 if (argsize <= 0 || argsize >= Size) { in invoke_fmt()
32 std::vector<char> argnamebuffer(argsize); in invoke_fmt()
33 std::memcpy(argnamebuffer.data(), Data, argsize); in invoke_fmt()
34 auto argname = fmt::string_view(argnamebuffer.data(), argsize); in invoke_fmt()
36 auto argname = fmt::string_view(fmt_fuzzer::as_chars(Data), argsize); in invoke_fmt()
38 Data += argsize; in invoke_fmt()
39 Size -= argsize; in invoke_fmt()
/external/libxml2/os400/
Drpgsupport.c186 __xmlVaArg(char * * list, void * dest, size_t argsize) in __xmlVaArg() argument
191 if (!argsize) in __xmlVaArg()
194 for (align = 16; align > argsize; align >>= 1) in __xmlVaArg()
199 list[1] = list[0] + argsize; in __xmlVaArg()
202 memcpy(dest, list[0], argsize); in __xmlVaArg()
Drpgsupport.h140 XMLPUBFUN void * __xmlVaArg(char * * list, void * dest, size_t argsize);
DREADME400223 d argsize 10i 0 value
/external/python/cpython3/Python/
Dfileutils.c323 size_t argsize = strlen(arg) + 1; in decode_ascii() local
330 if (argsize > PY_SSIZE_T_MAX / sizeof(wchar_t)) { in decode_ascii()
333 res = PyMem_RawMalloc(argsize * sizeof(wchar_t)); in decode_ascii()
373 size_t argsize; in decode_current_locale() local
391 argsize = strlen(arg); in decode_current_locale()
393 argsize = mbstowcs(NULL, arg, 0); in decode_current_locale()
395 if (argsize != (size_t)-1) { in decode_current_locale()
396 if (argsize > PY_SSIZE_T_MAX / sizeof(wchar_t) - 1) { in decode_current_locale()
399 res = (wchar_t *)PyMem_RawMalloc((argsize + 1) * sizeof(wchar_t)); in decode_current_locale()
404 count = mbstowcs(res, arg, argsize + 1); in decode_current_locale()
[all …]
/external/python/cpython2/Objects/
Dbytearrayobject.c2444 void *argptr, Py_ssize_t argsize) in lstrip_helper() argument
2447 while (i < mysize && memchr(argptr, myptr[i], argsize)) in lstrip_helper()
2454 void *argptr, Py_ssize_t argsize) in rstrip_helper() argument
2457 while (i >= 0 && memchr(argptr, myptr[i], argsize)) in rstrip_helper()
2470 Py_ssize_t left, right, mysize, argsize; in bytearray_strip() local
2478 argsize = 6; in bytearray_strip()
2484 argsize = varg.len; in bytearray_strip()
2488 left = lstrip_helper(myptr, mysize, argptr, argsize); in bytearray_strip()
2492 right = rstrip_helper(myptr, mysize, argptr, argsize); in bytearray_strip()
2506 Py_ssize_t left, right, mysize, argsize; in bytearray_lstrip() local
[all …]
/external/igt-gpu-tools/runner/
Dexecutor.c819 size_t argsize; in execute_test_process() local
823 argsize = strlen(entry->subtests[0]); in execute_test_process()
824 argv[2] = malloc(argsize + 1); in execute_test_process()
831 argv[2] = realloc(argv[2], argsize + sublen + 2); in execute_test_process()
832 argv[2][argsize] = ','; in execute_test_process()
833 strcpy(argv[2] + argsize + 1, sub); in execute_test_process()
834 argsize += sublen + 1; in execute_test_process()
/external/libxml2/os400/libxmlrpg/
Dxmlstdarg.rpgle30 d argsize value like(xmlCsize_t)
/external/mesa3d/src/gallium/winsys/svga/drm/
Dvmw_screen_ioctl.c518 int argsize; in vmw_ioctl_command() local
568 argsize = vws->ioctl.drm_execbuf_version > 1 ? sizeof(arg) : in vmw_ioctl_command()
571 ret = drmCommandWrite(vws->ioctl.drm_fd, DRM_VMW_EXECBUF, &arg, argsize); in vmw_ioctl_command()
/external/toybox/toys/posix/
Dfind.c88 int dir, plus, arglen, argsize, curly; member
525 } else aa->argsize += sizeof(char *) + strlen(ss[len]) + 1; in do_find()
/external/python/cpython3/Objects/
Dbytearrayobject.c1788 const void *argptr, Py_ssize_t argsize) in lstrip_helper() argument
1791 while (i < mysize && memchr(argptr, (unsigned char) myptr[i], argsize)) in lstrip_helper()
1798 const void *argptr, Py_ssize_t argsize) in rstrip_helper() argument
1801 while (i >= 0 && memchr(argptr, (unsigned char) myptr[i], argsize)) in rstrip_helper()
/external/libfuse/lib/
Dfuse_lowlevel.c234 size_t argsize) in send_reply() argument
238 if (argsize) { in send_reply()
240 iov[1].iov_len = argsize; in send_reply()
307 static int send_reply_ok(fuse_req_t req, const void *arg, size_t argsize) in send_reply_ok() argument
309 return send_reply(req, 0, arg, argsize); in send_reply_ok()