HomeSort by relevance Sort by last modified time
    Searched refs:buffer (Results 676 - 700 of 5558) sorted by null

<<21222324252627282930>>

  /external/harfbuzz_ng/util/
options.hh 164 void setup_buffer (hb_buffer_t *buffer)
166 hb_buffer_set_direction (buffer, hb_direction_from_string (direction, -1));
167 hb_buffer_set_script (buffer, hb_script_from_string (script, -1));
168 hb_buffer_set_language (buffer, hb_language_from_string (language, -1));
169 hb_buffer_set_flags (buffer, (hb_buffer_flags_t) (HB_BUFFER_FLAGS_DEFAULT |
173 hb_buffer_guess_segment_properties (buffer);
176 void populate_buffer (hb_buffer_t *buffer, const char *text, int text_len,
179 hb_buffer_clear_contents (buffer);
182 hb_buffer_add_utf8 (buffer, text_before, len, len, 0);
184 hb_buffer_add_utf8 (buffer, text, text_len, 0, text_len)
    [all...]
  /external/e2fsprogs/ext2ed/
inode_com.c 26 char *ptr,buffer [80]; local
32 ptr=parse_word (command_line,buffer);
35 ptr=parse_word (ptr,buffer);
36 mult=atol (buffer);
55 sprintf (buffer,"setoffset %ld",device_offset);dispatch (buffer);
56 strcpy (buffer,"show");dispatch (buffer);
73 char *ptr,buffer [80]; local
79 ptr=parse_word (command_line,buffer);
285 char *ptr,buffer [80]; local
318 char buffer [80]; local
332 char buffer [80]; local
350 char buffer [80]; local
    [all...]
  /external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.eclipse.test.performance.ui/src/org/eclipse/test/internal/performance/results/utils/
Util.java 421 StringBuffer buffer = new StringBuffer(); local
424 buffer.append("00:00:"); //$NON-NLS-1$
425 if (seconds < 10) buffer.append('0');
426 buffer.append(seconds);
430 buffer.append("00:"); //$NON-NLS-1$
431 if (minutes < 10) buffer.append('0');
432 buffer.append(minutes);
433 buffer.append(':');
435 if (seconds < 10) buffer.append('0');
436 buffer.append(seconds)
486 StringBuffer buffer = new StringBuffer(); local
    [all...]
  /external/harfbuzz_ng/src/
hb-coretext.cc 176 hb_buffer_t *buffer,
191 char *scratch = (char *) buffer->get_scratch_buffer (&scratch_size);
197 for (unsigned int i = 0; i < buffer->len; i++) {
198 hb_codepoint_t c = buffer->info[i].codepoint;
199 buffer->info[i].utf16_index() = chars_len;
236 buffer->len = 0;
247 buffer->ensure (buffer->len + num_glyphs);
250 * and so copying data to our own buffer with CTRunGetGlyphs will be
254 char *scratch = (char *) buffer->get_scratch_buffer (&scratch_size)
    [all...]
  /frameworks/av/media/libstagefright/
AudioSource.cpp 37 source->dataCallback(*((AudioRecord::Buffer *) info));
68 // buffer size
71 // make sure that the AudioRecord total buffer size is large enough
230 MediaBuffer *buffer = *mBuffersReceived.begin(); local
233 buffer->setObserver(this);
234 buffer->add_ref();
238 CHECK(buffer->meta_data()->findInt64(kKeyTime, &timeUs));
241 memset((uint8_t *) buffer->data(), 0, buffer->range_length());
251 (uint8_t *) buffer->data(), buffer->range_length())
339 MediaBuffer *buffer = new MediaBuffer(bufferSize); local
    [all...]
  /cts/tools/dex-tools/src/dex/reader/
DexClassImpl.java 41 private final DexBuffer buffer; field in class:DexClassImpl
69 public DexClassImpl(DexBuffer buffer, ClassDefItem classDefItem,
72 this.buffer = buffer;
120 buffer.setPosition(classDefItem.annotations_off);
122 annotationDir.class_annotations_off = buffer.readUInt();
123 annotationDir.fields_size = buffer.readUInt();
124 annotationDir.methods_size = buffer.readUInt();
125 annotationDir.annotated_params_size = buffer.readUInt();
132 annotationDir.fieldAnnotations[i].fieldIdx = buffer
    [all...]
DexEncodedValueImpl.java 30 private final DexBuffer buffer; field in class:DexEncodedValueImpl
41 * @param buffer
42 * the buffer with the correct position
47 public DexEncodedValueImpl(DexBuffer buffer, DexAnnotation annotation,
49 this.buffer = buffer;
58 typeAndValueArg = buffer.readUByte();
135 // use the buffer directly to get adjusted offset
136 return new DexEncodedAnnotationImpl(buffer, annotation, typeIds,
146 int size = buffer.readUleb128()
    [all...]
  /external/srec/srec/clib/
srec_arb.c 79 void read_questions(srec_question** pquestions, asr_int16_t num_questions, char **buffer, PFile *fp)
83 q = *pquestions = (srec_question*)(*buffer);
85 *buffer += num_questions * sizeof(srec_question);
178 tree_node* read_tree_node_f(char **buffer, PFile *fp)
180 tree_node* tnode = (tree_node*) * buffer;
189 *buffer += sizeof(tree_node);
192 tnode->node.fail = (struct tree_branch_info*)read_tree_node_f(buffer, fp);
193 tnode->node.pass = (struct tree_branch_info*)read_tree_node_f(buffer, fp);
198 void read_phoneme_data(phoneme_data** pdata, asr_int16_t num_phonemes, char **buffer, PFile *fp)
203 pd = *pdata = (phoneme_data*)(*buffer);
291 char* buffer; local
    [all...]
  /cts/suite/audio_quality/lib/src/task/
TaskDownload.cpp 47 android::sp<Buffer> buffer = getTestCase()->findBuffer(id); local
48 if (buffer.get() == NULL) {
49 LOGE("TaskDownload::run cannot find buffer %s", id.string());
53 if (!getTestCase()->getRemoteAudio()->downloadData(id, buffer, downloadId)) {
56 LOGI("Downloaded buffer %s to DUT with id %d", id.string(), downloadId);
  /development/samples/ApiDemos/src/com/example/android/apis/content/
ReadAsset.java 56 // Read the entire asset into a local byte buffer.
57 byte[] buffer = new byte[size];
58 is.read(buffer);
61 // Convert the buffer into a string.
62 String text = new String(buffer);
  /external/apache-http/src/org/apache/commons/codec/net/
QuotedPrintableCodec.java 111 * @param buffer
112 * the buffer to write to
114 private static final void encodeQuotedPrintable(int b, ByteArrayOutputStream buffer) {
115 buffer.write(ESCAPE_CHAR);
118 buffer.write(hex1);
119 buffer.write(hex2);
143 ByteArrayOutputStream buffer = new ByteArrayOutputStream(); local
150 buffer.write(b);
152 encodeQuotedPrintable(b, buffer);
155 return buffer.toByteArray()
177 ByteArrayOutputStream buffer = new ByteArrayOutputStream(); local
    [all...]
  /external/chromium/net/tools/fetch/
http_listen_socket.cc 126 std::string buffer; local
139 info->method = buffer;
140 buffer.clear();
143 info->url = GURL(buffer);
144 buffer.clear();
148 DCHECK(buffer == "HTTP/1.1");
149 buffer.clear();
152 header_name = buffer;
153 buffer.clear();
156 header_value = buffer;
    [all...]
  /external/dropbear/
algo.h 30 #include "buffer.h"
67 void buf_put_algolist(buffer * buf, algo_type localalgos[]);
69 algo_type * svr_buf_match_algo(buffer* buf, algo_type localalgos[],
71 algo_type * cli_buf_match_algo(buffer* buf, algo_type localalgos[],
  /external/elfutils/lib/
sha1.h 52 char buffer[128] __attribute__ ((__aligned__ (__alignof__ (sha1_uint32)))); member in struct:sha1_ctx
60 starting at BUFFER.
62 extern void sha1_process_block (const void *buffer, size_t len,
67 starting at BUFFER.
69 extern void sha1_process_bytes (const void *buffer, size_t len,
72 /* Process the remaining bytes in the buffer and put result from CTX
  /external/freetype/src/psaux/
psconv.h 48 FT_Byte* buffer,
55 FT_Byte* buffer,
61 FT_Byte* buffer,
  /external/jmonkeyengine/engine/src/networking/com/jme3/network/serializing/serializers/
EnumSerializer.java 60 public void writeObject(ByteBuffer buffer, Object object) throws IOException {
62 buffer.putInt(-1);
64 buffer.putInt(((Enum)object).ordinal());
  /external/opencv/otherlibs/highgui/
cvcap_socket.cpp 98 long readBufSize; // the length of the read buffer
99 char *readBuf; // the read buffer
133 char buffer[100]; local
134 sprintf(buffer, "getaddrinfo error: %s", gai_strerror(error));
135 LOGV("%s", buffer);
169 LOGV("Freeing Buffer");
210 // First ensure that our addrinfo and read buffer are allocated.
221 char buffer[100]; local
222 sprintf(buffer, "Failed to create socket, errno = %d", errno);
223 LOGV("%s", buffer);
231 char buffer[100]; local
253 char buffer[100]; local
    [all...]
  /external/qemu/distrib/sdl-1.2.15/src/video/riscos/
SDL_riscossprite.c 42 /* Create sprite buffer for screen */
48 unsigned char *buffer; local
75 buffer = SDL_malloc( (size_t) size + offsetToSpriteData );
76 if (!buffer) return NULL;
80 *(unsigned int *)buffer = size + offsetToSpriteData;
81 *(unsigned int *)(buffer + 8) = 16;
84 regs.r[1] = (unsigned int)buffer;
88 regs.r[1] = (unsigned int)buffer;
109 int *sprite = (int *)(buffer + 16);
115 (*(int *)(buffer+12)) += 2048
    [all...]
  /external/skia/gm/
factory.cpp 37 void* buffer = sk_malloc_throw(length); variable
38 stream.read(buffer, length);
39 SkAutoDataUnref data(SkData::NewFromMalloc(buffer, length));
  /external/skia/legacy/include/effects/
SkColorMatrixFilter.h 32 virtual void flatten(SkFlattenableWriteBuffer& buffer) SK_OVERRIDE;
40 static SkFlattenable* CreateProc(SkFlattenableReadBuffer& buffer);
48 SkColorMatrixFilter(SkFlattenableReadBuffer& buffer);
  /external/skia/legacy/src/effects/
SkBlurMaskFilter.cpp 107 SkFlattenable* SkBlurMaskFilterImpl::CreateProc(SkFlattenableReadBuffer& buffer) {
108 return SkNEW_ARGS(SkBlurMaskFilterImpl, (buffer));
115 SkBlurMaskFilterImpl::SkBlurMaskFilterImpl(SkFlattenableReadBuffer& buffer)
116 : SkMaskFilter(buffer) {
117 fRadius = buffer.readScalar();
118 fBlurStyle = (SkBlurMaskFilter::BlurStyle)buffer.readS32();
119 fBlurFlags = buffer.readU32() & SkBlurMaskFilter::kAll_BlurFlag;
124 void SkBlurMaskFilterImpl::flatten(SkFlattenableWriteBuffer& buffer) {
125 this->INHERITED::flatten(buffer);
126 buffer.writeScalar(fRadius)
    [all...]
  /external/skia/src/core/
SkStream.cpp 101 void* buffer = sk_malloc_throw(size); local
102 this->read(buffer, size);
103 return SkData::NewFromMalloc(buffer, size);
265 size_t SkFILEStream::read(void* buffer, size_t size)
269 if (buffer == NULL && size == 0) // special signature, they want the total size
272 return sk_fread(buffer, size, fFILE);
354 size_t SkMemoryStream::read(void* buffer, size_t size) {
357 if (buffer == NULL && size == 0) // special signature, they want the total size
360 // if buffer is NULL, seek ahead by size
368 if (buffer) {
757 void* buffer = sk_malloc_throw(fBytesWritten); local
    [all...]
  /external/skia/src/gpu/gl/debug/
GrFrameBufferObj.h 40 void setColor(GrFBBindableObj *buffer);
43 void setDepth(GrFBBindableObj *buffer);
46 void setStencil(GrFBBindableObj *buffer);
60 bool fBound; // is this frame buffer currently bound via "glBindFramebuffer"?
  /external/smack/src/org/jivesoftware/smackx/packet/
StreamInitiation.java 336 StringBuilder buffer = new StringBuilder(); local
338 buffer.append("<").append(getElementName()).append(" xmlns=\"")
342 buffer.append("name=\"").append(StringUtils.escapeForXML(getName())).append("\" ");
346 buffer.append("size=\"").append(getSize()).append("\" ");
350 buffer.append("date=\"").append(StringUtils.formatXEP0082Date(date)).append("\" ");
354 buffer.append("hash=\"").append(getHash()).append("\" ");
358 buffer.append(">");
360 buffer.append("<desc>").append(StringUtils.escapeForXML(getDesc())).append("</desc>");
363 buffer.append("<range/>");
365 buffer.append("</").append(getElementName()).append(">")
    [all...]
  /external/smali/dexlib/src/main/java/org/jf/dexlib/Util/
Leb128Utils.java 88 * Writes an unsigned leb128 to the buffer at the specified location
90 * @param buffer the buffer to write to
93 public static void writeUnsignedLeb128(int value, byte[] buffer, int bufferIndex) {
98 buffer[bufferIndex] = (byte)((value & 0x7f) | 0x80);
105 buffer[bufferIndex] = (byte)(value & 0x7f);

Completed in 790 milliseconds

<<21222324252627282930>>