/device/linaro/bootloader/edk2/StdLib/LibC/Locale/ |
_wcstod.h | 60 size_t bufsiz, len;
local 89 bufsiz = len;
90 buf = (void *)malloc(bufsiz + 1);
95 len = wcstombs(buf, src, bufsiz + 1);
97 _DIAGASSERT(len == bufsiz);
|
/external/libedit/src/ |
fgetln.c | 51 static size_t bufsiz = 0; local 56 bufsiz = BUFSIZ; 57 if ((buf = malloc(bufsiz)) == NULL) 61 if (fgets(buf, bufsiz, fp) == NULL) 66 size_t nbufsiz = bufsiz + BUFSIZ; 78 if (fgets(&buf[bufsiz], BUFSIZ, fp) == NULL) { 79 buf[bufsiz] = '\0' [all...] |
/external/ltp/testcases/kernel/syscalls/readlinkat/ |
readlinkat02.c | 23 * 1. bufsiz is 0, EINVAL should be returned. 49 size_t bufsiz; member in struct:test_case_t 100 TEST(readlinkat(*test->dirfd, test->pathname, buf, test->bufsiz));
|
/external/valgrind/coregrind/ |
launcher-linux.c | 415 unsigned bufsiz = 0; local 419 bufsiz += 500; 420 buf = realloc(buf, bufsiz); 423 r = readlink(linkname, buf, bufsiz); 436 if (r == bufsiz) continue; // buffer to small; retry 438 assert(r < bufsiz); // paranoia
|
m_libcfile.c | 83 static SizeT bufsiz = 0; local 86 bufsiz = 500; 87 buf = VG_(malloc)("resolve_filename", bufsiz); 100 SSizeT res = VG_(readlink)(tmp, buf, bufsiz); 102 if (res == bufsiz) { // buffer too small; increase and retry 103 bufsiz += 500; 104 buf = VG_(realloc)("resolve_filename", buf, bufsiz); 107 vg_assert(bufsiz > res); // paranoia 641 SSizeT VG_(readlink) (const HChar* path, HChar* buf, SizeT bufsiz) 644 /* res = readlink( path, buf, bufsiz ); */ [all...] |
m_main.c | 1445 const SizeT bufsiz = 255; local [all...] |
/external/ltp/testcases/network/stress/ns-tools/ |
ns-common.c | 98 int bufsiz; /* buffer size of socket */ local 105 if ((fscanf(fp, "%d", &bufsiz)) != 1) { 111 (sd, SOL_SOCKET, level[idx], &bufsiz, sizeof(int))) { 121 optlen = sizeof(bufsiz); 123 (sd, SOL_SOCKET, level[idx], &bufsiz, 128 bufsiz);
|
/external/wpa_supplicant_8/src/utils/ |
xml_libxml2.c | 205 int bufsiz; local 213 xmlDocDumpFormatMemory(doc, &buf, &bufsiz, 0);
|
/external/ipsec-tools/src/libipsec/ |
pfkey.c | 1715 int bufsiz = 128 * 1024; \/*is 128K enough?*\/ local [all...] |
/external/openssh/ |
ssh-keyscan.c | 438 size_t bufsiz; local 443 bufsiz = sizeof(buf); 445 while (bufsiz-- &&
|
/external/valgrind/coregrind/m_debuginfo/ |
debuginfo.c | 2217 static SizeT bufsiz = 0; local [all...] |