/frameworks/av/media/libstagefright/id3/ |
H A D | ID3.cpp | 34 MemorySource(const uint8_t *data, size_t size) argument 36 mSize(size) { 43 virtual ssize_t readAt(off64_t offset, void *data, size_t size) { argument 46 size_t copy = (available > (off64_t)size) ? size : available; 73 ID3::ID3(const uint8_t *data, size_t size, bool ignoreV1) argument 80 MemorySource *source = new (std::nothrow) MemorySource(data, size); 173 size_t size; local 174 if (!ParseSyncsafeInteger(header.enc_size, &size)) { 178 if (size > kMaxMetadataSiz 895 size_t size; local 983 off64_t size; local [all...] |
/frameworks/base/tools/aapt/ |
H A D | StringPool.cpp | 58 const size_t N = pool->size(); 70 (ZD_TYPE)uniqueStrings.size(), pool->isUTF8() ? "UTF-8" : "UTF-16", 74 const size_t NS = pool->size(); 83 if (configStr.size() > 0) configStr.append(" "); 84 if (configs.size() > 0) { 85 for (size_t j=0; j<configs.size(); j++) { 96 // Strings with styles go first, to reduce the size of the styles array. 110 const size_t LHN = configs.size(); 111 const size_t RHN = o.configs.size(); 160 if (ent.configTypeName.size() < [all...] |
H A D | XMLNode.cpp | 84 prefixSize = RESOURCES_PREFIX.size(); 87 prefixSize = RESOURCES_PRV_PREFIX.size(); 94 //printf("namespace: %s\n", String8(String16(namespaceUri, namespaceUri.size()-prefixSize, prefixSize)).string()); 96 return String16(namespaceUri, namespaceUri.size()-prefixSize, prefixSize); 105 const char16_t* end = str + str16.size(); 130 // This must be a size specification instead of position. 227 if (firstTime && text.size() > 0) { 283 curString.size(), false, &errorMsg, true)) { 302 span.span.firstChar = span.span.lastChar = outString->size(); 318 curString.size(), fals [all...] |
/frameworks/av/media/extractors/mp4/ |
H A D | MPEG4Extractor.cpp | 64 // maximum size of an atom. Some atoms can be bigger according to the spec, 65 // but we only allow up to this size. 145 status_t parseTrackFragmentHeader(off64_t offset, off64_t size); 146 status_t parseTrackFragmentRun(off64_t offset, off64_t size); 147 status_t parseSampleAuxiliaryInformationSizes(off64_t offset, off64_t size); 148 status_t parseSampleAuxiliaryInformationOffsets(off64_t offset, off64_t size); 176 size_t size; member in struct:android::MPEG4Source::Sample 201 virtual ssize_t readAt(off64_t offset, void *data, size_t size); 202 virtual status_t getSize(off64_t *size); 205 status_t setCachedRange(off64_t offset, size_t size, boo 252 readAt(off64_t offset, void *data, size_t size) argument 263 getSize(off64_t *size) argument 271 setCachedRange(off64_t offset, size_t size, bool assumeSourceOwnershipOnSuccess) argument 529 size_t size; local 2299 size_t size = 0; local 2540 uint32_t size; local 2603 parseSegmentIndex(off64_t offset, size_t size) argument 2725 parseQTMetaKey(off64_t offset, size_t size) argument 2780 parseQTMetaVal( int32_t keyId, off64_t offset, size_t size) argument 2930 parseITunesMetaData(off64_t offset, size_t size) argument 3135 parseColorInfo(off64_t offset, size_t size) argument 3178 parse3GPPMetaData(off64_t offset, size_t size, int depth) argument 3406 size_t size; local 3420 size_t size; local 3452 size_t size; local 3897 size_t size; local 3910 size_t size; local 4380 parseTrackFragmentHeader(off64_t offset, off64_t size) argument 4479 parseTrackFragmentRun(off64_t offset, off64_t size) argument 4794 size_t size = 0; local 5080 size_t size = 0; local [all...] |
/frameworks/av/drm/mediacas/plugins/clearkey/ |
H A D | ecm.cpp | 40 if (buffer_as_binary->size() < kSizeBytes) { 42 kSizeBytes, buffer_as_binary->size()); 97 if (buffer_as_binary->size() < kSizeBytes) { 99 kSizeBytes, buffer_as_binary->size()); 145 // minimum size. 146 if (buffer_as_binary->size() < kMinimumSizeBytes) { 148 kMinimumSizeBytes, buffer_as_binary->size()); 166 if (buffer_as_binary->size() < expected_bytes) { 168 expected_bytes, buffer_as_binary->size());
|
/frameworks/av/drm/mediadrm/plugins/clearkey/default/ |
H A D | CryptoFactory.cpp | 39 const void* data, size_t size, 47 sessionId.appendArray(reinterpret_cast<const uint8_t*>(data), size); local 37 createPlugin( const uint8_t uuid[16], const void* data, size_t size, android::CryptoPlugin** plugin) argument
|
/frameworks/av/drm/mediadrm/plugins/clearkey/default/tests/ |
H A D | JsonWebKeyUnittest.cpp | 48 for (size_t i = 0; i < input.size(); ++i) { 59 for (size_t i = 0; i < keys.size(); ++i) { 122 EXPECT_TRUE(keys.size() == 1); 147 EXPECT_TRUE(keys.size() == 1); 185 EXPECT_TRUE(keys.size() == 1); 243 EXPECT_TRUE(keys.size() == 2); 274 EXPECT_TRUE(keys.size() == 2); 313 EXPECT_TRUE(keys.size() == 3);
|
/frameworks/av/drm/mediadrm/plugins/clearkey/hidl/ |
H A D | Base64.cpp | 28 size_t n = s.size(); 53 if (out == nullptr || buffer->size() < outLen) { 110 void encodeBase64(const void *_data, size_t size, std::string *out) { argument 116 for (i = 0; i < (size / 3) * 3; i += 3) { 126 switch (size % 3) { 150 void encodeBase64Url(const void *_data, size_t size, std::string *out) { argument 151 encodeBase64(_data, size, out); 155 size_t outLen = out->size();
|
/frameworks/av/include/media/ |
H A D | IDataSource.h | 37 // Read up to |size| bytes into the memory returned by getIMemory(). Returns 40 // to properly handle reading of last chunk). |size| must not be larger than 42 virtual ssize_t readAt(off64_t offset, size_t size) = 0; 43 // Get the size, or -1 if the size is unknown. 44 virtual status_t getSize(off64_t* size) = 0;
|
H A D | MediaCodecBuffer.h | 49 size_t size() const; 52 virtual status_t setRange(size_t offset, size_t size);
|
/frameworks/av/include/media/audiohal/ |
H A D | EffectBufferHalInterface.h | 50 virtual void update(size_t size) = 0; // copies partial data from external buffer 51 virtual void commit(size_t size) = 0; // copies partial data to external buffer
|
/frameworks/av/include/media/stagefright/ |
H A D | MediaBufferBase.h | 40 static MediaBufferBase *Create(size_t size); 55 virtual size_t size() const = 0;
|
/frameworks/av/include/media/stagefright/foundation/ |
H A D | ParsedMessage.h | 28 const char *data, size_t size, bool noMoreData, size_t *length); 55 ssize_t parse(const char *data, size_t size, bool noMoreData);
|
/frameworks/av/media/libaudiohal/include/media/audiohal/ |
H A D | EffectBufferHalInterface.h | 50 virtual void update(size_t size) = 0; // copies partial data from external buffer 51 virtual void commit(size_t size) = 0; // copies partial data to external buffer
|
/frameworks/av/media/libmedia/include/media/ |
H A D | IDataSource.h | 37 // Read up to |size| bytes into the memory returned by getIMemory(). Returns 40 // to properly handle reading of last chunk). |size| must not be larger than 42 virtual ssize_t readAt(off64_t offset, size_t size) = 0; 43 // Get the size, or -1 if the size is unknown. 44 virtual status_t getSize(off64_t* size) = 0;
|
H A D | MediaCodecBuffer.h | 49 size_t size() const; 52 virtual status_t setRange(size_t offset, size_t size);
|
/frameworks/av/media/libmediaextractor/include/media/stagefright/ |
H A D | MediaBufferBase.h | 40 static MediaBufferBase *Create(size_t size); 55 virtual size_t size() const = 0;
|
/frameworks/av/media/libmediaplayerservice/nuplayer/ |
H A D | NuPlayerStreamListener.h | 34 virtual void queueBuffer(size_t index, size_t size); 40 ssize_t read(void *data, size_t size, sp<AMessage> *extra);
|
/frameworks/av/media/libstagefright/ |
H A D | NuCachedSource2.cpp | 52 void copy(size_t from, void *data, size_t size); 139 void PageCache::copy(size_t from, void *data, size_t size) { argument 140 ALOGV("copy from %zu size %zu", from, size); 142 if (size == 0) { 146 CHECK_LE(from + size, mTotalSize); 158 if (avail >= size) { 159 memcpy(data, (const uint8_t *)(*it)->mData + delta, size); 166 size -= avail; 168 while (size > 292 getSize(off64_t *size) argument 459 size_t size; local 514 readAt(off64_t offset, void *data, size_t size) argument 590 readInternal(off64_t offset, void *data, size_t size) argument [all...] |
H A D | ThrottledSource.cpp | 34 ssize_t ThrottledSource::readAt(off64_t offset, void *data, size_t size) { argument 37 ssize_t n = mSource->readAt(offset, data, size);
|
/frameworks/av/media/libstagefright/foundation/ |
H A D | base64.cpp | 25 size_t n = s.size(); 50 if (out == NULL || buffer->size() < outLen) { 107 const void *_data, size_t size, AString *out) { 113 for (i = 0; i < (size / 3) * 3; i += 3) { 123 switch (size % 3) { 148 const void *_data, size_t size, AString *out) { 149 encodeBase64(_data, size, out); 152 size_t outLen = out->size(); 106 encodeBase64( const void *_data, size_t size, AString *out) argument 147 encodeBase64Url( const void *_data, size_t size, AString *out) argument
|
/frameworks/av/media/libstagefright/foundation/include/media/stagefright/foundation/ |
H A D | ParsedMessage.h | 28 const char *data, size_t size, bool noMoreData, size_t *length); 55 ssize_t parse(const char *data, size_t size, bool noMoreData);
|
/frameworks/av/media/libstagefright/include/media/stagefright/ |
H A D | MediaBufferBase.h | 40 static MediaBufferBase *Create(size_t size); 55 virtual size_t size() const = 0;
|
/frameworks/av/media/libstagefright/include/media/stagefright/foundation/ |
H A D | ParsedMessage.h | 28 const char *data, size_t size, bool noMoreData, size_t *length); 55 ssize_t parse(const char *data, size_t size, bool noMoreData);
|
/frameworks/av/services/audioflinger/ |
H A D | BufLog.cpp | 76 int samplingRate, size_t maxBytes, const void *buf, size_t size) { 88 return pBLStream->write(buf, size); 130 char timeStr[16]; //size 16: format %Y%m%d%H%M%S 14 chars + string null terminator 163 size_t BufLogStream::write(const void *buf, size_t size) { argument 167 if (size > 0 && buf != NULL) { 170 size = MIN(size, mMaxBytes - mByteCount); 172 bytes = fwrite(buf, 1, size, mFile); 178 ALOGV("wrote %zu/%zu bytes to BufLogStream %d tag:%s. Total Bytes: %zu", bytes, size, mId, 75 write(int streamid, const char *tag, int format, int channels, int samplingRate, size_t maxBytes, const void *buf, size_t size) argument
|