Searched refs:requiredSize (Results 1 – 2 of 2) sorted by relevance
200 const uint16_t requiredSize = zipEntry->name.name_length + 1; in getEntryFileName() local202 if (bufLen < requiredSize) { in getEntryFileName()203 ALOGW("Buffer too short, requires %d bytes for entry name", requiredSize); in getEntryFileName()204 return requiredSize; in getEntryFileName()207 memcpy(buffer, zipEntry->name.name, requiredSize - 1); in getEntryFileName()208 buffer[requiredSize - 1] = '\0'; in getEntryFileName()
401 final int requiredSize = index + 1; in ensurePeriodicSyncTimeSize() local402 if (periodicSyncTimes.size() < requiredSize) { in ensurePeriodicSyncTimeSize()403 for (int i = periodicSyncTimes.size(); i < requiredSize; i++) { in ensurePeriodicSyncTimeSize()