Home
last modified time | relevance | path

Searched refs:ABSL_ARRAYSIZE (Results 1 – 25 of 29) sorted by relevance

12

/third_party/skia/third_party/externals/abseil-cpp/absl/base/
Dbit_cast_test.cc65 TestMarshall<bool>(bool_list, ABSL_ARRAYSIZE(bool_list)); in TEST()
71 TestMarshall<int32_t>(int_list, ABSL_ARRAYSIZE(int_list)); in TEST()
77 TestMarshall<int64_t>(int64_list, ABSL_ARRAYSIZE(int64_list)); in TEST()
83 TestMarshall<uint64_t>(uint64_list, ABSL_ARRAYSIZE(uint64_list)); in TEST()
91 TestMarshall<float>(float_list, ABSL_ARRAYSIZE(float_list)); in TEST()
92 TestIntegral<float, int>(float_list, ABSL_ARRAYSIZE(float_list)); in TEST()
93 TestIntegral<float, unsigned>(float_list, ABSL_ARRAYSIZE(float_list)); in TEST()
102 TestMarshall<double>(double_list, ABSL_ARRAYSIZE(double_list)); in TEST()
103 TestIntegral<double, int64_t>(double_list, ABSL_ARRAYSIZE(double_list)); in TEST()
104 TestIntegral<double, uint64_t>(double_list, ABSL_ARRAYSIZE(double_list)); in TEST()
Dmacros.h44 #define ABSL_ARRAYSIZE(array) \ macro
Dcall_once.h176 base_internal::SpinLockWait(control, ABSL_ARRAYSIZE(trans), trans, in CallOnceImpl()
/third_party/skia/third_party/externals/abseil-cpp/absl/random/internal/
Dexplicit_seed_seq_test.cc41 Sseq seq(init_array, &init_array[ABSL_ARRAYSIZE(init_array)]); in ConformsToInterface()
42 EXPECT_EQ(seq.size(), ABSL_ARRAYSIZE(init_array)); in ConformsToInterface()
44 uint32_t state_array[ABSL_ARRAYSIZE(init_array)]; in ConformsToInterface()
47 for (int i = 0; i < ABSL_ARRAYSIZE(state_array); i++) { in ConformsToInterface()
56 seq.generate(seeds, &seeds[ABSL_ARRAYSIZE(seeds)]); in ConformsToInterface()
Dgaussian_distribution_gentables.cc83 static_assert((ABSL_ARRAYSIZE(tables_.x) == kC + 1), in TableGenerator()
86 static_assert((ABSL_ARRAYSIZE(tables_.x) == ABSL_ARRAYSIZE(tables_.f)), in TableGenerator()
Dsalted_seed_seq_test.cc48 EXPECT_EQ(seq.size(), ABSL_ARRAYSIZE(init_array)); in ConformsToInterface()
53 EXPECT_EQ(state_vector.size(), ABSL_ARRAYSIZE(init_array)); in ConformsToInterface()
Dchi_square_test.cc298 for (int i = 0; i < ABSL_ARRAYSIZE(data); i++) { in TEST()
/third_party/skia/third_party/externals/abseil-cpp/absl/container/
Dfixed_array_test.cc359 absl::FixedArray<int, ABSL_ARRAYSIZE(kInput) - 1> const fixed( in TEST()
360 kInput, kInput + ABSL_ARRAYSIZE(kInput)); in TEST()
361 ASSERT_EQ(ABSL_ARRAYSIZE(kInput), fixed.size()); in TEST()
362 for (size_t i = 0; i < ABSL_ARRAYSIZE(kInput); ++i) { in TEST()
369 absl::FixedArray<int, ABSL_ARRAYSIZE(kInput)> const fixed( in TEST()
370 kInput, kInput + ABSL_ARRAYSIZE(kInput)); in TEST()
371 ASSERT_EQ(ABSL_ARRAYSIZE(kInput), fixed.size()); in TEST()
372 for (size_t i = 0; i < ABSL_ARRAYSIZE(kInput); ++i) { in TEST()
381 kInput + ABSL_ARRAYSIZE(kInput)); in TEST()
382 ASSERT_EQ(ABSL_ARRAYSIZE(kInput), fixed.size()); in TEST()
[all …]
Dinlined_vector_test.cc1573 { AllocVec ABSL_ATTRIBUTE_UNUSED v(ia, ia + ABSL_ARRAYSIZE(ia), alloc); } in TEST()
1593 AllocVec ABSL_ATTRIBUTE_UNUSED v(ia, ia + ABSL_ARRAYSIZE(ia), alloc); in TEST()
1652 AllocVec v1(ia1, ia1 + ABSL_ARRAYSIZE(ia1), a1); in TEST()
1653 AllocVec v2(ia2, ia2 + ABSL_ARRAYSIZE(ia2), a2); in TEST()
1677 AllocVec v1(ia1, ia1 + ABSL_ARRAYSIZE(ia1), a1); in TEST()
1678 AllocVec v2(ia2, ia2 + ABSL_ARRAYSIZE(ia2), a2); in TEST()
/third_party/skia/third_party/externals/abseil-cpp/absl/strings/
Dsubstitute.h248 ABSL_ARRAYSIZE(args)); in SubstituteAndAppend()
256 ABSL_ARRAYSIZE(args)); in SubstituteAndAppend()
265 ABSL_ARRAYSIZE(args)); in SubstituteAndAppend()
276 ABSL_ARRAYSIZE(args)); in SubstituteAndAppend()
288 ABSL_ARRAYSIZE(args)); in SubstituteAndAppend()
301 ABSL_ARRAYSIZE(args)); in SubstituteAndAppend()
316 ABSL_ARRAYSIZE(args)); in SubstituteAndAppend()
329 ABSL_ARRAYSIZE(args)); in SubstituteAndAppend()
343 ABSL_ARRAYSIZE(args)); in SubstituteAndAppend()
357 ABSL_ARRAYSIZE(args)); in SubstituteAndAppend()
Dstr_join_test.cc94 EXPECT_EQ("1-2-3--4", absl::StrJoin(a, a + ABSL_ARRAYSIZE(a), "-")); in TEST()
Dascii_test.cc356 const int NUM_TESTS = ABSL_ARRAYSIZE(inputs); in TEST()
Dstring_view_benchmark.cc296 std::uniform_int_distribution<int> uniform(0, ABSL_ARRAYSIZE(words) - 1); in StringViewMapBenchmark()
Dcord_test.cc992 c.Append(a[GetUniformRandomUpTo(&rng, ABSL_ARRAYSIZE(a))]); in TEST_P()
993 d.Append(a[GetUniformRandomUpTo(&rng, ABSL_ARRAYSIZE(a))]); in TEST_P()
/third_party/skia/third_party/externals/abseil-cpp/absl/debugging/internal/
Dexamine_stack.cc56 if (14 < ABSL_ARRAYSIZE(context->uc_mcontext.gregs)) in GetProgramCounter()
81 if (16 < ABSL_ARRAYSIZE(context->uc_mcontext.gregs)) in GetProgramCounter()
/third_party/skia/third_party/externals/abseil-cpp/absl/synchronization/internal/
Dgraphcycles_test.cc286 ABSL_ARRAYSIZE(path), path); in TEST()
390 int np = g_.FindPath(Get(id_, x), Get(id_, y), ABSL_ARRAYSIZE(path), path); in Path()
393 if (i >= ABSL_ARRAYSIZE(path)) { in Path()
Dgraphcycles.cc679 n->nstack = (*get_stack_trace)(n->stack, ABSL_ARRAYSIZE(n->stack)); in UpdateStackTrace()
/third_party/skia/third_party/externals/abseil-cpp/absl/random/
Dbenchmarks.cc78 if (idx >= ABSL_ARRAYSIZE(kSeedData)) { in generate()
84 size_t size() const { return ABSL_ARRAYSIZE(kSeedData); } in size()
/third_party/skia/third_party/externals/abseil-cpp/absl/strings/internal/
Dchar_map.h56 for (size_t i = 0; i < ABSL_ARRAYSIZE(m_); ++i) { in IntersectsWith()
/third_party/skia/third_party/externals/abseil-cpp/absl/strings/internal/str_format/
Dparser_test.cc49 EXPECT_EQ(ABSL_ARRAYSIZE(kExpect), 10); in TEST()
266 static const int kNumFlags = ABSL_ARRAYSIZE(kAllFlags) - 1; in TEST_F()
Dbind.h150 if (args.size() <= ABSL_ARRAYSIZE(few_args_)) { in Streamable()
/third_party/skia/third_party/externals/abseil-cpp/absl/flags/
Dmarshalling.cc52 for (size_t i = 0; i < ABSL_ARRAYSIZE(kTrue); ++i) { in AbslParseFlag()
Dflag_test.cc618 kValidDurations[i++ % ABSL_ARRAYSIZE(kValidDurations)]); in TEST_F()
/third_party/skia/third_party/externals/abseil-cpp/absl/synchronization/
Dmutex.cc427 int n = absl::GetStackTrace(pcs, ABSL_ARRAYSIZE(pcs), 1); in PostSynchEvent()
430 char buffer[ABSL_ARRAYSIZE(pcs) * 24]; in PostSynchEvent()
1188 if (n == ABSL_ARRAYSIZE(held_locks->locks)) { in LockEnter()
1293 return StackString(pcs, absl::GetStackTrace(pcs, ABSL_ARRAYSIZE(pcs), 2), buf, in CurrentStackString()
1383 mu_id, other_node_id, ABSL_ARRAYSIZE(b->path), b->path); in DeadlockCheck()
/third_party/skia/third_party/externals/abseil-cpp/absl/debugging/
Dsymbolize_elf.inc387 for (size_t j = 0; j < ABSL_ARRAYSIZE(symbol_cache_line.name); ++j) {
1192 for (size_t i = 0; i < ABSL_ARRAYSIZE(line->pc); ++i) {
1209 for (size_t i = 0; i < ABSL_ARRAYSIZE(line->pc); ++i) {

12