Searched refs:old_cap (Results 1 - 2 of 2) sorted by relevance

/external/libcxx/test/std/strings/basic.string/string.capacity/
H A Dshrink_to_fit.pass.cpp24 typename S::size_type old_cap = s.capacity(); local
29 assert(s.capacity() <= old_cap);
H A Dreserve.pass.cpp25 typename S::size_type old_cap = s.capacity(); local
30 assert(s.capacity() <= old_cap);
38 typename S::size_type old_cap = s.capacity(); local
39 ((void)old_cap); // Prevent unused warning

Completed in 141 milliseconds