HomeSort by relevance Sort by last modified time
    Searched refs:buflen (Results 1 - 25 of 368) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /hardware/invensense/mlsdk/platform/linux/
log_printf_linux.c 35 int _MLWriteLog (const char * buf, int buflen)
  /bionic/libc/bionic/
recv.c 31 ssize_t recv(int socket, void *buf, size_t buflen, unsigned int flags)
33 return recvfrom(socket, buf, buflen, flags, NULL, 0);
send.c 31 ssize_t send(int socket, const void *buf, size_t buflen, unsigned int flags)
33 return (ssize_t) sendto(socket, buf, buflen, flags, NULL, 0);
gethostname.c 33 int gethostname(char* buff, size_t buflen)
43 if ((int)buflen < namelen+1) {
  /external/tcpdump/
decode_prefix.h 36 extern int decode_prefix4(const u_char *pptr, char *buf, u_int buflen);
38 extern int decode_prefix6(const u_char *pd, char *buf, u_int buflen);
  /external/wpa_supplicant_8/src/ap/
ctrl_iface_ap.h 13 char *buf, size_t buflen);
15 char *buf, size_t buflen);
17 char *buf, size_t buflen);
p2p_hostapd.h 15 char *buf, size_t buflen);
26 char *buf, size_t buflen)
  /bionic/libc/netbsd/nameser/
ns_print.c 64 char **buf, size_t *buflen);
67 char **buf, size_t *buflen);
68 static void addlen(size_t len, char **buf, size_t *buflen);
70 char **buf, size_t *buflen);
72 char **buf, size_t *buflen);
86 * ns_sprintrr(handle, rr, name_ctx, origin, buf, buflen)
94 char *buf, size_t buflen)
101 name_ctx, origin, buf, buflen);
108 * name_ctx, origin, buf, buflen)
118 char *buf, size_t buflen)
170 addlen(strlen(buf), &buf, &buflen); local
338 addlen(strlen(buf), &buf, &buflen); local
429 addlen(strlen(buf), &buf, &buflen); local
671 addlen(strlen(buf), &buf, &buflen); local
694 addlen(strlen(buf), &buf, &buflen); local
    [all...]
  /external/dropbear/libtomcrypt/src/encauth/gcm/
gcm_add_aad.c 41 if (gcm->buflen > 16 || gcm->buflen < 0) {
52 if (gcm->ivmode || gcm->buflen != 12) {
53 for (x = 0; x < (unsigned long)gcm->buflen; x++) {
56 if (gcm->buflen) {
57 gcm->totlen += gcm->buflen * CONST64(8);
81 gcm->buflen = 0;
86 if (gcm->mode != GCM_MODE_AAD || gcm->buflen >= 16) {
92 if (gcm->buflen == 0) {
107 gcm->X[gcm->buflen++] ^= *adata++
    [all...]
gcm_add_iv.c 43 if (gcm->buflen >= 16 || gcm->buflen < 0) {
53 if (IVlen + gcm->buflen > 12) {
59 if (gcm->buflen == 0) {
73 gcm->buf[gcm->buflen++] = *IV++;
75 if (gcm->buflen == 16) {
81 gcm->buflen = 0;
  /external/dropbear/libtomcrypt/src/mac/omac/
omac_process.c 39 if ((omac->buflen > (int)sizeof(omac->block)) || (omac->buflen < 0) ||
40 (omac->blklen > (int)sizeof(omac->block)) || (omac->buflen > omac->blklen)) {
45 if (omac->buflen == 0 && inlen > 16) {
62 if (omac->buflen == omac->blklen) {
69 omac->buflen = 0;
73 n = MIN(inlen, (unsigned long)(omac->blklen - omac->buflen));
74 XMEMCPY(omac->block + omac->buflen, in, n);
75 omac->buflen += n;
omac_done.c 39 if ((omac->buflen > (int)sizeof(omac->block)) || (omac->buflen < 0) ||
40 (omac->blklen > (int)sizeof(omac->block)) || (omac->buflen > omac->blklen)) {
45 if (omac->buflen != omac->blklen) {
47 omac->block[omac->buflen++] = 0x80;
50 while (omac->buflen < omac->blklen) {
51 omac->block[omac->buflen++] = 0x00;
  /bionic/libc/upstream-netbsd/libc/stdio/
getline.c 42 getline(char **__restrict buf, size_t *__restrict buflen, FILE *__restrict fp)
44 return getdelim(buf, buflen, '\n', fp);
  /external/dhcpcd/compat/
getline.c 41 getline(char ** __restrict buf, size_t * __restrict buflen,
47 if (buf == NULL || buflen == NULL) {
52 *buflen = 0;
59 newlen = *buflen + BUFSIZ;
64 *buflen = newlen;
getline.h 34 ssize_t getline(char ** __restrict buf, size_t * __restrict buflen,
  /external/bison/lib/
strerror_r.c 37 extern int __xpg_strerror_r (int errnum, char *buf, size_t buflen);
96 local_snprintf (char *buf, size_t buflen, const char *format, ...)
102 result = _vsnprintf (buf, buflen, format, args);
104 if (buflen > 0 && (result < 0 || result >= buflen))
105 buf[buflen - 1] = '\0';
112 Return 0 if MSG fit in BUFLEN, otherwise return ERANGE. */
114 safe_copy (char *buf, size_t buflen, const char *msg)
119 if (len < buflen)
128 memcpy (buf, msg, buflen - 1)
    [all...]
  /external/chromium/third_party/libjingle/source/talk/base/
stringencode.cc 63 size_t escape(char * buffer, size_t buflen,
67 if (buflen <= 0)
71 while ((srcpos < srclen) && (bufpos + 1 < buflen)) {
74 if (bufpos + 2 >= buflen)
85 size_t unescape(char * buffer, size_t buflen,
89 if (buflen <= 0)
93 while ((srcpos < srclen) && (bufpos + 1 < buflen)) {
104 size_t encode(char * buffer, size_t buflen,
108 if (buflen <= 0)
112 while ((srcpos < srclen) && (bufpos + 1 < buflen)) {
    [all...]
stringencode.h 47 // of the encoded string, or 0 if the encoding is longer than buflen - 1.
48 size_t utf8_encode(char* buffer, size_t buflen, unsigned long value);
55 size_t escape(char * buffer, size_t buflen,
59 size_t unescape(char * buffer, size_t buflen,
67 size_t encode(char * buffer, size_t buflen,
71 size_t decode(char * buffer, size_t buflen,
81 size_t url_encode(char * buffer, size_t buflen,
84 size_t url_decode(char * buffer, size_t buflen,
88 size_t html_encode(char * buffer, size_t buflen,
91 size_t html_decode(char * buffer, size_t buflen,
    [all...]
  /external/dropbear/libtomcrypt/src/mac/pmac/
pmac_process.c 40 if ((pmac->buflen > (int)sizeof(pmac->block)) || (pmac->buflen < 0) ||
41 (pmac->block_len > (int)sizeof(pmac->block)) || (pmac->buflen > pmac->block_len)) {
46 if (pmac->buflen == 0 && inlen > 16) {
67 if (pmac->buflen == pmac->block_len) {
78 pmac->buflen = 0;
82 n = MIN(inlen, (unsigned long)(pmac->block_len - pmac->buflen));
83 XMEMCPY(pmac->block + pmac->buflen, in, n);
84 pmac->buflen += n;
pmac_done.c 30 if ((state->buflen > (int)sizeof(state->block)) || (state->buflen < 0) ||
31 (state->block_len > (int)sizeof(state->block)) || (state->buflen > state->block_len)) {
38 if (state->buflen == state->block_len) {
45 for (x = 0; x < state->buflen; x++) {
  /bionic/libc/netbsd/resolv/
__res_send.c 31 res_send(const u_char *buf, int buflen, u_char *ans, int anssiz)
34 return __res_send(buf, buflen, ans, anssiz);
  /external/dropbear/libtomcrypt/src/mac/f9/
f9_process.c 39 (f9->buflen > f9->blocksize) || (f9->buflen < 0)) {
44 if (f9->buflen == 0) {
60 if (f9->buflen == f9->blocksize) {
65 f9->buflen = 0;
67 f9->IV[f9->buflen++] ^= *in++;
  /external/dropbear/libtomcrypt/src/mac/xcbc/
xcbc_process.c 42 (xcbc->buflen > xcbc->blocksize) || (xcbc->buflen < 0)) {
47 if (xcbc->buflen == 0) {
60 if (xcbc->buflen == xcbc->blocksize) {
62 xcbc->buflen = 0;
64 xcbc->IV[xcbc->buflen++] ^= *in++;
  /external/openssl/crypto/ecdh/
ech_ossl.c 118 size_t buflen, len; local
171 buflen = (EC_GROUP_get_degree(group) + 7)/8;
173 if (len > buflen)
178 if ((buf = OPENSSL_malloc(buflen)) == NULL)
184 memset(buf, 0, buflen - len);
185 if (len != (size_t)BN_bn2bin(x, buf + buflen - len))
193 if (KDF(buf, buflen, out, &outlen) == NULL)
203 if (outlen > buflen)
204 outlen = buflen;
  /external/wpa_supplicant_8/wpa_supplicant/
main_winsvc.c 67 DWORD buflen, val; local
81 buflen = sizeof(ctrl_interface);
83 (LPBYTE) ctrl_interface, &buflen);
88 (int) buflen, (char *) ctrl_interface);
92 buflen = sizeof(adapter);
94 (LPBYTE) adapter, &buflen);
99 (int) buflen, (char *) adapter);
103 buflen = sizeof(config);
105 (LPBYTE) config, &buflen);
110 (int) buflen, (char *) config)
140 DWORD val, buflen, i; local
    [all...]

Completed in 643 milliseconds

1 2 3 4 5 6 7 8 91011>>