Searched defs:nbuf (Results 1 - 25 of 44) sorted by relevance

12

/external/syslinux/com32/lib/syslinux/
H A Dpxe_get_cached.c47 void *bbuf, *nbuf; local
74 nbuf = malloc(gci->BufferSize);
75 if (!nbuf) {
80 memcpy(nbuf, bbuf, gci->BufferSize);
82 *buf = nbuf;
/external/libedit/src/
H A Dfgetln.c67 char *nbuf = realloc(buf, nbufsiz); local
69 if (nbuf == NULL) {
76 buf = nbuf;
/external/syslinux/core/fs/pxe/
H A Dftp_readdir.c49 int nbuf = 0; local
50 char *buf = bufs[nbuf];
113 name = bufs[nbuf ^ 1];
116 nbuf ^= 1;
117 p = buf = bufs[nbuf];
H A Dcore.c102 struct netbuf *nbuf; local
106 err = netconn_recv(priv->conn, &nbuf);
110 if (!nbuf)
113 *src_ip = netbuf_fromaddr(nbuf)->addr;
114 *src_port = netbuf_fromport(nbuf);
116 netbuf_first(nbuf); /* XXX needed? */
117 nbuf_len = netbuf_len(nbuf);
119 netbuf_copy(nbuf, buf, nbuf_len);
122 netbuf_delete(nbuf);
138 struct netbuf *nbuf; local
180 struct netbuf *nbuf; local
[all...]
/external/openssh/openbsd-compat/
H A Dpwcache.c55 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/ltp/testcases/network/tcp_cmds/sendfile/
H A Dtestsf_s.c43 char nbuf[PATH_MAX]; local
131 number = &nbuf[0];
133 nbuf[count] = *lp;
137 nbuf[count] = '\0';
/external/iproute2/lib/
H A Dll_map.c160 static char nbuf[IFNAMSIZ]; local
162 return ll_idx_n2a(idx, nbuf);
/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_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/libunwind/src/arm/
H A DGex_tables.c286 int nbuf = 0; local
306 nbuf = -UNW_ESTOPUNWIND;
312 buf[nbuf++] = data >> 16;
313 buf[nbuf++] = data >> 8;
314 buf[nbuf++] = data;
337 buf[nbuf++] = data >> 16;
338 buf[nbuf++] = data >> 8;
339 buf[nbuf++] = data;
352 buf[nbuf++] = data >> 16;
353 buf[nbuf
[all...]
/external/mksh/src/
H A Dshf.c342 unsigned char *nbuf; local
353 nbuf = aresize2(shf->buf, 2, shf->wbsize, shf->areap);
354 shf->rp = nbuf + (shf->rp - shf->buf);
355 shf->wp = nbuf + (shf->wp - shf->buf);
359 shf->buf = nbuf;
/external/tcpdump/
H A Dsmbutil.c698 char nbuf[255]; local
705 maxbuf, nbuf);
712 ND_PRINT((ndo, "%-15.15s NameType=0x%02X (%s)", nbuf, name_type,
/external/wpa_supplicant_8/hostapd/src/eap_peer/
H A Deap_fast_pac.c495 char *nbuf = os_realloc(*buf, *buf_len + need); local
496 if (nbuf == NULL) {
501 *pos = nbuf + (*pos - *buf);
502 *buf = nbuf;
/external/wpa_supplicant_8/src/eap_peer/
H A Deap_fast_pac.c495 char *nbuf = os_realloc(*buf, *buf_len + need); local
496 if (nbuf == NULL) {
501 *pos = nbuf + (*pos - *buf);
502 *buf = nbuf;
/external/wpa_supplicant_8/wpa_supplicant/src/eap_peer/
H A Deap_fast_pac.c495 char *nbuf = os_realloc(*buf, *buf_len + need); local
496 if (nbuf == NULL) {
501 *pos = nbuf + (*pos - *buf);
502 *buf = nbuf;
/external/mesa3d/src/gallium/state_trackers/egl/android/
H A Dnative_android.cpp725 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/ap/
H A Dsta_info.c1082 u8 *trans_id, *nbuf; local
1092 nbuf = os_realloc_array(sta->sa_query_trans_id,
1095 if (nbuf == NULL)
1101 trans_id = nbuf + sta->sa_query_count * WLAN_SA_QUERY_TR_ID_LEN;
1102 sta->sa_query_trans_id = nbuf;
/external/wpa_supplicant_8/src/ap/
H A Dsta_info.c1082 u8 *trans_id, *nbuf; local
1092 nbuf = os_realloc_array(sta->sa_query_trans_id,
1095 if (nbuf == NULL)
1101 trans_id = nbuf + sta->sa_query_count * WLAN_SA_QUERY_TR_ID_LEN;
1102 sta->sa_query_trans_id = nbuf;
/external/wpa_supplicant_8/wpa_supplicant/src/ap/
H A Dsta_info.c1082 u8 *trans_id, *nbuf; local
1092 nbuf = os_realloc_array(sta->sa_query_trans_id,
1095 if (nbuf == NULL)
1101 trans_id = nbuf + sta->sa_query_count * WLAN_SA_QUERY_TR_ID_LEN;
1102 sta->sa_query_trans_id = nbuf;
/external/valgrind/VEX/priv/
H A Dhost_tilegx_defs.c1505 Int nbuf,
1517 vassert(nbuf >= 32);
1503 emit_TILEGXInstr( Bool* is_profInc, UChar* buf, Int nbuf, TILEGXInstr* i, Bool mode64, VexEndness endness_host, void* disp_cp_chain_me_to_slowEP, void* disp_cp_chain_me_to_fastEP, void* disp_cp_xindir, void* disp_cp_xassisted ) argument
/external/wpa_supplicant_8/hostapd/src/eap_server/
H A Deap_server_peap.c1091 struct wpabuf *nbuf = local
1094 if (nbuf == NULL) {
1100 nhdr = wpabuf_put(nbuf, sizeof(*nhdr));
1105 wpabuf_put_buf(nbuf, in_decrypted);
1108 in_decrypted = nbuf;
H A Deap_server_ttls.c1043 char *nbuf; local
1044 nbuf = os_malloc(parse.user_name_len * 4 + 1);
1045 if (nbuf) {
1046 printf_encode(nbuf, parse.user_name_len * 4 + 1,
1049 eap_log_msg(sm, "TTLS-User-Name '%s'", nbuf);
1050 os_free(nbuf);

Completed in 500 milliseconds

12