/frameworks/av/include/media/stagefright/foundation/ |
H A D | hexdump.h | 28 const void *_data, size_t size,
|
/frameworks/av/media/libstagefright/ |
H A D | CallbackDataSource.cpp | 53 ssize_t CallbackDataSource::readAt(off64_t offset, void* data, size_t size) { argument 58 // IDataSource can only read up to mMemory->size() bytes at a time, but this 61 size_t numLeft = size; 62 const size_t bufferSize = mMemory->size(); 88 status_t CallbackDataSource::getSize(off64_t *size) { argument 89 status_t err = mIDataSource->getSize(size); 93 if (*size < 0) { 94 // IDataSource will set size to -1 to indicate unknown size, but 125 ssize_t TinyCacheSource::readAt(off64_t offset, void* data, size_t size) { argument 178 getSize(off64_t *size) argument [all...] |
H A D | AVIExtractor.cpp | 173 size_t size; local 177 mTrackIndex, mSampleIndex, &offset, &size, &isKey, &timeUs); 188 ssize_t n = mExtractor->mDataSource->readAt(offset, out->data(), size); 190 if (n < (ssize_t)size) { 194 out->set_range(0, size); 240 CHECK(mBuffer == NULL || mBuffer->size() == 0); 246 memmove(mBuffer->base(), mBuffer->data(), mBuffer->size()); 247 mBuffer->setRange(0, mBuffer->size()); 251 || mBuffer->size() + buffer->range_length() > prevCapacity) { 257 memcpy(newBuffer->data(), mBuffer->data(), mBuffer->size()); 422 parseChunk(off64_t offset, off64_t size, int depth) argument 589 parseStreamHeader(off64_t offset, size_t size) argument 669 parseStreamFormat(off64_t offset, size_t size) argument 767 parseIndex(off64_t offset, size_t size) argument 846 size_t size; local 882 size_t size; local 1003 size_t size; local 1051 size_t size; local 1104 getSampleInfo( size_t trackIndex, size_t sampleIndex, off64_t *offset, size_t *size, bool *isKey, int64_t *sampleTimeUs) argument 1166 size_t size; local [all...] |
/frameworks/av/media/libstagefright/include/ |
H A D | DataUriSource.h | 37 virtual ssize_t readAt(off64_t offset, void *data, size_t size); 39 virtual status_t getSize(off64_t *size) { argument 44 *size = mData.size();
|
H A D | ESDS.h | 29 ESDS(const void *data, size_t size); 35 status_t getCodecSpecificInfo(const void **data, size_t *size) const; 36 status_t getCodecSpecificOffset(size_t *offset, size_t *size) const; 60 size_t offset, size_t size, 64 status_t parseESDescriptor(size_t offset, size_t size); 65 status_t parseDecoderConfigDescriptor(size_t offset, size_t size);
|
/frameworks/base/media/java/android/media/ |
H A D | MediaDataSource.java | 37 * Implementations should should write up to {@code size} bytes into 40 * Return {@code 0} if size is zero (thus no bytes are read). 47 * @param size the number of bytes to read. 51 public abstract int readAt(long position, byte[] buffer, int offset, int size) argument 55 * Called to get the size of the data source. 58 * @return the size of data source in bytes, or -1 if the size is unknown.
|
/frameworks/data-binding/compiler/src/main/kotlin/android/databinding/tool/ext/ |
H A D | list_ext.kt | 19 public fun List<String>.joinToCamelCase(): String = when(size) { 20 0 -> throw IllegalArgumentException("invalid section size, cannot be zero") 25 public fun List<String>.joinToCamelCaseAsVar(): String = when(size) { 26 0 -> throw IllegalArgumentException("invalid section size, cannot be zero")
|
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/model/ |
H A D | DocumentStack.java | 43 if (size() == 1 && root != null) { 45 } else if (size() > 1) { 53 return size() == 0; 112 final int size = in.readInt(); 113 for (int i = 0; i < size; i++) { 133 final int size = size(); 134 out.writeInt(size); 135 for (int i = 0; i < size; i++) { 160 public DocumentStack[] newArray(int size) { [all...] |
/frameworks/base/core/java/android/animation/ |
H A D | AnimatorSet.java | 186 if (items != null && items.size() > 0) { 224 if (items != null && items.size() > 0) { 225 if (items.size() == 1) { 229 for (int i = 0; i < items.size() - 1; ++i) { 246 int size = mNodes.size(); 247 for (int i = 0; i < size; i++) { 265 int size = mNodes.size(); 266 for (int i = 0; i < size; [all...] |
/frameworks/base/core/java/android/os/ |
H A D | PooledStringReader.java | 35 final int size = in.readInt(); 36 mPool = new String[size];
|
H A D | ParcelableParcel.java | 37 int size = src.readInt(); 38 if (size < 0) { 39 throw new IllegalArgumentException("Negative size read from parcel"); 43 src.setDataPosition(MathUtils.addOrThrow(pos, size)); 44 mParcel.appendFrom(src, pos, size); 77 public ParcelableParcel[] newArray(int size) { 78 return new ParcelableParcel[size];
|
/frameworks/base/media/mca/filterfw/native/core/ |
H A D | vertex_frame.h | 32 // Create a VertexFrame of the specified size (in bytes). 33 explicit VertexFrame(int size); 37 // Upload the given data to the vertex buffer. The size must match the size 39 // be able to fit within the allocated space (i.e. size must not exceed the 40 // frame's size). 41 bool WriteData(const uint8_t* data, int size); 43 // The size of the vertex buffer in bytes. 70 // The size of this frame in bytes
|
/frameworks/ex/framesequence/jni/ |
H A D | Stream.h | 29 size_t peek(void* buffer, size_t size); 30 size_t read(void* buffer, size_t size); 36 virtual size_t doRead(void* buffer, size_t size) = 0; 46 MemoryStream(void* buffer, size_t size, jobject buf) : argument 48 mRemaining(size), 55 virtual size_t doRead(void* buffer, size_t size); 68 virtual size_t doRead(void* buffer, size_t size); 83 virtual size_t doRead(void* buffer, size_t size);
|
/frameworks/native/opengl/libagl/ |
H A D | BufferObjectManager.cpp | 45 GLsizei n = mBuffers.size(); 63 bo->size = 0; 70 GLsizeiptr size, GLenum usage) 73 if (size != bo->size) { 74 uint8_t* data = (uint8_t*)malloc(size); 79 bo->size = size; 69 allocateStore(buffer_t* bo, GLsizeiptr size, GLenum usage) argument
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/ |
H A D | IconEvent.java | 8 public IconEvent(long bssid, String fileName, int size) { argument 11 mSize = size; 31 ", size=" + mSize;
|
/frameworks/wilhelm/src/desktop/ |
H A D | OutputMixExt.h | 32 void (*FillBuffer)(SLOutputMixExtItf self, void *pBuffer, SLuint32 size); 48 extern void IOutputMixExt_FillBuffer(SLOutputMixExtItf self, void *pBuffer, SLuint32 size);
|
/frameworks/base/tools/aapt2/io/ |
H A D | Data.h | 35 virtual size_t size() const = 0; 51 size_t size() const override { 65 MallocData(std::unique_ptr<const uint8_t[]> data, size_t size) : argument 66 mData(std::move(data)), mSize(size) { 73 size_t size() const override { 92 size_t size() const override {
|
/frameworks/base/tools/aapt2/xml/ |
H A D | XmlUtil.cpp | 30 package = package.substr(schemaPrefix.size(), package.size() - schemaPrefix.size()); 39 package = package.substr(schemaPrefix.size(), package.size() - schemaPrefix.size());
|
/frameworks/av/media/libstagefright/rtsp/ |
H A D | AAVCAssembler.cpp | 81 size_t size = buffer->size(); local 83 if (size < 1 || (data[0] & 0x80)) { 127 ALOGV("addSingleNALUnit of size %zu", buffer->size()); 129 hexdump(buffer->data(), buffer->size()); 145 size_t size = buffer->size(); local 147 if (size < 3) { 153 --size; 186 size_t size = buffer->size(); local 233 size_t size = buffer->size(); local [all...] |
/frameworks/av/media/libmedia/ |
H A D | IEffectClient.cpp | 69 int size = cmdSize; local 71 size = 0; 73 data.writeInt32(size); 74 if (size) { 75 data.write(pCmdData, size); 77 size = replySize; 79 size = 0; 81 data.writeInt32(size); 82 if (size) { 83 data.write(pReplyData, size); [all...] |
H A D | IHDCP.cpp | 97 const void *inData, size_t size, uint32_t streamCTR, 101 data.writeInt32(size); 102 data.write(inData, size); 115 reply.read(outData, size); 122 size_t offset, size_t size, uint32_t streamCTR, 128 data.writeInt32(size); 140 reply.read(outData, size); 146 const void *inData, size_t size, 151 data.writeInt32(size); 152 data.write(inData, size); 96 encrypt( const void *inData, size_t size, uint32_t streamCTR, uint64_t *outInputCTR, void *outData) argument 120 encryptNative( const sp<GraphicBuffer> &graphicBuffer, size_t offset, size_t size, uint32_t streamCTR, uint64_t *outInputCTR, void *outData) argument 145 decrypt( const void *inData, size_t size, uint32_t streamCTR, uint64_t inputCTR, void *outData) argument 243 size_t size = data.readInt32(); local 285 size_t size = data.readInt32(); local 314 size_t size = data.readInt32(); local [all...] |
/frameworks/av/media/libstagefright/foundation/ |
H A D | MetaData.cpp | 99 size_t size; local 100 if (!findData(key, &type, &data, &size) || type != TYPE_C_STRING) { 112 size_t size; local 113 if (!findData(key, &type, &data, &size) || type != TYPE_INT32) { 117 CHECK_EQ(size, sizeof(*value)); 127 size_t size; local 128 if (!findData(key, &type, &data, &size) || type != TYPE_INT64) { 132 CHECK_EQ(size, sizeof(*value)); 142 size_t size; local 143 if (!findData(key, &type, &data, &size) || typ 157 size_t size; local 175 size_t size; local 191 setData( uint32_t key, uint32_t type, const void *data, size_t size) argument 274 setData( uint32_t type, const void *data, size_t size) argument 293 allocateStorage(size_t size) argument 402 size_t size; local 418 uint32_t size; local [all...] |
H A D | MediaBuffer.cpp | 33 MediaBuffer::MediaBuffer(void *data, size_t size) argument 38 mSize(size), 40 mRangeLength(size), 46 MediaBuffer::MediaBuffer(size_t size) argument 51 mSize(size), 53 mRangeLength(size), 57 if (size < kSharedMemThreshold) { 58 mData = malloc(size); 60 sp<MemoryDealer> memoryDealer = new MemoryDealer(size, "MediaBuffer"); 61 mMemory = memoryDealer->allocate(size); 138 size_t MediaBuffer::size() const { function in class:android::MediaBuffer [all...] |
/frameworks/base/tools/preload/ |
H A D | LoadedClass.java | 85 int size = operations.size(); 86 if (size == 0) { 90 int[] times = new int[size]; 91 for (int i = 0; i < size; i++) { 96 int middle = size / 2; 97 if (size % 2 == 1) {
|
/frameworks/compile/mclinker/include/mcld/ADT/ |
H A D | ilist_sort.h | 22 void sort(llvm::iplist<T, Alloc>& xs, size_t size, Comparator is_less_than) { argument 26 assert(xs.size() == size && "Incorrect list size argument"); 29 switch (size) { 46 size_t mid = size / 2; 55 sort(ys, size - mid, is_less_than); 79 detail::sort(list, list.size(), is_less_than);
|