/external/libaom/libaom/av1/decoder/ |
D | accounting.c | 68 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()
|
D | accounting.h | 53 int num_syms; member
|
/external/libaom/libaom/test/ |
D | accounting_test.cc | 47 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/ |
D | symbols.c | 106 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 …]
|
D | keymap.c | 74 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()
|
D | keymap-dump.c | 461 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/ |
D | keymap.c | 76 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()
|
D | state.c | 912 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()
|
D | keymap.h | 316 unsigned int num_syms; member
|
/external/libxkbcommon/xkbcommon/test/ |
D | state.c | 110 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/ |
D | nvc0_program.h | 63 unsigned num_syms; member
|
D | nvc0_program.c | 652 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/ |
D | nv50_program.h | 108 unsigned num_syms; member
|
D | nv50_compute.c | 236 for (i = 0; i < prog->cp.num_syms; ++i) { in nv50_compute_find_symbol()
|
D | nv50_program.c | 425 prog->cp.num_syms = info->bin.numSyms; in nv50_program_translate()
|
/external/libaom/libaom/examples/ |
D | inspect.c | 580 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()
|
D | analyzer.cc | 353 for (int i = 0; i < acct->syms.num_syms; i++) { in computeBitsPerPixel()
|
/external/selinux/libsepol/src/ |
D | write.c | 2081 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/ |
D | keymap.c | 453 key->groups[group].levels[level].num_syms = 1; in get_sym_maps()
|