Searched refs:max_capacity (Results 1 – 3 of 3) sorted by relevance
262 SIZE_T new_capacity, max_capacity; in d3drm_array_reserve() local268 max_capacity = ~(SIZE_T)0 / element_size; in d3drm_array_reserve()269 if (max_capacity < element_count) in d3drm_array_reserve()273 while (new_capacity < element_count && new_capacity <= max_capacity / 2) in d3drm_array_reserve()277 new_capacity = max_capacity; in d3drm_array_reserve()
732 SIZE_T max_capacity, new_capacity; in usp10_array_reserve() local738 max_capacity = ~(SIZE_T)0 / size; in usp10_array_reserve()739 if (count > max_capacity) in usp10_array_reserve()743 while (new_capacity < count && new_capacity <= max_capacity / 2) in usp10_array_reserve()
6528 SIZE_T max_capacity, new_capacity; in wined3d_array_reserve() local6534 max_capacity = ~(SIZE_T)0 / size; in wined3d_array_reserve()6535 if (count > max_capacity) in wined3d_array_reserve()6539 while (new_capacity < count && new_capacity <= max_capacity / 2) in wined3d_array_reserve()