HomeSort by relevance Sort by last modified time
    Searched refs:buffer (Results 626 - 650 of 9473) sorted by null

<<21222324252627282930>>

  /hardware/qcom/media/mm-video-v4l2/DivxDrmDecrypt/inc/
DivXDrmDecrypt.h 40 virtual OMX_ERRORTYPE Decrypt(OMX_BUFFERHEADERTYPE* buffer) = 0;
  /libcore/luni/src/main/java/java/nio/channels/
ReadableByteChannel.java 34 * Reads bytes from the channel into the given buffer.
37 * {@link java.nio.Buffer#remaining() remaining} number of bytes in the
38 * buffer when the method is invoked. The bytes will be read into the buffer
39 * starting at the buffer's current
40 * {@link java.nio.Buffer#position() position}.
45 * Upon completion, the buffer's {@code position} is updated to the end of
46 * the bytes that were read. The buffer's
47 * {@link java.nio.Buffer#limit() limit} is not changed.
49 * @param buffer
    [all...]
WritableByteChannel.java 34 * Writes bytes from the given buffer to the channel.
37 * <code>remaining()</code> number of bytes in the buffer when the method
38 * invoked. The bytes will be written from the buffer starting at the
39 * buffer's <code>position</code>.
44 * Upon completion, the buffer's <code>position()</code> is updated to the
45 * end of the bytes that were written. The buffer's <code>limit()</code>
48 * @param buffer
49 * the byte buffer containing the bytes to be written.
63 public int write(ByteBuffer buffer) throws IOException;
  /prebuilts/gcc/darwin-x86/arm/arm-eabi-4.6/lib/gcc/arm-eabi/4.6.x-google/plugin/include/
md5.h 89 char buffer[128] ATTRIBUTE_ALIGNED_ALIGNOF(md5_uint32);
103 starting at BUFFER.
105 extern void md5_process_block (const void *buffer, size_t len,
110 starting at BUFFER.
112 extern void md5_process_bytes (const void *buffer, size_t len,
115 /* Process the remaining bytes in the buffer and put result from CTX
139 /* Compute MD5 message digest for LEN bytes beginning at BUFFER. The
143 extern void *md5_buffer (const char *buffer, size_t len, void *resblock);
  /prebuilts/gcc/darwin-x86/arm/arm-linux-androideabi-4.6/lib/gcc/arm-linux-androideabi/4.6.x-google/plugin/include/
md5.h 89 char buffer[128] ATTRIBUTE_ALIGNED_ALIGNOF(md5_uint32);
103 starting at BUFFER.
105 extern void md5_process_block (const void *buffer, size_t len,
110 starting at BUFFER.
112 extern void md5_process_bytes (const void *buffer, size_t len,
115 /* Process the remaining bytes in the buffer and put result from CTX
139 /* Compute MD5 message digest for LEN bytes beginning at BUFFER. The
143 extern void *md5_buffer (const char *buffer, size_t len, void *resblock);
  /prebuilts/gcc/linux-x86/arm/arm-eabi-4.6/lib/gcc/arm-eabi/4.6.x-google/plugin/include/
md5.h 89 char buffer[128] ATTRIBUTE_ALIGNED_ALIGNOF(md5_uint32);
103 starting at BUFFER.
105 extern void md5_process_block (const void *buffer, size_t len,
110 starting at BUFFER.
112 extern void md5_process_bytes (const void *buffer, size_t len,
115 /* Process the remaining bytes in the buffer and put result from CTX
139 /* Compute MD5 message digest for LEN bytes beginning at BUFFER. The
143 extern void *md5_buffer (const char *buffer, size_t len, void *resblock);
  /prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.6/lib/gcc/arm-linux-androideabi/4.6.x-google/plugin/include/
md5.h 89 char buffer[128] ATTRIBUTE_ALIGNED_ALIGNOF(md5_uint32);
103 starting at BUFFER.
105 extern void md5_process_block (const void *buffer, size_t len,
110 starting at BUFFER.
112 extern void md5_process_bytes (const void *buffer, size_t len,
115 /* Process the remaining bytes in the buffer and put result from CTX
139 /* Compute MD5 message digest for LEN bytes beginning at BUFFER. The
143 extern void *md5_buffer (const char *buffer, size_t len, void *resblock);
  /system/core/libsysutils/src/
FrameworkClient.cpp 34 char *buffer = (char *) alloca(bufflen); local
35 if (!buffer) {
39 snprintf(buffer, bufflen, "%s%s", msg, data);
40 return sendMsg(buffer);
  /external/chromium_org/gpu/command_buffer/client/
buffer_tracker_unittest.cc 28 virtual Buffer CreateTransferBuffer(size_t size, int32* id) OVERRIDE {
31 return gpu::Buffer();
76 // Check we can create a Buffer.
77 BufferTracker::Buffer* buffer = buffer_tracker_->CreateBuffer(kId1, size); local
78 ASSERT_TRUE(buffer != NULL);
79 // Check we can get the same Buffer.
80 EXPECT_EQ(buffer, buffer_tracker_->GetBuffer(kId1));
82 EXPECT_TRUE(buffer->address() != NULL);
85 // Check we get nothing for a non-existent buffer
100 BufferTracker::Buffer* buffer = buffer_tracker_->CreateBuffer(kId, 0); local
116 BufferTracker::Buffer* buffer = buffer_tracker_->CreateBuffer(kId, size); local
    [all...]
  /external/chromium_org/jingle/glue/
channel_socket_adapter_unittest.cc 69 scoped_refptr<IOBuffer> buffer(new IOBuffer(kBufferSize));
71 int result = target_->Read(buffer.get(), kBufferSize, callback_);
80 scoped_refptr<IOBuffer> buffer(new IOBuffer(kBufferSize));
82 int result = target_->Read(buffer.get(), kBufferSize, callback_);
89 EXPECT_EQ(kTestError, target_->Read(buffer.get(), kBufferSize, callback_));
94 scoped_refptr<IOBuffer> buffer(new IOBuffer(kTestDataSize));
96 EXPECT_CALL(channel_, SendPacket(buffer->data(), kTestDataSize, 0))
99 int result = target_->Write(buffer.get(), kTestDataSize, callback_);
106 scoped_refptr<IOBuffer> buffer(new IOBuffer(kTestDataSize));
108 EXPECT_CALL(channel_, SendPacket(buffer->data(), kTestDataSize, 0)
    [all...]
  /external/freetype/src/cff/
cf2stack.c 66 stack->top = &stack->buffer[0]; /* empty stack */
90 return (CF2_UInt)( stack->top - &stack->buffer[0] );
98 if ( stack->top == &stack->buffer[CF2_OPERAND_STACK_SIZE] )
114 if ( stack->top == &stack->buffer[CF2_OPERAND_STACK_SIZE] )
130 if ( stack->top == &stack->buffer[0] )
152 if ( stack->top == &stack->buffer[0] )
186 switch ( stack->buffer[idx].type )
189 return cf2_intToFixed( stack->buffer[idx].u.i );
191 return cf2_fracToFixed( stack->buffer[idx].u.f );
193 return stack->buffer[idx].u.r
    [all...]
  /frameworks/base/tests/AccessoryDisplay/sink/src/com/android/accessorydisplay/sink/
UsbHid.java 45 public void generateDescriptor(ByteBuffer buffer) {
46 buffer.put(new byte[] {
92 buffer.put(collection);
94 buffer.put(new byte[] {
100 public void generateReport(ByteBuffer buffer, Contact[] contacts, int contactCount) {
102 buffer.put((byte)mReportId);
104 buffer.put((byte)contactCount);
109 buffer.put((byte)((contact.id << 2) | 0x03));
111 buffer.put((byte)contact.x).put((byte)(contact.x >> 8));
113 buffer.put((byte)contact.y).put((byte)(contact.y >> 8))
    [all...]
  /hardware/ril/librilutils/
record_stream.c 37 unsigned char *buffer; member in struct:RecordStream
55 ret->buffer = (unsigned char *)malloc (maxRecordLen + HEADER_SIZE);
57 ret->unconsumed = ret->buffer;
58 ret->read_end = ret->buffer;
59 ret->buffer_end = ret->buffer + maxRecordLen + HEADER_SIZE;
67 free(rs->buffer);
72 /* returns NULL; if there isn't a full record in the buffer */
102 /* one full line in the buffer */
134 /* is there one record already in the buffer? */
142 // if the buffer is full and we don't have a full recor
    [all...]
  /system/core/fastbootd/
transport.c 30 ssize_t transport_handle_write(struct transport_handle *thandle, char *buffer, size_t len)
32 return thandle->transport->write(thandle, buffer, len);
47 char *buffer; local
57 buffer = mmap(NULL, len, PROT_READ | PROT_WRITE, MAP_SHARED, fd, 0);
58 if (buffer == NULL) {
64 ret = thandle->transport->read(thandle, buffer + n, len - n);
72 munmap(buffer, len);
92 char buffer[COMMAND_BUF_SIZE + 1]; local
95 ret = thandle->transport->read(thandle, buffer, COMMAND_BUF_SIZE);
101 buffer[ret] = 0
    [all...]
  /system/core/libcutils/
record_stream.c 37 unsigned char *buffer; member in struct:RecordStream
55 ret->buffer = (unsigned char *)malloc (maxRecordLen + HEADER_SIZE);
57 ret->unconsumed = ret->buffer;
58 ret->read_end = ret->buffer;
59 ret->buffer_end = ret->buffer + maxRecordLen + HEADER_SIZE;
67 free(rs->buffer);
72 /* returns NULL; if there isn't a full record in the buffer */
102 /* one full line in the buffer */
134 /* is there one record already in the buffer? */
142 // if the buffer is full and we don't have a full recor
    [all...]
  /art/compiler/
file_output_stream.cc 28 bool FileOutputStream::WriteFully(const void* buffer, int64_t byte_count) {
29 return file_->WriteFully(buffer, byte_count);
  /cts/tools/dex-tools/src/dex/reader/
DexFieldImpl.java 31 private DexBuffer buffer; field in class:DexFieldImpl
42 public DexFieldImpl(DexBuffer buffer, DexClass declaringClass,
46 this.buffer = buffer;
60 buffer.setPosition(fieldAnnotation.annotationsOff);
61 final int size = buffer.readUInt();
63 annotations.add(new DexAnnotationImpl(buffer.createCopy(),
64 buffer.readUInt(), typeIds, stringPool, fieldIdItems));
  /external/chromium/net/spdy/
spdy_io_buffer.cc 14 IOBuffer* buffer, int size, int priority, SpdyStream* stream)
15 : buffer_(new DrainableIOBuffer(buffer, size)),
  /external/chromium_org/chrome/common/
chrome_content_client_unittest.cc 19 std::string buffer = content_client.GetUserAgent(); local
21 base::SplitStringUsingSubstr(buffer, "Mozilla/5.0 (", &pieces);
23 buffer = pieces[1];
26 base::SplitStringUsingSubstr(buffer, ") AppleWebKit/", &pieces);
28 buffer = pieces[1];
31 base::SplitStringUsingSubstr(buffer, " (KHTML, like Gecko) ", &pieces);
33 buffer = pieces[1];
36 base::SplitStringUsingSubstr(buffer, " Safari/", &pieces);
  /external/chromium_org/courgette/
disassembler.cc 29 Disassembler* DetectDisassembler(const void* buffer, size_t length) {
32 disassembler = new DisassemblerWin32X86(buffer, length);
38 disassembler = new DisassemblerElf32X86(buffer, length);
44 disassembler = new DisassemblerElf32ARM(buffer, length);
53 Status DetectExecutableType(const void* buffer, size_t length,
57 Disassembler* disassembler = DetectDisassembler(buffer, length);
72 Status ParseDetectedExecutable(const void* buffer, size_t length,
76 Disassembler* disassembler = DetectDisassembler(buffer, length);
  /external/chromium_org/net/disk_cache/flash/
storage.h 22 bool Read(void* buffer, int32 size, int32 offset);
23 bool Write(const void* buffer, int32 size, int32 offset);
  /external/chromium_org/ppapi/cpp/
var_array_buffer.h 42 VarArrayBuffer(const VarArrayBuffer& buffer) : Var(buffer) {}
71 /// and returns a pointer to the beginning of the internal buffer for
89 /// @return A pointer to the internal buffer for this
95 /// to map the buffer again later.
  /external/chromium_org/third_party/harfbuzz-ng/src/
test.cc 100 hb_buffer_t *buffer = hb_buffer_create (); local
102 hb_buffer_add_utf8 (buffer, "\xe0\xa4\x95\xe0\xa5\x8d\xe0\xa4\xb0\xe0\xa5\x8d\xe0\xa4\x95", -1, 0, -1);
103 hb_buffer_guess_segment_properties (buffer);
105 hb_shape (font, buffer, NULL, 0);
107 unsigned int count = hb_buffer_get_length (buffer);
108 hb_glyph_info_t *infos = hb_buffer_get_glyph_infos (buffer, NULL);
109 hb_glyph_position_t *positions = hb_buffer_get_glyph_positions (buffer, NULL);
126 hb_buffer_destroy (buffer);
  /external/chromium_org/third_party/mesa/src/src/gallium/drivers/r600/
r600_translate.c 47 pipe_resource_reference(&ib->buffer, NULL);
48 ib->buffer = out_buffer;
  /external/chromium_org/third_party/mesa/src/src/gallium/drivers/radeonsi/
r600_translate.c 47 pipe_resource_reference(&ib->buffer, NULL);
48 ib->buffer = out_buffer;

Completed in 2092 milliseconds

<<21222324252627282930>>