/external/harfbuzz_ng/test/api/ |
test-shape.c | 90 hb_buffer_t *buffer; local 109 buffer = hb_buffer_create (); 110 hb_buffer_set_direction (buffer, HB_DIRECTION_LTR); 111 hb_buffer_add_utf8 (buffer, TesT, 4, 0, 4); 113 hb_shape (font, buffer, NULL, 0); 115 len = hb_buffer_get_length (buffer); 116 glyphs = hb_buffer_get_glyph_infos (buffer, NULL); 117 positions = hb_buffer_get_glyph_positions (buffer, NULL); 137 hb_buffer_destroy (buffer);
|
/external/skia/legacy/src/core/ |
SkPictureFlat.cpp | 27 SkFlattenableWriteBuffer buffer(1024); 28 buffer.setRefCntRecorder(rec); 30 bitmap.flatten(buffer); 31 size_t size = buffer.size(); 33 buffer.flatten(result->fBitmapData); 94 SkFlattenableWriteBuffer buffer(2*sizeof(SkPaint)); 95 buffer.setRefCntRecorder(rec); 96 buffer.setTypefaceRecorder(faceRecorder); 98 paint.flatten(buffer); 99 uint32_t size = buffer.size() [all...] |
SkBitmapProcShader.cpp | 34 SkBitmapProcShader::SkBitmapProcShader(SkFlattenableReadBuffer& buffer) 35 : INHERITED(buffer) { 36 fRawBitmap.unflatten(buffer); 37 fState.fTileModeX = buffer.readU8(); 38 fState.fTileModeY = buffer.readU8(); 71 void SkBitmapProcShader::flatten(SkFlattenableWriteBuffer& buffer) { 72 this->INHERITED::flatten(buffer); 74 fRawBitmap.flatten(buffer); 75 buffer.write8(fState.fTileModeX); 76 buffer.write8(fState.fTileModeY) 169 uint32_t buffer[BUF_MAX + TEST_BUFFER_EXTRA]; local 213 uint32_t buffer[BUF_MAX]; local [all...] |
/external/webkit/Source/WebCore/fileapi/ |
WebKitBlobBuilder.cpp | 73 Vector<char>& buffer = getBuffer(); local 74 size_t oldSize = buffer.size(); 77 normalizeLineEndingsToNative(utf8Text, buffer); 79 buffer.append(utf8Text.data(), utf8Text.length()); 80 m_size += buffer.size() - oldSize; 93 Vector<char>& buffer = getBuffer(); 94 size_t oldSize = buffer.size(); 95 buffer.append(static_cast<const char*>(arrayBuffer->data()), arrayBuffer->byteLength()); 96 m_size += buffer.size() - oldSize;
|
/packages/apps/Gallery2/src/com/android/gallery3d/data/ |
ImageCacheRequest.java | 54 BytesBuffer buffer = MediaItem.getBytesBufferPool().get(); local 56 boolean found = cacheService.getImageData(mPath, mType, buffer); 64 buffer.data, buffer.offset, buffer.length, options); 67 buffer.data, buffer.offset, buffer.length, options); 75 MediaItem.getBytesBufferPool().recycle(buffer);
|
/system/vold/ |
vdc.c | 85 char *buffer = malloc(4096); local 103 free(buffer); 110 memset(buffer, 0, 4096); 111 if ((rc = read(sock, buffer, 4096)) <= 0) { 116 free(buffer); 126 if (buffer[i] == '\0') { 130 strncpy(tmp, buffer + offset, 3); 134 printf("%s\n", buffer + offset); 144 free(buffer);
|
/external/jmonkeyengine/engine/src/terrain/com/jme3/terrain/geomipmap/ |
LODGeomap.java | 147 * @param store to store the index buffer
153 * @return the LOD-ified index buffer
162 VerboseIntBuffer buffer = new VerboseIntBuffer(buffer2);
local 173 buffer.put(idx);
175 buffer.put(idx);
181 buffer.put(idx);
183 buffer.put(idx);
189 //int runningBufferCount = buffer.getCount();
190 //System.out.println("buffer start: "+runningBufferCount);
195 buffer.put(br); // bottom right -1 365 VerboseIntBuffer buffer = new VerboseIntBuffer(buffer2); local [all...] |
/cts/suite/audio_quality/lib/src/task/ |
TaskOutput.cpp | 57 android::sp<Buffer> buffer = getTestCase()->findBuffer(mId); local 58 if (buffer.get() == NULL) { 59 LOGE("cannot find buffer %s", mId.string()); 62 buffer->restart(); // reset to play from beginning 64 if (!hw->startPlaybackOrRecord(buffer)) { 74 if (!remote->startPlaybackForRemoteData(id, buffer->isStereo())) {
|
/dalvik/dx/src/com/android/dx/merge/ |
SortableType.java | 46 private final DexBuffer buffer; field in class:SortableType 50 public SortableType(DexBuffer buffer, ClassDef classDef) { 51 this.buffer = buffer; 56 return buffer;
|
/external/apache-http/src/org/apache/http/auth/ |
NTUserPrincipal.java | 64 StringBuilder buffer = new StringBuilder(); local 65 buffer.append(this.domain); 66 buffer.append('/'); 67 buffer.append(this.username); 68 this.ntname = buffer.toString();
|
/external/apache-http/src/org/apache/http/entity/ |
InputStreamEntity.java | 81 byte[] buffer = new byte[BUFFER_SIZE]; 85 while ((l = instream.read(buffer)) != -1) { 86 outstream.write(buffer, 0, l); 92 l = instream.read(buffer, 0, (int)Math.min(BUFFER_SIZE, remaining)); 96 outstream.write(buffer, 0, l);
|
/external/apache-http/src/org/apache/http/impl/conn/ |
LoggingSessionOutputBuffer.java | 55 * Create an instance that wraps the specified session output buffer. 56 * @param out The session output buffer. 90 public void writeLine(final CharArrayBuffer buffer) throws IOException { 91 this.out.writeLine(buffer); 93 String s = new String(buffer.buffer(), 0, buffer.length());
|
/external/apache-http/src/org/apache/http/message/ |
BasicNameValuePair.java | 156 CharArrayBuffer buffer = new CharArrayBuffer(len); local 158 buffer.append(this.name); 160 buffer.append("="); 161 buffer.append(this.value); 163 return buffer.toString();
|
/external/chromium/net/disk_cache/ |
file.h | 52 bool Read(void* buffer, size_t buffer_len, size_t offset); 53 bool Write(const void* buffer, size_t buffer_len, size_t offset); 57 bool Read(void* buffer, size_t buffer_len, size_t offset, 59 bool Write(const void* buffer, size_t buffer_len, size_t offset, 75 bool AsyncWrite(const void* buffer, size_t buffer_len, size_t offset,
|
/external/ganymed-ssh2/examples/ |
SingleThreadStdoutStderr.java | 59 byte[] buffer = new byte[8192]; 103 * stdout and stder streams is more "balanced". Addtionally reducing the buffer size 110 int len = stdout.read(buffer); 112 System.out.write(buffer, 0, len); 117 int len = stderr.read(buffer); 119 System.err.write(buffer, 0, len);
|
/external/harfbuzz_ng/src/ |
hb-buffer-serialize.cc | 27 #include "hb-buffer-private.hh" 62 _hb_buffer_serialize_glyphs_json (hb_buffer_t *buffer, 71 hb_glyph_info_t *info = hb_buffer_get_glyph_infos (buffer, NULL); 72 hb_glyph_position_t *pos = hb_buffer_get_glyph_positions (buffer, NULL); 135 _hb_buffer_serialize_glyphs_text (hb_buffer_t *buffer, 144 hb_glyph_info_t *info = hb_buffer_get_glyph_infos (buffer, NULL); 145 hb_glyph_position_t *pos = hb_buffer_get_glyph_positions (buffer, NULL); 198 hb_buffer_serialize_glyphs (hb_buffer_t *buffer, 208 assert (start <= end && end <= buffer->len); 215 assert ((!buffer->len && buffer->content_type == HB_BUFFER_CONTENT_TYPE_INVALID) | [all...] |
/external/harfbuzz_ng/util/ |
view-cairo.hh | 51 void consume_text (hb_buffer_t *buffer, 57 void shape_failed (hb_buffer_t *buffer, 64 void consume_glyphs (hb_buffer_t *buffer, 69 direction = hb_buffer_get_direction (buffer); 71 helper_cairo_line_from_buffer (&l, buffer, text, text_len, scale, utf8_clusters);
|
/external/icu4c/common/ |
ucat.c | 24 * Fill in buffer with a set_num/msg_num key string, given the numeric 25 * values. Numeric values must be >= 0. Buffer must be of length 29 _catkey(char* buffer, int32_t set_num, int32_t msg_num) { 31 i = T_CString_integerToString(buffer, set_num, 10); 32 buffer[i++] = SEPARATOR; 33 T_CString_integerToString(buffer+i, msg_num, 10); 34 return buffer;
|
/external/nist-sip/java/gov/nist/javax/sip/header/ |
Event.java | 114 protected StringBuffer encodeBody(StringBuffer buffer) { 116 buffer.append(eventType); 119 buffer.append(SEMICOLON); 120 this.parameters.encode(buffer); 122 return buffer;
|
/external/oprofile/libop/ |
op_xml_out.h | 64 void open_xml_element(tag_t tag, int with_attrs, char *buffer, size_t size); 65 void close_xml_element(tag_t tag, int has_nested, char *buffer, size_t size); 66 void init_xml_int_attr(tag_t attr, int value, char *buffer, size_t size); 67 void init_xml_dbl_attr(tag_t attr, double value, char *buffer, size_t size); 68 void init_xml_str_attr(tag_t attr, char const *str, char *buffer, size_t size);
|
/external/qemu/android/ |
async-utils.c | 21 void* buffer, 25 ar->buffer = buffer; 43 ret = socket_recv(ar->io->fd, ar->buffer + ar->pos, ar->buffsize - ar->pos); 68 const void* buffer, 72 aw->buffer = buffer; 90 ret = socket_send(aw->io->fd, aw->buffer + aw->pos, aw->buffsize - aw->pos); 115 void* buffer, 119 alr->buffer = buffer 185 char* buffer = (char*) alr->buffer; local [all...] |
/external/qemu/distrib/sdl-1.2.15/test/ |
testiconv.c | 32 char buffer[BUFSIZ]; local 48 while ( fgets(buffer, sizeof(buffer), file) ) { 51 ucs4 = SDL_iconv_string("UCS-4", "UTF-8", buffer, SDL_strlen(buffer)+1);
|
/external/skia/include/effects/ |
SkMorphologyImageFilter.h | 20 SkMorphologyImageFilter(SkFlattenableReadBuffer& buffer); 47 SkDilateImageFilter(SkFlattenableReadBuffer& buffer) : INHERITED(buffer) {} 67 SkErodeImageFilter(SkFlattenableReadBuffer& buffer) : INHERITED(buffer) {}
|
/external/skia/legacy/src/effects/ |
SkLayerDrawLooper.cpp | 183 void SkLayerDrawLooper::flatten(SkFlattenableWriteBuffer& buffer) { 184 this->INHERITED::flatten(buffer); 198 buffer.writeInt(fCount); 202 buffer.writeInt(rec->fInfo.fPaintBits); 203 buffer.writeInt(rec->fInfo.fColorMode); 204 buffer.writeScalar(rec->fInfo.fOffset.fX); 205 buffer.writeScalar(rec->fInfo.fOffset.fY); 206 buffer.writeBool(rec->fInfo.fPostTranslate); 207 rec->fPaint.flatten(buffer); 212 SkLayerDrawLooper::SkLayerDrawLooper(SkFlattenableReadBuffer& buffer) [all...] |
/external/skia/legacy/src/ports/ |
SkOSFile_brew.cpp | 57 size_t sk_fread(void* buffer, size_t byteCount, SkFILE* f) 60 if (buffer == NULL) 70 return IFILE_Read((IFile*)f, buffer, byteCount); 73 size_t sk_fwrite(const void* buffer, size_t byteCount, SkFILE* f) 76 return IFILE_Write((IFile*)f, buffer, byteCount);
|