/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp9/encoder/ |
vp9_writer.h | 28 uint8_t *buffer; member in struct:__anon39871 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));
|
/hardware/invensense/60xx/mlsdk/mllite/ |
mldl.h | 138 unsigned char *buffer); 141 const unsigned char *buffer); 142 inv_error_t inv_load_dmp(const unsigned char *buffer, 153 unsigned char *buffer); 168 const unsigned char *buffer); 172 unsigned char *buffer);
|
/packages/apps/Gallery2/src/com/android/gallery3d/data/ |
DownloadUtils.java | 48 byte buffer[] = new byte[4096]; 49 int rc = is.read(buffer, 0, buffer.length); 59 os.write(buffer, 0, rc); 60 rc = is.read(buffer, 0, buffer.length);
|
/external/chromium_org/mojo/system/ |
message_pipe_dispatcher_unittest.cc | 34 int32_t buffer[1]; local 35 const uint32_t kBufferSize = static_cast<uint32_t>(sizeof(buffer)); 64 buffer[0] = 123456789; 66 d1->WriteMessage(buffer, kBufferSize, 82 buffer[0] = 0; 85 d0->ReadMessage(buffer, &buffer_size, 89 EXPECT_EQ(123456789, buffer[0]); 118 char buffer[1]; local 131 // Null buffer with nonzero buffer size 156 int32_t buffer[1]; local 263 int32_t buffer[1]; local 414 unsigned char buffer[kMaxMessageSize]; variable 465 unsigned char buffer[kMaxMessageSize]; variable [all...] |
/frameworks/av/media/libstagefright/codecs/on2/h264dec/source/ |
h264bsd_dpb.c | 287 if (index < 0 || !IS_EXISTING(dpb->buffer[index])) 294 dpb->list[refIdx++] = &dpb->buffer[index]; 297 if(dpb->list[j] != &dpb->buffer[index]) 317 HANTRO_NOK failure, picture does not exist in the buffer 338 SET_UNUSED(dpb->buffer[index]); 340 if (!dpb->buffer[index].toBeDisplayed) 357 HANTRO_NOK failure, picture does not exist in the buffer 374 SET_UNUSED(dpb->buffer[index]); 376 if (!dpb->buffer[index].toBeDisplayed) 395 buffer or is a non-existing picture, or invali [all...] |
/frameworks/av/services/audioflinger/ |
Tracks.cpp | 71 void *buffer, 116 size_t bufferSize = (buffer == NULL ? roundup(frameCount) : frameCount) * mFrameSize; 117 if (buffer == NULL && alloc == ALLOC_CBLK) { 145 ALOGE("not enough memory for read-only buffer size=%zu", bufferSize); 147 roHeap->dump("buffer"); 159 // However in this case the TrackBase does not reference the buffer directly. 160 // It should references the buffer via the pipe. 161 // Therefore, to detect incorrect usage of the buffer, we set mBuffer to NULL. 166 if (buffer == NULL) { 170 mBuffer = buffer; 712 ServerProxy::Buffer buffer; local [all...] |
/bionic/libc/bionic/ |
libgen.cpp | 39 __LIBC64_HIDDEN__ int basename_r(const char* path, char* buffer, size_t buffer_size) { 75 if (buffer == NULL) { 85 memcpy(buffer, startp, len); 86 buffer[len] = 0; 91 __LIBC64_HIDDEN__ int dirname_r(const char* path, char* buffer, size_t buffer_size) { 133 if (buffer == NULL) { 144 memcpy(buffer, path, len); 145 buffer[len] = 0;
|
/cts/libs/deviceutil/src/android/cts/util/ |
FileUtils.java | 116 byte[] buffer = new byte[4096]; 118 while ((bytesRead = inputStream.read(buffer)) >= 0) { 119 out.write(buffer, 0, bytesRead); 140 byte[] buffer = new byte[numBytes]; 143 output.write(buffer); 151 byte[] buffer = new byte[32768]; 154 while ((count = is.read(buffer)) != -1) { 155 os.write(buffer, 0, count);
|
/development/host/windows/usb/api/ |
adb_legacy_endpoint_object.h | 60 @param[in,out] buffer Pointer to the buffer for read / write.
73 void* buffer,
82 @param[in,out] buffer Pointer to the buffer for read / write.
92 void* buffer,
|
/development/host/windows/usb/winusb/ |
adb_winusb_endpoint_object.h | 83 @param[in,out] buffer Pointer to the buffer for read / write.
96 void* buffer,
105 @param[in,out] buffer Pointer to the buffer for read / write.
115 void* buffer,
|
/development/ndk/platforms/android-3/include/linux/ |
xattr.h | 37 int (*get)(struct inode *inode, const char *name, void *buffer, 39 int (*set)(struct inode *inode, const char *name, const void *buffer,
|
/external/apache-http/src/org/apache/http/impl/auth/ |
NTLMScheme.java | 91 final CharArrayBuffer buffer, int pos, int len) throws MalformedChallengeException { 92 String challenge = buffer.substringTrimmed(pos, len); 134 CharArrayBuffer buffer = new CharArrayBuffer(32); local 136 buffer.append(AUTH.PROXY_AUTH_RESP); 138 buffer.append(AUTH.WWW_AUTH_RESP); 140 buffer.append(": NTLM "); 141 buffer.append(response); 142 return new BufferedHeader(buffer);
|
/external/apache-xml/src/main/java/org/apache/xalan/templates/ |
AVT.java | 182 FastStringBuffer buffer = null; local 185 buffer = StringBufferPool.get(); 188 buffer = new FastStringBuffer(6); 218 buffer.append(t); 234 buffer.append(lookahead); 251 if (buffer.length() > 0) 253 m_parts.addElement(new AVTPartSimple(buffer.toString())); 254 buffer.setLength(0); 306 buffer.setLength(0); 359 buffer.append(lookahead) [all...] |
/external/chromium_org/base/ |
os_compat_android_unittest.cc | 26 char* buffer = const_cast<char*>(sub_dir_string.c_str()); local 27 EXPECT_EQ(NULL, mkdtemp(buffer));
|
/external/chromium_org/components/autofill/core/browser/crypto/ |
rc4_decryptor.h | 39 scoped_ptr<wchar_t[]> buffer(new wchar_t[data.length() + 1]); 40 memset(buffer.get(), 0, (data.length() + 1) * sizeof(wchar_t)); 41 memcpy(buffer.get(), data.c_str(), data_size); 43 RunInternal(reinterpret_cast<uint8 *>(buffer.get()), data_size); 45 std::wstring result(buffer.get()); 48 memset(buffer.get(), 0, data_size); 85 void RunInternal(uint8 *buffer, int buffer_len) { 99 buffer[counter] ^= state[xor_index];
|
/external/chromium_org/components/cronet/android/java/src/org/chromium/net/ |
ChunkedWritableByteChannel.java | 17 * the cost of reallocating a byte buffer. 40 public int write(ByteBuffer buffer) throws IOException { 45 int size = buffer.remaining(); 50 mInitialBuffer.put(buffer); 61 // We can't hold a reference to this buffer, because it may wrap native 64 tmpBuf.put(buffer).rewind(); 104 ByteBuffer buffer = mBuffers.get(i); local 105 int bufferSize = buffer.remaining(); 106 buffer.get(bytes, offset, bufferSize); 107 buffer.rewind() [all...] |
/external/chromium_org/device/hid/ |
hid_connection_unittest.cc | 30 scoped_refptr<IOBufferWithSize> buffer, 38 uint64_t* data = reinterpret_cast<uint64_t*>(buffer->data()); 56 scoped_refptr<IOBufferWithSize> buffer(new IOBufferWithSize(8)); 57 conn->Read(buffer, base::Bind(OnRead, conn, buffer)); 67 scoped_refptr<IOBufferWithSize> buffer(new IOBufferWithSize(8)); 68 *(int64_t*)buffer->data() = kReport; 70 conn->Write(0, buffer, base::Bind(OnWriteNormal));
|
/external/chromium_org/gpu/command_buffer/service/ |
vertex_attrib_manager.cc | 46 Buffer* buffer, 54 buffer_ = buffer; 63 void VertexAttrib::Unbind(Buffer* buffer) { 64 if (buffer_.get() == buffer) { 135 void VertexAttribManager::SetElementArrayBuffer(Buffer* buffer) { 136 element_array_buffer_ = buffer; 151 void VertexAttribManager::Unbind(Buffer* buffer) 196 Buffer* buffer = attrib->buffer(); local 241 Buffer* buffer = attrib->buffer(); local [all...] |
/external/chromium_org/ipc/ |
file_descriptor_set_posix.h | 26 // because the control message kernel interface has to be given a buffer which 71 // buffer: (output) a buffer of, at least, size() integers. 72 void GetDescriptors(int* buffer) const; 90 // Set the contents of the set from the given buffer. This set must be empty 93 void SetDescriptors(const int* buffer, unsigned count);
|
/external/chromium_org/media/filters/ |
blocking_url_protocol_unittest.cc | 51 uint8 buffer[32]; local 52 EXPECT_EQ(32, url_protocol_.Read(32, buffer)); 57 EXPECT_EQ(32, url_protocol_.Read(32, buffer)); 65 EXPECT_EQ(32, url_protocol_.Read(32, buffer)); 69 EXPECT_EQ(16, url_protocol_.Read(32, buffer)); 73 EXPECT_EQ(0, url_protocol_.Read(32, buffer)); 81 uint8 buffer[32]; local 83 EXPECT_EQ(AVERROR(EIO), url_protocol_.Read(32, buffer));
|
/external/chromium_org/mojo/android/system/src/org/chromium/mojo/system/impl/ |
SharedBufferHandleImpl.java | 50 public void unmap(ByteBuffer buffer) { 51 mCore.unmap(buffer);
|
/external/chromium_org/net/spdy/ |
spdy_pinnable_buffer_piece.cc | 27 const char* buffer = buffer_; local 29 other->buffer_ = buffer;
|
/external/chromium_org/net/tools/quic/ |
quic_default_packet_writer.cc | 19 const char* buffer, 25 fd_, buffer, buf_len, self_address, peer_address);
|
quic_packet_writer_wrapper.cc | 20 const char* buffer, 24 return writer_->WritePacket(buffer, buf_len, self_address, peer_address);
|
/external/chromium_org/ppapi/cpp/private/ |
udp_socket_private.h | 29 int32_t RecvFrom(char* buffer, 33 int32_t SendTo(const char* buffer,
|