Searched defs:lenbuf (Results 1 - 7 of 7) sorted by relevance

/external/bison/lib/
H A Dfprintf.c41 size_t lenbuf = sizeof (buf); local
45 output = vasnprintf (buf, &lenbuf, format, args);
46 len = lenbuf;
H A Dsnprintf.c41 size_t lenbuf = size; local
45 output = vasnprintf (str, &lenbuf, format, args);
46 len = lenbuf;
H A Dsprintf.c44 size_t lenbuf; local
50 is so large that str + lenbuf wraps around, i.e.
51 (uintptr_t) (str + lenbuf) < (uintptr_t) str.
52 Therefore set lenbuf = min (SIZE_MAX, INT_MAX, - (uintptr_t) str - 1). */
53 lenbuf = (SIZE_MAX < INT_MAX ? SIZE_MAX : INT_MAX);
54 if (lenbuf > ~ (uintptr_t) str)
55 lenbuf = ~ (uintptr_t) str;
58 output = vasnprintf (str, &lenbuf, format, args);
59 len = lenbuf;
H A Dvfprintf.c41 size_t lenbuf = sizeof (buf); local
43 output = vasnprintf (buf, &lenbuf, format, args);
44 len = lenbuf;
H A Dvsnprintf.c43 size_t lenbuf = size; local
45 output = vasnprintf (str, &lenbuf, format, args);
46 len = lenbuf;
H A Dvsprintf.c44 size_t lenbuf; local
49 is so large that str + lenbuf wraps around, i.e.
50 (uintptr_t) (str + lenbuf) < (uintptr_t) str.
51 Therefore set lenbuf = min (SIZE_MAX, INT_MAX, - (uintptr_t) str - 1). */
52 lenbuf = (SIZE_MAX < INT_MAX ? SIZE_MAX : INT_MAX);
53 if (lenbuf > ~ (uintptr_t) str)
54 lenbuf = ~ (uintptr_t) str;
56 output = vasnprintf (str, &lenbuf, format, args);
57 len = lenbuf;
/external/mdnsresponder/mDNSCore/
H A DDNSCommon.c2634 mDNSu8 lenbuf[2] = { (mDNSu8)(msglen >> 8), (mDNSu8)(msglen & 0xFF) }; local
2635 long nsent = mDNSPlatformWriteTCP(sock, (char*)lenbuf, 2); // Should do scatter/gather here -- this is probably going out as two packets

Completed in 165 milliseconds