Home
last modified time | relevance | path

Searched refs:nsyms (Results 1 – 25 of 73) sorted by relevance

123

/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()
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.c193 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()
Dentdec.h66 const uint16_t *cdf, int nsyms)
Dentenc.h61 void od_ec_encode_cdf_q15(od_ec_enc *enc, int s, const uint16_t *cdf, int nsyms)
/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()
Dnm.c729 GElf_SymX *syms, size_t nsyms, int longest_name, in show_symbols_sysv() argument
790 for (cnt = 0; cnt < nsyms; ++cnt) in show_symbols_sysv()
934 GElf_SymX *syms, size_t nsyms) in show_symbols_bsd() argument
947 for (size_t cnt = 0; cnt < nsyms; ++cnt) in show_symbols_bsd()
1066 size_t nsyms) in show_symbols_posix() argument
1079 for (size_t cnt = 0; cnt < nsyms; ++cnt) in show_symbols_posix()
/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/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-objdump/MachO/
Dbad-dysymtab.test18 nsyms: 3
/external/grpc-grpc/tools/codegen/core/
Dgen_hpack_tables.cc154 static int nsyms(symset s) { in nsyms() function
235 assert(nsyms(syms)); in build_dec_tbl()
/external/rust/crates/grpcio-sys/grpc/tools/codegen/core/
Dgen_hpack_tables.cc154 static int nsyms(symset s) { in nsyms() function
235 assert(nsyms(syms)); in build_dec_tbl()
/external/google-breakpad/src/common/mac/
Dmacho_reader.cc383 uint32_t symoff, nsyms, stroff, strsize; in WalkLoadCommands() local
384 cursor >> symoff >> nsyms >> stroff >> strsize; in WalkLoadCommands()
394 size_t symbols_size = nsyms * symbol_size; in WalkLoadCommands()
/external/llvm-project/llvm/test/tools/llvm-objcopy/MachO/
Dbasic-little-endian-32-copy.test71 nsyms: 2
Dbasic-big-endian-32-copy.test71 nsyms: 2
Dsegment-size-alignment.test131 nsyms: 3
343 nsyms: 3
560 nsyms: 3
777 nsyms: 3
Dbasic-little-endian-64-copy.test84 nsyms: 2
Dbasic-big-endian-64-copy.test84 nsyms: 2
/external/llvm/lib/Object/
DMachOObjectFile.cpp399 if (Dysymtab.nlocalsym != 0 && Dysymtab.ilocalsym > Symtab.nsyms) { in MachOObjectFile()
406 if (Dysymtab.nlocalsym != 0 && BigSize > Symtab.nsyms) { in MachOObjectFile()
411 if (Dysymtab.nextdefsym != 0 && Dysymtab.ilocalsym > Symtab.nsyms) { in MachOObjectFile()
418 if (Dysymtab.nextdefsym != 0 && BigSize > Symtab.nsyms) { in MachOObjectFile()
424 if (Dysymtab.nundefsym != 0 && Dysymtab.iundefsym > Symtab.nsyms) { in MachOObjectFile()
431 if (Dysymtab.nundefsym != 0 && BigSize > Symtab.nsyms) { in MachOObjectFile()
1085 if (!SymtabLoadCmd || Symtab.nsyms == 0) in symbol_begin_impl()
1094 if (!SymtabLoadCmd || Symtab.nsyms == 0) in symbol_end_impl()
1101 Symtab.nsyms * SymbolTableEntrySize; in symbol_end_impl()
1108 if (!SymtabLoadCmd || Index >= Symtab.nsyms) in getSymbolByIndex()
[all …]

123