Home
last modified time | relevance | path

Searched refs:tuples (Results 1 - 25 of 26) sorted by relevance

12

/third_party/mesa3d/src/panfrost/bifrost/test/
H A Dtest-pack-formats.cpp48 struct bi_packed_tuple tuples[] = { in TEST_F() local
54 bi_pack_format(&result, 1, tuples, 1, header, 0, 0, true); in TEST_F()
67 struct bi_packed_tuple tuples[] = { in TEST_F() local
72 bi_pack_format(&result, 0, tuples, 2, 0x52800011800, 0, 0, false); in TEST_F()
73 bi_pack_format(&result, 2, tuples, 2, 0x52800011800, 0, 0, false); in TEST_F()
88 struct bi_packed_tuple tuples[] = { in TEST_F() local
94 bi_pack_format(&result, 0, tuples, 3, 0x3100000000, 0, 0, true); in TEST_F()
95 bi_pack_format(&result, 3, tuples, 3, 0x3100000000, 0, 0, true); in TEST_F()
96 bi_pack_format(&result, 4, tuples, 3, 0x3100000000, 0, 0, true); in TEST_F()
113 struct bi_packed_tuple tuples[] in TEST_F() local
141 struct bi_packed_tuple tuples[] = { TEST_F() local
173 struct bi_packed_tuple tuples[] = { TEST_F() local
209 struct bi_packed_tuple tuples[] = { TEST_F() local
244 struct bi_packed_tuple tuples[] = { TEST_F() local
[all...]
H A Dtest-packing.cpp41 struct bi_packed_tuple tuples[] = { in TEST() local
52 EXPECT_EQ(bi_pack_upper(U(0), tuples, 8), 3); in TEST()
53 EXPECT_EQ(bi_pack_upper(U(1), tuples, 8), 1); in TEST()
54 EXPECT_EQ(bi_pack_upper(U(2), tuples, 8), 7); in TEST()
55 EXPECT_EQ(bi_pack_upper(U(3), tuples, 8), 0); in TEST()
56 EXPECT_EQ(bi_pack_upper(U(4), tuples, 8), 2); in TEST()
57 EXPECT_EQ(bi_pack_upper(U(5), tuples, 8), 6); in TEST()
58 EXPECT_EQ(bi_pack_upper(U(6), tuples, 8), 5); in TEST()
59 EXPECT_EQ(bi_pack_upper(U(7), tuples, 8), 4); in TEST()
64 struct bi_packed_tuple tuples[] in TEST() local
77 struct bi_packed_tuple tuples[] = { TEST() local
[all...]
/third_party/mesa3d/src/panfrost/bifrost/
H A Dbi_pack.c456 struct bi_packed_tuple *tuples, in bi_clause_upper()
462 struct bi_packed_tuple tuple = tuples[val]; in bi_clause_upper()
468 struct bi_packed_tuple *tuples, in bi_pack_upper()
474 return bi_clause_upper(upper - BI_CLAUSE_SUBWORD_UPPER_0, tuples, in bi_pack_upper()
480 struct bi_packed_tuple *tuples, in bi_pack_tuple_bits()
490 struct bi_packed_tuple tuple = tuples[val]; in bi_pack_tuple_bits()
517 struct bi_packed_tuple *tuples, in bi_pack_lu()
521 bi_pack_upper(word, tuples, tuple_count) : in bi_pack_lu()
529 struct bi_packed_tuple *tuples, in bi_pack_sync()
534 (bi_pack_lu(t3, tuples, tuple_coun in bi_pack_sync()
455 bi_clause_upper(unsigned val, struct bi_packed_tuple *tuples, ASSERTED unsigned tuple_count) bi_clause_upper() argument
467 bi_pack_upper(enum bi_clause_subword upper, struct bi_packed_tuple *tuples, ASSERTED unsigned tuple_count) bi_pack_upper() argument
479 bi_pack_tuple_bits(enum bi_clause_subword idx, struct bi_packed_tuple *tuples, ASSERTED unsigned tuple_count, unsigned offset, unsigned nbits) bi_pack_tuple_bits() argument
516 bi_pack_lu(enum bi_clause_subword word, struct bi_packed_tuple *tuples, ASSERTED unsigned tuple_count) bi_pack_lu() argument
526 bi_pack_sync(enum bi_clause_subword t1, enum bi_clause_subword t2, enum bi_clause_subword t3, struct bi_packed_tuple *tuples, ASSERTED unsigned tuple_count, bool z) bi_pack_sync() argument
546 bi_pack_t_ec(enum bi_clause_subword word, struct bi_packed_tuple *tuples, ASSERTED unsigned tuple_count, uint64_t ec0) bi_pack_t_ec() argument
558 bi_pack_subwords_56(enum bi_clause_subword t, struct bi_packed_tuple *tuples, ASSERTED unsigned tuple_count, uint64_t header, uint64_t ec0, unsigned tuple_subword) bi_pack_subwords_56() argument
577 bi_pack_subword(enum bi_clause_subword t, unsigned format, struct bi_packed_tuple *tuples, ASSERTED unsigned tuple_count, uint64_t header, uint64_t ec0, unsigned m0, unsigned tuple_subword) bi_pack_subword() argument
607 bi_pack_format(struct util_dynarray *emission, unsigned index, struct bi_packed_tuple *tuples, ASSERTED unsigned tuple_count, uint64_t header, uint64_t ec0, unsigned m0, bool z) bi_pack_format() argument
[all...]
H A Dcompiler.h589 /* Architectural limit of 8 tuples/clause */
591 bi_tuple tuples[8];
1170 struct bi_packed_tuple *tuples,
1174 struct bi_packed_tuple *tuples,
1182 struct bi_packed_tuple *tuples,
1189 struct bi_packed_tuple *tuples,
1281 return bi_first_instr_in_tuple(&clause->tuples[0]); in bi_first_instr_in_clause()
1287 bi_tuple tuple = clause->tuples[clause->tuple_count - 1]; in bi_last_instr_in_clause()
1292 tuple = clause->tuples[clause->tuple_count - 2]; in bi_last_instr_in_clause()
H A Dbi_schedule.c900 /* Given two tuples in source order, count the number of register reads of the
1326 /* Rewrites an adjacent pair of tuples _prec_eding and _succ_eding to use
1670 const unsigned max_tuples = ARRAY_SIZE(clause->tuples); in bi_schedule_clause()
1703 tuple = &clause->tuples[idx]; in bi_schedule_clause()
1817 /* Before merging, rewrite away any tuples that read only zero */ in bi_schedule_clause()
1819 bi_tuple *tuple = &clause->tuples[i]; in bi_schedule_clause()
1847 bi_tuple *tuple = &clause->tuples[i]; in bi_schedule_clause()
1872 bi_instr *last = clause->tuples[max_tuples - 1].add; in bi_schedule_clause()
1878 /* We emit in reverse and emitted to the back of the tuples array, so in bi_schedule_clause()
1880 memmove(clause->tuples, in bi_schedule_clause()
[all...]
H A Dbi_print.c115 bi_print_tuple(&clause->tuples[i], fp); in bi_print_clause()
H A Dbifrost_compile.c4053 /* Non-message passing tuples are always arithmetic */ in bi_count_tuple_stats()
4145 /* Count instructions, clauses, and tuples. Also attempt to construct in bi_print_stats()
4148 * 24 arith tuples/cycle in bi_print_stats()
4163 bi_count_tuple_stats(clause, &clause->tuples[i], &stats); in bi_print_stats()
4181 "%u inst, %u tuples, %u clauses, " in bi_print_stats()
/third_party/alsa-lib/src/topology/
H A Ddata.c528 /* get the vendor tokens referred by the vendor tuples */
553 /* check if a data element has tuples */
586 /* Add a tuples object to the private buffer of its parent data element */
588 struct tplg_vendor_tuples *tuples, in copy_tuples()
604 /* scan each tuples set (one set per type) */ in copy_tuples()
605 for (i = 0; i < tuples->num_sets ; i++) { in copy_tuples()
606 tuple_set = tuples->set[i]; in copy_tuples()
673 /* build a data element from its tuples */
678 struct tplg_elem *tuples, *tokens; in build_tuples() local
689 tplg_dbg("tuples ' in build_tuples()
587 copy_tuples(struct tplg_elem *elem, struct tplg_vendor_tuples *tuples, struct tplg_vendor_tokens *tokens) copy_tuples() argument
889 tplg_save_tuple_set(struct tplg_vendor_tuples *tuples, unsigned int set_index, struct tplg_buf *dst, const char *pfx) tplg_save_tuple_set() argument
968 parse_tuple_sets(snd_config_t *cfg, struct tplg_vendor_tuples *tuples) parse_tuple_sets() argument
1019 struct tplg_vendor_tuples *tuples = elem->tuples; tplg_save_tuple_sets() local
1119 struct tplg_vendor_tuples *tuples; tplg_parse_tuples() local
1182 struct tplg_vendor_tuples *tuples = (struct tplg_vendor_tuples *)obj; tplg_free_tuples() local
1833 tplg_decode_tuples(snd_tplg_t *tplg, size_t pos, struct tplg_elem *parent, struct tplg_vendor_tuples *tuples, const void *bin, size_t size) tplg_decode_tuples() argument
1882 struct tplg_vendor_tuples *tuples = NULL; tplg_add_data() local
[all...]
H A Dtplg_local.h129 /* element for vendor tuples */
185 struct tplg_vendor_tuples *tuples; member
/third_party/libinput/src/
H A Dquirks.c92 struct quirk_tuples tuples; member
835 p->value.tuples.tuples[i].first = events[i].type; in parse_attr()
836 p->value.tuples.tuples[i].second = events[i].code; in parse_attr()
837 p->value.tuples.tuples[i].third = events[i].value; in parse_attr()
839 p->value.tuples.ntuples = nevents; in parse_attr()
854 p->value.tuples.tuples[ in parse_attr()
1735 quirks_get_tuples(struct quirks *q, enum quirk which, const struct quirk_tuples **tuples) quirks_get_tuples() argument
[all...]
H A Dquirks.h58 } tuples[32]; member
304 * Get the tuples of the given quirk.
306 * requested type. If the quirk is not set for this device, tuples is
314 const struct quirk_tuples **tuples);
319 * requested type. If the quirk is not set for this device, tuples is
H A Devdev.c2279 int type = t->tuples[i].first; in evdev_pre_configure_model_quirks()
2280 int code = t->tuples[i].second; in evdev_pre_configure_model_quirks()
2281 bool enable = t->tuples[i].third; in evdev_pre_configure_model_quirks()
2311 unsigned int p = t->tuples[idx].first; in evdev_pre_configure_model_quirks()
2312 bool enable = t->tuples[idx].second; in evdev_pre_configure_model_quirks()
/third_party/alsa-utils/topology/
H A Dpre-process-class.c242 snd_config_t *attributes, *cfg, *valid, *tuples, *n; in tplg_class_attribute_valid_tuple_value() local
270 ret = snd_config_search(cfg, "constraints.tuple_values", &tuples); in tplg_class_attribute_valid_tuple_value()
288 ret = snd_config_search(tuples, id, &tuple); in tplg_class_attribute_valid_tuple_value()
/third_party/libinput/tools/
H A Dshared.c699 unsigned int type = t->tuples[i].first; in sprintf_event_codes()
700 unsigned int code = t->tuples[i].second; in sprintf_event_codes()
701 bool enable = t->tuples[i].third; in sprintf_event_codes()
726 unsigned int prop = t->tuples[i].first; in sprintf_input_props()
727 bool enable = t->tuples[i].second; in sprintf_input_props()
/third_party/skia/third_party/externals/harfbuzz/src/
H A Dhb-ot-var-gvar-table.hh437 /* shared tuples */ in subset()
443 F2DOT14 *tuples = c->serializer->allocate_size<F2DOT14> (shared_tuple_size); in subset() local
444 if (!tuples) return_trace (false); in subset()
445 out->sharedTuples = (char *) tuples - (char *) out; in subset()
446 memcpy (tuples, this+sharedTuples, shared_tuple_size); in subset()
539 /* num_coords should exactly match gvar's axisCount due to how GlyphVariationData tuples are aligned */ in apply_deltas_to_points()
/third_party/icu/icu4c/source/test/intltest/
H A Ditrbnf.cpp937 const llong* tuples[] = { // lhs, rhs, ans
971 const int TUPLE_COUNT = UPRV_LENGTHOF(tuples)/TUPLE_WIDTH;
973 const llong lhs = *tuples[i*TUPLE_WIDTH+0];
974 const llong rhs = *tuples[i*TUPLE_WIDTH+1];
975 const llong ans = *tuples[i*TUPLE_WIDTH+2];
1016 const llong* tuples[] = {
1051 const int TUPLE_COUNT = UPRV_LENGTHOF(tuples)/TUPLE_WIDTH;
1053 const llong lhs = *tuples[i*TUPLE_WIDTH+0];
1054 const llong rhs = *tuples[i*TUPLE_WIDTH+1];
1055 const llong ans = *tuples[
[all...]
H A Dtmsgfmt.cpp1606 UnicodeString tuples[] = { in TestApostropheMode() local
1616 int32_t tuples_count = UPRV_LENGTHOF(tuples); in TestApostropheMode()
1619 UnicodeString& desired = tuples[i]; in TestApostropheMode()
1620 UnicodeString& ado_pattern = tuples[i + 1]; in TestApostropheMode()
1625 UnicodeString& adr_pattern = tuples[i + 2].isEmpty() ? ado_pattern : tuples[i + 2]; in TestApostropheMode()
/third_party/python/Lib/test/
H A Dtest_tokenize.py1519 The source code in f is tokenized to both 5- and 2-tuples.
1521 tokenize.untokenize(), and the latter tokenized again to 2-tuples.
1524 When untokenize bugs are fixed, untokenize with 5-tuples should
1542 # Reproduce tokens2 from 5-tuples
H A Dtest_glob.py17 def joins(self, *tuples):
18 return [os.path.join(self.tempdir, *parts) for parts in tuples]
H A Dtest_pathlib.py171 # Keys are canonical paths, values are list of tuples of arguments
404 for k, tuples in self.equivalences.items():
408 tuples = tuples + [
410 for t in tuples
412 tuples.append((posix, ))
414 for t in tuples:
H A D_test_multiprocessing.py2440 tuples = list(zip(range(10), range(9,-1, -1)))
2441 self.assertEqual(psmap(mul, tuples),
2442 list(itertools.starmap(mul, tuples)))
2443 tuples = list(zip(range(100), range(99,-1, -1)))
2444 self.assertEqual(psmap(mul, tuples, chunksize=20),
2445 list(itertools.starmap(mul, tuples)))
2448 tuples = list(zip(range(100), range(99,-1, -1)))
2449 self.assertEqual(self.pool.starmap_async(mul, tuples).get(),
2450 list(itertools.starmap(mul, tuples)))
H A Dtest_typing.py1639 tuples = [
1649 for t in tuples:
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
H A DTestMessageFormat.java1784 String[] tuples = new String[] { in TestApostropheMode()
1794 for (int i = 0; i < tuples.length; i += 3) { in TestApostropheMode()
1795 String desired = tuples[i]; in TestApostropheMode()
1796 String ado_pattern = tuples[i + 1]; in TestApostropheMode()
1799 String adr_pattern = tuples[i + 2]; in TestApostropheMode()
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/format/
H A DTestMessageFormat.java1787 String[] tuples = new String[] { in TestApostropheMode()
1797 for (int i = 0; i < tuples.length; i += 3) { in TestApostropheMode()
1798 String desired = tuples[i]; in TestApostropheMode()
1799 String ado_pattern = tuples[i + 1]; in TestApostropheMode()
1802 String adr_pattern = tuples[i + 2]; in TestApostropheMode()
/third_party/node/deps/v8/src/wasm/baseline/
H A Dliftoff-assembler.cc1149 base::Vector<const ParallelRegisterMoveTuple> tuples) { in ParallelRegisterMove()
1151 for (auto tuple : tuples) { in ParallelRegisterMove()
1148 ParallelRegisterMove( base::Vector<const ParallelRegisterMoveTuple> tuples) ParallelRegisterMove() argument

Completed in 62 milliseconds

12