/frameworks/av/media/libstagefright/ |
MP3Extractor.cpp | 121 * the last buffer, and thus should include the remaining 122 * bytes in the buffer. 225 MediaBuffer **buffer, const ReadOptions *options = NULL); 505 MediaBuffer *buffer; local 506 status_t err = mGroup->acquire_buffer(&buffer); 516 ssize_t n = mDataSource->readAt(mCurrentPos, buffer->data(), 4); 518 buffer->release(); 519 buffer = NULL; 524 uint32_t header = U32_AT((const uint8_t *)buffer->data()); 547 buffer->release() [all...] |
/external/icu4c/test/cintltst/ |
cloctst.c | 589 const int32_t limit = len<0 ? buflen : len; /* buflen is long enough to hit the buffer limit */ 648 UChar buffer[100]; local 664 length=uloc_getDisplayLanguage(NULL, NULL, buffer, LENGTHOF(buffer), &errorCode); 665 if(U_FAILURE(errorCode) || (length<=3 && buffer[0]<=0x7f)) { 672 length=uloc_getDisplayLanguage("qq", "rr", buffer, LENGTHOF(buffer), &errorCode); 673 if(errorCode!=U_USING_DEFAULT_WARNING || length!=2 || buffer[0]!=0x71 || buffer[1]!=0x71) { 679 length=uloc_getDisplayName("qq_US_POSIX", "en_US", buffer, LENGTHOF(buffer), &errorCode) 1628 char buffer[256]; local 1699 char buffer[256]; local 1767 char buffer[1024]; local 1802 char buffer[1024]; local 1991 char buffer[256]; local 2278 UChar buffer[128]; \/* sufficient for this test *\/ local 5378 char buffer[ULOC_FULLNAME_CAPACITY + ULOC_KEYWORD_AND_VALUES_CAPACITY + 1]; local [all...] |
/external/harfbuzz_ng/src/ |
hb-ot-layout-gsubgpos-private.hh | 32 #include "hb-buffer-private.hh" 235 "idx %d codepoint %u", c->buffer->idx, c->buffer->cur().codepoint); 261 hb_buffer_t *buffer; member in struct:OT::hb_apply_context_t 279 font (font_), face (font->face), buffer (buffer_), 383 end (c->buffer->len) 392 matcher.set_syllable (start_index_ == c->buffer->idx ? c->buffer->cur().syllable () : 0); 412 const hb_glyph_info_t &info = c->buffer->info[idx]; 462 matcher.set_syllable (start_index_ == c->buffer->idx ? c->buffer->cur().syllable () : 0) [all...] |
/external/harfbuzz/src/ |
harfbuzz-gpos.c | 54 HB_Buffer buffer, 1013 HB_Buffer buffer, 1039 sp->ValueFormat, POSITION( buffer->in_pos ) ); 1048 sp->ValueFormat, POSITION( buffer->in_pos ) ); 1057 (buffer->in_pos)++; 1495 HB_Buffer buffer, [all...] |
/external/harfbuzz_ng/src/hb-old/ |
harfbuzz-gpos.c | 54 HB_Buffer buffer, 1013 HB_Buffer buffer, 1039 sp->ValueFormat, POSITION( buffer->in_pos ) ); 1048 sp->ValueFormat, POSITION( buffer->in_pos ) ); 1057 (buffer->in_pos)++; 1495 HB_Buffer buffer, [all...] |
/external/webkit/Source/JavaScriptCore/wtf/ |
Vector.h | 50 template <size_t size> struct AlignedBuffer<size, 1> { AlignedBufferChar buffer[size]; }; member in struct:WTF::AlignedBuffer 51 template <size_t size> struct AlignedBuffer<size, 2> { WTF_ALIGNED(AlignedBufferChar, buffer[size], 2); }; 52 template <size_t size> struct AlignedBuffer<size, 4> { WTF_ALIGNED(AlignedBufferChar, buffer[size], 4); }; 53 template <size_t size> struct AlignedBuffer<size, 8> { WTF_ALIGNED(AlignedBufferChar, buffer[size], 8); }; 54 template <size_t size> struct AlignedBuffer<size, 16> { WTF_ALIGNED(AlignedBufferChar, buffer[size], 16); }; 55 template <size_t size> struct AlignedBuffer<size, 32> { WTF_ALIGNED(AlignedBufferChar, buffer[size], 32); }; 56 template <size_t size> struct AlignedBuffer<size, 64> { WTF_ALIGNED(AlignedBufferChar, buffer[size], 64); }; 62 std::swap(a.buffer[i], b.buffer[i]); 310 T* buffer() { return m_buffer; function in class:WTF::VectorBufferBase 311 const T* buffer() const { return m_buffer; } function in class:WTF::VectorBufferBase 317 T* buffer = m_buffer; local [all...] |
/external/libxml2/ |
c14n.c | 532 * Prints the given namespace to the output buffer from C14N context. 565 * buffer from C14N context as follows 679 * buffer from C14N context as follows 874 * Prints the given attribute to the output buffer from C14N context. 924 * buffer from C14N context as follows 934 xmlChar *buffer; local 953 buffer = xmlC11NNormalizeAttr(value); 955 if (buffer != NULL) { 956 xmlOutputBufferWriteString(ctx->buf, (const char *) buffer); 957 xmlFree(buffer); 1548 xmlChar *buffer; local 1584 xmlChar *buffer; local 1631 xmlChar *buffer; local 2148 xmlChar *buffer = NULL; local [all...] |
/external/webkit/Source/WebCore/bindings/js/ |
SerializedScriptValue.cpp | 213 template <typename T> static void writeLittleEndian(Vector<uint8_t>& buffer, T value) 215 buffer.append(reinterpret_cast<uint8_t*>(&value), sizeof(value)); 218 template <typename T> static void writeLittleEndian(Vector<uint8_t>& buffer, T value) 221 buffer.append(value & 0xFF); 227 template <> void writeLittleEndian<uint8_t>(Vector<uint8_t>& buffer, uint8_t value) 229 buffer.append(value); 232 template <typename T> static bool writeLittleEndian(Vector<uint8_t>& buffer, const T* values, uint32_t length) 238 buffer.append(reinterpret_cast<const uint8_t*>(values), length * sizeof(T)); 243 buffer.append(static_cast<uint8_t>(value & 0xFF)); 767 static String deserializeString(const Vector<uint8_t>& buffer) 1343 Vector<uint8_t> buffer; local 1356 Vector<uint8_t> buffer; local 1362 Vector<uint8_t> buffer; local [all...] |
/bootable/recovery/ |
install.cpp | 132 char buffer[1024]; local 134 while (fgets(buffer, sizeof(buffer), from_child) != NULL) { 135 char* command = strtok(buffer, " \n");
|
/bootable/recovery/mtdutils/ |
mtdutils.c | 40 char *buffer; member in struct:MtdReadContext 47 char *buffer; member in struct:MtdWriteContext 262 ctx->buffer = malloc(partition->erase_size); 263 if (ctx->buffer == NULL) { 272 free(ctx->buffer); 336 memcpy(data + read, ctx->buffer + ctx->consumed, copy); 341 // Read complete blocks directly into the user's buffer 352 // Read the next block into the buffer 354 if (read_block(ctx->partition, ctx->fd, ctx->buffer)) return -1; 365 free(ctx->buffer); [all...] |
/build/tools/ |
merge-event-log-tags.py | 177 buffer = cStringIO.StringIO() variable 180 buffer.write("%d %s %s\n" % (t.tagnum, t.tagname, t.description)) 182 buffer.write("%d %s\n" % (t.tagnum, t.tagname)) 184 event_log_tags.WriteOutput(output_file, buffer)
|
/cts/apps/cts-usb-accessory/ |
cts-usb-accessory.c | 41 char buffer[16384]; local 42 ret = usb_device_bulk_transfer(sDevice, endpoints[0], buffer, sizeof(buffer), 1000); 48 fwrite(buffer, 1, ret, stdout);
|
/cts/suite/audio_quality/lib/src/audio/ |
Buffer.cpp | 22 #include "audio/Buffer.h" 24 Buffer::Buffer(size_t capacity, size_t size, bool stereo) 31 //LOGV("Buffer %d data %x", capacity, (unsigned int)mData); 39 Buffer::~Buffer() 42 //LOGV("~Buffer %d", mCapacity); 45 void Buffer::changeToMono(ConvertOption option) 72 bool Buffer::changeToStereo() 80 Buffer* Buffer::loadFromFile(const android::String8& filename 98 Buffer* buffer = new Buffer(size, size, stereo); local [all...] |
/development/host/windows/usb/api/ |
adb_legacy_interface.h | 70 @param[out] buffer Buffer for the serail number string. Can be NULL in
74 of the buffer. On the way out, if method failed and GetLastError
82 virtual bool GetSerialNumber(void* buffer,
|
/development/host/windows/usb/winusb/ |
adb_winusb_interface.h | 100 @param[out] buffer Buffer for the serail number string. Can be NULL in
104 of the buffer. On the way out, if method failed and GetLastError
112 virtual bool GetSerialNumber(void* buffer,
|
/device/generic/goldfish/camera/ |
EmulatedFakeCameraDevice.h | 80 /* Gets current preview fame into provided buffer. */ 81 status_t getPreviewFrame(void* buffer); 103 /* Draws a black and white checker board in the current frame buffer. */ 106 /* Draws a square of the given color in the current frame buffer. 108 * x, y - Coordinates of the top left corner of the square in the buffer.
|
/device/lge/mako/camera/hdr/include/ |
morpho_noise_reduction.h | 66 * @param[out] buffer ?m?C?Y????????????????????|?C???^
73 void *buffer,
|
/external/apache-harmony/archive/src/test/java/org/apache/harmony/archive/tests/java/util/jar/ |
JarEntryTest.java | 135 byte[] buffer = new byte[1024]; 140 in.read(buffer); 158 byte[] buffer = new byte[1024]; 162 in.read(buffer);
|
/external/apache-harmony/text/src/test/java/org/apache/harmony/text/tests/java/text/ |
Support_Format.java | 38 StringBuffer buffer = new StringBuffer(); local 40 format.format(object, buffer, pos); 42 // System.out.println(buffer); 47 this.text, buffer.toString()); 50 buffer.toString());
|
/external/apache-http/src/org/apache/http/impl/ |
AbstractHttpClientConnection.java | 101 final SessionInputBuffer buffer, 105 return new HttpResponseParser(buffer, null, responseFactory, params); 109 final SessionOutputBuffer buffer, 112 return new HttpRequestWriter(buffer, null, params); 120 throw new IllegalArgumentException("Input session buffer may not be null"); 123 throw new IllegalArgumentException("Output session buffer may not be null");
|
AbstractHttpServerConnection.java | 100 final SessionInputBuffer buffer, 104 return new HttpRequestParser(buffer, null, requestFactory, params); 108 final SessionOutputBuffer buffer, 111 return new HttpResponseWriter(buffer, null, params); 120 throw new IllegalArgumentException("Input session buffer may not be null"); 123 throw new IllegalArgumentException("Output session buffer may not be null");
|
/external/arduino/hardware/arduino/cores/arduino/ |
Print.h | 42 virtual void write(const uint8_t *buffer, size_t size);
|
/external/bluetooth/bluedroid/btif/include/ |
btif_sock_util.h | 61 int sock_send_fd(int sock_fd, const uint8_t* buffer, int len, int send_fd);
|
/external/chromium/base/debug/ |
stack_trace_win.cc | 70 ULONG64 buffer[ local 75 memset(buffer, 0, sizeof(buffer)); 79 PSYMBOL_INFO symbol = reinterpret_cast<PSYMBOL_INFO>(&buffer[0]);
|
/external/chromium/base/ |
stringprintf.cc | 17 // is the size of the buffer. These return the number of characters in the 18 // formatted string excluding the NUL terminator. If the buffer is not 22 inline int vsnprintfT(char* buffer, 26 return base::vsnprintf(buffer, buf_size, format, argptr); 29 inline int vsnprintfT(wchar_t* buffer, 33 return base::vswprintf(buffer, buf_size, format, argptr); 42 // First try with a small fixed size buffer. 43 // This buffer size should be kept in sync with StringUtilTest.GrowBoundary 62 // Repeatedly increase buffer size until it fits. 69 // wrong and no amount of buffer-doubling is going to fix it [all...] |