Home
last modified time | relevance | path

Searched refs:FCITX_ARRAY_SIZE (Results 1 – 22 of 22) sorted by relevance

/dports/textproc/fcitx5/fcitx5-5.0.11/src/lib/fcitx-config/
H A Denum.h55 auto size = FCITX_ARRAY_SIZE(_##TYPE##_Names); \
66 auto size = FCITX_ARRAY_SIZE(_##TYPE##_Names); \
90 FCITX_ARRAY_SIZE(_##TYPE##_Names2); \
104 static_assert(FCITX_ARRAY_SIZE(_##TYPE##_Names2) == \
105 FCITX_ARRAY_SIZE(_##TYPE##_Names), \
/dports/textproc/fcitx5/fcitx5-5.0.11/test/
H A Dtestkey.cpp17 for (size_t i = 0; i < FCITX_ARRAY_SIZE(ARRAY) - 1; i++) { \
31 for (size_t i = 0; i < FCITX_ARRAY_SIZE(keyValueByNameOffset); i++) { in main()
88 for (size_t i = 0; i < FCITX_ARRAY_SIZE(hotkey); i++) { in main()
H A Dtestinstance.cpp39 Instance instance(FCITX_ARRAY_SIZE(argv), argv); in main()
H A Dtestunicode.cpp63 Instance instance(FCITX_ARRAY_SIZE(argv), argv); in main()
H A Dtestxim.cpp167 Instance instance(FCITX_ARRAY_SIZE(argv), argv); in main()
H A Dtestinputcontext.cpp18 for (size_t i = 0; i < FCITX_ARRAY_SIZE(focus_result); i++) { \
H A Dtestquickphrase.cpp174 Instance instance(FCITX_ARRAY_SIZE(argv), argv); in main()
/dports/chinese/fcitx5-chinese-addons/fcitx5-chinese-addons-5.0.8/modules/fullwidth/
H A Dfullwidth.cpp49 if (key >= 32 && key - 32 < FCITX_ARRAY_SIZE(sCornerTrans)) { in Fullwidth()
97 if (wc > 32 && wc - 32 < FCITX_ARRAY_SIZE(sCornerTrans)) { in Fullwidth()
/dports/chinese/fcitx5-chinese-addons/fcitx5-chinese-addons-5.0.8/modules/pinyinhelper/
H A Dpinyinlookup.cpp65 static const int8_t vokals_count = FCITX_ARRAY_SIZE(vokals_table); in py_enhance_get_vokal()
79 static const int8_t konsonants_count = FCITX_ARRAY_SIZE(konsonants_table); in py_enhance_get_konsonant()
/dports/chinese/fcitx-configtool/fcitx-configtool-0.4.9/gtk3/
H A Dsub_config_widget.c197 for (int i = 0; i < FCITX_ARRAY_SIZE(qtguiwrapper); i++) { in open_native_file()
221 for (int i = 0; i < FCITX_ARRAY_SIZE(qtguiwrapper); i++) { in open_native_file()
274 for (int i = 0; i < FCITX_ARRAY_SIZE(qtguiwrapper); i++) { in run_plugin()
298 for (int i = 0; i < FCITX_ARRAY_SIZE(qtguiwrapper); i++) { in run_plugin()
/dports/textproc/fcitx5/fcitx5-5.0.11/src/lib/fcitx-utils/
H A Dkey.cpp519 keyValueByNameOffset + FCITX_ARRAY_SIZE(keyValueByNameOffset), in keySymFromString()
525 keyValueByNameOffset + FCITX_ARRAY_SIZE(keyValueByNameOffset) && in keySymFromString()
532 keyNameListCompat + FCITX_ARRAY_SIZE(keyNameListCompat), keyString, in keySymFromString()
536 if (compat != keyNameListCompat + FCITX_ARRAY_SIZE(keyNameListCompat) && in keySymFromString()
571 keyNameOffsetByValue + FCITX_ARRAY_SIZE(keyNameOffsetByValue), sym, in keySymToString()
576 keyNameOffsetByValue + FCITX_ARRAY_SIZE(keyNameOffsetByValue) && in keySymToString()
H A Dmacros.h38 #define FCITX_ARRAY_SIZE(a) (sizeof(a) / sizeof(a[0]))
/dports/textproc/fcitx5/fcitx5-5.0.11/src/frontend/xim/
H A Dxim.cpp51 xcb_im_encodings_t encodings = {FCITX_ARRAY_SIZE(encoding_array),
54 xcb_im_styles_t styles = {FCITX_ARRAY_SIZE(style_array), style_array};
55 xcb_im_styles_t onthespot_styles = {FCITX_ARRAY_SIZE(onthespot_style_array),
/dports/chinese/fcitx5-chinese-addons/fcitx5-chinese-addons-5.0.8/test/
H A Dtestfullwidth.cpp106 Instance instance(FCITX_ARRAY_SIZE(argv), argv); in main()
H A Dtestpinyin.cpp86 Instance instance(FCITX_ARRAY_SIZE(argv), argv); in main()
H A Dtesttable.cpp108 Instance instance(FCITX_ARRAY_SIZE(argv), argv); in main()
H A Dtestchttrans.cpp167 Instance instance(FCITX_ARRAY_SIZE(argv), argv); in main()
/dports/textproc/fcitx5-lua/fcitx5-lua-5.0.5/test/
H A Dtestlua.cpp139 Instance instance(FCITX_ARRAY_SIZE(argv), argv); in main()
/dports/chinese/fcitx/fcitx-4.2.9.7/src/lib/fcitx/
H A Dime.c807 for (i = 0; i < FCITX_ARRAY_SIZE(keyHandle); i ++) { in FcitxInstanceProcessKey()
823 if (i == FCITX_ARRAY_SIZE(keyHandle)) { in FcitxInstanceProcessKey()
844 for (i = 0; i < FCITX_ARRAY_SIZE(keyHandle); i ++) { in FcitxInstanceProcessKey()
853 if (i == FCITX_ARRAY_SIZE(keyHandle)) { in FcitxInstanceProcessKey()
/dports/chinese/fcitx5-chewing/fcitx5-chewing-5.0.7/src/
H A Deim.cpp35 static_assert(FCITX_ARRAY_SIZE(builtin_selectkeys) ==
/dports/chinese/fcitx/fcitx-4.2.9.7/src/lib/fcitx-utils/
H A Dutils.h99 #define FCITX_ARRAY_SIZE(a) (sizeof(a) / sizeof(a[0])) macro
/dports/textproc/fcitx5-configtool/fcitx5-configtool-5.0.8/layout/
H A Dkeyboardlayoutwidget.cpp103 for (unsigned int i = 0; i < FCITX_ARRAY_SIZE(deadMapData); i++) { in KeyboardLayoutWidget()