Lines Matching refs:cMin
174 * Grows the certificate pointer array to at least @a cMin entries.
178 * @param cMin The new minimum store size.
180 static int rtCrStoreInMemGrow(PRTCRSTOREINMEM pThis, uint32_t cMin)
182 AssertReturn(cMin <= _1M, VERR_OUT_OF_RANGE);
183 AssertReturn(cMin > pThis->cCertsAlloc, VERR_INTERNAL_ERROR_3);
185 if (cMin < 64)
186 cMin = RT_ALIGN_32(cMin, 8);
188 cMin = RT_ALIGN_32(cMin, 32);
190 void *pv = RTMemRealloc(pThis->papCerts, cMin * sizeof(pThis->papCerts[0]));
194 for (uint32_t i = pThis->cCertsAlloc; i < cMin; i++)
196 pThis->cCertsAlloc = cMin;