/external/openssh/openbsd-compat/ |
H A D | pwcache.c | 55 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/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_buffer.h | 73 struct native_buffer *nbuf);
|
H A D | native_helper.h | 116 struct native_buffer *nbuf); 121 struct native_buffer *nbuf);
|
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/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/libedit/src/ |
H A D | fgetln.c | 67 char *nbuf = realloc(buf, nbufsiz); local 69 if (nbuf == NULL) { 76 buf = nbuf;
|
/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/valgrind/coregrind/m_aspacemgr/ |
H A D | aspacemgr-common.c | 327 Bool ML_(am_resolve_filename) ( Int fd, /*OUT*/HChar* buf, Int nbuf ) 332 for (i = 0; i < nbuf; i++) buf[i] = 0; 334 if (ML_(am_readlink)(tmp, buf, nbuf) > 0 && buf[0] == '/') 342 if (nbuf > 0) { 343 VG_(strncpy)( buf, tmp, nbuf < sizeof(tmp) ? nbuf : sizeof(tmp) ); 344 buf[nbuf-1] = 0;
|
H A D | priv_aspacemgr.h | 126 Bool ML_(am_resolve_filename) ( Int fd, /*OUT*/HChar* buf, Int nbuf );
|
/external/iproute2/lib/ |
H A D | ll_map.c | 114 static char nbuf[IFNAMSIZ]; local 116 return ll_idx_n2a(idx, nbuf);
|
/external/jetty/src/java/org/eclipse/jetty/io/nio/ |
H A D | ChannelEndPoint.java | 224 final NIOBuffer nbuf = (NIOBuffer)buf; 225 final ByteBuffer bbuf=nbuf.getByteBuffer(); 287 final NIOBuffer nbuf = (NIOBuffer)buf; 288 final ByteBuffer bbuf=nbuf.getByteBuffer().asReadOnlyBuffer();
|
/external/ltrace/ |
H A D | glob.c | 88 char *nbuf = realloc(*bufp, nalloc); local 89 if (nbuf == NULL) 92 *bufp = nbuf;
|
/external/valgrind/auxprogs/ |
H A D | valgrind-listener.c | 132 static void copyout ( char* buf, int nbuf ) 135 for (i = 0; i < nbuf; i++) {
|
/external/dhcpcd/ |
H A D | if-linux.c | 154 char *buf = NULL, *nbuf; local 180 nbuf = realloc(buf, buflen); 181 if (nbuf == NULL) 183 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/wpa_supplicant_8/hostapd/src/ap/ |
H A D | sta_info.c | 939 u8 *trans_id, *nbuf; local 945 nbuf = os_realloc_array(sta->sa_query_trans_id, 948 if (nbuf == NULL) 954 trans_id = nbuf + sta->sa_query_count * WLAN_SA_QUERY_TR_ID_LEN; 955 sta->sa_query_trans_id = nbuf;
|
/external/wpa_supplicant_8/hostapd/src/eap_server/ |
H A D | eap_server_peap.c | 1047 struct wpabuf *nbuf = local 1050 if (nbuf == NULL) { 1056 nhdr = wpabuf_put(nbuf, sizeof(*nhdr)); 1061 wpabuf_put_buf(nbuf, in_decrypted); 1064 in_decrypted = nbuf;
|
H A D | eap_server_ttls.c | 1009 char *nbuf; local 1010 nbuf = os_malloc(parse.user_name_len * 4 + 1); 1011 if (nbuf) { 1012 printf_encode(nbuf, parse.user_name_len * 4 + 1, 1015 eap_log_msg(sm, "TTLS-User-Name '%s'", nbuf); 1016 os_free(nbuf);
|
/external/wpa_supplicant_8/src/ap/ |
H A D | sta_info.c | 939 u8 *trans_id, *nbuf; local 945 nbuf = os_realloc_array(sta->sa_query_trans_id, 948 if (nbuf == NULL) 954 trans_id = nbuf + sta->sa_query_count * WLAN_SA_QUERY_TR_ID_LEN; 955 sta->sa_query_trans_id = nbuf;
|
/external/wpa_supplicant_8/src/eap_server/ |
H A D | eap_server_peap.c | 1047 struct wpabuf *nbuf = local 1050 if (nbuf == NULL) { 1056 nhdr = wpabuf_put(nbuf, sizeof(*nhdr)); 1061 wpabuf_put_buf(nbuf, in_decrypted); 1064 in_decrypted = nbuf;
|
/external/wpa_supplicant_8/wpa_supplicant/src/ap/ |
H A D | sta_info.c | 939 u8 *trans_id, *nbuf; local 945 nbuf = os_realloc_array(sta->sa_query_trans_id, 948 if (nbuf == NULL) 954 trans_id = nbuf + sta->sa_query_count * WLAN_SA_QUERY_TR_ID_LEN; 955 sta->sa_query_trans_id = nbuf;
|
/external/wpa_supplicant_8/wpa_supplicant/src/eap_server/ |
H A D | eap_server_peap.c | 1047 struct wpabuf *nbuf = local 1050 if (nbuf == NULL) { 1056 nhdr = wpabuf_put(nbuf, sizeof(*nhdr)); 1061 wpabuf_put_buf(nbuf, in_decrypted); 1064 in_decrypted = nbuf;
|