/external/libedit/src/ |
D | fgetln.c | 51 static size_t bufsiz = 0; in fgetln() local 56 bufsiz = BUFSIZ; in fgetln() 57 if ((buf = malloc(bufsiz)) == NULL) in fgetln() 61 if (fgets(buf, bufsiz, fp) == NULL) in fgetln() 66 size_t nbufsiz = bufsiz + BUFSIZ; in fgetln() 78 if (fgets(&buf[bufsiz], BUFSIZ, fp) == NULL) { in fgetln() 79 buf[bufsiz] = '\0'; in fgetln() 84 *len = bufsiz; in fgetln() 85 bufsiz = nbufsiz; in fgetln()
|
/external/valgrind/coregrind/ |
D | launcher-linux.c | 415 unsigned bufsiz = 0; in main() local 419 bufsiz += 500; in main() 420 buf = realloc(buf, bufsiz); in main() 423 r = readlink(linkname, buf, bufsiz); in main() 436 if (r == bufsiz) continue; // buffer to small; retry in main() 438 assert(r < bufsiz); // paranoia in main()
|
D | m_libcfile.c | 83 static SizeT bufsiz = 0; in VG_() local 86 bufsiz = 500; in VG_() 87 buf = VG_(malloc)("resolve_filename", bufsiz); in VG_() 100 SSizeT res = VG_(readlink)(tmp, buf, bufsiz); in VG_() 102 if (res == bufsiz) { // buffer too small; increase and retry in VG_() 103 bufsiz += 500; in VG_() 104 buf = VG_(realloc)("resolve_filename", buf, bufsiz); in VG_() 107 vg_assert(bufsiz > res); // paranoia in VG_() 641 SSizeT VG_(readlink) (const HChar* path, HChar* buf, SizeT bufsiz) in VG_() 647 (UWord)path, (UWord)buf, bufsiz); in VG_() [all …]
|
D | m_main.c | 1445 const SizeT bufsiz = 255; in print_preamble() local 1446 HChar version_buf[bufsiz+1]; in print_preamble() 1450 n = VG_(read)(fdno, version_buf, bufsiz); in print_preamble() 1457 } while (n == bufsiz); in print_preamble()
|
/external/valgrind/coregrind/m_aspacemgr/ |
D | aspacemgr-common.c | 286 Int ML_(am_readlink)(const HChar* path, HChar* buf, UInt bufsiz) in ML_() 291 (UWord)path, (UWord)buf, bufsiz); in ML_() 294 (UWord)buf, bufsiz); in ML_() 296 res = VG_(do_syscall3)(__NR_readlink, (UWord)path, (UWord)buf, bufsiz); in ML_() 299 (UWord)buf, bufsiz); in ML_()
|
D | priv_aspacemgr.h | 115 extern Int ML_(am_readlink) ( const HChar* path, HChar* buf, UInt bufsiz );
|
/external/ipsec-tools/src/libipsec/ |
D | pfkey.c | 1715 int bufsiz = 128 * 1024; /*is 128K enough?*/ in pfkey_open() local 1726 (void)setsockopt(so, SOL_SOCKET, SO_SNDBUF, &bufsiz, sizeof(bufsiz)); in pfkey_open() 1727 (void)setsockopt(so, SOL_SOCKET, SO_RCVBUF, &bufsiz, sizeof(bufsiz)); in pfkey_open() 1728 bufsiz = 256 * 1024; in pfkey_open() 1729 (void)setsockopt(so, SOL_SOCKET, SO_RCVBUF, &bufsiz, sizeof(bufsiz)); in pfkey_open() 1730 bufsiz = 512 * 1024; in pfkey_open() 1731 (void)setsockopt(so, SOL_SOCKET, SO_RCVBUF, &bufsiz, sizeof(bufsiz)); in pfkey_open() 1732 bufsiz = 1024 * 1024; in pfkey_open() 1733 (void)setsockopt(so, SOL_SOCKET, SO_RCVBUF, &bufsiz, sizeof(bufsiz)); in pfkey_open()
|
/external/valgrind/include/ |
D | pub_tool_libcfile.h | 94 extern SSizeT VG_(readlink)( const HChar* path, HChar* buf, SizeT bufsiz);
|
/external/libxml2/os400/dlfcn/ |
D | dlfcn.c | 406 dlresolveLink(const char * path, char * buf, size_t bufsiz) in dlresolveLink() argument 425 if (!path || !*path || !bufsiz) { in dlresolveLink() 477 if (l1 >= bufsiz) { in dlresolveLink()
|
/external/wpa_supplicant_8/src/utils/ |
D | xml_libxml2.c | 205 int bufsiz; in xml_node_to_str() local 213 xmlDocDumpFormatMemory(doc, &buf, &bufsiz, 0); in xml_node_to_str()
|
/external/toybox/lib/ |
D | portability.h | 124 int readlinkat(int dirfd, const char *pathname, char *buf, size_t bufsiz);
|
/external/valgrind/coregrind/m_debuginfo/ |
D | debuginfo.c | 2171 putStr( SizeT n, HChar** buf, SizeT *bufsiz, const HChar* str ) in putStr() argument 2176 if (need > *bufsiz) { in putStr() 2178 *bufsiz = need; in putStr() 2179 *buf = ML_(dinfo_realloc)("putStr", *buf, *bufsiz); in putStr() 2189 putStrEsc( SizeT n, HChar** buf, SizeT *bufsiz, const HChar* str ) in putStrEsc() argument 2196 n = putStr( n, buf, bufsiz, "&"); in putStrEsc() 2199 n = putStr( n, buf, bufsiz, "<"); in putStrEsc() 2202 n = putStr( n, buf, bufsiz, ">"); in putStrEsc() 2207 n = putStr( n, buf, bufsiz, alt ); in putStrEsc() 2217 static SizeT bufsiz = 0; in VG_() local [all …]
|
/external/compiler-rt/include/sanitizer/ |
D | linux_syscall_hooks.h | 795 #define __sanitizer_syscall_pre_readlink(path, buf, bufsiz) \ argument 797 (long)(bufsiz)) 798 #define __sanitizer_syscall_post_readlink(res, path, buf, bufsiz) \ argument 800 (long)(bufsiz)) 1652 #define __sanitizer_syscall_pre_readlinkat(dfd, path, buf, bufsiz) \ argument 1654 (long)(buf), (long)(bufsiz)) 1655 #define __sanitizer_syscall_post_readlinkat(res, dfd, path, buf, bufsiz) \ argument 1657 (long)(buf), (long)(bufsiz)) 2445 void __sanitizer_syscall_pre_impl_readlink(long path, long buf, long bufsiz); 2447 long bufsiz); [all …]
|
/external/valgrind/memcheck/tests/solaris/ |
D | scalar_obsolete.stderr.exp | 195 Syscall param readlink(bufsiz) contains uninitialised byte(s)
|
D | scalar.stderr.exp | 261 Syscall param readlinkat(bufsiz) contains uninitialised byte(s) 4425 Syscall param resolvepath(bufsiz) contains uninitialised byte(s)
|
/external/compiler-rt/lib/msan/ |
D | msan_interceptors.cc | 126 INTERCEPTOR(SSIZE_T, readlink, const char *path, char *buf, SIZE_T bufsiz) { in INTERCEPTOR() argument 129 SSIZE_T res = REAL(readlink)(path, buf, bufsiz); in INTERCEPTOR()
|
/external/compiler-rt/lib/sanitizer_common/ |
D | sanitizer_common_syscalls.inc | 1380 PRE_SYSCALL(readlink)(const void *path, void *buf, long bufsiz) { 1385 POST_SYSCALL(readlink)(long res, const void *path, void *buf, long bufsiz) { 2610 PRE_SYSCALL(readlinkat)(long dfd, const void *path, void *buf, long bufsiz) { 2616 long bufsiz) {
|
/external/valgrind/coregrind/m_syswrap/ |
D | syswrap-generic.c | 4128 const char *, path, char *, buf, int, bufsiz); in PRE()
|
D | syswrap-solaris.c | 2294 char *, buf, int, bufsiz); in PRE() 9360 vki_size_t, bufsiz);
|
D | syswrap-darwin.c | 9704 int, dfd, const char *, path, char *, buf, int, bufsiz); in PRE()
|
D | syswrap-linux.c | 4677 int, dfd, const char *, path, char *, buf, vki_size_t, bufsiz); in PRE()
|
/external/valgrind/memcheck/tests/x86-linux/ |
D | scalar.stderr.exp | 951 Syscall param readlink(bufsiz) contains uninitialised byte(s)
|