/ndk/sources/host-tools/make-3.81/glob/ |
glob.c | 641 size_t buflen = sysconf (_SC_LOGIN_NAME_MAX) + 1; 643 if (buflen == 0) 646 buflen = 20; 647 name = (char *) __alloca (buflen); 649 success = getlogin_r (name, buflen) >= 0; 742 size_t buflen = sysconf (_SC_GETPW_R_SIZE_MAX); 747 if (buflen == -1) 750 buflen = 1024; 751 pwtmpbuf = (char *) __alloca (buflen); 753 while (getpwnam_r (user_name, &pwbuf, pwtmpbuf, buflen, &p) != 0 640 size_t buflen = sysconf (_SC_LOGIN_NAME_MAX) + 1; local 741 size_t buflen = sysconf (_SC_GETPW_R_SIZE_MAX); local [all...] |
/external/ipsec-tools/src/racoon/ |
sockmisc.c | 374 recvfromto(s, buf, buflen, flags, from, fromlen, to, tolen) 377 size_t buflen; 409 iov[0].iov_len = buflen; 518 sendfromto(s, buf, buflen, src, dst, cnt) 521 size_t buflen; 587 iov[0].iov_len = buflen; 624 plogdump(LLV_DEBUG, (char *)buf, buflen); 647 iov[0].iov_len = buflen; 682 plogdump(LLV_DEBUG, (char *)buf, buflen); 749 len = sendto(sendsock, buf, buflen, 0, dst, sysdep_sa_len(dst)) [all...] |
/external/wpa_supplicant_8/wpa_supplicant/ |
ap.c | 727 const char *pin, char *buf, size_t buflen, 737 ret_len = os_snprintf(buf, buflen, "%08d", rpin); 740 ret_len = os_snprintf(buf, buflen, "%s", pin); 900 char *buf, size_t buflen) 905 buf, buflen); 910 char *buf, size_t buflen) 915 buf, buflen); 920 char *buf, size_t buflen) 925 buf, buflen); 950 size_t buflen, int verbose [all...] |
config_winreg.c | 122 DWORD val, buflen; local 125 buflen = sizeof(val); 126 ret = RegQueryValueEx(hk, name, NULL, NULL, (LPBYTE) &val, &buflen); 127 if (ret == ERROR_SUCCESS && buflen == sizeof(val)) { 139 DWORD buflen; local 143 buflen = 0; 144 ret = RegQueryValueEx(hk, name, NULL, NULL, NULL, &buflen); 147 val = os_malloc(buflen); 151 ret = RegQueryValueEx(hk, name, NULL, NULL, (LPBYTE) val, &buflen);
|
wifi_display.c | 236 char *buf, size_t buflen) 247 return wpa_snprintf_hex(buf, buflen,
|
/external/wpa_supplicant_8/src/drivers/ |
driver_privsep.c | 227 size_t buflen; local 235 buflen = sizeof(*data) + params->wpa_ie_len; 236 data = os_zalloc(buflen); 255 res = wpa_priv_cmd(drv, PRIVSEP_CMD_ASSOCIATE, data, buflen, 434 const size_t buflen = 2000; local 436 buf = os_malloc(buflen); 439 res = recvfrom(sock, buf, buflen, 0,
|
/external/dropbear/ |
common-channel.c | 668 unsigned int buflen; local 701 buflen = cbuf_writelen(cbuf); 702 buflen = MIN(buflen, len); 704 memcpy(cbuf_writeptr(cbuf, buflen), 705 buf_getptr(ses.payload, buflen), buflen); local 706 cbuf_incrwrite(cbuf, buflen); 707 buf_incrpos(ses.payload, buflen); 708 len -= buflen; [all...] |
/external/dhcpcd/ |
if-linux.c | 153 ssize_t buflen = 0, bytes; local 168 } else if (bytes == buflen) { 175 if (buflen < bytes) { 177 buflen = bytes + 1; 178 nbuf = realloc(buf, buflen); 183 bytes = recv(fd, buf, buflen, flags);
|
/external/iproute2/lib/ |
utils.c | 518 const char *rt_addr_n2a(int af, int len, const void *addr, char *buf, int buflen) 523 return inet_ntop(af, addr, buf, buflen); 526 return ipx_ntop(af, addr, buf, buflen); 531 return dnet_ntop(af, &dna, buf, buflen); 595 char *buf, int buflen) 627 return rt_addr_n2a(af, len, addr, buf, buflen);
|
/external/wpa_supplicant_8/src/eapol_supp/ |
eapol_supp_sm.c | 1066 * @buflen: Maximum buffer length 1075 int eapol_sm_get_status(struct eapol_sm *sm, char *buf, size_t buflen, 1082 len = os_snprintf(buf, buflen, 1087 if (len < 0 || (size_t) len >= buflen) 1091 ret = os_snprintf(buf + len, buflen - len, 1104 if (ret < 0 || (size_t) ret >= buflen - len) 1112 buf + len, buflen - len, 1116 len += eap_sm_get_status(sm->eap, buf + len, buflen - len, verbose); 1126 * @buflen: Maximum buffer length 1134 int eapol_sm_get_mib(struct eapol_sm *sm, char *buf, size_t buflen) [all...] |
/external/e2fsprogs/misc/ |
uuidd.c | 142 int buflen, int *num, const char **err_context) 177 if ((*num)*16 > buflen-4) 178 *num = (buflen-4) / 16; 202 if (reply_len < 0 || reply_len > buflen) {
|
/external/mdnsresponder/mDNSShared/ |
dnssd_ipc.h | 203 int get_string(const char **ptr, const char *const end, char *buffer, int buflen);
|
/external/qemu/telephony/ |
gsm.c | 335 gsm_rope_add( GsmRope rope, const void* buf, int buflen ) 337 if (gsm_rope_can_grow(rope, buflen)) { 338 memcpy( rope->data + rope->pos, (const char*)buf, buflen ); 340 rope->pos += buflen;
|
/external/srec/srec/include/ |
duk_args.h | 104 int get_arginfo_flags(arg_info *arglist, int argc, char buffer[], int buflen);
|
/external/wpa_supplicant_8/src/eap_peer/ |
eap.h | 289 int eap_sm_get_status(struct eap_sm *sm, char *buf, size_t buflen,
|
eap_ttls.c | [all...] |
/external/wpa_supplicant_8/wpa_supplicant/wpa_gui-qt4/ |
wpagui.h | 29 virtual int ctrlRequest(const char *cmd, char *buf, size_t *buflen);
|
/packages/apps/Nfc/nxp/jni/ |
com_android_nfc_NativeP2pDevice.cpp | 275 uint32_t buflen; local 294 buflen = (uint32_t)e->GetArrayLength(data); 296 TRACE("Buffer Length = %d\n", buflen); 299 transceive_info.sSendData.length = buflen; //- offset;
|
com_android_nfc_NativeNfcTag.cpp | 703 uint32_t buflen; local 741 buflen = outlen = (uint32_t)e->GetArrayLength(data); 754 outbuf = (uint8_t*)malloc(buflen + 2); 756 memcpy(outbuf, buf, buflen); 757 nfc_insert_crc_a(outbuf, buflen); 779 outbuf = (uint8_t*)malloc(buflen + 2); 781 memcpy(outbuf, buf, buflen); 782 nfc_insert_crc_a(outbuf, buflen); [all...] |
/external/wpa_supplicant_8/src/tls/ |
tlsv1_server_read.c | 772 size_t hlen, buflen; local 942 buflen = end - pos; 945 pos, end - pos, buf, &buflen) < 0) 955 buf, buflen); 973 if (buflen >= 19 + 32 && 979 os_memmove(buf, buf + 19, buflen - 19); 980 buflen -= 19; 992 if (buflen != hlen || os_memcmp(buf, hash, buflen) != 0) {
|
/external/linux-tools-perf/util/ |
probe-event.c | 1180 char **buf, size_t *buflen, 1186 buflen, depth + 1); 1191 ret = e_snprintf(*buf, *buflen, "%+ld(", ref->offset); 1196 *buflen -= ret; 1204 char *buf, size_t buflen) 1212 ret = e_snprintf(buf, buflen, " %s=", arg->name); 1214 ret = e_snprintf(buf, buflen, " "); 1218 buflen -= ret; 1227 &buflen, 1); 1234 ret = e_snprintf(buf, buflen, "%s%+ld", arg->value [all...] |
/external/libselinux/src/ |
avc_internal.c | 100 static int avc_netlink_receive(char *buf, unsigned buflen, int blocking) 122 rc = recvfrom(fd, buf, buflen, 0, (struct sockaddr *)&nladdr,
|
/external/libusb-compat/libusb/ |
usb.h | 290 size_t buflen); 292 size_t buflen);
|
/external/openssl/crypto/ |
o_time.c | 106 short buflen; member in struct:__anon12658 118 itemlist[0].buflen = sizeof(logvalue);
|
/external/openssh/ |
misc.c | 859 bandwidth_limit_init(struct bwlimit *bw, u_int64_t kbps, size_t buflen) 861 bw->buflen = buflen; 902 if (bw->thresh < bw->buflen / 4) 903 bw->thresh = bw->buflen / 4; 906 if (bw->thresh > bw->buflen * 8) 907 bw->thresh = bw->buflen * 8;
|