/external/openssh/openbsd-compat/ |
pwcache.c | 55 static char nbuf[15]; /* 32 bits == 10 digits */ local 70 (void)snprintf(nbuf, sizeof(nbuf), "%u", uid); 75 cp->name = strdup(pw ? pw->pw_name : nbuf); 90 static char nbuf[15]; /* 32 bits == 10 digits */ local 105 (void)snprintf(nbuf, sizeof(nbuf), "%u", gid); 110 cp->name = strdup(gr ? gr->gr_name : nbuf);
|
/external/wpa_supplicant_8/src/utils/ |
wpabuf.c | 70 unsigned char *nbuf; local 72 nbuf = os_realloc(buf->buf, buf->used + add_len); 73 if (nbuf == NULL) 75 os_memset(nbuf + buf->used, 0, add_len); 76 buf->buf = nbuf; 79 nbuf = os_realloc(trace, sizeof(struct wpabuf_trace) + 82 if (nbuf == NULL) 84 trace = (struct wpabuf_trace *) nbuf; 86 os_memset(nbuf + sizeof(struct wpabuf_trace) + 90 nbuf = os_realloc(buf, sizeof(struct wpabuf) [all...] |
/external/oprofile/daemon/liblegacy/ |
init.c | 47 static struct op_note * nbuf; variable in typeref:struct:op_note 117 * @param nbuf note buffer area 120 static void opd_shutdown(struct op_buffer_head * buf, size_t size, struct op_note * nbuf, size_t nsize) 134 ncount = op_read_device(notedevfd, nbuf, nsize); 137 opd_do_notes(nbuf, ncount); 159 * @param nbuf note buffer 165 static void opd_do_read(struct op_buffer_head * buf, size_t size, struct op_note * nbuf, size_t nsize) 176 ncount = op_read_device(notedevfd, nbuf, nsize); 178 opd_do_notes(nbuf, ncount); 199 opd_shutdown(buf, size, nbuf, nsize) [all...] |
/external/valgrind/main/coregrind/ |
pub_core_debuginfo.h | 89 Bool VG_(get_fnname_raw) ( Addr a, Char* buf, Int nbuf ); 94 Bool VG_(get_fnname_no_cxx_demangle) ( Addr a, Char* buf, Int nbuf );
|
/external/dropbear/libtomcrypt/src/prngs/ |
sober128.c | 238 c->nbuf = 0; 262 c->nbuf = 0; 306 while (c->nbuf != 0 && outlen != 0) { 309 c->nbuf -= 8; 351 c->nbuf = 32; 352 while (c->nbuf != 0 && outlen != 0) { 355 c->nbuf -= 8;
|
/external/valgrind/main/coregrind/m_aspacemgr/ |
aspacemgr-common.c | 310 Bool ML_(am_resolve_filename) ( Int fd, /*OUT*/HChar* buf, Int nbuf ) 315 for (i = 0; i < nbuf; i++) buf[i] = 0; 317 if (ML_(am_readlink)(tmp, buf, nbuf) > 0 && buf[0] == '/') 325 if (nbuf > 0) { 326 VG_(strncpy)( buf, tmp, nbuf < sizeof(tmp) ? nbuf : sizeof(tmp) ); 327 buf[nbuf-1] = 0;
|
priv_aspacemgr.h | 122 Bool ML_(am_resolve_filename) ( Int fd, /*OUT*/HChar* buf, Int nbuf );
|
/bionic/libc/netbsd/resolv/ |
res_query.c | 375 char nbuf[MAXDNAME]; local 376 const char *longname = nbuf; 396 strncpy(nbuf, name, (size_t)n); 397 nbuf[n] = '\0'; 407 sprintf(nbuf, "%s.%s", name, domain);
|
res_debug.c | 611 static char nbuf[40]; local 644 default: sprintf(nbuf, "?0x%lx?", (u_long)option); 645 return (nbuf); 654 static char nbuf[40]; /* XXX nonreentrant */ local 656 if (ns_format_ttl((u_long)value, nbuf, sizeof nbuf) < 0) 657 sprintf(nbuf, "%u", value); 658 return (nbuf);
|
/external/openssh/ |
kex.c | 567 u_int8_t nbuf[2048], obuf[EVP_MAX_MD_SIZE]; local 573 if (len < (512 / 8) || (u_int)len > sizeof(nbuf)) 575 BN_bn2bin(host_modulus, nbuf); 576 EVP_DigestUpdate(&md, nbuf, len); 579 if (len < (512 / 8) || (u_int)len > sizeof(nbuf)) 581 BN_bn2bin(server_modulus, nbuf); 582 EVP_DigestUpdate(&md, nbuf, len); 589 memset(nbuf, 0, sizeof(nbuf));
|
/system/core/logwrapper/ |
logwrap.c | 279 char * nbuf = malloc(a_buf->e_buf.alloc_len); local 280 if (!nbuf) { 284 memcpy(nbuf, a_buf->e_buf.buf + a_buf->e_buf.read, first_chunk_len); 286 memcpy(nbuf + first_chunk_len, a_buf->e_buf.buf, a_buf->e_buf.write); 287 print_buf_lines(log_info, nbuf, first_chunk_len + a_buf->e_buf.write); 288 free(nbuf);
|
/external/iproute2/lib/ |
ll_map.c | 107 static char nbuf[16]; local 109 return ll_idx_n2a(idx, nbuf);
|
/external/valgrind/main/auxprogs/ |
valgrind-listener.c | 128 static void copyout ( char* buf, int nbuf ) 131 for (i = 0; i < nbuf; i++) {
|
/external/wpa_supplicant_8/src/crypto/ |
tls_nss.c | 108 u8 *nbuf; local 113 nbuf = os_realloc(conn->push_buf, conn->push_buf_len + amount); 114 if (nbuf == NULL) { 119 os_memcpy(nbuf + conn->push_buf_len, buf, amount); 120 conn->push_buf = nbuf;
|
/external/dhcpcd/ |
if-linux.c | 152 char *buf = NULL, *nbuf; local 178 nbuf = realloc(buf, buflen); 179 if (nbuf == NULL) 181 buf = nbuf;
|
/external/dropbear/libtomcrypt/src/headers/ |
tomcrypt_prng.h | 43 int nbuf, /* number of part-word stream bits buffered */ member in struct:sober128_prng
|
/external/mksh/src/ |
shf.c | 336 unsigned char *nbuf; local 347 nbuf = aresize2(shf->buf, 2, shf->wbsize, shf->areap); 348 shf->rp = nbuf + (shf->rp - shf->buf); 349 shf->wp = nbuf + (shf->wp - shf->buf); 353 shf->buf = nbuf;
|
/external/valgrind/main/coregrind/m_debuginfo/ |
debuginfo.c | [all...] |
/external/wpa_supplicant_8/src/ap/ |
sta_info.c | 803 u8 *trans_id, *nbuf; local 809 nbuf = os_realloc_array(sta->sa_query_trans_id, 812 if (nbuf == NULL) 818 trans_id = nbuf + sta->sa_query_count * WLAN_SA_QUERY_TR_ID_LEN; 819 sta->sa_query_trans_id = nbuf;
|
/bionic/libc/netbsd/net/ |
getaddrinfo.c | 2402 char nbuf[MAXDNAME]; local [all...] |
/external/wpa_supplicant_8/src/eap_peer/ |
eap_fast_pac.c | 492 char *nbuf = os_realloc(*buf, *buf_len + need); local 493 if (nbuf == NULL) { 498 *pos = nbuf + (*pos - *buf); 499 *buf = nbuf;
|
/external/wpa_supplicant_8/src/eap_server/ |
eap_server_peap.c | 1064 struct wpabuf *nbuf = local 1067 if (nbuf == NULL) { 1073 nhdr = wpabuf_put(nbuf, sizeof(*nhdr)); 1078 wpabuf_put_buf(nbuf, in_decrypted); 1081 in_decrypted = nbuf; [all...] |
/external/wpa_supplicant_8/wpa_supplicant/ |
sme.c | 1219 u8 *trans_id, *nbuf; local [all...] |
/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.4.3/sysroot/usr/include/ |
form.h | 81 short nbuf; /* additional buffers */ member in struct:fieldnode
|
/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.6/sysroot/usr/include/ |
form.h | 81 short nbuf; /* additional buffers */ member in struct:fieldnode
|