Home
last modified time | relevance | path

Searched refs:entryCount (Results 1 – 25 of 31) sorted by relevance

12

/frameworks/base/libs/androidfw/
DTypeWrappers.cpp23 TypeVariant::TypeVariant(const ResTable_type* data) : data(data), mLength(dtohl(data->entryCount)) { in TypeVariant()
25 const uint32_t entryCount = dtohl(data->entryCount); in TypeVariant() local
29 if (reinterpret_cast<uintptr_t>(entryIndices) + (sizeof(uint32_t) * entryCount) in TypeVariant()
34 mLength = ResTable_sparseTypeEntry{entryIndices[entryCount - 1]}.idx + 1; in TypeVariant()
57 const uint32_t entryCount = dtohl(mTypeVariant->data->entryCount); in operator *() local
62 … if (reinterpret_cast<uintptr_t>(entryIndices) + (sizeof(uint32_t) * entryCount) > containerEnd) { in operator *()
69 auto iter = std::lower_bound(entryIndices, entryIndices + entryCount, mIndex, keyCompare); in operator *()
70 if (iter == entryIndices + entryCount in operator *()
DResourceTypes.cpp277 uint16_t entryCount = dtohs(mData[2]); in byteSize() local
278 return (sizeof(uint16_t) * 4) + (sizeof(uint32_t) * static_cast<size_t>(entryCount)); in byteSize()
314 uint16_t entryCount = dtohs(header[2]); in setTo() local
315 if (size < sizeof(uint32_t) * (entryCount + 2)) { in setTo()
317 (uint32_t) size, (uint32_t) entryCount); in setTo()
325 uint16_t entryCount = dtohs(mData[2]); in lookup() local
335 if (entryId >= entryCount) { in lookup()
3483 : header(_header), package(_package), entryCount(count), in Type()
3487 const size_t entryCount; member
3578 const size_t N = typeList[0]->entryCount; in clearBagCache()
[all …]
DLoadedArsc.cpp100 const size_t entry_count = dtohl(header->entryCount); in VerifyResTableType()
251 const size_t entry_count = dtohl(type_chunk->entryCount); in GetEntryOffset()
374 size_t entry_count = dtohl(type->entryCount); in FindEntryByName()
500 const size_t entry_count = dtohl(type_spec->entryCount); in Load()
/frameworks/native/services/inputflinger/dispatcher/
DQueue.h27 uint32_t entryCount; member
29 inline Queue() : head(nullptr), tail(nullptr), entryCount(0) {} in Queue()
34 entryCount++; in enqueueAtTail()
46 entryCount++; in enqueueAtHead()
58 entryCount--; in dequeue()
72 entryCount--; in dequeueAtHead()
83 uint32_t count() const { return entryCount; } in count()
/frameworks/base/cmds/idmap2/libidmap2/
DBinaryStreamVisitor.cpp67 const uint16_t entryCount = type_entry.GetEntryCount(); in visit() local
71 Write16(entryCount); in visit()
73 for (uint16_t i = 0; i < entryCount; i++) { in visit()
/frameworks/av/media/libstagefright/timedtext/test/
DTimedTextUnitTest.cpp80 int32_t entryCount = -1; member
225 fontInfo.entryCount = U16_AT(tmpData + 8); in TEST_P()
226 ALOGI("Value of entry count: %d", fontInfo.entryCount); in TEST_P()
231 for (int32_t i = 0; i < fontInfo.entryCount; i++) { in TEST_P()
340 ASSERT_EQ(parcel.readInt32(), fontInfo.entryCount) << "Parcel has invalid value of entry count"; in TEST_P()
341 ASSERT_EQ(fontInfo.entryCount, fontRecordEntries.size()) in TEST_P()
343 for (int32_t i = 0; i < fontInfo.entryCount; i++) { in TEST_P()
/frameworks/base/core/java/android/preference/
DMultiSelectListPreference.java203 final int entryCount = entries.length; in getSelectedItems() local
205 boolean[] result = new boolean[entryCount]; in getSelectedItems()
207 for (int i = 0; i < entryCount; i++) { in getSelectedItems()
/frameworks/base/media/java/android/media/
DTimedText.java607 int entryCount = parcel.readInt(); in readFont() local
609 for (int i = 0; i < entryCount; i++) { in readFont()
643 int entryCount = parcel.readInt(); in readKaraoke() local
645 for (int i = 0; i < entryCount; i++) { in readKaraoke()
/frameworks/base/cmds/idmap/
Dinspect.cpp263 const uint32_t entryCount = static_cast<uint32_t>(data16); in parse_data() local
264 print("", "entry count", entryCount, ""); in parse_data()
273 for (uint32_t i = 0; i < entryCount; i++) { in parse_data()
/frameworks/base/core/java/android/util/apk/
DApkSigningBlockUtils.java724 int entryCount = 0; in findApkSignatureSchemeBlock() local
726 entryCount++; in findApkSignatureSchemeBlock()
729 "Insufficient data to read size of APK Signing Block entry #" + entryCount); in findApkSignatureSchemeBlock()
734 "APK Signing Block entry #" + entryCount in findApkSignatureSchemeBlock()
741 "APK Signing Block entry #" + entryCount + " size out of range: " + len in findApkSignatureSchemeBlock()
/frameworks/av/services/camera/libcameraservice/api1/client2/
DStreamingProcessor.cpp109 if (mPreviewRequest.entryCount() == 0) { in updatePreviewRequest()
265 if (mRecordingRequest.entryCount() == 0) { in updateRecordingRequest()
586 if (mPreviewRequest.entryCount() != 0) { in dump()
595 if (mRecordingRequest.entryCount() != 0) { in dump()
DCaptureSequencer.cpp178 if (mCaptureRequest.entryCount() != 0) { in dump()
567 if (captureCopy.entryCount() == 0) { in manageStandardCapture()
707 if (mCaptureRequest.entryCount() == 0) { in updateCaptureRequest()
/frameworks/rs/driver/
DrsdShaderCache.cpp123 uint32_t entryCount = mEntries.size(); in link() local
124 for (uint32_t ct = 0; ct < entryCount; ct ++) { in link()
/frameworks/base/libs/androidfw/tests/
DTypeWrappers_test.cpp31 t.entryCount = 3; in createTypeData()
/frameworks/av/camera/include/camera/
DCameraMetadata.h113 size_t entryCount() const;
/frameworks/base/libs/androidfw/include/androidfw/
DLoadedArsc.h67 if (entry_index >= dtohl(type_spec->entryCount)) { in GetFlagsForEntryIndex()
DResourceTypes.h1358 uint32_t entryCount; member
1416 uint32_t entryCount; member
/frameworks/base/tools/aapt2/format/binary/
DTableFlattener.cpp375 type_header->entryCount = util::HostToDevice32(entries->size()); in FlattenConfig()
388 type_header->entryCount = util::HostToDevice32(num_total_entries); in FlattenConfig()
583 spec_header->entryCount = util::HostToDevice32(num_entries); in FlattenTypeSpec()
/frameworks/av/services/camera/libcameraservice/tests/
DCameraProviderManagerTest.cpp401 ASSERT_EQ(2u, secondMetadata.entryCount()); in TEST()
402 ASSERT_EQ(2u, metadata.entryCount()); in TEST()
/frameworks/av/camera/
DCameraMetadata.cpp154 size_t CameraMetadata::entryCount() const { in entryCount() function in android::CameraMetadata
160 return entryCount() == 0; in isEmpty()
/frameworks/base/core/jni/
Dandroid_hardware_camera2_CameraMetadata.cpp240 __FUNCTION__, empty, metadata->entryCount()); in CameraMetadata_isEmpty()
252 return metadata->entryCount(); in CameraMetadata_getEntryCount()
/frameworks/av/services/camera/libcameraservice/api2/
DDepthCompositeStream.cpp777 size_t entryCount = entry.count / 4; in getSupportedDepthSizes() local
778 depthSizes->reserve(entryCount); in getSupportedDepthSizes()
/frameworks/av/media/extractors/mp4/
DItemTable.cpp862 uint32_t entryCount; in parse() local
863 if (!source()->getUInt32(offset, &entryCount)) { in parse()
869 for (size_t k = 0; k < entryCount; ++k) { in parse()
/frameworks/av/camera/ndk/impl/
DACameraMetadata.cpp393 size_t entry_count = mData.entryCount(); in getTags()
/frameworks/av/media/libstagefright/
DMPEG4Writer.cpp4624 size_t entryCount = properties.size(); in writeIpmaBox() local
4625 if (entryCount > 255) { in writeIpmaBox()
4626 ALOGW("Dropping excess associations: entryCount %zu", entryCount); in writeIpmaBox()
4627 entryCount = 255; in writeIpmaBox()
4629 writeInt8((uint8_t)entryCount); in writeIpmaBox()
4630 for (size_t propIndex = 0; propIndex < entryCount; propIndex++) { in writeIpmaBox()

12