Home
last modified time | relevance | path

Searched refs:num_syms (Results 1 – 25 of 26) sorted by relevance

12

/external/libaom/libaom/av1/decoder/
Daccounting.c68 accounting->syms.num_syms = 0; in aom_accounting_reset()
95 if (accounting->syms.num_syms) { in aom_accounting_record()
97 last_sym = &accounting->syms.syms[accounting->syms.num_syms - 1]; in aom_accounting_record()
114 if (accounting->syms.num_syms == accounting->num_syms_allocated) { in aom_accounting_record()
121 accounting->syms.syms[accounting->syms.num_syms++] = sym; in aom_accounting_record()
128 accounting->syms.num_syms); in aom_accounting_dump()
132 for (i = 0; i < accounting->syms.num_syms; i++) { in aom_accounting_dump()
Daccounting.h53 int num_syms; member
/external/libaom/libaom/test/
Daccounting_test.cc47 GTEST_ASSERT_EQ(accounting.syms.num_syms, 1); in TEST()
51 GTEST_ASSERT_EQ(accounting.syms.num_syms, 0); in TEST()
61 GTEST_ASSERT_EQ(accounting.syms.num_syms, kSymbols * 2); in TEST()
63 for (int i = 0; i < accounting.syms.num_syms; i++) { in TEST()
/external/libxkbcommon/src/
Dkeymap-priv.c147 if (a->num_syms != b->num_syms) in XkbLevelsSameSyms()
149 if (a->num_syms <= 1) in XkbLevelsSameSyms()
151 return memcmp(a->u.syms, b->u.syms, sizeof(*a->u.syms) * a->num_syms) == 0; in XkbLevelsSameSyms()
Dkeymap.c78 if (key->groups[i].levels[j].num_syms > 1) in xkb_keymap_unref()
483 int num_syms; in xkb_keymap_key_get_syms_by_level() local
497 num_syms = key->groups[layout].levels[level].num_syms; in xkb_keymap_key_get_syms_by_level()
498 if (num_syms == 0) in xkb_keymap_key_get_syms_by_level()
501 if (num_syms == 1) in xkb_keymap_key_get_syms_by_level()
506 return num_syms; in xkb_keymap_key_get_syms_by_level()
Dkeymap.h317 unsigned int num_syms; member
Dstate.c924 int num_syms; in xkb_state_key_get_one_sym() local
926 num_syms = xkb_state_key_get_syms(state, kc, &syms); in xkb_state_key_get_one_sym()
927 if (num_syms != 1) in xkb_state_key_get_one_sym()
/external/libxkbcommon/src/xkbcomp/
Dsymbols.c108 if (leveli->num_syms > 1) in ClearLevelInfo()
135 if (darray_item(from->levels, j).num_syms > 1) in CopyGroupInfo()
138 darray_item(from->levels, j).num_syms, in CopyGroupInfo()
296 if (fromLevel->num_syms == 0) { in MergeGroups()
299 else if (intoLevel->num_syms == 0) { in MergeGroups()
300 intoLevel->num_syms = fromLevel->num_syms; in MergeGroups()
301 if (fromLevel->num_syms > 1) in MergeGroups()
305 fromLevel->num_syms = 0; in MergeGroups()
318 intoLevel->num_syms = fromLevel->num_syms; in MergeGroups()
319 if (fromLevel->num_syms > 1) in MergeGroups()
[all …]
Dkeymap.c76 int num_syms; in FindInterpForKey() local
78 num_syms = xkb_keymap_key_get_syms_by_level(keymap, key->keycode, group, in FindInterpForKey()
80 if (num_syms == 0) in FindInterpForKey()
95 if ((num_syms > 1 || interp->sym != syms[0]) && in FindInterpForKey()
Dkeymap-dump.c465 int num_syms; in write_keysyms() local
470 num_syms = xkb_keymap_key_get_syms_by_level(keymap, key->keycode, in write_keysyms()
472 if (num_syms == 0) { in write_keysyms()
475 else if (num_syms == 1) { in write_keysyms()
480 for (int s = 0; s < num_syms; s++) { in write_keysyms()
/external/libxkbcommon/tools/
Dhow-to-type.c184 int num_syms; in main() local
189 num_syms = xkb_keymap_key_get_syms_by_level( in main()
192 if (num_syms != 1) { in main()
/external/libxkbcommon/test/
Dstate.c112 int num_syms; in test_update_key() local
192 num_syms = xkb_state_key_get_syms(state, KEY_Q + EVDEV_OFFSET, &syms); in test_update_key()
193 assert(num_syms == 1 && syms[0] == XKB_KEY_Q); in test_update_key()
204 num_syms = xkb_state_key_get_syms(state, KEY_KP1 + EVDEV_OFFSET, &syms); in test_update_key()
205 assert(num_syms == 1 && syms[0] == XKB_KEY_KP_1); in test_update_key()
228 num_syms = xkb_state_key_get_syms(state, KEY_Q + EVDEV_OFFSET, &syms); in test_update_key()
229 assert(num_syms == 1 && syms[0] == XKB_KEY_q); in test_update_key()
232 num_syms = xkb_state_key_get_syms(state, KEY_6 + EVDEV_OFFSET, &syms); in test_update_key()
233 assert(num_syms == 5 && in test_update_key()
/external/llvm-project/debuginfo-tests/dexter/dex/debugger/dbgeng/
Dsymgroup.py97 num_syms = self.GetNumberSymbols()
98 return list(map(self.get_symbol, list(range(num_syms))))
/external/perfetto/src/kallsyms/
Dkernel_symbol_map_unittest.cc103 EXPECT_EQ(kallsyms.num_syms(), 9u); in TEST()
158 ASSERT_EQ(kallsyms.num_syms(), symbols.size()); in TEST()
Dkernel_symbol_map.h135 size_t num_syms() const { return num_syms_; } in num_syms() function
/external/llvm-project/lldb/source/Plugins/ObjectFile/Mach-O/
DObjectFileMachO.cpp2558 size_t num_syms = 0; in ParseSymtab() local
2786 num_syms = symtab->GetNumSymbols(); in ParseSymtab()
2834 assert(sym_idx < num_syms); in ParseSymtab()
3015 ((sym_idx - 1) < num_syms)) { in ParseSymtab()
3030 ((sym_idx - 1) < num_syms)) { in ParseSymtab()
3709 num_syms = symtab->GetNumSymbols(); in ParseSymtab()
3771 assert(sym_idx < num_syms); in ParseSymtab()
3933 if ((N_SO_index == sym_idx - 1) && ((sym_idx - 1) < num_syms)) { in ParseSymtab()
3946 ((sym_idx - 1) < num_syms)) { in ParseSymtab()
4557 if (num_syms < sym_idx + trie_symbol_table_augment_count) { in ParseSymtab()
[all …]
/external/libaom/libaom/examples/
Dinspect.c580 const int num_syms = accounting->syms.num_syms; in put_accounting() local
594 for (i = 0; i < num_syms; i++) { in put_accounting()
605 if (i < num_syms - 1) *(buf++) = ','; in put_accounting()
Danalyzer.cc353 for (int i = 0; i < acct->syms.num_syms; i++) { in computeBitsPerPixel()
/external/llvm-project/lldb/source/Plugins/ObjectFile/PECOFF/
DObjectFilePECOFF.cpp605 const uint32_t num_syms = m_coff_header.nsyms; in GetSymtab() local
607 if (m_file && num_syms > 0 && m_coff_header.symoff > 0) { in GetSymtab()
609 const size_t symbol_data_size = num_syms * symbol_size; in GetSymtab()
621 Symbol *symbols = m_symtab_up->Resize(num_syms); in GetSymtab()
622 for (uint32_t i = 0; i < num_syms; ++i) { in GetSymtab()
/external/perfetto/src/traced/probes/ftrace/
Dftrace_controller.cc416 static_cast<uint32_t>(symbol_map->num_syms()); in DumpFtraceStats()
/external/selinux/libsepol/src/
Dwrite.c2110 unsigned int i, num_syms; in policydb_write() local
2231 num_syms = info->sym_num; in policydb_write()
2232 for (i = 0; i < num_syms; i++) { in policydb_write()
2291 if (avrule_block_write(p->global, num_syms, p, fp) == -1) { in policydb_write()
2295 for (i = 0; i < num_syms; i++) { in policydb_write()
/external/libxkbcommon/src/x11/
Dkeymap.c455 key->groups[group].levels[level].num_syms = 1; in get_sym_maps()
/external/OpenCL-CTS/test_common/miniz/
Dminiz.c1058 static tdefl_sym_freq* tdefl_radix_sort_syms(mz_uint num_syms, tdefl_sym_freq* pSyms0, tdefl_sym_fr… in tdefl_radix_sort_syms() argument
1061 …for (i = 0; i < num_syms; i++) { mz_uint freq = pSyms0[i].m_key; hist[freq & 0xFF]++; hist[256 + (… in tdefl_radix_sort_syms()
1062 while ((total_passes > 1) && (num_syms == hist[(total_passes - 1) * 256])) total_passes--; in tdefl_radix_sort_syms()
1068 …for (i = 0; i < num_syms; i++) pNew_syms[offsets[(pCur_syms[i].m_key >> pass_shift) & 0xFF]++] = p… in tdefl_radix_sort_syms()
/external/libabigail/tests/data/test-read-dwarf/
DPR25007-sdhci.ko.abi2158 …<var-decl name='num_syms' type-id='type-id-210' visibility='default' filepath='/ws/android/kernel/…
/external/libabigail/tests/data/test-diff-filter/
Dtest-PR27569-v1.abi770 …<var-decl name="num_syms" type-id="f0981eeb" visibility="default" filepath="include/linux/module.h…

12