/external/qemu/android/ |
D | charpipe.c | 277 CharBuffer* cbuf = cs->opaque; in charbuffer_close() local 279 while (cbuf->bip_first) { in charbuffer_close() 280 BipBuffer* bip = cbuf->bip_first; in charbuffer_close() 281 cbuf->bip_first = bip->next; in charbuffer_close() 284 cbuf->bip_last = NULL; in charbuffer_close() 285 cbuf->endpoint = NULL; in charbuffer_close() 287 if (cbuf->endpoint != NULL) { in charbuffer_close() 288 qemu_chr_close(cbuf->endpoint); in charbuffer_close() 289 cbuf->endpoint = NULL; in charbuffer_close() 296 CharBuffer* cbuf = cs->opaque; in charbuffer_write() local [all …]
|
/external/guava/guava/src/com/google/common/io/ |
D | LineBuffer.java | 50 protected void add(char[] cbuf, int off, int len) throws IOException { in add() argument 54 if (finishLine(cbuf[pos] == '\n')) { in add() 61 switch (cbuf[pos]) { in add() 63 line.append(cbuf, start, pos - start); in add() 66 if (finishLine(cbuf[pos + 1] == '\n')) { in add() 74 line.append(cbuf, start, pos - start); in add() 80 line.append(cbuf, start, off + len - start); in add()
|
D | LineReader.java | 41 private final CharBuffer cbuf = CharBuffer.wrap(buf); field in LineReader 73 cbuf.clear(); in readLine() 78 : readable.read(cbuf); in readLine()
|
D | MultiReader.java | 51 @Override public int read(char cbuf[], int off, int len) throws IOException { in read() argument 55 int result = current.read(cbuf, off, len); in read() 58 return read(cbuf, off, len); in read()
|
/external/smack/src/org/jivesoftware/smack/util/ |
D | ObservableWriter.java | 41 public void write(char cbuf[], int off, int len) throws IOException { in write() argument 42 wrappedWriter.write(cbuf, off, len); in write() 43 String str = new String(cbuf, off, len); in write() 59 public void write(char cbuf[]) throws IOException { in write() argument 60 wrappedWriter.write(cbuf); in write() 61 String str = new String(cbuf); in write()
|
D | ObservableReader.java | 41 public int read(char[] cbuf, int off, int len) throws IOException { in read() argument 42 int count = wrappedReader.read(cbuf, off, len); in read() 44 String str = new String(cbuf, off, count); in read() 66 public int read(char cbuf[]) throws IOException { in read() argument 67 return wrappedReader.read(cbuf); in read()
|
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/llvmpipe/ |
D | lp_scene.c | 143 struct pipe_surface *cbuf = scene->fb.cbufs[i]; in lp_scene_begin_rasterization() local 144 assert(cbuf->u.tex.first_layer == cbuf->u.tex.last_layer); in lp_scene_begin_rasterization() 145 scene->cbufs[i].stride = llvmpipe_resource_stride(cbuf->texture, in lp_scene_begin_rasterization() 146 cbuf->u.tex.level); in lp_scene_begin_rasterization() 148 scene->cbufs[i].map = llvmpipe_resource_map(cbuf->texture, in lp_scene_begin_rasterization() 149 cbuf->u.tex.level, in lp_scene_begin_rasterization() 150 cbuf->u.tex.first_layer, in lp_scene_begin_rasterization() 184 struct pipe_surface *cbuf = scene->fb.cbufs[i]; in lp_scene_end_rasterization() local 185 llvmpipe_resource_unmap(cbuf->texture, in lp_scene_end_rasterization() 186 cbuf->u.tex.level, in lp_scene_end_rasterization() [all …]
|
D | lp_state_fs.c | 248 unsigned cbuf; in generate_fs() local 296 for(cbuf = 0; cbuf < key->nr_cbufs; cbuf++) { in generate_fs() 298 color[cbuf][chan] = lp_build_alloca(gallivm, vec_type, "color"); in generate_fs() 416 unsigned cbuf = shader->info.base.output_semantic_index[attrib]; in generate_fs() local 424 LLVMBuildStore(builder, out, color[cbuf][chan]); in generate_fs() 476 unsigned cbuf; in generate_fs_loop() local 539 for(cbuf = 0; cbuf < key->nr_cbufs; cbuf++) { in generate_fs_loop() 541 out_color[cbuf][chan] = lp_build_array_alloca(gallivm, in generate_fs_loop() 655 unsigned cbuf = shader->info.base.output_semantic_index[attrib]; in generate_fs_loop() local 663 color_ptr = LLVMBuildGEP(builder, out_color[cbuf][chan], in generate_fs_loop() [all …]
|
D | lp_rast_priv.h | 194 struct pipe_surface *cbuf = scene->fb.cbufs[buf]; in lp_rast_get_color_tile_pointer() local 196 assert(cbuf); in lp_rast_get_color_tile_pointer() 197 lpt = llvmpipe_resource(cbuf->texture); in lp_rast_get_color_tile_pointer() 202 cbuf->u.tex.first_layer, in lp_rast_get_color_tile_pointer() 203 cbuf->u.tex.level, in lp_rast_get_color_tile_pointer()
|
/external/mesa3d/src/gallium/drivers/llvmpipe/ |
D | lp_scene.c | 143 struct pipe_surface *cbuf = scene->fb.cbufs[i]; in lp_scene_begin_rasterization() local 144 assert(cbuf->u.tex.first_layer == cbuf->u.tex.last_layer); in lp_scene_begin_rasterization() 145 scene->cbufs[i].stride = llvmpipe_resource_stride(cbuf->texture, in lp_scene_begin_rasterization() 146 cbuf->u.tex.level); in lp_scene_begin_rasterization() 148 scene->cbufs[i].map = llvmpipe_resource_map(cbuf->texture, in lp_scene_begin_rasterization() 149 cbuf->u.tex.level, in lp_scene_begin_rasterization() 150 cbuf->u.tex.first_layer, in lp_scene_begin_rasterization() 184 struct pipe_surface *cbuf = scene->fb.cbufs[i]; in lp_scene_end_rasterization() local 185 llvmpipe_resource_unmap(cbuf->texture, in lp_scene_end_rasterization() 186 cbuf->u.tex.level, in lp_scene_end_rasterization() [all …]
|
D | lp_state_fs.c | 248 unsigned cbuf; in generate_fs() local 296 for(cbuf = 0; cbuf < key->nr_cbufs; cbuf++) { in generate_fs() 298 color[cbuf][chan] = lp_build_alloca(gallivm, vec_type, "color"); in generate_fs() 416 unsigned cbuf = shader->info.base.output_semantic_index[attrib]; in generate_fs() local 424 LLVMBuildStore(builder, out, color[cbuf][chan]); in generate_fs() 476 unsigned cbuf; in generate_fs_loop() local 539 for(cbuf = 0; cbuf < key->nr_cbufs; cbuf++) { in generate_fs_loop() 541 out_color[cbuf][chan] = lp_build_array_alloca(gallivm, in generate_fs_loop() 655 unsigned cbuf = shader->info.base.output_semantic_index[attrib]; in generate_fs_loop() local 663 color_ptr = LLVMBuildGEP(builder, out_color[cbuf][chan], in generate_fs_loop() [all …]
|
D | lp_rast_priv.h | 194 struct pipe_surface *cbuf = scene->fb.cbufs[buf]; in lp_rast_get_color_tile_pointer() local 196 assert(cbuf); in lp_rast_get_color_tile_pointer() 197 lpt = llvmpipe_resource(cbuf->texture); in lp_rast_get_color_tile_pointer() 202 cbuf->u.tex.first_layer, in lp_rast_get_color_tile_pointer() 203 cbuf->u.tex.level, in lp_rast_get_color_tile_pointer()
|
/external/chromium_org/net/tools/quic/ |
D | quic_socket_utils.cc | 108 char cbuf[kSpaceForOverflowAndIp]; in ReadPacket() local 109 memset(cbuf, 0, arraysize(cbuf)); in ReadPacket() 121 struct cmsghdr *cmsg = (struct cmsghdr *) cbuf; in ReadPacket() 122 cmsg->cmsg_len = arraysize(cbuf); in ReadPacket() 124 hdr.msg_controllen = arraysize(cbuf); in ReadPacket() 204 char cbuf[kSpaceForIp]; in WritePacket() local 209 hdr.msg_control = cbuf; in WritePacket()
|
/external/mesa3d/src/gallium/drivers/softpipe/ |
D | sp_quad_fs.c | 87 uint cbuf; in coverage_quad() local 90 for (cbuf = 0; cbuf < softpipe->framebuffer.nr_cbufs; cbuf++) { in coverage_quad() 91 float (*quadColor)[4] = quad->output.color[cbuf]; in coverage_quad()
|
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/softpipe/ |
D | sp_quad_fs.c | 87 uint cbuf; in coverage_quad() local 90 for (cbuf = 0; cbuf < softpipe->framebuffer.nr_cbufs; cbuf++) { in coverage_quad() 91 float (*quadColor)[4] = quad->output.color[cbuf]; in coverage_quad()
|
/external/mksh/src/ |
D | edit.c | 3337 char *cbuf; member 3516 ebuf.cbuf = buf; in x_vi() 3517 if (undobuf.cbuf == NULL) { in x_vi() 3520 undobuf.cbuf = alloc(LINE, AEDIT); in x_vi() 3594 if (es->cbuf != buf) in x_vi() 3595 memcpy(buf, es->cbuf, es->linelen); in x_vi() 3668 es->cbuf[es->cursor++] = ch; in vi_hook() 3770 new_es.cbuf = locpat; in vi_hook() 3793 es->cbuf[es->linelen++] = '^'; in vi_hook() 3794 es->cbuf[es->linelen++] = UNCTRL(ch); in vi_hook() [all …]
|
/external/proguard/src/proguard/io/ |
D | ManifestRewriter.java | 117 public int read(char[] cbuf, int off, int len) throws IOException in read() argument 129 cbuf[off + count++] = (char)c; in read() 197 public void write(char[] cbuf, int off, int len) throws IOException in write() argument 201 write(cbuf[off + count]); in write()
|
/external/icu/icu4c/source/i18n/ |
D | name2uni.cpp | 122 char* cbuf = (char*) uprv_malloc(maxLen); in handleTransliterate() local 123 if (cbuf == NULL) { in handleTransliterate() 191 name.extract(0, len, cbuf, maxLen, US_INV); in handleTransliterate() 194 c = u_charFromName(U_EXTENDED_CHAR_NAME, cbuf, &status); in handleTransliterate() 251 uprv_free(cbuf); in handleTransliterate()
|
/external/chromium_org/third_party/icu/source/i18n/ |
D | name2uni.cpp | 122 char* cbuf = (char*) uprv_malloc(maxLen); in handleTransliterate() local 123 if (cbuf == NULL) { in handleTransliterate() 191 name.extract(0, len, cbuf, maxLen, US_INV); in handleTransliterate() 194 c = u_charFromName(U_EXTENDED_CHAR_NAME, cbuf, &status); in handleTransliterate() 251 uprv_free(cbuf); in handleTransliterate()
|
/external/chromium_org/third_party/icu/source/tools/toolutil/ |
D | ucbuf.c | 166 char* cbuf = carr; in ucbuf_fillucbuf() local 185 inputRead=T_FileStream_read(buf->in,cbuf,cbufSize-offset); in ucbuf_fillucbuf() 190 cbuf = (char*)uprv_malloc(cbufSize); in ucbuf_fillucbuf() 191 if (cbuf == NULL) { in ucbuf_fillucbuf() 195 inputRead= T_FileStream_read(buf->in,cbuf,cbufSize); in ucbuf_fillucbuf() 218 source = cbuf; in ucbuf_fillucbuf() 246 pos = (int32_t)(source - cbuf - len); in ucbuf_fillucbuf() 252 memcpy(preContext,cbuf+start,stop-start); in ucbuf_fillucbuf() 258 …top = (int32_t)(((pos+CONTEXT_LEN)<= (sourceLimit-cbuf) )? (pos+(CONTEXT_LEN-1)) : (sourceLimit-c… in ucbuf_fillucbuf() 286 source = cbuf; in ucbuf_fillucbuf() [all …]
|
/external/icu/icu4c/source/tools/toolutil/ |
D | ucbuf.c | 166 char* cbuf = carr; in ucbuf_fillucbuf() local 185 inputRead=T_FileStream_read(buf->in,cbuf,cbufSize-offset); in ucbuf_fillucbuf() 190 cbuf = (char*)uprv_malloc(cbufSize); in ucbuf_fillucbuf() 191 if (cbuf == NULL) { in ucbuf_fillucbuf() 195 inputRead= T_FileStream_read(buf->in,cbuf,cbufSize); in ucbuf_fillucbuf() 218 source = cbuf; in ucbuf_fillucbuf() 246 pos = (int32_t)(source - cbuf - len); in ucbuf_fillucbuf() 252 memcpy(preContext,cbuf+start,stop-start); in ucbuf_fillucbuf() 258 …top = (int32_t)(((pos+CONTEXT_LEN)<= (sourceLimit-cbuf) )? (pos+(CONTEXT_LEN-1)) : (sourceLimit-c… in ucbuf_fillucbuf() 286 source = cbuf; in ucbuf_fillucbuf() [all …]
|
/external/guava/guava-tests/test/com/google/common/io/ |
D | LineBufferTest.java | 132 public int read(CharBuffer cbuf) throws IOException { in getChunkedReadable() 133 return reader.read(cbuf); in getChunkedReadable() 140 @Override public int read(char[] cbuf, int off, int len) 142 return super.read(cbuf, off, Math.min(chunk, len));
|
/external/oprofile/daemon/ |
D | oprofiled.c | 165 char * cbuf; in opd_write_abi() local 167 cbuf = xmalloc(strlen(op_session_dir) + 5); in opd_write_abi() 168 strcpy(cbuf, op_session_dir); in opd_write_abi() 169 strcat(cbuf, "/abi"); in opd_write_abi() 170 op_write_abi_to_file(cbuf); in opd_write_abi() 171 free(cbuf); in opd_write_abi()
|
/external/mesa3d/src/gallium/drivers/i915/ |
D | i915_clear.c | 62 struct pipe_surface *cbuf = i915->framebuffer.cbufs[0]; in i915_clear_emit() local 65 cbuf_tex = i915_texture(cbuf->texture); in i915_clear_emit() 67 util_pack_color(color->f, cbuf->format, &u_color); in i915_clear_emit() 78 util_pack_color(color->f, cbuf->format, &u_color); in i915_clear_emit()
|
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/i915/ |
D | i915_clear.c | 62 struct pipe_surface *cbuf = i915->framebuffer.cbufs[0]; in i915_clear_emit() local 65 cbuf_tex = i915_texture(cbuf->texture); in i915_clear_emit() 67 util_pack_color(color->f, cbuf->format, &u_color); in i915_clear_emit() 78 util_pack_color(color->f, cbuf->format, &u_color); in i915_clear_emit()
|