Home
last modified time | relevance | path

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

/freebsd/contrib/less/
H A Dlang.h33 #undef countof
34 #define countof(a) ((int)(sizeof(a)/sizeof(*a))) macro
H A Dlmsg.c63 for (i = 0; i < countof(lmsg_syms); i++) in lmsg_id()
209 if (id <= 0 || id >= countof(lmsgs)) in lmsg()
H A Dmain.c193 security_features, countof(security_features), "LESSSECURE_ALLOW"); in init_secure()
198 security_features, countof(security_features), "LESSSECURE_DISALLOW"); in init_secure()
254 GetConsoleTitleW(consoleTitle, countof(consoleTitle)); in main()
H A Dcharset.c831 }; struct wchar_range_table name##_table = { name##_array, countof(name##_array) };
948 for (i = 0; i < countof(comb_table); i++) in is_combining_char()
H A Doptfunc.c990 emouse_defs, countof(emouse_defs), "--emouse"); in opt_emouse()
1007 for (i = countof(emouse_defs)-1; i >= 0; i--) in opt_emouse()
H A Dcommand.c990 MultiByteToWideChar(less_acp, 0, p, -1, w, countof(w)); in prompt()
1027 MultiByteToWideChar(less_acp, 0, p, -1, w, countof(w)); in prompt()
H A Dregexp.c516 for (i = 0; i < countof(cclasses); ++i) in cclass_idx()
H A Dline.c2001 for (cx = 0; cx < countof(color_map); cx++) in lookup_color_index()
H A Dscreen.c3611 len = MultiByteToWideChar(CP_UTF8, 0, text, len, wtext, countof(wtext)); in WIN32textout()
/freebsd/contrib/llvm-project/clang/lib/Headers/
H A Dstdcountof.h13 #define countof _Countof macro
/freebsd/contrib/llvm-project/libcxx/src/
H A Dlocale.cpp92 inline constexpr size_t countof(const T (&)[N]) { in countof() function
97 inline constexpr size_t countof(const T* const begin, const T* const end) { in countof() function
4386 size_t n = __locale::__strftime(buf, countof(buf), f, &t, __loc_); in __analyze()
4517 __locale::__strftime(buf, countof(buf), f, &t, __loc_); in __analyze()
4522 size_t j = __locale::__mbsrtowcs(wbb, &bb, countof(wbuf), &mb, __loc_); in __analyze()
4643 __locale::__strftime(buf, countof(buf), "%A", &t, __loc_); in init()
4645 __locale::__strftime(buf, countof(buf), "%a", &t, __loc_); in init()
4651 __locale::__strftime(buf, countof(buf), "%B", &t, __loc_); in init()
4653 __locale::__strftime(buf, countof(buf), "%b", &t, __loc_); in init()
4658 __locale::__strftime(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()