Searched refs:requiredSize (Results 1 – 2 of 2) sorted by relevance
197 const uint16_t requiredSize = zipEntry->name.length() + 1; in getEntryFileName() local199 if (bufLen < requiredSize) { in getEntryFileName()200 ALOGW("Buffer too short, requires %d bytes for entry name", requiredSize); in getEntryFileName()201 return requiredSize; in getEntryFileName()204 memcpy(buffer, zipEntry->name.data(), requiredSize - 1); in getEntryFileName()205 buffer[requiredSize - 1] = '\0'; in getEntryFileName()
420 final int requiredSize = index + 1; in ensurePeriodicSyncTimeSize() local421 if (periodicSyncTimes.size() < requiredSize) { in ensurePeriodicSyncTimeSize()422 for (int i = periodicSyncTimes.size(); i < requiredSize; i++) { in ensurePeriodicSyncTimeSize()