Searched refs:small_string (Results 1 – 6 of 6) sorted by relevance
| /llvm-project-15.0.7/libcxx/test/libcxx/strings/basic.string/ |
| H A D | sizeof.compile.pass.cpp | 56 static_assert(sizeof(small_string<char>) == 6, ""); 63 static_assert(sizeof(small_string<wchar_t>) == 12, ""); 68 static_assert(sizeof(small_string<wchar_t>) == 6, ""); 78 static_assert(sizeof(small_string<char8_t>) == 6, ""); 88 static_assert(sizeof(small_string<char16_t>) == 6, ""); 89 static_assert(sizeof(small_string<char32_t>) == 12, ""); 97 static_assert(sizeof(small_string<char>) == 6, ""); 104 static_assert(sizeof(small_string<wchar_t>) == 12, ""); 109 static_assert(sizeof(small_string<wchar_t>) == 6, ""); 119 static_assert(sizeof(small_string<char>) == 6, ""); [all …]
|
| H A D | alignof.compile.pass.cpp | 58 static_assert(alignof(small_string<char>) == 2, ""); 65 static_assert(alignof(small_string<wchar_t>) == 4, ""); 70 static_assert(alignof(small_string<wchar_t>) == 2, ""); 80 static_assert(alignof(small_string<char8_t>) == 2, ""); 90 static_assert(alignof(small_string<char16_t>) == 2, ""); 91 static_assert(alignof(small_string<char32_t>) == 4, ""); 99 static_assert(alignof(small_string<char>) == 2, ""); 106 static_assert(alignof(small_string<wchar_t>) == 4, ""); 111 static_assert(alignof(small_string<wchar_t>) == 2, ""); 121 static_assert(alignof(small_string<char8_t>) == 2, ""); [all …]
|
| /llvm-project-15.0.7/libc/test/src/stdlib/ |
| H A D | strtol_test.cpp | 169 char small_string[4] = {'\0', '\0', '\0', '\0'}; in TEST() local 172 small_string[0] = int_to_b36_char(first_digit); in TEST() 175 ASSERT_EQ(__llvm_libc::strtol(small_string, nullptr, base), in TEST() 188 small_string[0] = int_to_b36_char(first_digit); in TEST() 190 small_string[1] = int_to_b36_char(second_digit); in TEST() 193 ASSERT_EQ(__llvm_libc::strtol(small_string, nullptr, base), in TEST() 198 ASSERT_EQ(__llvm_libc::strtol(small_string, nullptr, base), in TEST() 212 small_string[0] = int_to_b36_char(first_digit); in TEST() 214 small_string[1] = int_to_b36_char(second_digit); in TEST() 216 small_string[2] = int_to_b36_char(third_digit); in TEST() [all …]
|
| H A D | strtoull_test.cpp | 169 char small_string[4] = {'\0', '\0', '\0', '\0'}; in TEST() local 172 small_string[0] = int_to_b36_char(first_digit); in TEST() 175 ASSERT_EQ(__llvm_libc::strtoull(small_string, nullptr, base), in TEST() 188 small_string[0] = int_to_b36_char(first_digit); in TEST() 190 small_string[1] = int_to_b36_char(second_digit); in TEST() 193 ASSERT_EQ(__llvm_libc::strtoull(small_string, nullptr, base), in TEST() 199 ASSERT_EQ(__llvm_libc::strtoull(small_string, nullptr, base), in TEST() 213 small_string[0] = int_to_b36_char(first_digit); in TEST() 215 small_string[1] = int_to_b36_char(second_digit); in TEST() 217 small_string[2] = int_to_b36_char(third_digit); in TEST() [all …]
|
| H A D | strtoul_test.cpp | 161 char small_string[4] = {'\0', '\0', '\0', '\0'}; in TEST() local 164 small_string[0] = int_to_b36_char(first_digit); in TEST() 167 ASSERT_EQ(__llvm_libc::strtoul(small_string, nullptr, base), in TEST() 180 small_string[0] = int_to_b36_char(first_digit); in TEST() 182 small_string[1] = int_to_b36_char(second_digit); in TEST() 185 ASSERT_EQ(__llvm_libc::strtoul(small_string, nullptr, base), in TEST() 191 ASSERT_EQ(__llvm_libc::strtoul(small_string, nullptr, base), in TEST() 205 small_string[0] = int_to_b36_char(first_digit); in TEST() 207 small_string[1] = int_to_b36_char(second_digit); in TEST() 209 small_string[2] = int_to_b36_char(third_digit); in TEST() [all …]
|
| H A D | strtoll_test.cpp | 193 char small_string[4] = {'\0', '\0', '\0', '\0'}; in TEST() local 196 small_string[0] = int_to_b36_char(first_digit); in TEST() 199 ASSERT_EQ(__llvm_libc::strtoll(small_string, nullptr, base), in TEST() 212 small_string[0] = int_to_b36_char(first_digit); in TEST() 214 small_string[1] = int_to_b36_char(second_digit); in TEST() 218 __llvm_libc::strtoll(small_string, nullptr, base), in TEST() 223 ASSERT_EQ(__llvm_libc::strtoll(small_string, nullptr, base), in TEST() 237 small_string[0] = int_to_b36_char(first_digit); in TEST() 239 small_string[1] = int_to_b36_char(second_digit); in TEST() 241 small_string[2] = int_to_b36_char(third_digit); in TEST() [all …]
|