Searched refs:totalEntrySize (Results 1 – 1 of 1) sorted by relevance
98 size_t totalEntrySize = numEntries * entrySize; in CreateFromSource() local99 uint8_t *buffer = new (std::nothrow) uint8_t[totalEntrySize]; in CreateFromSource()101 ALOGW("Couldn't allocate %zu bytes", totalEntrySize); in CreateFromSource()106 n = source->readAt(pos + sizeof(vbriHeader), buffer, totalEntrySize); in CreateFromSource()107 if (n < (ssize_t)totalEntrySize) { in CreateFromSource()