/external/openssh/openbsd-compat/ |
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/chromium_org/third_party/mesa/src/src/gallium/state_trackers/egl/common/ |
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.u.drm.templ.depth0 = 1 212 struct native_buffer nbuf; local 350 struct native_buffer nbuf; local [all...] |
native_buffer.h | 73 struct native_buffer *nbuf);
|
native_helper.h | 116 struct native_buffer *nbuf); 121 struct native_buffer *nbuf);
|
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->u.drm.handle = wsh.handle [all...] |
/external/mesa3d/src/gallium/state_trackers/egl/common/ |
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.u.drm.templ.depth0 = 1 212 struct native_buffer nbuf; local 350 struct native_buffer nbuf; local [all...] |
native_buffer.h | 73 struct native_buffer *nbuf);
|
native_helper.h | 116 struct native_buffer *nbuf); 121 struct native_buffer *nbuf);
|
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->u.drm.handle = wsh.handle [all...] |
/hardware/akm/AK8975_FS/akmdfs/AKFS_APIs_8975/ |
AKFS_VNorm.h | 29 const int16 nbuf, /*!< Size of data to be buffered */
|
AKFS_VNorm.c | 27 const int16 nbuf, /*!< Size of data to be buffered */ 38 if ((ndata <= 0) || (nvec <= 0) || (nbuf <= 0)) { 42 if ((nbuf < 1) || (ndata < nbuf) || (nvec < nbuf)) { 54 if (AKFS_BufShift(nvec, nbuf, vvec) != AKFS_SUCCESS) { 57 for (i=0; i<nbuf; i++) {
|
/external/wpa_supplicant_8/src/utils/ |
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 = os_realloc(buf, sizeof(struct wpabuf) [all...] |
/external/oprofile/daemon/liblegacy/ |
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) 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) 176 ncount = op_read_device(notedevfd, nbuf, nsize); 178 opd_do_notes(nbuf, ncount); 199 opd_shutdown(buf, size, nbuf, nsize) [all...] |
/external/valgrind/main/coregrind/ |
pub_core_debuginfo.h | 89 Bool VG_(get_fnname_raw) ( Addr a, Char* buf, Int nbuf ); 94 Bool VG_(get_fnname_no_cxx_demangle) ( Addr a, Char* buf, Int nbuf );
|
/external/dropbear/libtomcrypt/src/prngs/ |
sober128.c | 238 c->nbuf = 0; 262 c->nbuf = 0; 306 while (c->nbuf != 0 && outlen != 0) { 309 c->nbuf -= 8; 351 c->nbuf = 32; 352 while (c->nbuf != 0 && outlen != 0) { 355 c->nbuf -= 8;
|
/external/valgrind/main/coregrind/m_aspacemgr/ |
aspacemgr-common.c | 310 Bool ML_(am_resolve_filename) ( Int fd, /*OUT*/HChar* buf, Int nbuf ) 315 for (i = 0; i < nbuf; i++) buf[i] = 0; 317 if (ML_(am_readlink)(tmp, buf, nbuf) > 0 && buf[0] == '/') 325 if (nbuf > 0) { 326 VG_(strncpy)( buf, tmp, nbuf < sizeof(tmp) ? nbuf : sizeof(tmp) ); 327 buf[nbuf-1] = 0;
|
priv_aspacemgr.h | 122 Bool ML_(am_resolve_filename) ( Int fd, /*OUT*/HChar* buf, Int nbuf );
|
/bionic/libc/netbsd/resolv/ |
res_query.c | 375 char nbuf[MAXDNAME]; local 376 const char *longname = nbuf; 396 strncpy(nbuf, name, (size_t)n); 397 nbuf[n] = '\0'; 407 sprintf(nbuf, "%s.%s", name, domain);
|
res_debug.c | 611 static char nbuf[40]; local 644 default: sprintf(nbuf, "?0x%lx?", (u_long)option); 645 return (nbuf); 654 static char nbuf[40]; /* XXX nonreentrant */ local 656 if (ns_format_ttl((u_long)value, nbuf, sizeof nbuf) < 0) 657 sprintf(nbuf, "%u", value); 658 return (nbuf);
|
/external/openssh/ |
kex.c | 567 u_int8_t nbuf[2048], obuf[EVP_MAX_MD_SIZE]; local 573 if (len < (512 / 8) || (u_int)len > sizeof(nbuf)) 575 BN_bn2bin(host_modulus, nbuf); 576 EVP_DigestUpdate(&md, nbuf, len); 579 if (len < (512 / 8) || (u_int)len > sizeof(nbuf)) 581 BN_bn2bin(server_modulus, nbuf); 582 EVP_DigestUpdate(&md, nbuf, len); 589 memset(nbuf, 0, sizeof(nbuf));
|
/system/core/logwrapper/ |
logwrap.c | 284 char * nbuf = malloc(a_buf->e_buf.alloc_len); local 285 if (!nbuf) { 289 memcpy(nbuf, a_buf->e_buf.buf + a_buf->e_buf.read, first_chunk_len); 291 memcpy(nbuf + first_chunk_len, a_buf->e_buf.buf, a_buf->e_buf.write); 292 print_buf_lines(log_info, nbuf, first_chunk_len + a_buf->e_buf.write); 293 free(nbuf);
|
/external/iproute2/lib/ |
ll_map.c | 114 static char nbuf[IFNAMSIZ]; local 116 return ll_idx_n2a(idx, nbuf);
|
/external/valgrind/main/auxprogs/ |
valgrind-listener.c | 128 static void copyout ( char* buf, int nbuf ) 131 for (i = 0; i < nbuf; i++) {
|
/external/wpa_supplicant_8/src/crypto/ |
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/dhcpcd/ |
if-linux.c | 152 char *buf = NULL, *nbuf; local 178 nbuf = realloc(buf, buflen); 179 if (nbuf == NULL) 181 buf = nbuf;
|