Searched refs:nbuf (Results 1 - 25 of 63) sorted by relevance

123

/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/egl/common/
H A Degl_g3d_image.c139 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 Dnative_buffer.h73 struct native_buffer *nbuf);
H A Dnative_helper.h116 struct native_buffer *nbuf);
121 struct native_buffer *nbuf);
H A Dnative_helper.c419 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/mesa3d/src/gallium/state_trackers/egl/common/
H A Degl_g3d_image.c139 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 Dnative_buffer.h73 struct native_buffer *nbuf);
H A Dnative_helper.h116 struct native_buffer *nbuf);
121 struct native_buffer *nbuf);
H A Dnative_helper.c419 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/wpa_supplicant_8/hostapd/src/utils/
H A Dwpabuf.c70 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 Dwpabuf.c70 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 Dwpabuf.c70 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/libedit/src/
H A Dfgetln.c67 char *nbuf = realloc(buf, nbufsiz); local
69 if (nbuf == NULL) {
76 buf = nbuf;
/external/oprofile/daemon/liblegacy/
H A Dinit.c47 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/libunwind/src/arm/
H A DGex_tables.c292 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/valgrind/main/coregrind/
H A Dpub_core_debuginfo.h89 Bool VG_(get_fnname_raw) ( Addr a, HChar* buf, Int nbuf );
94 Bool VG_(get_fnname_no_cxx_demangle) ( Addr a, HChar* buf, Int nbuf );
/external/valgrind/main/coregrind/m_aspacemgr/
H A Daspacemgr-common.c326 Bool ML_(am_resolve_filename) ( Int fd, /*OUT*/HChar* buf, Int nbuf )
331 for (i = 0; i < nbuf; i++) buf[i] = 0;
333 if (ML_(am_readlink)(tmp, buf, nbuf) > 0 && buf[0] == '/')
341 if (nbuf > 0) {
342 VG_(strncpy)( buf, tmp, nbuf < sizeof(tmp) ? nbuf : sizeof(tmp) );
343 buf[nbuf-1] = 0;
H A Dpriv_aspacemgr.h122 Bool ML_(am_resolve_filename) ( Int fd, /*OUT*/HChar* buf, Int nbuf );
/external/iproute2/lib/
H A Dll_map.c114 static char nbuf[IFNAMSIZ]; local
116 return ll_idx_n2a(idx, nbuf);
/external/ltrace/
H A Dglob.c88 char *nbuf = realloc(*bufp, nalloc); local
89 if (nbuf == NULL)
92 *bufp = nbuf;
/external/valgrind/main/auxprogs/
H A Dvalgrind-listener.c128 static void copyout ( char* buf, int nbuf )
131 for (i = 0; i < nbuf; i++) {
/external/wpa_supplicant_8/hostapd/src/crypto/
H A Dtls_nss.c108 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 Dtls_nss.c108 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/wpa_supplicant/src/crypto/
H A Dtls_nss.c108 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/
H A Dif-linux.c152 char *buf = NULL, *nbuf; local
178 nbuf = realloc(buf, buflen);
179 if (nbuf == NULL)
181 buf = nbuf;
/external/wpa_supplicant_8/hostapd/src/eap_server/
H A Deap_server_ttls.c991 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);

Completed in 351 milliseconds

123