Home
last modified time | relevance | path

Searched full:nsyms (Results 1 – 25 of 146) sorted by relevance

123456

/external/libxkbcommon/test/
Dkeymap.c40 int nsyms; in test_garbage_key() local
55 nsyms = xkb_keymap_key_get_syms_by_level(keymap, kc, first_layout, 0, &syms); in test_garbage_key()
56 assert(nsyms == 1); in test_garbage_key()
58 nsyms = xkb_keymap_key_get_syms_by_level(keymap, kc, first_layout, 1, &syms); in test_garbage_key()
59 assert(nsyms == 1); in test_garbage_key()
67 nsyms = xkb_keymap_key_get_syms_by_level(keymap, kc, first_layout, 0, &syms); in test_garbage_key()
68 assert(nsyms == 0); in test_garbage_key()
69 nsyms = xkb_keymap_key_get_syms_by_level(keymap, kc, first_layout, 1, &syms); in test_garbage_key()
70 assert(nsyms == 1); in test_garbage_key()
Dcommon.c77 unsigned int nsyms, i; in test_key_seq_va() local
89 nsyms = xkb_state_key_get_syms(state, kc, &syms); in test_key_seq_va()
90 if (nsyms == 1) { in test_key_seq_va()
95 fprintf(stderr, "got %u syms for keycode %u: [", nsyms, kc); in test_key_seq_va()
102 for (i = 0; i < nsyms; i++) { in test_key_seq_va()
122 if (nsyms == 0) { in test_key_seq_va()
Dstate.c529 int nsyms; in test_caps_keysym_transformation() local
553 nsyms = xkb_state_key_get_syms(state, KEY_SEMICOLON + 8, &syms); in test_caps_keysym_transformation()
554 assert(nsyms == 1 && syms[0] == XKB_KEY_eacute); in test_caps_keysym_transformation()
565 nsyms = xkb_state_key_get_syms(state, KEY_SEMICOLON + 8, &syms); in test_caps_keysym_transformation()
566 assert(nsyms == 1 && syms[0] == XKB_KEY_odiaeresis); in test_caps_keysym_transformation()
581 nsyms = xkb_state_key_get_syms(state, KEY_SEMICOLON + 8, &syms); in test_caps_keysym_transformation()
582 assert(nsyms == 1 && syms[0] == XKB_KEY_eacute); in test_caps_keysym_transformation()
/external/python/cpython2/Parser/
Dfirstsets.c34 int nsyms; in calcfirstset() local
65 nsyms = 1; in calcfirstset()
71 for (j = 0; j < nsyms; j++) { in calcfirstset()
75 if (j >= nsyms) { /* New label */ in calcfirstset()
77 sizeof(int) * (nsyms + 1)); in calcfirstset()
81 sym[nsyms++] = a->a_lbl; in calcfirstset()
/external/libxkbcommon/tools/
Dtools-common.c62 int nsyms; in tools_print_keycode_state() local
69 nsyms = xkb_state_key_get_syms(state, keycode, &syms); in tools_print_keycode_state()
71 if (nsyms <= 0) in tools_print_keycode_state()
84 nsyms = 1; in tools_print_keycode_state()
86 else if (nsyms == 1) { in tools_print_keycode_state()
92 for (int i = 0; i < nsyms; i++) { in tools_print_keycode_state()
/external/libaom/libaom/aom_dsp/
Dentenc.c157 int nsyms) { in od_ec_encode_q15() argument
168 const int N = nsyms - 1; in od_ec_encode_q15()
217 The values must be monotonically decreasing, and icdf[nsyms - 1] must
219 nsyms: The number of symbols in the alphabet.
222 int nsyms) { in od_ec_encode_cdf_q15() argument
223 (void)nsyms; in od_ec_encode_cdf_q15()
225 assert(s < nsyms); in od_ec_encode_cdf_q15()
226 assert(icdf[nsyms - 1] == OD_ICDF(CDF_PROB_TOP)); in od_ec_encode_cdf_q15()
227 od_ec_encode_q15(enc, s > 0 ? icdf[s - 1] : OD_ICDF(0), icdf[s], s, nsyms); in od_ec_encode_cdf_q15()
Dentdec.c188 The values must be monotonically non-increasing, and icdf[nsyms - 1]
190 nsyms: The number of symbols in the alphabet.
193 int od_ec_decode_cdf_q15(od_ec_dec *dec, const uint16_t *icdf, int nsyms) { in od_ec_decode_cdf_q15() argument
200 (void)nsyms; in od_ec_decode_cdf_q15()
203 const int N = nsyms - 1; in od_ec_decode_cdf_q15()
206 assert(icdf[nsyms - 1] == OD_ICDF(CDF_PROB_TOP)); in od_ec_decode_cdf_q15()
/external/llvm-project/lldb/test/API/commands/target/basic/
Dbogus.yaml47 nsyms: 1
97 nsyms: 1
161 nsyms: 2
/external/llvm-project/llvm/test/tools/llvm-lipo/Inputs/
Di386-x86_64-armv7-arm64-universal.yaml80 nsyms: 1
168 nsyms: 1
243 nsyms: 1
331 nsyms: 3
Di386-x86_64-universal.yaml70 nsyms: 1
158 nsyms: 1
Darmv7_i386_non_default_alignment.yaml70 nsyms: 1
157 nsyms: 1
/external/llvm-project/llvm/test/tools/llvm-libtool-darwin/
Dcpu-subtype-matching.test67 nsyms: 1
124 nsyms: 1
205 nsyms: 1
263 nsyms: 1
/external/elfutils/libelf/
Dnlist.c70 size_t nsyms; in nlist() local
131 nsyms = (shdr->sh_size in nlist()
135 table = nlist_fshash_init (nsyms); in nlist()
143 for (cnt = 0; cnt < nsyms; ++cnt) in nlist()
/external/elfutils/src/
Darlib.c164 uint32_t nsyms = le_bswap_32 (symtab.symsoff[AR_HDR_WORDS]); in arlib_finalize() local
166 for (uint32_t cnt = 1; cnt <= nsyms; ++cnt) in arlib_finalize()
258 int nsyms = shdr->sh_size / shdr->sh_entsize; in arlib_add_symbols() local
259 for (int ndx = shdr->sh_info; ndx < nsyms; ++ndx) in arlib_add_symbols()
/external/elfutils/libasm/
Ddisasm_cb.c98 int nsyms = shdr->sh_size / shdr->sh_entsize; in read_symtab_exec() local
99 for (int cnt = 1; cnt < nsyms; ++cnt) in read_symtab_exec()
/external/libxkbcommon/src/
Dstate.c953 int nsyms; in get_one_sym_for_string() local
963 nsyms = xkb_keymap_key_get_syms_by_level(state->keymap, kc, in get_one_sym_for_string()
965 if (nsyms != 1) in get_one_sym_for_string()
975 nsyms = xkb_keymap_key_get_syms_by_level(state->keymap, kc, in get_one_sym_for_string()
977 if (nsyms == 1 && syms[0] <= 127u) { in get_one_sym_for_string()
997 int nsyms; in xkb_state_key_get_utf8() local
1003 nsyms = 1; syms = &sym; in xkb_state_key_get_utf8()
1006 nsyms = xkb_state_key_get_syms(state, kc, &syms); in xkb_state_key_get_utf8()
1011 for (int i = 0; i < nsyms; i++) { in xkb_state_key_get_utf8()
/external/llvm-project/llvm/test/tools/llvm-objcopy/MachO/
Dsegment-size-alignment.test131 nsyms: 3
343 nsyms: 3
560 nsyms: 3
777 nsyms: 3
/external/llvm/test/Object/
Dmacho-invalid.test48 RUN: llvm-objdump -macho -t %p/Inputs/macho-valid-0-nsyms 2>&1 \
49 RUN: | FileCheck -check-prefix ZERO-NSYMS %s
50 ZERO-NSYMS: SYMBOL TABLE
/external/llvm/test/ObjectYAML/MachO/
Dload_commands.yaml73 nsyms: 30
199 #CHECK: nsyms: 30
/external/llvm-project/llvm/test/ObjectYAML/MachO/
Dload_commands.yaml73 nsyms: 30
199 #CHECK: nsyms: 30
/external/llvm-project/llvm/test/tools/llvm-gsymutil/X86/
Dmacho-invalid-section-offset.yaml23 nsyms: 1
/external/llvm-project/llvm/test/tools/llvm-objdump/MachO/AArch64/
Dmacho-private-headers.test55 CHECK: nsyms 5
239 EXE: nsyms 4
/external/llvm/test/tools/llvm-objdump/AArch64/
Dmacho-private-headers.test55 CHECK: nsyms 5
239 EXE: nsyms 4
/external/llvm-project/llvm/test/tools/llvm-libtool-darwin/Inputs/
Dinput1.yaml43 nsyms: 1
/external/llvm-project/llvm/test/tools/llvm-objdump/MachO/
Dbad-dysymtab.test18 nsyms: 3

123456