/bionic/libc/malloc_debug/ |
D | Config.cpp | 294 fill_on_alloc_bytes_ = SIZE_MAX; in SetFill() 295 fill_on_free_bytes_ = SIZE_MAX; in SetFill() 299 if (!ParseValue(option, value, 1, SIZE_MAX, &fill_on_alloc_bytes_)) { in SetFill() 307 return ParseValue(option, value, SIZE_MAX, 1, SIZE_MAX, &fill_on_alloc_bytes_); in SetFillOnAlloc() 311 return ParseValue(option, value, SIZE_MAX, 1, SIZE_MAX, &fill_on_free_bytes_); in SetFillOnFree() 344 if (!ParseValue(option, value, 1, SIZE_MAX, &backtrace_min_size_bytes_)) { in SetBacktraceSize() 353 return ParseValue(option, value, 1, SIZE_MAX, &backtrace_min_size_bytes_); in SetBacktraceMinSize() 357 return ParseValue(option, value, 1, SIZE_MAX, &backtrace_max_size_bytes_); in SetBacktraceMaxSize() 367 fill_on_free_bytes_ = SIZE_MAX; in SetFreeTrack() 467 backtrace_max_size_bytes_ = SIZE_MAX; in Init()
|
/bionic/libc/private/ |
D | bionic_elf_tls.h | 60 size_t offset_bionic_tcb_ = SIZE_MAX; 61 size_t offset_bionic_tls_ = SIZE_MAX; 104 size_t static_offset = SIZE_MAX;
|
/bionic/libc/upstream-openbsd/lib/libc/stdlib/ |
D | recallocarray.c | 40 newnmemb > 0 && SIZE_MAX / newnmemb < size) { in recallocarray() 47 oldnmemb > 0 && SIZE_MAX / oldnmemb < size) { in recallocarray()
|
/bionic/libc/bionic/ |
D | bionic_elf_tls.cpp | 53 __LIBC_HIDDEN__ _Atomic(size_t) __libc_tls_generation_copy = SIZE_MAX; 199 if (module.static_offset == SIZE_MAX) { in __init_static_tls() 273 if (mod.static_offset != SIZE_MAX) { in update_tls_dtv() 372 if (i < modules.module_count && modules.module_table[i].static_offset != SIZE_MAX) { in __free_dynamic_tls()
|
D | wchar.cpp | 136 return mbsnrtowcs(dst, src, SIZE_MAX, len, ps); in mbsrtowcs() 211 return wcsnrtombs(dst, src, SIZE_MAX, len, ps); in wcsrtombs()
|
D | fortify.cpp | 430 dst_len_from_compiler == SIZE_MAX ? SSIZE_MAX : dst_len_from_compiler, in __vsprintf_chk()
|
/bionic/linker/ |
D | linker_tls.cpp | 91 CHECK(mod.static_offset == SIZE_MAX); in unregister_tls_module() 140 size_t static_offset = SIZE_MAX; in register_soinfo_tls()
|
D | linker_relocate.cpp | 399 if (mod.static_offset != SIZE_MAX) { in process_relocation_impl() 456 if (mod.static_offset != SIZE_MAX) { in process_relocation_impl() 599 relocator.si_strtab_size = has_min_version(1) ? strtab_size_ : SIZE_MAX; in relocate()
|
D | linker.cpp | 401 if (tls_mod.static_offset != SIZE_MAX) { in get_tls_block_for_this_thread()
|
/bionic/libc/upstream-netbsd/lib/libc/stdlib/ |
D | reallocarr.c | 80 number > SIZE_MAX / size)) { in __weak_alias()
|
/bionic/libc/include/ |
D | stdint.h | 219 # define SIZE_MAX UINT64_MAX macro 226 # define SIZE_MAX UINT32_MAX macro
|
/bionic/libc/malloc_debug/tests/ |
D | malloc_debug_config_tests.cpp | 386 ASSERT_EQ(SIZE_MAX, config->fill_on_alloc_bytes()); in TEST_F() 399 ASSERT_EQ(SIZE_MAX, config->fill_on_free_bytes()); in TEST_F() 413 ASSERT_EQ(SIZE_MAX, config->fill_on_alloc_bytes()); in TEST_F() 414 ASSERT_EQ(SIZE_MAX, config->fill_on_free_bytes()); in TEST_F() 437 ASSERT_EQ(SIZE_MAX, config->fill_on_free_bytes()); in TEST_F() 443 ASSERT_EQ(SIZE_MAX, config->fill_on_free_bytes()); in TEST_F() 857 ASSERT_EQ(SIZE_MAX, config->backtrace_max_size_bytes()); in TEST_F() 862 ASSERT_EQ(SIZE_MAX, config->backtrace_max_size_bytes()); in TEST_F()
|
D | malloc_debug_unit_tests.cpp | 1974 void* pointer = debug_malloc(SIZE_MAX); in TEST_F() 1978 pointer = debug_calloc(1, SIZE_MAX); in TEST_F() 1982 pointer = debug_calloc(SIZE_MAX, 1); in TEST_F() 1986 pointer = debug_calloc(SIZE_MAX/100, 100); in TEST_F() 1990 pointer = debug_calloc(100, SIZE_MAX/100); in TEST_F() 2000 pointer = debug_realloc(nullptr, SIZE_MAX); in TEST_F() 2008 void* realloc_pointer = debug_realloc(pointer, SIZE_MAX); in TEST_F() 2158 ASSERT_EQ(ENOMEM, debug_posix_memalign(&pointer, 16, SIZE_MAX)); in TEST_F()
|
/bionic/tests/ |
D | malloc_test.cpp | 85 ASSERT_EQ(nullptr, malloc(SIZE_MAX)); in TEST() 129 ASSERT_EQ(nullptr, calloc(1, SIZE_MAX)); in TEST() 132 ASSERT_EQ(nullptr, calloc(SIZE_MAX, SIZE_MAX)); in TEST() 135 ASSERT_EQ(nullptr, calloc(2, SIZE_MAX)); in TEST() 138 ASSERT_EQ(nullptr, calloc(SIZE_MAX, 2)); in TEST() 159 ASSERT_EQ(nullptr, memalign(4096, SIZE_MAX)); in TEST() 348 ASSERT_EQ(nullptr, realloc(nullptr, SIZE_MAX)); in TEST() 353 ASSERT_EQ(nullptr, realloc(ptr, SIZE_MAX)); in TEST() 378 ASSERT_EQ(nullptr, pvalloc(SIZE_MAX)); in TEST() 398 ASSERT_EQ(nullptr, valloc(SIZE_MAX)); in TEST()
|
D | fcntl_test.cpp | 247 ssize_t bytes_teed = tee(pipe1[0], pipe2[1], SIZE_MAX, 0); in TEST()
|
D | wchar_test.cpp | 555 ASSERT_EQ(3U, mbsnrtowcs(dst, &src, SIZE_MAX, 3, nullptr)); in TEST() 565 ASSERT_EQ(static_cast<size_t>(-1), mbsnrtowcs(dst, &src, SIZE_MAX, 3, nullptr)); in TEST() 570 ASSERT_EQ(static_cast<size_t>(-1), mbsnrtowcs(nullptr, &src, SIZE_MAX, 3, nullptr)); in TEST()
|
D | stdlib_test.cpp | 269 ASSERT_NE(0, posix_memalign(&ptr, 16, SIZE_MAX)); in TEST() 295 ASSERT_TRUE(aligned_alloc(16, SIZE_MAX) == nullptr); in TEST()
|
D | string_test.cpp | 1517 ASSERT_EQ(4U, strnlen("test", SIZE_MAX)); in TEST()
|
/bionic/libc/upstream-openbsd/lib/libc/stdio/ |
D | getdelim.c | 100 #if SIZE_MAX > 0xffffffffU in getdelim()
|
D | open_memstream.c | 92 if ((off > 0 && off > SIZE_MAX - base) || (off < 0 && base < -off)) { in memstream_seek()
|
D | open_wmemstream.c | 96 if (off > (SIZE_MAX / sizeof(wchar_t)) - base || off < -base) { in wmemstream_seek()
|
/bionic/tests/headers/posix/ |
D | stdint_h.c | 121 MACRO(SIZE_MAX); in stdint_h()
|
/bionic/libc/tzcode/ |
D | private.h | 367 #ifndef SIZE_MAX 368 #define SIZE_MAX ((size_t) -1) macro
|
/bionic/libc/stdio/ |
D | vfscanf.cpp | 424 if (width == 0) width = SIZE_MAX; in __svfscanf()
|