Home
last modified time | relevance | path

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

/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/xkbcommon/src/xkbcomp/
Dsymbols.c106 if (leveli->num_syms > 1) in ClearLevelInfo()
133 if (darray_item(from->levels, j).num_syms > 1) in CopyGroupInfo()
136 darray_item(from->levels, j).num_syms, in CopyGroupInfo()
223 if (a->num_syms != b->num_syms) in LevelsSameSyms()
225 if (a->num_syms <= 1) in LevelsSameSyms()
229 sizeof(*a->u.syms) * a->num_syms) == 0; in LevelsSameSyms()
305 if (fromLevel->num_syms == 0) { in MergeGroups()
307 else if (intoLevel->num_syms == 0) { in MergeGroups()
308 intoLevel->num_syms = fromLevel->num_syms; in MergeGroups()
309 if (fromLevel->num_syms > 1) in MergeGroups()
[all …]
Dkeymap.c74 int num_syms; in FindInterpForKey() local
76 num_syms = xkb_keymap_key_get_syms_by_level(keymap, key->keycode, group, in FindInterpForKey()
78 if (num_syms == 0) in FindInterpForKey()
93 if ((num_syms > 1 || interp->sym != syms[0]) && in FindInterpForKey()
Dkeymap-dump.c461 int num_syms; in write_keysyms() local
466 num_syms = xkb_keymap_key_get_syms_by_level(keymap, key->keycode, in write_keysyms()
468 if (num_syms == 0) { in write_keysyms()
471 else if (num_syms == 1) { in write_keysyms()
476 for (int s = 0; s < num_syms; s++) { in write_keysyms()
/external/libxkbcommon/xkbcommon/src/
Dkeymap.c76 if (key->groups[i].levels[j].num_syms > 1) in xkb_keymap_unref()
421 int num_syms; in xkb_keymap_key_get_syms_by_level() local
435 num_syms = key->groups[layout].levels[level].num_syms; in xkb_keymap_key_get_syms_by_level()
436 if (num_syms == 0) in xkb_keymap_key_get_syms_by_level()
439 if (num_syms == 1) in xkb_keymap_key_get_syms_by_level()
444 return num_syms; in xkb_keymap_key_get_syms_by_level()
Dstate.c912 int num_syms; in xkb_state_key_get_one_sym() local
914 num_syms = xkb_state_key_get_syms(state, kc, &syms); in xkb_state_key_get_one_sym()
915 if (num_syms != 1) in xkb_state_key_get_one_sym()
Dkeymap.h316 unsigned int num_syms; member
/external/libxkbcommon/xkbcommon/test/
Dstate.c110 int num_syms; in test_update_key() local
190 num_syms = xkb_state_key_get_syms(state, KEY_Q + EVDEV_OFFSET, &syms); in test_update_key()
191 assert(num_syms == 1 && syms[0] == XKB_KEY_Q); in test_update_key()
202 num_syms = xkb_state_key_get_syms(state, KEY_KP1 + EVDEV_OFFSET, &syms); in test_update_key()
203 assert(num_syms == 1 && syms[0] == XKB_KEY_KP_1); in test_update_key()
226 num_syms = xkb_state_key_get_syms(state, KEY_Q + EVDEV_OFFSET, &syms); in test_update_key()
227 assert(num_syms == 1 && syms[0] == XKB_KEY_q); in test_update_key()
230 num_syms = xkb_state_key_get_syms(state, KEY_6 + EVDEV_OFFSET, &syms); in test_update_key()
231 assert(num_syms == 5 && in test_update_key()
/external/mesa3d/src/gallium/drivers/nouveau/nvc0/
Dnvc0_program.h63 unsigned num_syms; member
Dnvc0_program.c652 prog->cp.num_syms = info->bin.numSyms; in nvc0_program_translate()
940 for (i = 0; i < prog->cp.num_syms; ++i) in nvc0_program_symbol_offset()
/external/mesa3d/src/gallium/drivers/nouveau/nv50/
Dnv50_program.h108 unsigned num_syms; member
Dnv50_compute.c236 for (i = 0; i < prog->cp.num_syms; ++i) { in nv50_compute_find_symbol()
Dnv50_program.c425 prog->cp.num_syms = info->bin.numSyms; in nv50_program_translate()
/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/selinux/libsepol/src/
Dwrite.c2081 unsigned int i, num_syms; in policydb_write() local
2202 num_syms = info->sym_num; in policydb_write()
2203 for (i = 0; i < num_syms; i++) { in policydb_write()
2262 if (avrule_block_write(p->global, num_syms, p, fp) == -1) { in policydb_write()
2266 for (i = 0; i < num_syms; i++) { in policydb_write()
/external/libxkbcommon/xkbcommon/src/x11/
Dkeymap.c453 key->groups[group].levels[level].num_syms = 1; in get_sym_maps()