Home
last modified time | relevance | path

Searched refs:countof (Results 1 – 8 of 8) sorted by relevance

/freebsd/contrib/less/
H A Dlang.h33 #undef countof
34 #define countof(a) ((int)(sizeof(a)/sizeof(*a))) macro
H A Dmain.c197 for (i = 0; i < countof(features); i++) in security_feature()
290 GetConsoleTitleW(consoleTitle, countof(consoleTitle)); in main()
H A Dcharset.c817 }; struct wchar_range_table name##_table = { name##_array, countof(name##_array) };
933 for (i = 0; i < countof(comb_table); i++) in is_combining_char()
H A Dcommand.c940 MultiByteToWideChar(less_acp, 0, p, -1, w, countof(w)); in prompt()
995 MultiByteToWideChar(less_acp, 0, p, -1, w, countof(w)); in prompt()
H A Dline.c1959 for (cx = 0; cx < countof(color_map); cx++) in lookup_color_index()
H A Dscreen.c3461 len = MultiByteToWideChar(CP_UTF8, 0, text, len, wtext, countof(wtext)); in WIN32textout()
/freebsd/contrib/llvm-project/libcxx/src/
H A Dlocale.cpp96 inline constexpr size_t countof(const T (&)[N]) { in countof() function
101 inline constexpr size_t countof(const T* const begin, const T* const end) { in countof() function
4470 size_t n = strftime_l(buf, countof(buf), f, &t, __loc_); in __analyze()
4601 strftime_l(buf, countof(buf), f, &t, __loc_); in __analyze()
4606 size_t j = __libcpp_mbsrtowcs_l(wbb, &bb, countof(wbuf), &mb, __loc_); in __analyze()
4727 strftime_l(buf, countof(buf), "%A", &t, __loc_); in init()
4729 strftime_l(buf, countof(buf), "%a", &t, __loc_); in init()
4735 strftime_l(buf, countof(buf), "%B", &t, __loc_); in init()
4737 strftime_l(buf, countof(buf), "%b", &t, __loc_); in init()
4742 strftime_l(buf, countof(buf), "%p", &t, __loc_); in init()
[all …]
/freebsd/contrib/ldns-host/
H A Dldns-host.c23 #define countof(array) (sizeof(array)/sizeof(*(array))) macro
523 for (i = 0; i < countof(rr_types); i++) { in print_rr_short()