Home
last modified time | relevance | path

Searched refs:MakeSpan (Results 1 – 25 of 35) sorted by relevance

12

/third_party/abseil-cpp/absl/types/
Dspan_test.cc288 EXPECT_EQ(absl::MakeSpan(empty).subspan(), empty); in TEST()
289 EXPECT_THAT(absl::MakeSpan(empty).subspan(0, 0), SpanIs(empty)); in TEST()
290 EXPECT_THAT(absl::MakeSpan(empty).subspan(0, absl::Span<const int>::npos), in TEST()
294 EXPECT_THAT(absl::MakeSpan(ramp).subspan(), SpanIs(ramp)); in TEST()
295 EXPECT_THAT(absl::MakeSpan(ramp).subspan(0, 10), SpanIs(ramp)); in TEST()
296 EXPECT_THAT(absl::MakeSpan(ramp).subspan(0, absl::Span<const int>::npos), in TEST()
298 EXPECT_THAT(absl::MakeSpan(ramp).subspan(0, 3), SpanIs(ramp.data(), 3)); in TEST()
299 EXPECT_THAT(absl::MakeSpan(ramp).subspan(5, absl::Span<const int>::npos), in TEST()
301 EXPECT_THAT(absl::MakeSpan(ramp).subspan(3, 3), SpanIs(ramp.data() + 3, 3)); in TEST()
302 EXPECT_THAT(absl::MakeSpan(ramp).subspan(10, 5), SpanIs(ramp.data() + 10, 0)); in TEST()
[all …]
Dspan.h661 constexpr Span<T> MakeSpan(T* ptr, size_t size) noexcept { in MakeSpan() function
666 Span<T> MakeSpan(T* begin, T* end) noexcept { in MakeSpan() function
671 constexpr auto MakeSpan(C& c) noexcept // NOLINT(runtime/references)
672 -> decltype(absl::MakeSpan(span_internal::GetData(c), c.size())) {
673 return MakeSpan(span_internal::GetData(c), c.size());
677 constexpr Span<T> MakeSpan(T (&array)[N]) noexcept { in MakeSpan() function
716 constexpr auto MakeConstSpan(const C& c) noexcept -> decltype(MakeSpan(c)) {
717 return MakeSpan(c);
/third_party/skia/third_party/externals/abseil-cpp/absl/types/
Dspan_test.cc288 EXPECT_EQ(absl::MakeSpan(empty).subspan(), empty); in TEST()
289 EXPECT_THAT(absl::MakeSpan(empty).subspan(0, 0), SpanIs(empty)); in TEST()
290 EXPECT_THAT(absl::MakeSpan(empty).subspan(0, absl::Span<const int>::npos), in TEST()
294 EXPECT_THAT(absl::MakeSpan(ramp).subspan(), SpanIs(ramp)); in TEST()
295 EXPECT_THAT(absl::MakeSpan(ramp).subspan(0, 10), SpanIs(ramp)); in TEST()
296 EXPECT_THAT(absl::MakeSpan(ramp).subspan(0, absl::Span<const int>::npos), in TEST()
298 EXPECT_THAT(absl::MakeSpan(ramp).subspan(0, 3), SpanIs(ramp.data(), 3)); in TEST()
299 EXPECT_THAT(absl::MakeSpan(ramp).subspan(5, absl::Span<const int>::npos), in TEST()
301 EXPECT_THAT(absl::MakeSpan(ramp).subspan(3, 3), SpanIs(ramp.data() + 3, 3)); in TEST()
302 EXPECT_THAT(absl::MakeSpan(ramp).subspan(10, 5), SpanIs(ramp.data() + 10, 0)); in TEST()
[all …]
Dspan.h661 constexpr Span<T> MakeSpan(T* ptr, size_t size) noexcept { in MakeSpan() function
666 Span<T> MakeSpan(T* begin, T* end) noexcept { in MakeSpan() function
671 constexpr auto MakeSpan(C& c) noexcept // NOLINT(runtime/references)
672 -> decltype(absl::MakeSpan(span_internal::GetData(c), c.size())) {
673 return MakeSpan(span_internal::GetData(c), c.size());
677 constexpr Span<T> MakeSpan(T (&array)[N]) noexcept { in MakeSpan() function
716 constexpr auto MakeConstSpan(const C& c) noexcept -> decltype(MakeSpan(c)) {
717 return MakeSpan(c);
/third_party/abseil-cpp/absl/random/internal/
Dnonsecure_base.h113 auto buffer = absl::MakeSpan(begin, end); in generate_impl()
114 auto target = absl::MakeSpan(reinterpret_cast<uint32_t*>(buffer.data()), in generate_impl()
126 RandenPool<uint32_t>::Fill(absl::MakeSpan(data.begin(), data.end())); in generate_impl()
Dsalted_seed_seq.h93 generate_contiguous(absl::MakeSpan(begin, end)); in generate_impl()
120 generate_contiguous(absl::MakeSpan(data.data(), data.size())); in generate_and_copy()
Dpool_urbg.cc216 absl::MakeSpan(seed_material))) { in InitPoolURBG()
222 absl::MakeSpan(&seed_material[i * kSeedSize], kSeedSize)); in InitPoolURBG()
Dseed_material.cc207 MakeSpan(&salt_value, 1))) { in GetSaltMaterial()
Dpool_urbg_test.cc115 MyFill(x, absl::MakeSpan(a)); in TYPED_TEST()
/third_party/skia/third_party/externals/abseil-cpp/absl/random/internal/
Dnonsecure_base.h113 auto buffer = absl::MakeSpan(begin, end); in generate_impl()
114 auto target = absl::MakeSpan(reinterpret_cast<uint32_t*>(buffer.data()), in generate_impl()
126 RandenPool<uint32_t>::Fill(absl::MakeSpan(data.begin(), data.end())); in generate_impl()
Dsalted_seed_seq.h93 generate_contiguous(absl::MakeSpan(begin, end)); in generate_impl()
120 generate_contiguous(absl::MakeSpan(data.data(), data.size())); in generate_and_copy()
Dpool_urbg.cc215 absl::MakeSpan(seed_material))) { in InitPoolURBG()
221 absl::MakeSpan(&seed_material[i * kSeedSize], kSeedSize)); in InitPoolURBG()
Dpool_urbg_test.cc115 MyFill(x, absl::MakeSpan(a)); in TYPED_TEST()
Dseed_material.cc255 MakeSpan(&salt_value, 1))) { in GetSaltMaterial()
/third_party/skia/third_party/externals/abseil-cpp/absl/strings/internal/str_format/
Dconvert_test.cc223 EXPECT_EQ(e.out, FormatPack(format, absl::MakeSpan(args))); in TestStringConvert()
349 EXPECT_EQ("3", FormatPack(format, absl::MakeSpan(args))); in TEST_F()
350 EXPECT_EQ("-3", FormatPack(format2, absl::MakeSpan(args))); in TEST_F()
449 EXPECT_EQ(old_result, FormatPack(format, absl::MakeSpan(args))); in TYPED_TEST_P()
472 EXPECT_EQ(StrPrint("%c", c), FormatPack(format, absl::MakeSpan(args))); in TYPED_TEST_P()
530 EXPECT_EQ(c.expected, FormatPack(format, absl::MakeSpan(args))); in TEST_F()
555 EXPECT_EQ(c.expected, FormatPack(format, absl::MakeSpan(args))); in TEST_F()
606 AppendPack(&str_format_result, format, absl::MakeSpan(args)); in TestWithMultipleFormatsHelper()
757 AppendPack(&s, UntypedFormatSpecImpl(fmt), absl::MakeSpan(args)); in TEST_F()
863 AppendPack(&s, UntypedFormatSpecImpl(fmt), absl::MakeSpan(args)); in TEST_F()
[all …]
Dbind_test.cc149 str_format_internal::Summarize(format, absl::MakeSpan(args))) in TEST_F()
Dbind.h154 args_ = absl::MakeSpan(few_args_, args.size()); in Streamable()
/third_party/abseil-cpp/absl/strings/internal/str_format/
Dconvert_test.cc209 EXPECT_EQ(e.out, FormatPack(format, absl::MakeSpan(args))); in TestStringConvert()
332 EXPECT_EQ("3", FormatPack(format, absl::MakeSpan(args))); in TEST_F()
333 EXPECT_EQ("-3", FormatPack(format2, absl::MakeSpan(args))); in TEST_F()
432 EXPECT_EQ(old_result, FormatPack(format, absl::MakeSpan(args))); in TYPED_TEST_P()
455 EXPECT_EQ(StrPrint("%c", c), FormatPack(format, absl::MakeSpan(args))); in TYPED_TEST_P()
513 EXPECT_EQ(c.expected, FormatPack(format, absl::MakeSpan(args))); in TEST_F()
538 EXPECT_EQ(c.expected, FormatPack(format, absl::MakeSpan(args))); in TEST_F()
588 AppendPack(&str_format_result, format, absl::MakeSpan(args)); in TestWithMultipleFormatsHelper()
745 AppendPack(&s, UntypedFormatSpecImpl(fmt), absl::MakeSpan(args)); in TEST_F()
851 AppendPack(&s, UntypedFormatSpecImpl(fmt), absl::MakeSpan(args)); in TEST_F()
[all …]
Dbind_test.cc135 str_format_internal::Summarize(format, absl::MakeSpan(args))) in TEST_F()
/third_party/skia/third_party/externals/abseil-cpp/absl/strings/
Dcord_ring_test.cc928 auto flats = MakeSpan(kFoxFlats); in TEST_P()
977 auto flats = MakeSpan(kFoxFlats); in TEST_P()
1009 auto flats = MakeSpan(kFoxFlats); in TEST_P()
1028 auto flats = MakeSpan(kFoxFlats).subspan(1); in TEST_P()
1041 auto flats = MakeSpan(kFoxFlats); in TEST_P()
1056 auto flats = MakeSpan(kFoxFlats); in TEST_P()
1071 auto flats = MakeSpan(kFoxFlats); in TEST_P()
1086 auto flats = MakeSpan(kFoxFlats); in TEST_P()
1101 auto flats = MakeSpan(kFoxFlats); in TEST_P()
1116 auto flats = MakeSpan(kFoxFlats); in TEST_P()
[all …]
/third_party/skia/third_party/externals/abseil-cpp/absl/random/
Dseed_sequences.cc24 random_internal::RandenPool<uint32_t>::Fill(absl::MakeSpan(seed_material)); in MakeSeedSeq()
Dseed_sequences.h84 urbg, absl::MakeSpan(seed_material))) { in CreateSeedSeqFrom()
/third_party/abseil-cpp/absl/random/
Dseed_sequences.cc24 random_internal::RandenPool<uint32_t>::Fill(absl::MakeSpan(seed_material)); in MakeSeedSeq()
Dseed_sequences.h84 urbg, absl::MakeSpan(seed_material))) { in CreateSeedSeqFrom()
/third_party/skia/third_party/externals/abseil-cpp/
Dabsl_hardening_test.cc70 EXPECT_DEATH_IF_SUPPORTED(absl::MakeSpan(&v1[2], &v[0]), ""); in TEST()

12