Searched refs:buflen (Results 1 - 25 of 54) sorted by path

123

/haiku/headers/libs/iconv/
H A Diconv.h101 void (*write_replacement) (const unsigned int *buf, size_t buflen,
111 void (*write_replacement) (const char *buf, size_t buflen,
122 void (*write_replacement) (const wchar_t *buf, size_t buflen,
132 void (*write_replacement) (const char *buf, size_t buflen,
/haiku/headers/posix/
H A Dpwd.h27 extern int getpwent_r(struct passwd* pwbuf, char* buf, size_t buflen,
/haiku/headers/private/audio/
H A Dsoundcard.h598 EXTERNC int OSS_init (int seqfd, int buflen);
599 EXTERNC void OSS_seqbuf_dump (int fd, unsigned char *buf, int buflen);
600 EXTERNC void OSS_seq_advbuf (int len, int fd, unsigned char *buf, int buflen);
602 int buflen);
604 unsigned char *buf, int buflen);
606 unsigned char *buf, int buflen);
/haiku/headers/private/mail/
H A Dmail_util.h70 ssize_t nextfoldedline(const char** header, char **buffer, size_t *buflen);
71 ssize_t readfoldedline(FILE *file, char **buffer, size_t *buflen);
72 ssize_t readfoldedline(BPositionIO &in, char **buffer, size_t *buflen);
85 // if buflen is not NULL, return the final size of the buffer in buflen
86 // if buffer is not NULL, buflen is not NULL, and *buffer is not NULL
87 // *buffer is a buffer of size *buflen
88 // if buffer is NULL or *buffer is NULL, and buflen is not NULL then
89 // start with a buffer of size *buflen
/haiku/src/add-ons/kernel/drivers/network/wlan/atheroswifi/dev/ath/
H A Dif_ath_btcoex_mci.c91 int buflen, error; local
93 buflen = ATH_MCI_GPM_BUF_SIZE + ATH_MCI_SCHED_BUF_SIZE;
95 "MCI bufs", buflen, 1);
133 memset(sc->sc_btcoex.gpm_buf, 0xfe, buflen);
/haiku/src/add-ons/kernel/drivers/network/wlan/iprowifi3945/dev/wpi/
H A Dif_wpi.c4107 uint16_t bintval, buflen, dwell_active, dwell_passive; local
4270 buflen = (uint8_t *)chan - buf;
4271 hdr->len = htole16(buflen);
4275 error = wpi_cmd(sc, WPI_CMD_SCAN, buf, buflen, 1);
/haiku/src/add-ons/kernel/drivers/network/wlan/realtekwifi/dev/rtwn/usb/
H A Drtwn_usb_var.h41 uint16_t buflen; member in struct:rtwn_data
/haiku/src/add-ons/kernel/file_systems/ntfs/libntfs/
H A Dsecurity.h314 char *buf, u32 buflen, u32 *psize);
/haiku/src/add-ons/media/media-add-ons/usb_webcam/
H A DCamDeframer.cpp185 CamDeframer::FindTags(const uint8 *buf, size_t buflen, const uint8 **tags, int tagcount, size_t taglen, size_t skiplen, int *which) argument
188 for (i = 0; i < (int)(buflen - skiplen + 1); i++) {
202 CamDeframer::FindSOF(const uint8 *buf, size_t buflen, int *which) argument
204 return FindTags(buf, buflen, fSOFTags, fNumSOFTags, fLenSOFTags, fSkipSOFTags, which);
209 CamDeframer::FindEOF(const uint8 *buf, size_t buflen, int *which) argument
211 return FindTags(buf, buflen, fEOFTags, fNumEOFTags, fLenEOFTags, fSkipEOFTags, which);
H A DCamDeframer.h57 int FindTags(const uint8 *buf, size_t buflen, const uint8 **tags, int tagcount, size_t taglen, size_t skiplen, int *which=NULL);
58 int FindSOF(const uint8 *buf, size_t buflen, int *which=NULL);
59 int FindEOF(const uint8 *buf, size_t buflen, int *which=NULL);
/haiku/src/bin/unzip/
H A Dapi.c456 ulg i, j, patternLen, buflen; local
469 buflen = retstr.strlength;
471 buflen = 100;
472 for (i = 0; i < buflen; i++) {
/haiku/src/libs/compat/freebsd_network/
H A Dfbsd_mii.c213 size_t buflen)
218 snprintf(buf, buflen, "oui=0x%x model=0x%x rev=0x%x",
226 size_t buflen)
231 snprintf(buf, buflen, "phyno=%d", ma->mii_phyno);
212 miibus_child_pnpinfo_str(device_t dev __unused, device_t child, char *buf, size_t buflen) argument
225 miibus_child_location_str(device_t dev __unused, device_t child, char *buf, size_t buflen) argument
H A Dshared.h52 char *buf, size_t buflen);
54 char *buf, size_t buflen);
/haiku/src/libs/compat/freebsd_wlan/net80211/
H A Dieee80211_crypto_wep.c354 size_t buflen, data_len; local
382 buflen = m->m_len - off;
384 if (buflen > data_len)
385 buflen = data_len;
386 data_len -= buflen;
387 for (k = 0; k < buflen; k++) {
408 buflen = m->m_len;
437 size_t buflen, data_len; local
465 buflen = m->m_len - off;
467 if (buflen > data_le
[all...]
/haiku/src/libs/iconv/
H A Dloop_unicode.h165 static void uc_to_mb_write_replacement (const char *buf, size_t buflen, argument
173 if (plocals->l_outbytesleft < buflen)
176 memcpy(plocals->l_outbuf, buf, buflen);
177 plocals->l_outbuf += buflen;
178 plocals->l_outbytesleft -= buflen;
190 static void mb_to_uc_write_replacement (const unsigned int *buf, size_t buflen, argument
201 for (; buflen > 0; buf++, buflen--) {
H A Dloop_wchar.h72 static void wc_to_mb_write_replacement (const char *buf, size_t buflen,
82 size_t bufleft = buflen;
112 static void wc_to_mb_write_replacement (const char *buf, size_t buflen, argument
120 if (plocals->l_outbytesleft < buflen)
123 memcpy(plocals->l_outbuf, buf, buflen);
124 plocals->l_outbuf += buflen;
125 plocals->l_outbytesleft -= buflen;
296 static void mb_to_wc_write_replacement (const wchar_t *buf, size_t buflen, argument
304 if (plocals->l_outbytesleft < sizeof(wchar_t)*buflen)
307 for (; buflen >
[all...]
/haiku/src/libs/libtelnet/
H A Dauth.c593 auth_printsub(unsigned char *data, int cnt, unsigned char *buf, int buflen) argument
598 (*ap->printsub)(data, cnt, buf, buflen);
600 auth_gen_printsub(data, cnt, buf, buflen);
604 auth_gen_printsub(unsigned char *data, int cnt, unsigned char *buf, int buflen) argument
611 buf[buflen-1] = '\0';
612 buf[buflen-2] = '*';
613 buflen -= 2;
616 for (cp = tbuf; *cp && buflen > 0; --buflen)
618 if (buflen <
[all...]
H A Denc_des.c443 fb64_printsub(unsigned char *data, int cnt, unsigned char *buf, int buflen, const char *type) argument
449 buf[buflen-1] = '\0'; /* make sure it's NULL terminated */
450 buflen -= 1;
472 for (; (buflen > 0) && (*buf = *cp++); buf++)
473 buflen--;
476 for (cp = lbuf; (buflen > 0) && (*buf = *cp++); buf++)
477 buflen--;
484 cfb64_printsub(unsigned char *data, int cnt, unsigned char *buf, int buflen) argument
486 fb64_printsub(data, cnt, buf, buflen, "CFB64");
490 ofb64_printsub(unsigned char *data, int cnt, unsigned char *buf, int buflen) argument
[all...]
H A Dencrypt.c920 encrypt_gen_printsub(unsigned char *data, int cnt, unsigned char *buf, int buflen) argument
926 buf[buflen-1] = '\0';
927 buf[buflen-2] = '*';
928 buflen -= 2;;
931 for (cp = tbuf; *cp && buflen > 0; --buflen)
933 if (buflen <= 0)
940 encrypt_printsub(unsigned char *data, int cnt, unsigned char *buf, int buflen) argument
949 (*ep->printsub)(data, cnt, buf, buflen);
951 encrypt_gen_printsub(data, cnt, buf, buflen);
[all...]
H A Dkerberos.c420 kerberos4_printsub(unsigned char *data, int cnt, unsigned char *buf, int buflen) argument
425 buf[buflen-1] = '\0'; /* make sure its NULL terminated */
426 buflen -= 1;
430 strncpy((char *)buf, " REJECT ", buflen);
434 strncpy((char *)buf, " ACCEPT ", buflen);
436 BUMP(buf, buflen);
439 ADDC(buf, buflen, '"');
441 ADDC(buf, buflen, data[i]);
442 ADDC(buf, buflen, '"');
443 ADDC(buf, buflen, '\
[all...]
H A Dkerberos5.c679 kerberos5_printsub(unsigned char *data, int cnt, unsigned char *buf, int buflen) argument
683 buf[buflen-1] = '\0'; /* make sure its NULL terminated */
684 buflen -= 1;
688 strlcpy((char *)buf, " REJECT ", buflen);
692 strlcpy((char *)buf, " ACCEPT ", buflen);
694 BUMP(buf, buflen);
697 ADDC(buf, buflen, '"');
699 ADDC(buf, buflen, data[i]);
700 ADDC(buf, buflen, '"');
701 ADDC(buf, buflen, '\
[all...]
H A Dkrb4encpwd.c354 krb4encpwd_printsub(data, cnt, buf, buflen)
356 int cnt, buflen;
361 buf[buflen-1] = '\0'; /* make sure its NULL terminated */
362 buflen -= 1;
366 strncpy((char *)buf, " REJECT ", buflen);
370 strncpy((char *)buf, " ACCEPT ", buflen);
372 BUMP(buf, buflen);
375 ADDC(buf, buflen, '"');
377 ADDC(buf, buflen, data[i]);
378 ADDC(buf, buflen, '"');
[all...]
H A Drsaencpwd.c401 rsaencpwd_printsub(data, cnt, buf, buflen)
403 int cnt, buflen;
408 buf[buflen-1] = '\0'; /* make sure its NULL terminated */
409 buflen -= 1;
413 strncpy((char *)buf, " REJECT ", buflen);
417 strncpy((char *)buf, " ACCEPT ", buflen);
419 BUMP(buf, buflen);
422 ADDC(buf, buflen, '"');
424 ADDC(buf, buflen, data[i]);
425 ADDC(buf, buflen, '"');
[all...]
H A Dsra.c358 sra_printsub(unsigned char *data, int cnt, unsigned char *buf, int buflen) argument
363 buf[buflen-1] = '\0'; /* make sure its NULL terminated */
364 buflen -= 1;
369 strncpy((char *)buf, " CONTINUE ", buflen);
373 strncpy((char *)buf, " REJECT ", buflen);
377 strncpy((char *)buf, " ACCEPT ", buflen);
380 BUMP(buf, buflen);
383 ADDC(buf, buflen, '"');
385 ADDC(buf, buflen, data[i]);
386 ADDC(buf, buflen, '"');
[all...]
/haiku/src/system/libnetwork/netresolv/nameser/
H A Dns_ttl.c51 static int fmt1(int t, char s, char **buf, size_t *buflen);
160 fmt1(int t, char s, char **buf, size_t *buflen) { argument
165 if (len + 1 > *buflen)
169 *buflen -= len;

Completed in 136 milliseconds

123