/external/mesa3d/src/gallium/state_trackers/egl/common/ |
D | egl_g3d_image.c | 139 struct native_buffer nbuf; in egl_g3d_reference_drm_buffer() local 165 memset(&nbuf, 0, sizeof(nbuf)); in egl_g3d_reference_drm_buffer() 166 nbuf.type = NATIVE_BUFFER_DRM; in egl_g3d_reference_drm_buffer() 167 nbuf.u.drm.templ.target = PIPE_TEXTURE_2D; in egl_g3d_reference_drm_buffer() 168 nbuf.u.drm.templ.format = format; in egl_g3d_reference_drm_buffer() 169 nbuf.u.drm.templ.bind = PIPE_BIND_RENDER_TARGET | PIPE_BIND_SAMPLER_VIEW; in egl_g3d_reference_drm_buffer() 170 nbuf.u.drm.templ.width0 = attrs.Width; in egl_g3d_reference_drm_buffer() 171 nbuf.u.drm.templ.height0 = attrs.Height; in egl_g3d_reference_drm_buffer() 172 nbuf.u.drm.templ.depth0 = 1; in egl_g3d_reference_drm_buffer() 173 nbuf.u.drm.templ.array_size = 1; in egl_g3d_reference_drm_buffer() [all …]
|
D | native_helper.c | 419 struct native_buffer *nbuf) in drm_display_import_native_buffer() argument 424 switch (nbuf->type) { in drm_display_import_native_buffer() 430 wsh.handle = nbuf->u.drm.name; in drm_display_import_native_buffer() 431 wsh.stride = nbuf->u.drm.stride; in drm_display_import_native_buffer() 433 res = screen->resource_from_handle(screen, &nbuf->u.drm.templ, &wsh); in drm_display_import_native_buffer() 446 struct native_buffer *nbuf) in drm_display_export_native_buffer() argument 451 switch (nbuf->type) { in drm_display_export_native_buffer() 456 if ((nbuf->u.drm.templ.bind & res->bind) != nbuf->u.drm.templ.bind) in drm_display_export_native_buffer() 464 nbuf->u.drm.handle = wsh.handle; in drm_display_export_native_buffer() 465 nbuf->u.drm.stride = wsh.stride; in drm_display_export_native_buffer() [all …]
|
D | native_helper.h | 116 struct native_buffer *nbuf); 121 struct native_buffer *nbuf);
|
D | native_buffer.h | 73 struct native_buffer *nbuf);
|
/external/wpa_supplicant_8/src/utils/ |
D | wpabuf.c | 70 unsigned char *nbuf; in wpabuf_resize() local 72 nbuf = os_realloc(buf->buf, buf->used + add_len); in wpabuf_resize() 73 if (nbuf == NULL) in wpabuf_resize() 75 os_memset(nbuf + buf->used, 0, add_len); in wpabuf_resize() 76 buf->buf = nbuf; in wpabuf_resize() 79 nbuf = os_realloc(trace, sizeof(struct wpabuf_trace) + in wpabuf_resize() 82 if (nbuf == NULL) in wpabuf_resize() 84 trace = (struct wpabuf_trace *) nbuf; in wpabuf_resize() 86 os_memset(nbuf + sizeof(struct wpabuf_trace) + in wpabuf_resize() 90 nbuf = os_realloc(buf, sizeof(struct wpabuf) + in wpabuf_resize() [all …]
|
/external/libunwind/src/arm/ |
D | Gex_tables.c | 286 int nbuf = 0; in arm_exidx_extract() local 306 nbuf = -UNW_ESTOPUNWIND; in arm_exidx_extract() 312 buf[nbuf++] = data >> 16; in arm_exidx_extract() 313 buf[nbuf++] = data >> 8; in arm_exidx_extract() 314 buf[nbuf++] = data; in arm_exidx_extract() 337 buf[nbuf++] = data >> 16; in arm_exidx_extract() 338 buf[nbuf++] = data >> 8; in arm_exidx_extract() 339 buf[nbuf++] = data; in arm_exidx_extract() 352 buf[nbuf++] = data >> 16; in arm_exidx_extract() 353 buf[nbuf++] = data >> 8; in arm_exidx_extract() [all …]
|
/external/libedit/src/ |
D | fgetln.c | 67 char *nbuf = realloc(buf, nbufsiz); in fgetln() local 69 if (nbuf == NULL) { in fgetln() 76 buf = nbuf; in fgetln()
|
/external/valgrind/coregrind/m_aspacemgr/ |
D | aspacemgr-common.c | 370 Bool ML_(am_resolve_filename) ( Int fd, /*OUT*/HChar* buf, Int nbuf ) in ML_() 375 for (i = 0; i < nbuf; i++) buf[i] = 0; in ML_() 377 if (ML_(am_readlink)(tmp, buf, nbuf) > 0 && buf[0] == '/') in ML_() 385 if (nbuf > 0) { in ML_() 386 VG_(strncpy)( buf, tmp, nbuf < sizeof(tmp) ? nbuf : sizeof(tmp) ); in ML_() 387 buf[nbuf-1] = 0; in ML_() 396 for (i = 0; i < nbuf; i++) buf[i] = 0; in ML_() 398 if (ML_(am_readlink)(tmp, buf, nbuf) > 0 && buf[0] == '/') in ML_()
|
D | priv_aspacemgr.h | 126 Bool ML_(am_resolve_filename) ( Int fd, /*OUT*/HChar* buf, Int nbuf );
|
/external/avahi/avahi-common/ |
D | avahi-malloc.c | 211 char *nbuf; in avahi_strdup_vprintf() local 226 if (!(nbuf = avahi_realloc(buf, len))) { in avahi_strdup_vprintf() 231 buf = nbuf; in avahi_strdup_vprintf()
|
/external/ltrace/ |
D | glob.c | 88 char *nbuf = realloc(*bufp, nalloc); in append() local 89 if (nbuf == NULL) in append() 92 *bufp = nbuf; in append()
|
/external/jetty/src/java/org/eclipse/jetty/io/nio/ |
D | ChannelEndPoint.java | 224 final NIOBuffer nbuf = (NIOBuffer)buf; in fill() local 225 final ByteBuffer bbuf=nbuf.getByteBuffer(); in fill() 287 final NIOBuffer nbuf = (NIOBuffer)buf; in flush() local 288 final ByteBuffer bbuf=nbuf.getByteBuffer().asReadOnlyBuffer(); in flush()
|
/external/iproute2/lib/ |
D | ll_map.c | 160 static char nbuf[IFNAMSIZ]; in ll_index_to_name() local 162 return ll_idx_n2a(idx, nbuf); in ll_index_to_name()
|
/external/valgrind/auxprogs/ |
D | valgrind-listener.c | 132 static void copyout ( char* buf, int nbuf ) in copyout() argument 135 for (i = 0; i < nbuf; i++) { in copyout()
|
/external/mksh/src/ |
D | shf.c | 341 unsigned char *nbuf; in shf_emptybuf() local 352 nbuf = aresize2(shf->buf, 2, shf->wbsize, shf->areap); in shf_emptybuf() 353 shf->rp = nbuf + (shf->rp - shf->buf); in shf_emptybuf() 354 shf->wp = nbuf + (shf->wp - shf->buf); in shf_emptybuf() 358 shf->buf = nbuf; in shf_emptybuf()
|
/external/mesa3d/src/gallium/state_trackers/egl/android/ |
D | native_android.cpp | 725 struct native_buffer *nbuf) in android_display_import_buffer() argument 732 if (nbuf->type != NATIVE_BUFFER_ANDROID) in android_display_import_buffer() 735 abuf = nbuf->u.android; in android_display_import_buffer() 763 struct native_buffer *nbuf) in android_display_export_buffer() argument
|
/external/libgdx/extensions/gdx-freetype/jni/freetype-2.6.2/src/bdf/ |
D | bdflib.c | 2061 char nbuf[128]; in _bdf_parse_properties() local 2082 ft_sprintf( nbuf, "%hd", p->font->bbx.ascent ); in _bdf_parse_properties() 2084 nbuf, lineno ); in _bdf_parse_properties() 2095 ft_sprintf( nbuf, "%hd", p->font->bbx.descent ); in _bdf_parse_properties() 2097 nbuf, lineno ); in _bdf_parse_properties() 2400 char nbuf[128]; in _bdf_parse_start() local 2414 ft_sprintf( nbuf, "%hd", p->font->bbx.ascent ); in _bdf_parse_start() 2416 nbuf, lineno ); in _bdf_parse_start() 2422 ft_sprintf( nbuf, "%hd", p->font->bbx.descent ); in _bdf_parse_start() 2424 nbuf, lineno ); in _bdf_parse_start()
|
/external/wpa_supplicant_8/src/eap_server/ |
D | eap_server_ttls.c | 1043 char *nbuf; in eap_ttls_process_phase2() local 1044 nbuf = os_malloc(parse.user_name_len * 4 + 1); in eap_ttls_process_phase2() 1045 if (nbuf) { in eap_ttls_process_phase2() 1046 printf_encode(nbuf, parse.user_name_len * 4 + 1, in eap_ttls_process_phase2() 1049 eap_log_msg(sm, "TTLS-User-Name '%s'", nbuf); in eap_ttls_process_phase2() 1050 os_free(nbuf); in eap_ttls_process_phase2()
|
D | eap_server_peap.c | 1091 struct wpabuf *nbuf = in eap_peap_process_phase2() local 1094 if (nbuf == NULL) { in eap_peap_process_phase2() 1100 nhdr = wpabuf_put(nbuf, sizeof(*nhdr)); in eap_peap_process_phase2() 1105 wpabuf_put_buf(nbuf, in_decrypted); in eap_peap_process_phase2() 1108 in_decrypted = nbuf; in eap_peap_process_phase2()
|
/external/wpa_supplicant_8/src/eap_peer/ |
D | eap_fast_pac.c | 495 char *nbuf = os_realloc(*buf, *buf_len + need); in eap_fast_write() local 496 if (nbuf == NULL) { in eap_fast_write() 501 *pos = nbuf + (*pos - *buf); in eap_fast_write() 502 *buf = nbuf; in eap_fast_write()
|
/external/tcpdump/ |
D | smbutil.c | 698 char nbuf[255]; in smb_fdata1() local 705 maxbuf, nbuf); in smb_fdata1() 712 ND_PRINT((ndo, "%-15.15s NameType=0x%02X (%s)", nbuf, name_type, in smb_fdata1()
|
/external/wpa_supplicant_8/src/ap/ |
D | sta_info.c | 1045 u8 *trans_id, *nbuf; in ap_sa_query_timer() local 1055 nbuf = os_realloc_array(sta->sa_query_trans_id, in ap_sa_query_timer() 1058 if (nbuf == NULL) in ap_sa_query_timer() 1064 trans_id = nbuf + sta->sa_query_count * WLAN_SA_QUERY_TR_ID_LEN; in ap_sa_query_timer() 1065 sta->sa_query_trans_id = nbuf; in ap_sa_query_timer()
|
/external/opencv3/modules/core/src/ |
D | rand.cpp | 667 float* nbuf = 0; in fill() local 709 nbuf = (float*)(double*)buf; in fill() 722 randn_0_1_32f(nbuf, len*cn, &state); in fill() 723 scaleFunc(nbuf, ptr, len, cn, mean, stddev, stdmtx); in fill()
|
/external/wpa_supplicant_8/wpa_supplicant/ |
D | sme.c | 1566 u8 *trans_id, *nbuf; in sme_sa_query_timer() local 1572 nbuf = os_realloc_array(wpa_s->sme.sa_query_trans_id, in sme_sa_query_timer() 1575 if (nbuf == NULL) in sme_sa_query_timer() 1581 trans_id = nbuf + wpa_s->sme.sa_query_count * WLAN_SA_QUERY_TR_ID_LEN; in sme_sa_query_timer() 1582 wpa_s->sme.sa_query_trans_id = nbuf; in sme_sa_query_timer()
|
/external/dhcpcd-6.8.2/ |
D | if-linux.c | 324 char *buf = NULL, *nbuf; in get_netlink() local 349 nbuf = realloc(buf, buflen); in get_netlink() 350 if (nbuf == NULL) in get_netlink() 352 buf = nbuf; in get_netlink()
|