/external/vboot_reference/tests/ |
vb21_host_misc_tests.c | 37 uint8_t cbuf[sizeof(struct vb2_struct_common) + 12]; local 38 struct vb2_struct_common *c = (struct vb2_struct_common *)cbuf; 56 memset(cbuf, 0, sizeof(cbuf)); 58 c->total_size = sizeof(cbuf); 60 cbuf[sizeof(cbuf) - 1] = 0xed; /* Some non-zero data at the end */
|
vb21_common_tests.c | 55 uint8_t cbuf[sizeof(struct vb2_struct_common) + 128]; local 56 uint8_t cbufgood[sizeof(cbuf)]; 57 struct vb2_struct_common *c = (struct vb2_struct_common *)cbuf; 62 c->total_size = sizeof(cbuf); 65 memcpy(cbuf + c->fixed_size, test_desc, sizeof(test_desc)); 68 c2 = (struct vb2_struct_common *)(cbuf + desc_end); 77 TEST_SUCC(vb2_verify_common_header(cbuf, sizeof(cbuf)), 79 memcpy(cbufgood, cbuf, sizeof(cbufgood)); 81 memcpy(cbuf, cbufgood, sizeof(cbuf)) [all...] |
/external/guava/guava/src/com/google/common/io/ |
LineReader.java | 42 private final CharBuffer cbuf = CharBuffer.wrap(buf); field in class:LineReader 73 cbuf.clear(); 78 : readable.read(cbuf);
|
/external/mesa3d/src/gallium/drivers/softpipe/ |
sp_quad_fs.c | 87 uint cbuf; local 90 for (cbuf = 0; cbuf < softpipe->framebuffer.nr_cbufs; cbuf++) { 91 float (*quadColor)[4] = quad->output.color[cbuf];
|
sp_fs_exec.c | 144 uint cbuf = sem_index[i]; local 146 assert(sizeof(quad->output.color[cbuf]) == 150 memcpy(quad->output.color[cbuf],
|
sp_quad_blend.c | 925 unsigned cbuf; local 930 for (cbuf = 0; cbuf < softpipe->framebuffer.nr_cbufs; cbuf++) 933 const uint blend_buf = blend->independent_blend_enable ? cbuf : 0; 936 = sp_get_cached_tile(softpipe->cbuf_cache[cbuf], 939 const boolean clamp = bqs->clamp[cbuf]; 941 const boolean dual_source_blend = util_blend_state_is_dual(blend, cbuf); 965 quadColor = quad->output.color[cbuf]; 967 quadColor2 = quad->output.color[cbuf + 1] [all...] |
/hardware/broadcom/wlan/bcmdhd/dhdutil/include/ |
hndrte_cons.h | 39 * input line directly into cbuf and then write the length into vcons_in. 54 * Characters are read one at a time into cbuf until <CR> is received, then 58 char cbuf[CBUF_LEN]; member in struct:__anon23444
|
/external/mesa3d/src/gallium/drivers/i915/ |
i915_clear.c | 62 struct pipe_surface *cbuf = i915->framebuffer.cbufs[0]; local 65 cbuf_tex = i915_texture(cbuf->texture); 67 util_pack_color(color->f, cbuf->format, &u_color); 78 util_pack_color(color->f, cbuf->format, &u_color);
|
/frameworks/base/tests/StatusBar/src/com/android/statusbartest/ |
ToastTest.java | 65 char[] cbuf = new char[200]; local 66 while ((len = f.read(cbuf, 0, cbuf.length)) >= 0) { 67 s += String.valueOf(cbuf, 0, len);
|
/external/icu/icu4c/source/i18n/ |
name2uni.cpp | 122 char* cbuf = (char*) uprv_malloc(maxLen); local 123 if (cbuf == NULL) { 191 name.extract(0, len, cbuf, maxLen, US_INV); 194 c = u_charFromName(U_EXTENDED_CHAR_NAME, cbuf, &status); 251 uprv_free(cbuf);
|
/external/mesa3d/src/gallium/drivers/nv30/ |
nv30_fragprog.c | 82 uint32_t *cbuf = (uint32_t *)nv04_resource(constbuf)->data; local 88 if (!memcmp(&fp->insn[off], &cbuf[idx], 4 * 4)) 90 memcpy(&fp->insn[off], &cbuf[idx], 4 * 4);
|
/external/e2fsprogs/debugfs/ |
htree.c | 162 char *cbuf; local 166 cbuf = malloc(fs->blocksize); 167 if (!cbuf) { 188 cbuf, level); 190 free(cbuf);
|
/external/libedit/src/ |
read.c | 317 char cbuf[MB_LEN_MAX]; local 323 while ((num_read = read(el->el_infd, cbuf + cbp, (size_t)1)) == -1) { 353 if (!utf8_islead((unsigned char)cbuf[0])) 356 if ((bytes = ct_mbtowc(cp, cbuf, cbp)) == -1) { 365 } else if (isascii((unsigned char)cbuf[0]) || 369 (bytes = ct_mbtowc(cp, cbuf, cbp)) != 1) 371 *cp = (unsigned char)cbuf[0];
|
/external/mesa3d/src/gallium/drivers/llvmpipe/ |
lp_rast_priv.h | 194 struct pipe_surface *cbuf = scene->fb.cbufs[buf]; local 196 assert(cbuf); 197 lpt = llvmpipe_resource(cbuf->texture); 202 cbuf->u.tex.first_layer, 203 cbuf->u.tex.level,
|
lp_scene.c | 143 struct pipe_surface *cbuf = scene->fb.cbufs[i]; local 144 assert(cbuf->u.tex.first_layer == cbuf->u.tex.last_layer); 145 scene->cbufs[i].stride = llvmpipe_resource_stride(cbuf->texture, 146 cbuf->u.tex.level); 148 scene->cbufs[i].map = llvmpipe_resource_map(cbuf->texture, 149 cbuf->u.tex.level, 150 cbuf->u.tex.first_layer, 184 struct pipe_surface *cbuf = scene->fb.cbufs[i]; local 185 llvmpipe_resource_unmap(cbuf->texture [all...] |
lp_rast.c | 309 struct pipe_surface *cbuf = scene->fb.cbufs[buf]; local 310 const unsigned layer = cbuf->u.tex.first_layer; 311 const unsigned level = cbuf->u.tex.level; 312 struct llvmpipe_resource *lpt = llvmpipe_resource(cbuf->texture);
|
/external/iputils/ |
tracepath.c | 93 char cbuf[512]; local 116 msg.msg_control = cbuf; 117 msg.msg_controllen = sizeof(cbuf);
|
tracepath6.c | 106 char cbuf[512]; local 129 msg.msg_control = cbuf; 130 msg.msg_controllen = sizeof(cbuf);
|
/external/mesa3d/src/gallium/state_trackers/vega/ |
shader.c | 59 struct pipe_resource *cbuf; member in struct:shader
|
vg_context.c | 148 struct pipe_resource **cbuf = &ctx->mask.cbuf; local 156 if (*cbuf) 157 pipe_resource_reference(cbuf, NULL);
|
vg_context.h | 114 struct pipe_resource *cbuf; member in struct:vg_context::__anon16793
|
/external/icu/icu4c/source/test/cintltst/ |
utransts.c | 494 char *cbuf; local 538 cbuf=aescstrdup(buf, -1); 541 log_verbose("Ok: %s | %s -> %s\n", DATA[i+1], DATA[i], cbuf); 543 log_err("FAIL: %s | %s -> %s, expected %s\n", DATA[i+1], DATA[i], cbuf, DATA[i+2]);
|
/external/icu/icu4c/source/tools/toolutil/ |
ucbuf.c | 166 char* cbuf = carr; local 185 inputRead=T_FileStream_read(buf->in,cbuf,cbufSize-offset); 190 cbuf = (char*)uprv_malloc(cbufSize); 191 if (cbuf == NULL) { 195 inputRead= T_FileStream_read(buf->in,cbuf,cbufSize); 218 source = cbuf; 246 pos = (int32_t)(source - cbuf - len); 252 memcpy(preContext,cbuf+start,stop-start); 258 stop = (int32_t)(((pos+CONTEXT_LEN)<= (sourceLimit-cbuf) )? (pos+(CONTEXT_LEN-1)) : (sourceLimit-cbuf)); [all...] |
/external/iputils/ninfod/ |
ninfod.c | 335 char cbuf[CMSG_SPACE(sizeof(p->pktinfo))]; local 354 msgh.msg_control = cbuf; 355 msgh.msg_controllen = sizeof(cbuf);
|
/external/mesa3d/src/gallium/drivers/radeonsi/ |
radeonsi_shader.c | 394 int cbuf = target - V_008DFC_SQ_EXP_MRT; local 396 if (cbuf >= 0 && cbuf < 8) { 398 compressed = (rctx->export_16bpc >> cbuf) & 0x1;
|