/external/libedit/src/ |
H A D | 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/ |
H A D | 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 212 struct native_buffer nbuf; local 350 struct native_buffer nbuf; local [all...] |
H A D | native_helper.c | 419 struct native_buffer *nbuf) 424 switch (nbuf->type) { 430 wsh.handle = nbuf->u.drm.name; 431 wsh.stride = nbuf->u.drm.stride; 433 res = screen->resource_from_handle(screen, &nbuf->u.drm.templ, &wsh); 446 struct native_buffer *nbuf) 451 switch (nbuf->type) { 456 if ((nbuf->u.drm.templ.bind & res->bind) != nbuf->u.drm.templ.bind) 464 nbuf 418 drm_display_import_native_buffer(struct native_display *ndpy, struct native_buffer *nbuf) argument 444 drm_display_export_native_buffer(struct native_display *ndpy, struct pipe_resource *res, struct native_buffer *nbuf) argument [all...] |
/external/iproute2/lib/ |
H A D | ll_map.c | 114 static char nbuf[IFNAMSIZ]; local 116 return ll_idx_n2a(idx, nbuf);
|
/external/ltrace/ |
H A D | glob.c | 88 char *nbuf = realloc(*bufp, nalloc); local 89 if (nbuf == NULL) 92 *bufp = nbuf;
|
/external/mesa3d/src/gallium/state_trackers/egl/common/ |
H A D | 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 212 struct native_buffer nbuf; local 350 struct native_buffer nbuf; local [all...] |
H A D | native_helper.c | 419 struct native_buffer *nbuf) 424 switch (nbuf->type) { 430 wsh.handle = nbuf->u.drm.name; 431 wsh.stride = nbuf->u.drm.stride; 433 res = screen->resource_from_handle(screen, &nbuf->u.drm.templ, &wsh); 446 struct native_buffer *nbuf) 451 switch (nbuf->type) { 456 if ((nbuf->u.drm.templ.bind & res->bind) != nbuf->u.drm.templ.bind) 464 nbuf 418 drm_display_import_native_buffer(struct native_display *ndpy, struct native_buffer *nbuf) argument 444 drm_display_export_native_buffer(struct native_display *ndpy, struct pipe_resource *res, struct native_buffer *nbuf) argument [all...] |
/external/oprofile/daemon/liblegacy/ |
H A D | 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) argument 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) argument 176 ncount = op_read_device(notedevfd, nbuf, nsize); 178 opd_do_notes(nbuf, ncount); 199 opd_shutdown(buf, size, nbuf, nsiz [all...] |
/external/wpa_supplicant_8/hostapd/src/utils/ |
H A D | 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 [all...] |
/external/wpa_supplicant_8/src/utils/ |
H A D | 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 [all...] |
/external/wpa_supplicant_8/wpa_supplicant/src/utils/ |
H A D | 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 [all...] |
/external/libunwind/src/arm/ |
H A D | 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 [all...] |
/external/dhcpcd/ |
H A D | if-linux.c | 152 char *buf = NULL, *nbuf; local 178 nbuf = realloc(buf, buflen); 179 if (nbuf == NULL) 181 buf = nbuf;
|
/external/mksh/src/ |
H A D | 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/ |
H A D | smbutil.c | 693 char nbuf[255]; local 700 maxbuf, nbuf); 707 printf("%-15.15s NameType=0x%02X (%s)", nbuf, name_type,
|
/external/wpa_supplicant_8/hostapd/src/ap/ |
H A D | 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;
|
/external/wpa_supplicant_8/hostapd/src/eap_peer/ |
H A D | 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/wpa_supplicant_8/src/ap/ |
H A D | 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;
|
/external/wpa_supplicant_8/src/eap_peer/ |
H A D | 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/wpa_supplicant_8/wpa_supplicant/src/ap/ |
H A D | 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;
|
/external/wpa_supplicant_8/wpa_supplicant/src/eap_peer/ |
H A D | 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/chromium_org/third_party/mesa/src/src/gallium/state_trackers/egl/android/ |
H A D | native_android.cpp | 725 struct native_buffer *nbuf) 732 if (nbuf->type != NATIVE_BUFFER_ANDROID) 735 abuf = nbuf->u.android; 763 struct native_buffer *nbuf) 724 android_display_import_buffer(struct native_display *ndpy, struct native_buffer *nbuf) argument 761 android_display_export_buffer(struct native_display *ndpy, struct pipe_resource *res, struct native_buffer *nbuf) argument
|
/external/mesa3d/src/gallium/state_trackers/egl/android/ |
H A D | native_android.cpp | 725 struct native_buffer *nbuf) 732 if (nbuf->type != NATIVE_BUFFER_ANDROID) 735 abuf = nbuf->u.android; 763 struct native_buffer *nbuf) 724 android_display_import_buffer(struct native_display *ndpy, struct native_buffer *nbuf) argument 761 android_display_export_buffer(struct native_display *ndpy, struct pipe_resource *res, struct native_buffer *nbuf) argument
|
/external/wpa_supplicant_8/hostapd/src/crypto/ |
H A D | 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/wpa_supplicant_8/src/crypto/ |
H A D | 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;
|