| /external/chromium_org/content/browser/renderer_host/media/ |
| video_capture_controller.cc | 45 class PoolBuffer : public media::VideoCaptureDevice::Client::Buffer { 51 : Buffer(buffer_id, data, size), pool_(pool) { 141 // stops updating its buffer. 162 virtual scoped_refptr<Buffer> ReserveOutputBuffer( 171 const scoped_refptr<Buffer>& buffer, 179 scoped_refptr<Buffer> DoReserveOutputBuffer(media::VideoFrame::Format format, 314 // If this buffer is not held by this client, or this client doesn't exist 338 scoped_refptr<media::VideoCaptureDevice::Client::Buffer> 386 scoped_refptr<Buffer> buffer local [all...] |
| /external/chromium_org/content/renderer/media/android/ |
| media_source_delegate.cc | 366 const scoped_refptr<media::DecoderBuffer>& buffer) { 369 << ((!buffer || buffer->end_of_stream()) ? 370 -1 : buffer->timestamp().InMilliseconds()) 414 if (buffer->end_of_stream()) { 423 statistics_.audio_bytes_decoded += buffer->data_size(); 425 statistics_.video_bytes_decoded += buffer->data_size(); 428 data->access_units[index].timestamp = buffer->timestamp(); 431 buffer->data(), buffer->data() + buffer->data_size()) [all...] |
| /external/chromium_org/ppapi/tests/ |
| test_tcp_socket.cc | 339 char buffer[1000]; local 345 cb.WaitForResult(socket->Read(buffer, sizeof(buffer), cb.GetCallback())); 350 s->push_back(buffer[i]); 351 if (buffer[i] == '\n') 360 char buffer[1000]; local 367 socket, buffer, sizeof(buffer), 373 s->push_back(buffer[i]); 374 if (buffer[i] == '\n' 399 const char* buffer = s.data(); local 416 const char* buffer = s.data(); local [all...] |
| /external/chromium_org/third_party/icu/source/io/ |
| ustdio.c | 91 uprv_free(file->fTranslit->buffer); 92 file->fTranslit->buffer=NULL; 110 file->fTranslit->buffer = NULL; 147 memmove(f->fTranslit->buffer, f->fTranslit->buffer + f->fTranslit->pos, 153 /* Calculate new buffer size needed */ 158 if(f->fTranslit->buffer == NULL) 160 f->fTranslit->buffer = (UChar*)uprv_malloc(newlen * sizeof(UChar)); 164 f->fTranslit->buffer = (UChar*)uprv_realloc(f->fTranslit->buffer, newlen * sizeof(UChar)) [all...] |
| /external/chromium_org/third_party/icu/source/tools/toolutil/ |
| ucbuf.c | 40 UChar* buffer; member in struct:UCHARBUF 80 /* convert and ignore initial U+FEFF, and the buffer overflow */ 159 /* fill the uchar buffer */ 172 pTarget = buf->buffer; 173 /* check if we arrived here without exhausting the buffer*/ 176 memmove(buf->buffer,buf->currentPos,offset* sizeof(UChar)); 244 context[len]= 0 ; /* null terminate the buffer */ 253 /* null terminate the buffer */ 261 /* null terminate the buffer */ 381 /* Fill the buffer if it is empty * [all...] |
| /external/chromium_org/third_party/webrtc/modules/video_capture/test/ |
| video_capture_unittest.cc | 84 const uint8_t* plane_buffer1 = frame1.buffer(plane_type); 85 const uint8_t* plane_buffer2 = frame2.buffer(plane_type); 447 memset(test_frame_.buffer(webrtc::kYPlane), 127, kTestWidth * kTestHeight); 448 memset(test_frame_.buffer(webrtc::kUPlane), 127, 450 memset(test_frame_.buffer(webrtc::kVPlane), 127, 496 memset(test_frame_.buffer(webrtc::kYPlane), 0xAA, 498 memset(test_frame_.buffer(webrtc::kUPlane), 0xAA, 500 memset(test_frame_.buffer(webrtc::kVPlane), 0xAA, 508 memset(aligned_test_frame.buffer(webrtc::kYPlane), 0, 510 memset(aligned_test_frame.buffer(webrtc::kUPlane), 0 [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/ui/ |
| ComponentResultsView.java | 493 StringBuffer buffer = null; 499 if (buffer == null) { 501 buffer = new StringBuffer("'"+token.toUpperCase()); 502 buffer.append('/'); 504 buffer = new StringBuffer("'Platform/"); 506 buffer.append(Character.toUpperCase(token.charAt(0))); 507 buffer.append(token.substring(1)); 509 buffer.append(token.toUpperCase()); 514 buffer.append(Character.toUpperCase(token.charAt(0))); 515 buffer.append(token.substring(1)) [all...] |
| /external/icu/icu4c/source/io/ |
| ustdio.c | 91 uprv_free(file->fTranslit->buffer); 92 file->fTranslit->buffer=NULL; 110 file->fTranslit->buffer = NULL; 147 memmove(f->fTranslit->buffer, f->fTranslit->buffer + f->fTranslit->pos, 153 /* Calculate new buffer size needed */ 158 if(f->fTranslit->buffer == NULL) 160 f->fTranslit->buffer = (UChar*)uprv_malloc(newlen * sizeof(UChar)); 164 f->fTranslit->buffer = (UChar*)uprv_realloc(f->fTranslit->buffer, newlen * sizeof(UChar)) [all...] |
| /external/icu/icu4c/source/tools/toolutil/ |
| ucbuf.c | 40 UChar* buffer; member in struct:UCHARBUF 80 /* convert and ignore initial U+FEFF, and the buffer overflow */ 159 /* fill the uchar buffer */ 172 pTarget = buf->buffer; 173 /* check if we arrived here without exhausting the buffer*/ 176 memmove(buf->buffer,buf->currentPos,offset* sizeof(UChar)); 244 context[len]= 0 ; /* null terminate the buffer */ 253 /* null terminate the buffer */ 261 /* null terminate the buffer */ 381 /* Fill the buffer if it is empty * [all...] |
| /external/iptables/iptables/ |
| iptables-xml.c | 626 char buffer[10240]; local 664 while (fgets(buffer, sizeof(buffer), in)) { 669 if (buffer[0] == '\n') 671 else if (buffer[0] == '#') { 672 xmlComment(buffer); 678 xmlCommentEscape(buffer); 682 if ((strcmp(buffer, "COMMIT\n") == 0) && (curTable[0])) { 686 } else if ((buffer[0] == '*')) { 690 table = strtok(buffer + 1, " \t\n") [all...] |
| /external/chromium_org/third_party/icu/source/test/cintltst/ |
| cloctst.c | 593 const int32_t limit = len<0 ? buflen : len; /* buflen is long enough to hit the buffer limit */ 652 UChar buffer[100]; local 668 length=uloc_getDisplayLanguage(NULL, NULL, buffer, LENGTHOF(buffer), &errorCode); 669 if(U_FAILURE(errorCode) || (length<=3 && buffer[0]<=0x7f)) { 676 length=uloc_getDisplayLanguage("qq", "rr", buffer, LENGTHOF(buffer), &errorCode); 677 if(errorCode!=U_USING_DEFAULT_WARNING || length!=2 || buffer[0]!=0x71 || buffer[1]!=0x71) { 683 length=uloc_getDisplayName("qq_US_POSIX", "en_US", buffer, LENGTHOF(buffer), &errorCode) 1709 char buffer[256]; local 1781 char buffer[256]; local 1850 char buffer[1024]; local 1885 char buffer[1024]; local 2074 char buffer[256]; local 2362 UChar buffer[128]; \/* sufficient for this test *\/ local 5491 char buffer[ULOC_FULLNAME_CAPACITY + ULOC_KEYWORD_AND_VALUES_CAPACITY + 1]; local [all...] |
| /external/icu/icu4c/source/test/cintltst/ |
| cloctst.c | 593 const int32_t limit = len<0 ? buflen : len; /* buflen is long enough to hit the buffer limit */ 652 UChar buffer[100]; local 668 length=uloc_getDisplayLanguage(NULL, NULL, buffer, LENGTHOF(buffer), &errorCode); 669 if(U_FAILURE(errorCode) || (length<=3 && buffer[0]<=0x7f)) { 676 length=uloc_getDisplayLanguage("qq", "rr", buffer, LENGTHOF(buffer), &errorCode); 677 if(errorCode!=U_USING_DEFAULT_WARNING || length!=2 || buffer[0]!=0x71 || buffer[1]!=0x71) { 683 length=uloc_getDisplayName("qq_US_POSIX", "en_US", buffer, LENGTHOF(buffer), &errorCode) 1710 char buffer[256]; local 1782 char buffer[256]; local 1851 char buffer[1024]; local 1886 char buffer[1024]; local 2075 char buffer[256]; local 2363 UChar buffer[128]; \/* sufficient for this test *\/ local 5492 char buffer[ULOC_FULLNAME_CAPACITY + ULOC_KEYWORD_AND_VALUES_CAPACITY + 1]; local [all...] |
| /external/chromium_org/chrome/browser/android/thumbnail/ |
| thumbnail_store.cc | 67 char buffer[sizeof(T)]; local 68 if (file.ReadAtCurrentPos(buffer, sizeof(T)) != sizeof(T)) 70 base::ReadBigEndian(buffer, out); 76 char buffer[sizeof(T)]; local 77 base::WriteBigEndian(buffer, val); 78 return file.WriteAtCurrentPos(buffer, sizeof(T)) == sizeof(T); 82 char buffer[sizeof(float)]; local 83 if (file.ReadAtCurrentPos(buffer, sizeof(buffer)) != sizeof(buffer)) 99 char buffer[sizeof(float)]; local [all...] |
| /external/chromium_org/media/cdm/ppapi/external_clear_key/ |
| clear_key_cdm.cc | 423 const scoped_refptr<media::DecoderBuffer>& buffer) { 425 *buffer_copy = buffer; 433 scoped_refptr<media::DecoderBuffer> buffer; local 434 cdm::Status status = DecryptToMediaDecoderBuffer(encrypted_buffer, &buffer); 439 DCHECK(buffer->data()); 441 host_->Allocate(buffer->data_size())); 443 buffer->data(), 444 buffer->data_size()); 445 decrypted_block->DecryptedBuffer()->SetSize(buffer->data_size()); 446 decrypted_block->SetTimestamp(buffer->timestamp().InMicroseconds()) 539 scoped_refptr<media::DecoderBuffer> buffer; local 566 scoped_refptr<media::DecoderBuffer> buffer; local 619 scoped_refptr<media::DecoderBuffer> buffer = local [all...] |
| /external/chromium_org/third_party/libxml/src/ |
| 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/libxml2/ |
| c14n.c | 534 * Prints the given namespace to the output buffer from C14N context. 567 * buffer from C14N context as follows 681 * buffer from C14N context as follows 876 * Prints the given attribute to the output buffer from C14N context. 926 * buffer from C14N context as follows 936 xmlChar *buffer; local 955 buffer = xmlC11NNormalizeAttr(value); 957 if (buffer != NULL) { 958 xmlOutputBufferWriteString(ctx->buf, (const char *) buffer); 959 xmlFree(buffer); 1550 xmlChar *buffer; local 1586 xmlChar *buffer; local 1633 xmlChar *buffer; local 2150 xmlChar *buffer = NULL; local [all...] |
| /bionic/libdl/ |
| libdl.c | 37 void android_get_LD_LIBRARY_PATH(char* buffer __unused, size_t buffer_size __unused) { }
|
| /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,
|
| /development/perftests/panorama/feature_mos/src/mosaic_renderer/ |
| Renderer.h | 20 bool SetupGraphics(FrameBuffer* buffer);
|
| /device/asus/flo/camera/hdr/include/ |
| morpho_noise_reduction.h | 66 * @param[out] buffer ?m?C?Y????????????????????|?C???^
73 void *buffer,
|