Home
last modified time | relevance | path

Searched refs:max_capacity (Results 1 – 3 of 3) sorted by relevance

/reactos/dll/directx/wine/d3drm/
H A Dmeshbuilder.c262 SIZE_T new_capacity, max_capacity; in d3drm_array_reserve() local
268 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()
/reactos/dll/win32/usp10/
H A Dusp10.c732 SIZE_T max_capacity, new_capacity; in usp10_array_reserve() local
738 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()
/reactos/dll/directx/wine/wined3d/
H A Dutils.c6528 SIZE_T max_capacity, new_capacity; in wined3d_array_reserve() local
6534 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()