/external/chromium_org/content/renderer/ |
renderer_clipboard_client.cc | 54 // Allocate a shared memory buffer to hold the bitmap bits. 104 ui::Clipboard::Buffer buffer) { 107 new ClipboardHostMsg_GetSequenceNumber(buffer, 114 ui::Clipboard::Buffer buffer) { 117 new ClipboardHostMsg_IsFormatAvailable(format, buffer, &result)); 121 void RendererClipboardClient::Clear(ui::Clipboard::Buffer buffer) { 122 RenderThreadImpl::current()->Send(new ClipboardHostMsg_Clear(buffer)); [all...] |
/external/chromium_org/third_party/angle_dx11/src/libGLESv2/renderer/ |
VertexDataManager.cpp | 9 // runs the Buffer translation process. 14 #include "libGLESv2/Buffer.h" 51 ERR("Failed to allocate the streaming vertex buffer."); 67 gl::Buffer *buffer = attrib.mBoundBuffer.get(); local 68 BufferStorage *storage = buffer ? buffer->getStorage() : NULL; 92 gl::Buffer *buffer = attribs[i].mBoundBuffer.get(); local 93 StaticVertexBufferInterface *staticBuffer = buffer ? buffer->getStaticVertexBuffer() : NULL 108 gl::Buffer *buffer = attribs[i].mBoundBuffer.get(); local 143 gl::Buffer *buffer = attribs[i].mBoundBuffer.get(); local 218 StreamingVertexBufferInterface *buffer = mCurrentValueBuffer[i]; local 255 gl::Buffer *buffer = attribs[i].mBoundBuffer.get(); local [all...] |
/external/qemu/distrib/sdl-1.2.15/src/video/fbcon/ |
SDL_fbelo.c | 134 int eloGetPacket(unsigned char* buffer, int* buffer_p, int* checksum, int fd) { 143 (char *) (buffer + *buffer_p), 155 if ((*buffer_p == 0) && (buffer[0] != ELO_START_BYTE)) { 156 SDL_memcpy(&buffer[0], &buffer[1], num_bytes-1); 160 *checksum = *checksum + buffer[*buffer_p]; 169 ok = (*checksum == buffer[ELO_PACKET_SIZE-1]); 330 const char *buffer = NULL; local 336 buffer = SDL_getenv("SDL_ELO_MIN_X"); 337 if(buffer) { 422 unsigned char buffer[ELO_PACKET_SIZE]; local [all...] |
/frameworks/av/media/libstagefright/rtsp/ |
ARTPSource.cpp | 88 void ARTPSource::processRTPPacket(const sp<ABuffer> &buffer) { 89 if (queuePacket(buffer) && mAssembler != NULL) { 105 bool ARTPSource::queuePacket(const sp<ABuffer> &buffer) { 106 uint32_t seqNum = (uint32_t)buffer->int32Data(); 110 mQueue.push_back(buffer); 145 buffer->setInt32Data(seqNum); 153 ALOGW("Discarding duplicate buffer"); 157 mQueue.insert(it, buffer); 166 void ARTPSource::addFIR(const sp<ABuffer> &buffer) { 179 if (buffer->size() + 20 > buffer->capacity()) [all...] |
/external/chromium_org/third_party/WebKit/Source/wtf/text/ |
StringConcatenate.h | 50 StringTypeAdapter<char>(char buffer) 51 : m_buffer(buffer) 73 StringTypeAdapter<LChar>(LChar buffer) 74 : m_buffer(buffer) 96 StringTypeAdapter<UChar>(UChar buffer) 97 : m_buffer(buffer) 120 StringTypeAdapter<char*>(char* buffer) 121 : m_buffer(buffer) 122 , m_length(strlen(buffer)) 152 StringTypeAdapter<LChar*>(LChar* buffer) 411 LChar* buffer; local 424 UChar* buffer; local [all...] |
/external/chromium_org/third_party/libjingle/source/talk/app/webrtc/ |
datachannel.cc | 140 bool DataChannel::Send(const DataBuffer& buffer) { 147 return QueueSendData(buffer); 151 if (!InternalSendWithoutQueueing(buffer, &send_result)) { 153 return QueueSendData(buffer); 162 void DataChannel::QueueControl(const talk_base::Buffer* buffer) { 163 queued_control_data_.push(buffer); 166 bool DataChannel::SendControl(const talk_base::Buffer* buffer) { 168 QueueControl(buffer); 344 DataBuffer* buffer = queued_received_data_.front(); local 353 DataBuffer* buffer = queued_received_data_.front(); local 366 DataBuffer* buffer = queued_send_data_.front(); local 390 DataBuffer* buffer = queued_send_data_.front(); local [all...] |
/external/antlr/antlr-3.4/runtime/C/src/ |
antlr3debughandlers.c | 207 // Buffer to construct our message in 332 // Local buffer to read the next character in to 334 char buffer; local 339 // to buffer the input or anything. 343 rCount = recv(delboy->socket, &buffer, 1, 0); 345 while (rCount == 1 && buffer != '\n'); 355 ANTLR3_PRINTF("Received char count was %d, and last char received was %02X\n", rCount, buffer); 360 // Given a buffer string and a source string, serialize the 365 serializeText(pANTLR3_STRING buffer, pANTLR3_STRING text) 372 buffer->append(buffer, "\t\"") 550 char buffer[512]; local 561 char buffer[512]; local 572 char buffer[512]; local 583 char buffer[512]; local 594 char buffer[512]; local 605 char buffer[512]; local 617 char buffer[512]; local 698 char buffer[128]; local 710 char buffer[128]; local 729 char buffer[128]; local 741 char buffer[128]; local 753 char buffer[128]; local 765 char buffer[256]; local 789 unsigned char * buffer; local 874 pANTLR3_STRING buffer; local 891 pANTLR3_STRING buffer; local 910 char buffer[128]; local 1005 char buffer[128]; local 1015 char buffer[128]; local 1027 char buffer[128]; local 1038 char buffer[128]; local [all...] |
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/intel/ |
intel_buffer_objects.c | 46 /** Allocates a new drm_intel_bo to store the data for the buffer object. */ 51 intel_obj->buffer = drm_intel_bo_alloc(intel->bufmgr, "bufferobj", 58 drm_intel_bo_unreference(intel_obj->buffer); 59 intel_obj->buffer = NULL; 77 obj->buffer = NULL; 83 * Deallocate/free a vertex/pixel buffer object. 93 /* Buffer objects are automatically unmapped when deleting according 102 drm_intel_bo_unreference(intel_obj->buffer); 109 * Allocate space for and store data in a buffer object. Any data that was 110 * previously stored in the buffer object is lost. If data is NULL [all...] |
/external/mesa3d/src/mesa/drivers/dri/intel/ |
intel_buffer_objects.c | 46 /** Allocates a new drm_intel_bo to store the data for the buffer object. */ 51 intel_obj->buffer = drm_intel_bo_alloc(intel->bufmgr, "bufferobj", 58 drm_intel_bo_unreference(intel_obj->buffer); 59 intel_obj->buffer = NULL; 77 obj->buffer = NULL; 83 * Deallocate/free a vertex/pixel buffer object. 93 /* Buffer objects are automatically unmapped when deleting according 102 drm_intel_bo_unreference(intel_obj->buffer); 109 * Allocate space for and store data in a buffer object. Any data that was 110 * previously stored in the buffer object is lost. If data is NULL [all...] |
/external/chromium_org/media/base/ |
audio_buffer_queue.cc | 27 // If we have just written the first buffer, update |current_time_| to be the 33 // Add the buffer to the queue. Inserting into deque invalidates all 34 // iterators, so point to the first buffer. 71 // Counts how many frames are actually read from the buffer queue. 78 // |current_buffer| is valid since the first time this buffer is appended 83 scoped_refptr<AudioBuffer> buffer = *current_buffer; local 86 buffer->frame_count() - current_buffer_offset; 95 // Find the right amount to copy from the current buffer. We shall copy no 97 // than the current buffer size. 102 buffer->ReadFrames [all...] |
/external/chromium_org/third_party/WebKit/Source/wtf/tests/ |
IntegerToStringConversion.cpp | 76 Vector<char, bufferSize> buffer; local 77 buffer.resize(bufferSize); 81 snprintf(buffer.data(), bufferSize, PrintfFormatTrait<IntegerType>::format, min); 82 ASSERT_STREQ(buffer.data(), minStringData.data()); 86 snprintf(buffer.data(), bufferSize, PrintfFormatTrait<IntegerType>::format, max); 87 ASSERT_STREQ(buffer.data(), maxStringData.data()); 94 Vector<char, bufferSize> buffer; local 95 buffer.resize(bufferSize); 100 snprintf(buffer.data(), bufferSize, PrintfFormatTrait<IntegerType>::format, number); 101 ASSERT_STREQ(buffer.data(), numberStringData.data()) [all...] |
/external/chromium_org/third_party/icu/source/io/ |
ustream.cpp | 44 char buffer[200]; local 53 char *s, *sLimit = buffer + (sizeof(buffer) - 1); 56 s = buffer; 61 if(s > buffer) { 62 stream << buffer; local 83 char buffer[16]; local 133 buffer[idx++] = ch; 135 stream.putback(buffer[--idx]); 158 buffer[idx++] = ch [all...] |
/external/icu4c/common/ |
cmemory.c | 93 uprv_realloc(void * buffer, size_t size) { 98 if (buffer == zeroMem) { 102 (*pFree)(pContext, buffer); 104 uprv_default_free(buffer); 110 return (*pRealloc)(pContext, buffer, size); 112 return uprv_default_realloc(buffer, size); 118 uprv_free(void *buffer) { 123 if (buffer != zeroMem) { 125 (*pFree)(pContext, buffer); 127 uprv_default_free(buffer); [all...] |
/external/icu4c/io/ |
ustream.cpp | 40 char buffer[200]; local 49 char *s, *sLimit = buffer + (sizeof(buffer) - 1); 52 s = buffer; 57 if(s > buffer) { 58 stream << buffer; local 79 char buffer[16]; local 129 buffer[idx++] = ch; 131 stream.putback(buffer[--idx]); 154 buffer[idx++] = ch [all...] |
/external/qemu/ |
json-parser.c | 110 static void wchar_to_utf8(uint16_t wchar, char *buffer, size_t buffer_length) 115 buffer[0] = wchar & 0x7F; 116 buffer[1] = 0; 120 buffer[0] = 0xC0 | ((wchar >> 6) & 0x1F); 121 buffer[1] = 0x80 | (wchar & 0x3F); 122 buffer[2] = 0; 126 buffer[0] = 0xE0 | ((wchar >> 12) & 0x0F); 127 buffer[1] = 0x80 | ((wchar >> 6) & 0x3F); 128 buffer[2] = 0x80 | (wchar & 0x3F); 129 buffer[3] = 0 [all...] |
/external/smali/dexlib/src/main/java/org/jf/dexlib/Code/Format/ |
Instruction35mi.java | 78 private Instruction35mi(Opcode opcode, byte[] buffer, int bufferIndex) { 81 this.regCount = NumberUtils.decodeHighUnsignedNibble(buffer[bufferIndex + 1]); 82 this.regA = NumberUtils.decodeLowUnsignedNibble(buffer[bufferIndex + 1]); 83 this.regD = NumberUtils.decodeLowUnsignedNibble(buffer[bufferIndex + 4]); 84 this.regE = NumberUtils.decodeHighUnsignedNibble(buffer[bufferIndex + 4]); 85 this.regF = NumberUtils.decodeLowUnsignedNibble(buffer[bufferIndex + 5]); 86 this.regG = NumberUtils.decodeHighUnsignedNibble(buffer[bufferIndex + 5]); 87 this.inlineIndex = (short)NumberUtils.decodeUnsignedShort(buffer, bufferIndex + 2); 131 public Instruction makeInstruction(DexFile dexFile, Opcode opcode, byte[] buffer, int bufferIndex) { 132 return new Instruction35mi(opcode, buffer, bufferIndex) [all...] |
Instruction35ms.java | 78 private Instruction35ms(Opcode opcode, byte[] buffer, int bufferIndex) { 81 this.regCount = NumberUtils.decodeHighUnsignedNibble(buffer[bufferIndex + 1]); 82 this.regA = NumberUtils.decodeLowUnsignedNibble(buffer[bufferIndex + 1]); 83 this.regD = NumberUtils.decodeLowUnsignedNibble(buffer[bufferIndex + 4]); 84 this.regE = NumberUtils.decodeHighUnsignedNibble(buffer[bufferIndex + 4]); 85 this.regF = NumberUtils.decodeLowUnsignedNibble(buffer[bufferIndex + 5]); 86 this.regG = NumberUtils.decodeHighUnsignedNibble(buffer[bufferIndex + 5]); 87 this.vtableIndex = (short)NumberUtils.decodeUnsignedShort(buffer, bufferIndex + 2); 131 public Instruction makeInstruction(DexFile dexFile, Opcode opcode, byte[] buffer, int bufferIndex) { 132 return new Instruction35ms(opcode, buffer, bufferIndex) [all...] |
/libcore/luni/src/main/java/java/io/ |
PushbackInputStream.java | 26 * during construction. If the buffer of pushed back bytes is empty, bytes are 31 * The buffer that contains pushed-back bytes. 38 * indicates that the buffer is full. 44 * stream as source. The size of the pushback buffer is set to the default 62 * input stream. The size of the pushback buffer is set to {@code size}. 71 * the size of the pushback buffer. 94 * and releases the pushback buffer. 124 * range from 0 to 255. If the pushback buffer does not contain any 151 * the byte array {@code buffer} starting at {@code byteOffset}. Bytes are read 152 * from the pushback buffer first, then from the source stream if more byte [all...] |
PushbackReader.java | 26 * specified during construction. If the buffer of pushed back bytes is empty, 38 * the buffer is full. 44 * source. The size of the pushback buffer is set to the default value of 1 58 * The size of the pushback buffer is set to {@code size}. 63 * the size of the pushback buffer. 78 * and releases the pushback buffer. 124 * reader has been reached. If the pushback buffer does not contain any 159 * character array {@code buffer} starting at {@code offset}. Characters are 160 * read from the pushback buffer first, then from the source reader if more 166 * if {@code offset < 0 || count < 0 || offset + count > buffer.length} [all...] |
/libcore/luni/src/main/java/java/util/logging/ |
MemoryHandler.java | 22 * buffer. 25 * the internal buffer and doesn't perform any formatting or any other process. 26 * When the buffer is full, the earliest buffered records will be discarded. 31 * buffer will be cleared. 48 * <li>java.util.logging.MemoryHandler.size specifies the buffer size in number 63 // buffer size 72 // buffer 73 private LogRecord[] buffer; field in class:MemoryHandler 75 // current position in buffer 123 buffer = new LogRecord[size] [all...] |
/libcore/luni/src/test/java/libcore/java/util/zip/ |
DeflaterInputStreamTest.java | 55 byte[] buffer = new byte[1024]; 57 while ((count = in.read(buffer)) != -1) { 58 out.write(buffer, 0, count); 65 byte[] buffer = new byte[8]; 70 while ((count = in.read(buffer, 0, 5)) != -1) { 72 out.write(buffer, 0, count); 88 byte[] buffer = new byte[8]; 91 in.read(buffer, 0, 10); 101 in.read(buffer, -1, 5); 107 in.read(buffer, 0, 5) [all...] |
/packages/apps/Mms/src/com/android/mms/util/ |
ImageCacheService.java | 79 ByteBuffer buffer = ByteBuffer.allocate(key.length + value.length); local 80 buffer.put(key); 81 buffer.put(value); 84 mCache.insert(cacheKey, buffer.array()); 99 private static boolean isSameKey(byte[] key, byte[] buffer) { 101 if (buffer.length < n) { 105 if (key[i] != buffer[i]) { 138 public static final long crc64Long(byte[] buffer) { 140 for (int k = 0, n = buffer.length; k < n; ++k) { 141 crc = sCrcTable[(((int) crc) ^ buffer[k]) & 0xff] ^ (crc >> 8) [all...] |
/system/core/fastbootd/ |
config.c | 93 static void config_parse(char *buffer) 96 char *str = buffer; 97 char *line = buffer; 120 char *buffer; local 136 buffer = malloc(len + 1); 137 if (buffer == NULL) { 143 ret = read(fd, buffer + count, len - count); 156 buffer[len] = '\0'; 158 config_parse(buffer); 160 free(buffer); [all...] |
/external/chromium_org/third_party/WebKit/Source/wtf/dtoa/ |
bignum-dtoa.cc | 77 Vector<char> buffer, int* length); 81 Vector<char>(buffer), int* length); 88 Vector<char>(buffer), int* length); 92 Vector<char> buffer, int* length, int* decimal_point) { 107 buffer[0] = '\0'; 139 is_even, buffer, length); 144 buffer, length); 149 buffer, length); 154 buffer[*length] = '\0'; 174 Vector<char> buffer, int* length) [all...] |
/external/chromium_org/v8/src/ |
bignum-dtoa.cc | 78 Vector<char> buffer, int* length); 82 Vector<char>(buffer), int* length); 89 Vector<char>(buffer), int* length); 93 Vector<char> buffer, int* length, int* decimal_point) { 108 buffer[0] = '\0'; 140 is_even, buffer, length); 145 buffer, length); 150 buffer, length); 155 buffer[*length] = '\0'; 175 Vector<char> buffer, int* length) [all...] |