Searched refs:nchars (Results 1 – 3 of 3) sorted by relevance
/bionic/benchmarks/ |
D | util.cpp | 53 wchar_t* GetAlignedPtr(std::vector<wchar_t>* buf, size_t alignment, size_t nchars) { in GetAlignedPtr() argument 54 buf->resize(nchars + ceil((3 * alignment) / sizeof(wchar_t))); in GetAlignedPtr()
|
/bionic/tests/ |
D | stdio_test.cpp | 604 constexpr size_t nchars = 32; in TEST() local 605 wchar_t buf[nchars]; in TEST() 607 ASSERT_EQ(2, swprintf(buf, nchars, L"ab")) << strerror(errno); in TEST() 609 ASSERT_EQ(5, swprintf(buf, nchars, L"%s", "abcde")); in TEST() 617 ASSERT_EQ(12, swprintf(buf, nchars, L"%s", kString)); in TEST() 624 constexpr size_t nchars = 32; in TEST() local 625 wchar_t buf[nchars]; in TEST() 627 ASSERT_EQ(20, swprintf(buf, nchars, L"%a", 3.1415926535)); in TEST() 632 constexpr size_t nchars = 32; in TEST() local 633 wchar_t buf[nchars]; in TEST() [all …]
|
/bionic/libc/stdio/ |
D | printf_common.h | 767 size_t insize, nchars, nconv; in mbsconv() local 775 insize = nchars = nconv = 0; in mbsconv() 777 while (nchars != (size_t)prec) { in mbsconv() 781 nchars++; in mbsconv()
|