/external/libedit/src/ |
fgetln.c | 67 char *nbuf = realloc(buf, nbufsiz); local 69 if (nbuf == NULL) { 76 buf = nbuf;
|
/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/egl/common/ |
egl_g3d_image.c | 139 struct native_buffer nbuf; local 165 memset(&nbuf, 0, sizeof(nbuf)); 166 nbuf.type = NATIVE_BUFFER_DRM; 167 nbuf.u.drm.templ.target = PIPE_TEXTURE_2D; 168 nbuf.u.drm.templ.format = format; 169 nbuf.u.drm.templ.bind = PIPE_BIND_RENDER_TARGET | PIPE_BIND_SAMPLER_VIEW; 170 nbuf.u.drm.templ.width0 = attrs.Width; 171 nbuf.u.drm.templ.height0 = attrs.Height; 172 nbuf.u.drm.templ.depth0 = 1 212 struct native_buffer nbuf; local 350 struct native_buffer nbuf; local [all...] |
/external/ltrace/ |
glob.c | 88 char *nbuf = realloc(*bufp, nalloc); local 89 if (nbuf == NULL) 92 *bufp = nbuf;
|
/external/mesa3d/src/gallium/state_trackers/egl/common/ |
egl_g3d_image.c | 139 struct native_buffer nbuf; local 165 memset(&nbuf, 0, sizeof(nbuf)); 166 nbuf.type = NATIVE_BUFFER_DRM; 167 nbuf.u.drm.templ.target = PIPE_TEXTURE_2D; 168 nbuf.u.drm.templ.format = format; 169 nbuf.u.drm.templ.bind = PIPE_BIND_RENDER_TARGET | PIPE_BIND_SAMPLER_VIEW; 170 nbuf.u.drm.templ.width0 = attrs.Width; 171 nbuf.u.drm.templ.height0 = attrs.Height; 172 nbuf.u.drm.templ.depth0 = 1 212 struct native_buffer nbuf; local 350 struct native_buffer nbuf; local [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/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...] |
/system/core/toolbox/upstream-netbsd/bin/dd/ |
misc.c | 196 char hbuf[7], nbuf[32]; local 219 (void)snprintf(nbuf, sizeof(nbuf), "%llu", 221 ADDS(nbuf); 231 (void)snprintf(nbuf, sizeof(nbuf), "%llu", 233 ADDS(nbuf); 243 (void)snprintf(nbuf, sizeof(nbuf), "%llu", 245 ADDS(nbuf); [all...] |
/bionic/libc/dns/resolv/ |
res_query.c | 385 char nbuf[MAXDNAME]; local 386 const char *longname = nbuf; 406 strncpy(nbuf, name, (size_t)n); 407 nbuf[n] = '\0'; 417 sprintf(nbuf, "%s.%s", name, domain);
|
res_debug.c | 673 static char nbuf[40]; local 706 default: sprintf(nbuf, "?0x%lx?", (u_long)option); 707 return (nbuf); 716 static char nbuf[40]; /* XXX nonreentrant */ local 718 if (ns_format_ttl((u_long)value, nbuf, sizeof nbuf) < 0) 719 sprintf(nbuf, "%u", value); 720 return (nbuf); [all...] |
/external/iproute2/lib/ |
ll_map.c | 114 static char nbuf[IFNAMSIZ]; local 116 return ll_idx_n2a(idx, 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/libunwind/src/arm/ |
Gex_tables.c | 292 int nbuf = 0; local 312 nbuf = -UNW_ESTOPUNWIND; 318 buf[nbuf++] = data >> 16; 319 buf[nbuf++] = data >> 8; 320 buf[nbuf++] = data; 343 buf[nbuf++] = data >> 16; 344 buf[nbuf++] = data >> 8; 345 buf[nbuf++] = data; 358 buf[nbuf++] = data >> 16; 359 buf[nbuf++] = data >> 8 [all...] |
/external/wpa_supplicant_8/src/eap_peer/ |
eap_fast_pac.c | 494 char *nbuf = os_realloc(*buf, *buf_len + need); local 495 if (nbuf == NULL) { 500 *pos = nbuf + (*pos - *buf); 501 *buf = nbuf;
|
/external/mksh/src/ |
shf.c | 341 unsigned char *nbuf; local 352 nbuf = aresize2(shf->buf, 2, shf->wbsize, shf->areap); 353 shf->rp = nbuf + (shf->rp - shf->buf); 354 shf->wp = nbuf + (shf->wp - shf->buf); 358 shf->buf = nbuf;
|
/external/tcpdump/ |
smbutil.c | 693 char nbuf[255]; local 700 maxbuf, nbuf); 707 printf("%-15.15s NameType=0x%02X (%s)", nbuf, name_type, [all...] |
/external/wpa_supplicant_8/src/ap/ |
sta_info.c | 888 u8 *trans_id, *nbuf; local 894 nbuf = os_realloc_array(sta->sa_query_trans_id, 897 if (nbuf == NULL) 903 trans_id = nbuf + sta->sa_query_count * WLAN_SA_QUERY_TR_ID_LEN; 904 sta->sa_query_trans_id = nbuf;
|
wpa_auth_ft.c | 692 u8 *nbuf; local 698 nbuf = os_realloc(subelem, subelem_len + igtk_len); 699 if (nbuf == NULL) { 704 subelem = nbuf; [all...] |
/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;
|
/system/core/logwrapper/ |
logwrap.c | 280 char * nbuf = malloc(a_buf->e_buf.alloc_len); local 281 if (!nbuf) { 285 memcpy(nbuf, a_buf->e_buf.buf + a_buf->e_buf.read, first_chunk_len); 287 memcpy(nbuf + first_chunk_len, a_buf->e_buf.buf, a_buf->e_buf.write); 288 print_buf_lines(log_info, nbuf, first_chunk_len + a_buf->e_buf.write); 289 free(nbuf);
|
/external/wpa_supplicant_8/src/eap_server/ |
eap_server_peap.c | 1031 struct wpabuf *nbuf = local 1034 if (nbuf == NULL) { 1040 nhdr = wpabuf_put(nbuf, sizeof(*nhdr)); 1045 wpabuf_put_buf(nbuf, in_decrypted); 1048 in_decrypted = nbuf;
|
eap_server_ttls.c | 991 char *nbuf; local 992 nbuf = os_malloc(parse.user_name_len * 4 + 1); 993 if (nbuf) { 994 printf_encode(nbuf, parse.user_name_len * 4 + 1, 997 eap_log_msg(sm, "TTLS-User-Name '%s'", nbuf); 998 os_free(nbuf);
|
/external/wpa_supplicant_8/wpa_supplicant/ |
sme.c | 1303 u8 *trans_id, *nbuf; local [all...] |
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.6/sysroot/usr/include/ |
form.h | 81 short nbuf; /* additional buffers */ member in struct:fieldnode
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.8/sysroot/usr/include/ |
form.h | 81 short nbuf; /* additional buffers */ member in struct:fieldnode
|
/bionic/libc/dns/net/ |
getaddrinfo.c | 2401 char nbuf[MAXDNAME]; local [all...] |