Searched refs:newEntryCount (Results 1 – 3 of 3) sorted by relevance
507 size_t newEntryCount = currentEntryCount + in resizeIfNeeded() local509 newEntryCount = (newEntryCount > currentEntryCap) ? in resizeIfNeeded()510 newEntryCount * 2 : currentEntryCap; in resizeIfNeeded()519 if (newEntryCount > currentEntryCap || in resizeIfNeeded()522 mBuffer = allocate_camera_metadata(newEntryCount, in resizeIfNeeded()
910 protected void cacheCurrentEntriesIfNeeded(int newEntryCount, int paramListCount) { in cacheCurrentEntriesIfNeeded() argument911 if (newEntryCount == 0 && paramListCount > 1) { in cacheCurrentEntriesIfNeeded()
6702 const size_t newEntryCount = dtohl(typeSpec->entryCount); in parsePackage() local6713 || dtohs(typeSpec->header.headerSize)+(sizeof(uint32_t)*newEntryCount) in parsePackage()6716 … (void*)(dtohs(typeSpec->header.headerSize) + (sizeof(uint32_t)*newEntryCount)), in parsePackage()6726 if (newEntryCount > 0) { in parsePackage()6744 if (existingType->entryCount != newEntryCount && idmapIndex < 0) { in parsePackage()6747 (int) newEntryCount, (int) existingType->entryCount); in parsePackage()6753 Type* t = new Type(header, package, newEntryCount); in parsePackage()6776 const size_t newEntryCount = dtohl(type->entryCount); in parsePackage() local6785 if (dtohs(type->header.headerSize)+(sizeof(uint32_t)*newEntryCount) > typeSize) { in parsePackage()6787 (void*)(dtohs(type->header.headerSize) + (sizeof(uint32_t)*newEntryCount)), in parsePackage()[all …]