/device/asus/fugu/libaudio/ |
AudioStreamIn.h | 50 ssize_t read(void* buffer, size_t bytes); 79 ssize_t readFrames_l(void* buffer, ssize_t frames); 81 // resampler buffer provider thunks 84 struct resampler_buffer* buffer); 87 struct resampler_buffer* buffer); 89 // resampler buffer provider methods 90 int getNextBuffer(struct resampler_buffer* buffer); 91 void releaseBuffer(struct resampler_buffer* buffer);
|
/external/apache-http/src/org/apache/http/impl/auth/ |
BasicScheme.java | 173 CharArrayBuffer buffer = new CharArrayBuffer(32); local 175 buffer.append(AUTH.PROXY_AUTH_RESP); 177 buffer.append(AUTH.WWW_AUTH_RESP); 179 buffer.append(": Basic "); 180 buffer.append(base64password, 0, base64password.length); 182 return new BufferedHeader(buffer);
|
/external/chromium_org/content/browser/streams/ |
stream_unittest.cc | 23 // Create a new IO buffer of the given |buffer_size| and fill it with random 26 scoped_refptr<net::IOBuffer> buffer(new net::IOBuffer(buffer_size)); 27 char *bufferp = buffer->data(); 31 return buffer; 50 scoped_refptr<net::IOBuffer> buffer(new net::IOBuffer(kBufferSize)); 55 stream->ReadRawData(buffer.get(), kBufferSize, &bytes_read); 75 buffer->data(), bytes_read); 83 scoped_refptr<net::GrowableIOBuffer> buffer() { return buffer_; } function in class:content::TestStreamReader 100 scoped_refptr<net::IOBuffer> buffer, 102 stream->AddData(buffer, buffer_size) [all...] |
/external/chromium_org/net/quic/crypto/ |
null_decrypter.cc | 36 // TODO(rch): avoid buffer copy here 37 string buffer = associated_data.as_string(); local 38 plaintext.AppendToString(&buffer); 39 if (hash != ComputeHash(buffer)) { 61 // TODO(rch): avoid buffer copy here 62 string buffer = associated_data.as_string(); local 63 plaintext.AppendToString(&buffer); 65 if (hash != ComputeHash(buffer)) {
|
/external/chromium_org/net/spdy/ |
spdy_pinnable_buffer_piece_test.cc | 35 EXPECT_EQ(prefix_.data(), piece.buffer()); 42 EXPECT_NE(prefix_.data(), piece.buffer()); 45 const char* buffer = piece.buffer(); local 47 EXPECT_EQ(buffer, piece.buffer());
|
/external/chromium_org/third_party/WebKit/Source/platform/fonts/skia/ |
FontCustomPlatformDataSkia.cpp | 90 PassOwnPtr<FontCustomPlatformData> FontCustomPlatformData::create(SharedBuffer* buffer) 92 ASSERT_ARG(buffer, buffer); 94 OpenTypeSanitizer sanitizer(buffer); 98 buffer = transcodeBuffer.get(); 100 RefPtr<SkMemoryStream> stream = adoptRef(new SkMemoryStream(buffer->getAsSkData().get()));
|
/external/chromium_org/third_party/libvpx/source/libvpx/vp9/encoder/ |
vp9_writer.h | 28 uint8_t *buffer; member in struct:__anon16832 35 void vp9_start_encode(vp9_writer *bc, uint8_t *buffer); 65 while (x >= 0 && br->buffer[x] == 0xff) { 66 br->buffer[x] = 0; 70 br->buffer[x] += 1; 73 br->buffer[br->pos++] = (lowvalue >> (24 - offset));
|
/external/chromium_org/third_party/protobuf/java/src/main/java/com/google/protobuf/ |
ByteString.java | 211 * @param bytes source buffer 343 * buffer in one read() call. 445 * Copies bytes into a buffer at the given offset. 447 * @param target buffer to copy into 448 * @param offset in the target buffer 456 * Copies bytes into a buffer. 458 * @param target buffer to copy into 460 * @param targetOffset offset within the target buffer 720 // Current buffer to which we are writing 721 private byte[] buffer; field in class:ByteString.Output 904 private final byte[] buffer; field in class:ByteString.CodedBuilder [all...] |
/external/chromium_org/third_party/skia/src/core/ |
SkAnnotation.cpp | 32 SkAnnotation::SkAnnotation(SkReadBuffer& buffer) { 33 buffer.readString(&fKey); 34 fData = buffer.readByteArrayAsData(); 37 void SkAnnotation::writeToBuffer(SkWriteBuffer& buffer) const { 38 buffer.writeString(fKey.c_str()); 39 buffer.writeDataAsByteArray(fData);
|
SkPathHeap.cpp | 21 SkPathHeap::SkPathHeap(SkReadBuffer& buffer) 23 const int count = buffer.readInt(); 31 buffer.readPath(p); 85 void SkPathHeap::flatten(SkWriteBuffer& buffer) const { 88 buffer.writeInt(count); 92 buffer.writePath(**iter);
|
/external/chromium_org/third_party/skia/src/effects/ |
SkRectShaderImageFilter.cpp | 38 SkRectShaderImageFilter::SkRectShaderImageFilter(SkReadBuffer& buffer) 39 : INHERITED(1, buffer) { 40 fShader = buffer.readShader(); 43 void SkRectShaderImageFilter::flatten(SkWriteBuffer& buffer) const { 44 this->INHERITED::flatten(buffer); 46 buffer.writeFlattenable(fShader);
|
/external/chromium_org/third_party/skia/src/gpu/ |
GrBufferAllocPool.h | 26 * At creation time a minimum per-buffer size can be specified. Additionally, 108 * Returns a block of memory to hold data. A buffer designated to hold the 109 * data is given to the caller. The buffer may or may not be locked. The 117 * buffer at the offset indicated by offset. Until that time it may be 118 * in temporary storage and/or the buffer may be locked. 121 * @param alignment alignment constraint from start of buffer 122 * @param buffer returns the buffer that will hold the data. 123 * @param offset returns the offset into buffer of the data. 128 const GrGeometryBuffer** buffer, [all...] |
/external/harfbuzz_ng/src/ |
hb-ot-shape-complex-thai.cc | 219 hb_buffer_t *buffer, 226 hb_glyph_info_t *info = buffer->info; 227 unsigned int count = buffer->len; 258 hb_buffer_t *buffer, 316 buffer->clear_output (); 317 unsigned int count = buffer->len; 318 for (buffer->idx = 0; buffer->idx < count;) 320 hb_codepoint_t u = buffer->cur().codepoint; 322 buffer->next_glyph () [all...] |
/external/jpeg/ |
jdatadst.c | 29 JOCTET * buffer; /* start of buffer */ member in struct:__anon26497 47 /* Allocate the output buffer --- it will be released when done with image */ 48 dest->buffer = (JOCTET *) 52 dest->pub.next_output_byte = dest->buffer; 58 * Empty the output buffer --- called whenever buffer fills up. 60 * In typical applications, this should write the entire output buffer 62 * reset the pointer & count to the start of the buffer, and return TRUE 63 * indicating that the buffer has been dumped [all...] |
/external/libvpx/libvpx/vp9/encoder/ |
vp9_writer.h | 28 uint8_t *buffer; member in struct:__anon28783 35 void vp9_start_encode(vp9_writer *bc, uint8_t *buffer); 65 while (x >= 0 && br->buffer[x] == 0xff) { 66 br->buffer[x] = 0; 70 br->buffer[x] += 1; 73 br->buffer[br->pos++] = (lowvalue >> (24 - offset));
|
/external/lldb/utils/vim-lldb/python-vim-lldb/ |
vim_signs.py | 21 def __init__(self, sign_text, buffer, line_number, highlight_colour=None): 31 self.show(name, buffer.number, line_number) 56 vim.command("sign place %d name=%s line=%d buffer=%s" % (self.id, name, line_number, buffer_number)) 64 def __init__(self, buffer, line_number, is_resolved): 66 super(BreakpointSign, self).__init__(txt, buffer, line_number) 69 def __init__(self, buffer, line_number, is_selected_thread): 71 buffer,
|
/external/qemu/distrib/jpeg-6b/ |
jdatadst.c | 29 JOCTET * buffer; /* start of buffer */ member in struct:__anon33004 47 /* Allocate the output buffer --- it will be released when done with image */ 48 dest->buffer = (JOCTET *) 52 dest->pub.next_output_byte = dest->buffer; 58 * Empty the output buffer --- called whenever buffer fills up. 60 * In typical applications, this should write the entire output buffer 62 * reset the pointer & count to the start of the buffer, and return TRUE 63 * indicating that the buffer has been dumped [all...] |
/external/skia/src/core/ |
SkAnnotation.cpp | 32 SkAnnotation::SkAnnotation(SkReadBuffer& buffer) { 33 buffer.readString(&fKey); 34 fData = buffer.readByteArrayAsData(); 37 void SkAnnotation::writeToBuffer(SkWriteBuffer& buffer) const { 38 buffer.writeString(fKey.c_str()); 39 buffer.writeDataAsByteArray(fData);
|
SkPathHeap.cpp | 21 SkPathHeap::SkPathHeap(SkReadBuffer& buffer) 23 const int count = buffer.readInt(); 31 buffer.readPath(p); 85 void SkPathHeap::flatten(SkWriteBuffer& buffer) const { 88 buffer.writeInt(count); 92 buffer.writePath(**iter);
|
/external/skia/src/effects/ |
SkRectShaderImageFilter.cpp | 38 SkRectShaderImageFilter::SkRectShaderImageFilter(SkReadBuffer& buffer) 39 : INHERITED(1, buffer) { 40 fShader = buffer.readShader(); 43 void SkRectShaderImageFilter::flatten(SkWriteBuffer& buffer) const { 44 this->INHERITED::flatten(buffer); 46 buffer.writeFlattenable(fShader);
|
/external/skia/src/gpu/ |
GrBufferAllocPool.h | 26 * At creation time a minimum per-buffer size can be specified. Additionally, 108 * Returns a block of memory to hold data. A buffer designated to hold the 109 * data is given to the caller. The buffer may or may not be locked. The 117 * buffer at the offset indicated by offset. Until that time it may be 118 * in temporary storage and/or the buffer may be locked. 121 * @param alignment alignment constraint from start of buffer 122 * @param buffer returns the buffer that will hold the data. 123 * @param offset returns the offset into buffer of the data. 128 const GrGeometryBuffer** buffer, [all...] |
/external/sonivox/arm-fm-22k/host_src/ |
eas_hostmm.c | 86 EAS_U8 *buffer; member in struct:eas_hw_file_tag 220 if (file->buffer == NULL) 234 /* allocate a buffer */ 235 file->buffer = EAS_HWMalloc(hwInstData, file->fileSize); 236 if (file->buffer == NULL) 243 temp = (int) fread(file->buffer, (size_t) file->fileSize, 1, ioFile); 280 if (file->buffer == NULL) 290 EAS_HWMemCpy(pBuffer, &file->buffer[file->filePos], count); 313 if (file->buffer == NULL) 323 /* get a character from the buffer */ [all...] |
/external/sonivox/arm-hybrid-22k/host_src/ |
eas_hostmm.c | 86 EAS_U8 *buffer; member in struct:eas_hw_file_tag 220 if (file->buffer == NULL) 234 /* allocate a buffer */ 235 file->buffer = EAS_HWMalloc(hwInstData, file->fileSize); 236 if (file->buffer == NULL) 243 temp = (int) fread(file->buffer, (size_t) file->fileSize, 1, ioFile); 280 if (file->buffer == NULL) 290 EAS_HWMemCpy(pBuffer, &file->buffer[file->filePos], count); 313 if (file->buffer == NULL) 323 /* get a character from the buffer */ [all...] |
/external/xmp_toolkit/XMPCore/src/com/adobe/xmp/impl/ |
Latin1Converter.java | 38 * A converter that processes a byte buffer containing a mix of UTF8 and Latin-1/Cp1252 chars. 39 * The result is a buffer where those chars have been converted to UTF-8; 42 * <em>Explanation of the processing:</em> First the encoding of the buffer is detected looking 43 * at the first four bytes (that works only if the buffer starts with an ASCII-char, 58 * <em>Example:</em> If an Euro-symbol (?) appears in the byte buffer (0xE2, 0x82, 0xAC), 63 * @param buffer a byte buffer contain 64 * @return Returns a new buffer containing valid UTF-8 66 public static ByteBuffer convert(ByteBuffer buffer) 68 if ("UTF-8".equals(buffer.getEncoding()) [all...] |
/frameworks/av/media/libstagefright/ |
SurfaceMediaSource.cpp | 100 char buffer[1024]; local 101 dump(result, "", buffer, 1024); 107 char* buffer, 112 result.append(buffer); 156 ALOGE("Failed to find the advertised buffer count"); 256 // GRalloc buffer. The encoder needs to interpret this GRalloc handle 262 static void passMetadataBuffer(MediaBuffer **buffer, 264 *buffer = new MediaBuffer(4 + sizeof(buffer_handle_t)); 265 char *data = (char *)(*buffer)->data(); 267 ALOGE("Cannot allocate memory for metadata buffer!"); [all...] |