/external/libchrome/base/containers/ |
D | span_unittest.cc | 287 constexpr auto subspan = span.first<0>(); in TEST() local 288 static_assert(span.data() == subspan.data(), ""); in TEST() 289 static_assert(0u == subspan.size(), ""); in TEST() 290 static_assert(0u == decltype(subspan)::extent, ""); in TEST() 294 constexpr auto subspan = span.first<1>(); in TEST() local 295 static_assert(span.data() == subspan.data(), ""); in TEST() 296 static_assert(1u == subspan.size(), ""); in TEST() 297 static_assert(1u == decltype(subspan)::extent, ""); in TEST() 298 static_assert(1 == subspan[0], ""); in TEST() 302 constexpr auto subspan = span.first<2>(); in TEST() local [all …]
|
D | span_unittest.nc | 133 // Static subspan called on a span with static extent must not exceed the size. 137 auto subspan = span.subspan<4>(); 142 // Static subspan called on a span with static extent must not exceed the size. 146 auto subspan = span.subspan<0, 4>();
|
/external/libcxx/test/std/containers/views/span.sub/ |
D | subspan.pass.cpp | 33 LIBCPP_ASSERT((noexcept(sp.template subspan<Offset, Count>()))); in testConstexprSpan() 34 LIBCPP_ASSERT((noexcept(sp.subspan(Offset, Count)))); in testConstexprSpan() 35 auto s1 = sp.template subspan<Offset, Count>(); in testConstexprSpan() 36 auto s2 = sp.subspan(Offset, Count); in testConstexprSpan() 52 LIBCPP_ASSERT((noexcept(sp.template subspan<Offset>()))); in testConstexprSpan() 53 LIBCPP_ASSERT((noexcept(sp.subspan(Offset)))); in testConstexprSpan() 54 auto s1 = sp.template subspan<Offset>(); in testConstexprSpan() 55 auto s2 = sp.subspan(Offset); in testConstexprSpan() 72 LIBCPP_ASSERT((noexcept(sp.template subspan<Offset, Count>()))); in testRuntimeSpan() 73 LIBCPP_ASSERT((noexcept(sp.subspan(Offset, Count)))); in testRuntimeSpan() [all …]
|
/external/pdfium/core/fpdfapi/parser/ |
D | cpdf_simple_parser.cpp | 60 return data_.subspan(start_pos, dwSize); in GetWord() 66 return data_.subspan(start_pos, dwSize); in GetWord() 82 return data_.subspan(start_pos, dwSize); in GetWord() 116 return data_.subspan(start_pos, dwSize); in GetWord() 129 return data_.subspan(start_pos, dwSize); in GetWord()
|
D | cpdf_seekablemultistream.cpp | 50 memcpy(buffer, acc->GetSpan().subspan(offset, dwRead).data(), dwRead); in ReadBlockAtOffset()
|
/external/boringssl/src/ssl/ |
D | t1_enc.cc | 215 mac_secret = key_block.subspan(0, mac_secret_len); in tls1_configure_aead() 216 key = key_block.subspan(2 * mac_secret_len, key_len); in tls1_configure_aead() 217 iv = key_block.subspan(2 * mac_secret_len + 2 * key_len, iv_len); in tls1_configure_aead() 220 mac_secret = key_block.subspan(mac_secret_len, mac_secret_len); in tls1_configure_aead() 221 key = key_block.subspan(2 * mac_secret_len + key_len, key_len); in tls1_configure_aead() 222 iv = key_block.subspan(2 * mac_secret_len + 2 * key_len + iv_len, iv_len); in tls1_configure_aead()
|
D | s3_both.cc | 200 Span<const uint8_t> chunk = rest.subspan(0, ssl->max_send_fragment); in ssl3_add_message() 201 rest = rest.subspan(chunk.size()); in ssl3_add_message() 219 rest.subspan(0, ssl->max_send_fragment - pending_len); in ssl3_add_message() 221 rest = rest.subspan(chunk.size()); in ssl3_add_message() 373 CBS v2_client_hello = CBS(ssl->s3->read_buffer.span().subspan(2, msg_length)); in read_v2_client_hello()
|
D | ssl_aead_ctx.cc | 288 in = in.subspan(variable_nonce_len_); in Open() 310 *out = in.subspan(0, len); in Open()
|
/external/angle/src/compiler/translator/ |
D | span_unittest.cpp | 177 constexpr Span subspan = sp.subspan(kSplitOffset, kSplitSize); in TEST() local 179 ASSERT_EQ(subspan, Span(kSpanData + kSplitOffset, kSplitSize)); in TEST() 180 ASSERT_EQ(subspan.data(), kSpanData + kSplitOffset); in TEST() 181 ASSERT_EQ(subspan.size(), kSplitSize); in TEST()
|
/external/pdfium/core/fxge/ |
D | fx_font.cpp | 28 string_span = string_span.subspan(offset, length); in GetStringFromTable() 90 pdfium::span<const uint8_t> string_span = name_table.subspan(string_offset); in GetNameFromTT() 91 name_table = name_table.subspan(6); in GetNameFromTT() 96 i++, name_table = name_table.subspan(12)) { in GetNameFromTT()
|
/external/pdfium/core/fxcrt/ |
D | pdfium_span_unittest.cpp | 16 pdfium::span<int> empty_sub_span1 = stuff_span.subspan(0, 0); in TEST() 17 pdfium::span<int> empty_sub_span2 = stuff_span.subspan(3, 0); in TEST()
|
D | cfx_readonlymemorystream.cpp | 39 auto copy_span = m_span.subspan(offset, size); in ReadBlockAtOffset()
|
/external/libcxx/include/ |
D | span | 79 constexpr span<element_type, see below> subspan() const; 83 …constexpr span<element_type, dynamic_extent> subspan(index_type offset, index_type count = dynamic… 293 constexpr auto subspan() const noexcept 296 _LIBCPP_ASSERT(_Offset >= 0 && _Offset <= size(), "Offset out of range in span::subspan()"); 303 subspan(index_type __offset, index_type __count = dynamic_extent) const noexcept 305 …_LIBCPP_ASSERT( __offset >= 0 && __offset <= size(), "Offset out of range in span::subspan(offset,… 306 …nt <= size()) || __count == dynamic_extent, "Count out of range in span::subspan(offset, count)"); 309 …_LIBCPP_ASSERT(__offset + __count <= size(), "count + offset out of range in span::subspan(offset,… 459 constexpr span<_Tp, dynamic_extent> subspan() const noexcept 461 _LIBCPP_ASSERT(_Offset >= 0 && _Offset <= size(), "Offset out of range in span::subspan()"); [all …]
|
/external/pdfium/xfa/fxfa/fm2js/ |
D | cxfa_fmlexer.cpp | 317 WideStringView(m_spInput.subspan(m_nCursor, end - m_nCursor)); in AdvanceForNumber() 336 WideStringView(m_spInput.subspan(start, m_nCursor - start)); in AdvanceForString() 346 WideStringView(m_spInput.subspan(start, m_nCursor - start)); in AdvanceForString() 373 WideStringView(m_spInput.subspan(start, m_nCursor - start)); in AdvanceForIdentifier()
|
/external/skia/tests/ |
D | SkScalerCacheTest.cpp | 49 auto data = SkMakeZip(glyphs, pos).subspan(SkTo<int>(' '), glyphCount); in DEF_TEST() 67 auto local = data.subspan(threadIndex * 2, data.size() - kThreadCount * 2); in DEF_TEST()
|
/external/boringssl/src/crypto/rand_extra/ |
D | rand_test.cc | 89 out = out.subspan(static_cast<size_t>(ret)); in ForkAndRand() 110 out = out.subspan(static_cast<size_t>(ret)); in ForkAndRand()
|
/external/pdfium/core/fxge/win32/ |
D | cpsoutput.cpp | 35 input = input.subspan(send_len); in WriteBlock()
|
/external/libchrome/mojo/public/cpp/bindings/ |
D | array_traits_span.h | 40 input = input.subspan(0, size);
|
/external/tensorflow/tensorflow/compiler/xla/service/ |
D | cholesky_expander.cc | 65 .subspan( in CholeskyUnblocked() 70 .subspan( in CholeskyUnblocked()
|
/external/pdfium/core/fxcrt/xml/ |
D | cfx_xmlparser.cpp | 342 pdfium::make_span(buffer).subspan(current_buffer_idx); in DoSyntaxParse() 358 pdfium::make_span(buffer).subspan(current_buffer_idx); in DoSyntaxParse() 421 pdfium::make_span(buffer).subspan(current_buffer_idx); in DoSyntaxParse()
|
/external/pdfium/core/fpdfapi/page/ |
D | cpdf_streamparser.cpp | 175 auto copy_span = m_pBuf.subspan(m_Pos, dwOrigSize); in ReadInlineStream() 180 dwStreamSize = DecodeInlineStream(m_pBuf.subspan(m_Pos), width, height, in ReadInlineStream() 205 auto copy_span = m_pBuf.subspan(m_Pos, dwStreamSize); in ReadInlineStream()
|
/external/tensorflow/tensorflow/compiler/xla/service/gpu/ |
D | variadic_op_splitter.cc | 69 new_shape, operands_span.subspan(offset, kMaxParameters))); in SplitConcatenate()
|
/external/tensorflow/tensorflow/core/kernels/ |
D | set_kernels.cc | 272 VarDimArray group_ix = set_st.order().subspan(0, set_st.order().size() - 1); in Compute() 504 set2_st.group(set2_st.order().subspan(0, set2_st.order().size() - 1)); in ComputeDenseToSparse() 625 set1_st.group(set1_st.order().subspan(0, set1_st.order().size() - 1)); in ComputeSparseToSparse() 628 set2_st.group(set2_st.order().subspan(0, set2_st.order().size() - 1)); in ComputeSparseToSparse()
|
/external/tensorflow/tensorflow/compiler/jit/ |
D | build_xla_ops_pass.cc | 248 absl::c_transform(input_edges.subspan(0, num_constant_inputs), in GetXlaClusterInfo() 253 input_edges.subspan(num_constant_inputs, num_non_constant_inputs), in GetXlaClusterInfo() 257 input_edges.subspan(num_constant_inputs + num_non_constant_inputs, in GetXlaClusterInfo()
|
/external/pdfium/xfa/fxfa/ |
D | cxfa_textparser.cpp | 575 wsAlign = WideStringView(spTabStops.subspan(iLast, iCur - iLast)); in GetTabstops() 612 WideStringView(spTabStops.subspan(iLast, iCur - iLast))); in GetTabstops() 628 WideStringView(spTabStops.subspan(iLast, iCur - iLast))); in GetTabstops()
|