/external/tcpdump/ |
H A D | 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/hostapd/src/ap/ |
H A D | ctrl_iface_ap.h | 13 char *buf, size_t buflen); 15 char *buf, size_t buflen); 17 char *buf, size_t buflen);
|
H A D | p2p_hostapd.h | 15 char *buf, size_t buflen); 26 char *buf, size_t buflen) 24 hostapd_p2p_get_mib_sta(struct hostapd_data *hapd, struct sta_info *sta, char *buf, size_t buflen) argument
|
H A D | ctrl_iface_ap.c | 26 char *buf, size_t buflen) 31 ret = os_snprintf(buf, buflen, "FAIL\n"); 32 if (ret < 0 || (size_t) ret >= buflen) 38 ret = os_snprintf(buf + len, buflen - len, MACSTR "\n", 40 if (ret < 0 || (size_t) ret >= buflen - len) 44 res = ieee802_11_get_mib_sta(hapd, sta, buf + len, buflen - len); 47 res = wpa_get_mib_sta(sta->wpa_sm, buf + len, buflen - len); 50 res = ieee802_1x_get_mib_sta(hapd, sta, buf + len, buflen - len); 54 buflen - len); 57 res = hostapd_p2p_get_mib_sta(hapd, sta, buf + len, buflen 24 hostapd_ctrl_iface_sta_mib(struct hostapd_data *hapd, struct sta_info *sta, char *buf, size_t buflen) argument 65 hostapd_ctrl_iface_sta_first(struct hostapd_data *hapd, char *buf, size_t buflen) argument 72 hostapd_ctrl_iface_sta(struct hostapd_data *hapd, const char *txtaddr, char *buf, size_t buflen) argument 89 hostapd_ctrl_iface_sta_next(struct hostapd_data *hapd, const char *txtaddr, char *buf, size_t buflen) argument [all...] |
/external/wpa_supplicant_8/src/ap/ |
H A D | ctrl_iface_ap.h | 13 char *buf, size_t buflen); 15 char *buf, size_t buflen); 17 char *buf, size_t buflen);
|
H A D | p2p_hostapd.h | 15 char *buf, size_t buflen); 26 char *buf, size_t buflen) 24 hostapd_p2p_get_mib_sta(struct hostapd_data *hapd, struct sta_info *sta, char *buf, size_t buflen) argument
|
H A D | ctrl_iface_ap.c | 26 char *buf, size_t buflen) 31 ret = os_snprintf(buf, buflen, "FAIL\n"); 32 if (ret < 0 || (size_t) ret >= buflen) 38 ret = os_snprintf(buf + len, buflen - len, MACSTR "\n", 40 if (ret < 0 || (size_t) ret >= buflen - len) 44 res = ieee802_11_get_mib_sta(hapd, sta, buf + len, buflen - len); 47 res = wpa_get_mib_sta(sta->wpa_sm, buf + len, buflen - len); 50 res = ieee802_1x_get_mib_sta(hapd, sta, buf + len, buflen - len); 54 buflen - len); 57 res = hostapd_p2p_get_mib_sta(hapd, sta, buf + len, buflen 24 hostapd_ctrl_iface_sta_mib(struct hostapd_data *hapd, struct sta_info *sta, char *buf, size_t buflen) argument 65 hostapd_ctrl_iface_sta_first(struct hostapd_data *hapd, char *buf, size_t buflen) argument 72 hostapd_ctrl_iface_sta(struct hostapd_data *hapd, const char *txtaddr, char *buf, size_t buflen) argument 89 hostapd_ctrl_iface_sta_next(struct hostapd_data *hapd, const char *txtaddr, char *buf, size_t buflen) argument [all...] |
/external/wpa_supplicant_8/wpa_supplicant/src/ap/ |
H A D | ctrl_iface_ap.h | 13 char *buf, size_t buflen); 15 char *buf, size_t buflen); 17 char *buf, size_t buflen);
|
H A D | p2p_hostapd.h | 15 char *buf, size_t buflen); 26 char *buf, size_t buflen) 24 hostapd_p2p_get_mib_sta(struct hostapd_data *hapd, struct sta_info *sta, char *buf, size_t buflen) argument
|
H A D | ctrl_iface_ap.c | 26 char *buf, size_t buflen) 31 ret = os_snprintf(buf, buflen, "FAIL\n"); 32 if (ret < 0 || (size_t) ret >= buflen) 38 ret = os_snprintf(buf + len, buflen - len, MACSTR "\n", 40 if (ret < 0 || (size_t) ret >= buflen - len) 44 res = ieee802_11_get_mib_sta(hapd, sta, buf + len, buflen - len); 47 res = wpa_get_mib_sta(sta->wpa_sm, buf + len, buflen - len); 50 res = ieee802_1x_get_mib_sta(hapd, sta, buf + len, buflen - len); 54 buflen - len); 57 res = hostapd_p2p_get_mib_sta(hapd, sta, buf + len, buflen 24 hostapd_ctrl_iface_sta_mib(struct hostapd_data *hapd, struct sta_info *sta, char *buf, size_t buflen) argument 65 hostapd_ctrl_iface_sta_first(struct hostapd_data *hapd, char *buf, size_t buflen) argument 72 hostapd_ctrl_iface_sta(struct hostapd_data *hapd, const char *txtaddr, char *buf, size_t buflen) argument 89 hostapd_ctrl_iface_sta_next(struct hostapd_data *hapd, const char *txtaddr, char *buf, size_t buflen) argument [all...] |
/external/dropbear/libtomcrypt/src/encauth/gcm/ |
H A D | 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 [all...] |
H A D | 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/ |
H A D | 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;
|
H A D | 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;
|
/external/dhcpcd/compat/ |
H A D | getline.c | 41 getline(char ** __restrict buf, size_t * __restrict buflen, argument 47 if (buf == NULL || buflen == NULL) { 52 *buflen = 0; 59 newlen = *buflen + BUFSIZ; 64 *buflen = newlen;
|
H A D | getline.h | 34 ssize_t getline(char ** __restrict buf, size_t * __restrict buflen,
|
/external/chromium/third_party/libjingle/source/talk/base/ |
H A D | 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...] |
H A D | 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/ |
H A D | 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;
|
H A D | 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++) {
|
/external/dropbear/libtomcrypt/src/mac/f9/ |
H A D | 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/ |
H A D | 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/ |
H A D | 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_6/wpa_supplicant/ |
H A D | main_winsvc.c | 73 DWORD buflen, val; local 87 buflen = sizeof(ctrl_interface); 89 (LPBYTE) ctrl_interface, &buflen); 94 (int) buflen, (char *) ctrl_interface); 98 buflen = sizeof(adapter); 100 (LPBYTE) adapter, &buflen); 105 (int) buflen, (char *) adapter); 109 buflen = sizeof(config); 111 (LPBYTE) config, &buflen); 116 (int) buflen, (cha 146 DWORD val, buflen, i; local [all...] |
/external/wpa_supplicant_8/wpa_supplicant/ |
H A D | 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, (cha 140 DWORD val, buflen, i; local [all...] |