Searched refs:buflen (Results 1 - 25 of 50) sorted by relevance

12

/vbox/src/VBox/Devices/EFI/Firmware/StdLib/BsdSocketLib/
H A Dns_print.c83 char **buf, size_t *buflen);
86 char **buf, size_t *buflen);
87 static void addlen(size_t len, char **buf, size_t *buflen);
89 char **buf, size_t *buflen);
91 char **buf, size_t *buflen);
105 * ns_sprintrr(handle, rr, name_ctx, origin, buf, buflen)
113 char *buf, size_t buflen)
120 name_ctx, origin, buf, buflen);
127 * name_ctx, origin, buf, buflen)
137 char *buf, size_t buflen)
111 ns_sprintrr(const ns_msg *handle, const ns_rr *rr, const char *name_ctx, const char *origin, char *buf, size_t buflen) argument
133 ns_sprintrrf(const u_char *msg, size_t msglen, const char *name, ns_class class, ns_type type, u_long ttl, const u_char *rdata, size_t rdlen, const char *name_ctx, const char *origin, char *buf, size_t buflen) argument
189 addlen(strlen(buf), &buf, &buflen); local
351 addlen(strlen(buf), &buf, &buflen); local
438 addlen(strlen(buf), &buf, &buflen); local
670 charstr(const u_char *rdata, const u_char *edata, char **buf, size_t *buflen) argument
704 addname(const u_char *msg, size_t msglen, const u_char **pp, const char *origin, char **buf, size_t *buflen) argument
743 addlen(size_t len, char **buf, size_t *buflen) argument
750 addstr(const char *src, size_t len, char **buf, size_t *buflen) argument
762 addtab(size_t len, size_t target, int spaced, char **buf, size_t *buflen) argument
[all...]
H A Dres_mkquery.c112 int buflen /* size of buffer */
132 if ((buf == NULL) || (buflen < HFIXEDSZ))
141 buflen -= HFIXEDSZ;
152 if ((buflen -= QFIXEDSZ) < 0)
154 if ((n = dn_comp(dname, cp, buflen, dnptrs, lastdnptr)) < 0)
157 buflen -= n;
168 buflen -= RRFIXEDSZ;
169 n = dn_comp((char *)data, cp, buflen, dnptrs, lastdnptr);
173 buflen -= n;
189 if (buflen <
[all...]
H A Dns_ttl.c75 static int fmt1(int t, char s, char **buf, size_t *buflen);
180 fmt1(int t, char s, char **buf, size_t *buflen) { argument
185 if (len + 1 > *buflen)
189 *buflen -= len;
H A Dgethostbydns.c205 int type, class, buflen, ancount, qdcount; local
234 buflen = sizeof hostbuf;
241 n = dn_expand(answer->buf, eom, cp, bp, buflen);
259 buflen -= n;
273 n = dn_expand(answer->buf, eom, cp, bp, buflen);
317 buflen -= n;
320 if (n > buflen || n >= MAXHOSTNAMELEN) {
327 buflen -= n;
343 if (n > buflen || n >= MAXHOSTNAMELEN) {
350 buflen
[all...]
H A Dres_mkupdate.c89 #define ShrinkBuffer(x) if ((buflen -= x) < 0) return (-2);
104 res_mkupdate(ns_updrec *rrecp_in, u_char *buf, int buflen) { argument
125 if ((buf == NULL) || (buflen < HFIXEDSZ))
134 buflen -= HFIXEDSZ;
207 if ((n = dn_comp(rrecp->r_dname, cp, buflen, dnptrs,
252 n = dn_comp(buf2, cp, buflen, dnptrs, lastdnptr);
265 n = dn_comp(buf2, cp, buflen,
306 n = dn_comp(buf2, cp, buflen, dnptrs, lastdnptr);
322 n = dn_comp(buf2, cp, buflen, dnptrs,
H A Dres_send.c334 int buflen,
354 (stdout, ";; res_send()\n"), buf, buflen);
355 v_circuit = (_res.options & RES_USEVC) || buflen > PACKETSZ;
379 act = (*Qhook)(&nsap, &buf, &buflen,
445 putshort((u_short)buflen, (u_char*)&len);
449 iov[1].iov_len = buflen;
450 if (writev(s, iov, 2) != (INT16SZ + buflen)) {
618 if (send(s, (char*)buf, buflen, 0) != buflen) {
653 if (sendto(s, (char*)buf, buflen,
332 res_send( const u_char *buf, int buflen, u_char *ans, int anssiz ) argument
[all...]
H A Dgetnetbydns.c125 int type, class, buflen, ancount, qdcount, haveanswer, i, nchar; local
151 buflen = sizeof(netbuf);
167 n = dn_expand(answer->buf, eom, cp, bp, buflen);
179 n = dn_expand(answer->buf, eom, cp, bp, buflen);
/vbox/src/libs/xpcom18a4/nsprpub/pr/src/misc/
H A Dprsystem.c97 PR_IMPLEMENT(PRStatus) PR_GetSystemInfo(PRSysInfo cmd, char *buf, PRUint32 buflen)
106 if (PR_FAILURE == _PR_MD_GETHOSTNAME(buf, (PRUintn)buflen))
115 while (buf[len] && (len < buflen)) {
128 if (PR_FAILURE == _PR_MD_GETSYSINFO(cmd, buf, (PRUintn)buflen))
131 (void)PR_snprintf(buf, buflen, _PR_SI_SYSNAME);
138 if (PR_FAILURE == _PR_MD_GETSYSINFO(cmd, buf, (PRUintn)buflen))
149 (void)PR_snprintf(buf, buflen, "%s%lu",
152 (void)PR_snprintf(buf, buflen, "%lu%s%lu",
155 (void)PR_snprintf(buf, buflen, "%.1f",
163 (void)PR_snprintf(buf, buflen, _PR_SI_ARCHITECTUR
[all...]
H A Dprnetdb.c464 PRIntn buflen = *buflenp; local
468 if (buflen < skip) {
472 buflen -= skip;
474 if (buflen < amount) {
478 *buflenp = buflen - amount;
1199 const char* name, char* buffer, PRInt32 buflen, PRProtoEnt* result)
1220 buflen -= (aligned - (PRUptrdiff)buffer);
1226 if (PR_NETDB_BUF_SIZE > buflen)
1233 if (NULL == getprotobyname_r(name, res, buffer, buflen))
1243 memset(buffer, 0, buflen);
[all...]
/vbox/src/VBox/Additions/x11/x11include/4.3/include/extensions/
H A Dlbxzlib.h55 extern int ZlibStuffInput ( int fd, unsigned char *buffer, int buflen );
58 extern int ZlibWrite ( int fd, unsigned char *buffer, int buflen );
60 extern int ZlibRead ( int fd, unsigned char *buffer, int buflen );
H A Dlbxopts.h104 int buflen
115 int buflen
/vbox/src/VBox/Devices/Network/lwip-new/src/include/lwip/
H A Dnetdb.h102 size_t buflen, struct hostent **result, int *h_errnop);
111 #define gethostbyname_r(name, ret, buf, buflen, result, h_errnop) \
112 lwip_gethostbyname_r(name, ret, buf, buflen, result, h_errnop)
/vbox/src/VBox/Devices/Network/lwip-new/src/core/ipv6/
H A Dip6_addr.c176 * @param buflen length of buf
181 ip6addr_ntoa_r(const ip6_addr_t *addr, char *buf, int buflen) argument
203 if (i >= buflen) return NULL;
210 if (i >= buflen) return NULL;
219 if (i >= buflen) return NULL;
228 if (i >= buflen) return NULL;
237 if (i >= buflen) return NULL;
241 if (i >= buflen) return NULL;
/vbox/src/libs/xpcom18a4/nsprpub/pr/include/
H A Dprsystem.h101 NSPR_API(PRStatus) PR_GetSystemInfo(PRSysInfo cmd, char *buf, PRUint32 buflen);
H A Dprtime.h297 NSPR_API(PRUint32) PR_FormatTime(char *buf, int buflen, const char *fmt,
/vbox/src/VBox/Devices/EFI/Firmware/StdLib/LibC/String/
H A DMisc.c41 strerror_r(int errnum, char *buf, size_t buflen) argument
53 for( i = buflen; i > 0; --i) {
/vbox/src/VBox/Devices/Network/lwip-new/src/include/ipv6/lwip/
H A Dinet6.h82 #define inet6_ntoa_r(addr, buf, buflen) ip6addr_ntoa_r((ip6_addr_t*)&(addr), buf, buflen)
/vbox/src/VBox/Devices/Network/lwip-new/src/include/ipv4/lwip/
H A Dinet.h115 #define inet_ntoa_r(addr, buf, buflen) ipaddr_ntoa_r((ip_addr_t*)&(addr), buf, buflen)
/vbox/src/libs/xpcom18a4/nsprpub/pr/src/md/unix/
H A Dncr.c280 char *ctime_r (const time_t *clock, char *buf, int buflen) argument
297 strncpy (buf, cbuf, buflen - 1);
298 buf[buflen - 1] = 0;
313 char *asctime_r (const struct tm *tm, char *buf, int buflen) argument
329 strncpy (buf, cbuf, buflen - 1);
330 buf[buflen - 1] = 0;
/vbox/src/VBox/Devices/EFI/Firmware/VBoxPkg/VBoxFsDxe/
H A Dfsw_core.c850 fsw_u32 buflen, copylen, pos; local
861 buflen = *buffer_size_inout;
865 if (buflen > dno->size - pos)
866 buflen = (fsw_u32)(dno->size - pos);
868 while (buflen > 0) {
895 if (copylen > buflen)
896 copylen = buflen;
909 if (copylen > buflen)
910 copylen = buflen;
915 if (copylen > buflen)
[all...]
/vbox/src/VBox/Devices/Network/lwip-new/src/core/ipv4/
H A Dip4_addr.c272 * @param buflen length of buf
276 char *ipaddr_ntoa_r(const ip_addr_t *addr, char *buf, int buflen) argument
299 if (len++ >= buflen) {
304 if (len++ >= buflen) {
/vbox/src/libs/xpcom18a4/nsprpub/pr/src/threads/
H A Dprmon.c210 PRUint32 _PR_MonitorToString(PRMonitor *mon, char *buf, PRUint32 buflen) argument
215 nb = PR_snprintf(buf, buflen, "[%p] owner=%d[%p] count=%ld",
219 nb = PR_snprintf(buf, buflen, "[%p]", mon);
/vbox/src/VBox/Devices/Graphics/shaderlib/wine/include/
H A Dwinsxs.idl164 [in][out] LPDWORD buflen);
170 [in][out] LPDWORD buflen,
184 [in][out] LPDWORD buflen,
/vbox/src/libs/xpcom18a4/nsprpub/pr/src/io/
H A Dpriometh.c504 PRInt32 buflen; local
519 buflen = sfd->hlen;
521 while (buflen) {
522 rv = PR_Send(sd, buffer, buflen, 0, timeout);
530 buflen -= rv;
602 buflen = sfd->tlen;
604 while (buflen) {
605 rv = PR_Send(sd, buffer, buflen, 0, timeout);
613 buflen -= rv;
/vbox/src/VBox/Devices/Audio/
H A Dwinaudio.c288 int buflen, i; local
292 buflen = va_arg (ap, int);
295 Assert(buflen);
297 Log(("winmm_ctl_out: setbufsize to %x\n", buflen));
299 if (buflen > oss->default_bufsize)
301 oss->default_bufsize = buflen;
302 oss->cBuffers = hw->bufsize / buflen;

Completed in 170 milliseconds

12