Home
last modified time | relevance | path

Searched refs:NUM_STRS (Results 1 – 6 of 6) sorted by relevance

/dports/devel/libtpl/libtpl-8fa17e5/tests/
H A Dtest117.c6 #define NUM_STRS 3 macro
17 char *strs[NUM_STRS]; in main()
18 char *STRS[NUM_STRS]; in main()
20 tn = tpl_map("cA(s#)i", &c, strs, NUM_STRS, &d); in main()
22 for(j=0; j<NUM_STRS; j++) {/* each time just tweaking them a bit */ in main()
33 tn = tpl_map("cA(s#)i", &C, STRS, NUM_STRS, &D); in main()
37 for(i=0;i<NUM_STRS;i++) { in main()
H A Dtest116.c4 #define NUM_STRS 3 macro
12 char *strs[NUM_STRS] = {"alpha", "beta", "gamma"}; in main()
13 char *STRS[NUM_STRS] = {"femto", "nano", "centi"}; in main()
15 tn = tpl_map("cs#i", &c, strs, NUM_STRS, &d); in main()
20 tn = tpl_map("cs#i", &C, STRS, NUM_STRS, &D); in main()
26 for(i=0;i<NUM_STRS;i++) printf("%s\n", STRS[i]); in main()
/dports/audio/sphinxbase/sphinxbase-0.8/test/unit/test_case/
H A DchgCase.c9 #define NUM_STRS 6 macro
29 char strs[NUM_STRS][MAX_STR_LEN] = { STR0, in main()
67 atoi(argv[2]) >= NUM_STRS || in main()
68 0 >= atoi(argv[3]) || atoi(argv[3]) >= NUM_STRS) { in main()
/dports/net-im/uTox/uTox/src/
H A Dui_i18n.c37 static void init_strings(STRING (*localized_strings)[NUM_STRS]) { in init_strings() argument
39 for (UTOX_I18N_STR j = 0; j < NUM_STRS; j++) { in init_strings()
56 static STRING localized_strings[NUM_LANGS][NUM_STRS]; in ui_gettext()
64 if ((lang >= NUM_LANGS) || (string_id >= NUM_STRS)) { in ui_gettext()
H A Dui.c93 return (mis->plain.str || ((UI_STRING_ID_INVALID != mis->i18nal) && (mis->i18nal < NUM_STRS))); in maybe_i18nal_string_is_valid()
/dports/net-im/uTox/uTox/langs/
H A Di18n_decls.h334 NUM_STRS // add strings before this line enumerator