Home
last modified time | relevance | path

Searched refs:data_span (Results 1 – 6 of 6) sorted by relevance

/external/pigweed/pw_kvs/
Dflash_partition_test.cc141 auto data_span = std::span(test_data, block_size); in TEST() local
151 StatusWithSize status = test_partition.Write(address, as_bytes(data_span)); in TEST()
175 test_partition.Read(address, data_span.size_bytes(), data_span.data()); in TEST()
177 EXPECT_EQ(data_span.size_bytes(), status.size()); in TEST()
179 EXPECT_EQ(true, test_partition.AppearsErased(as_bytes(data_span))); in TEST()
254 auto data_span = std::span(test_data); in TEST() local
257 StatusWithSize status = test_partition.Write(alignment, as_bytes(data_span)); in TEST()
259 ASSERT_EQ(data_span.size_bytes(), status.size()); in TEST()
267 alignment, data_span.size_bytes(), &is_erased)); in TEST()
/external/pigweed/pw_tokenizer/
Dtoken_database_fuzzer.cc120 std::span<uint8_t> data_span(buffer, data_size); in LLVMFuzzerTestOneInput() local
121 auto token_database = TokenDatabase::Create<std::span<uint8_t>>(data_span); in LLVMFuzzerTestOneInput()
/external/pdfium/core/fdrm/
Dfx_crypt_unittest.cpp109 pdfium::span<const uint8_t> data_span = pdfium::make_span(data); in TEST() local
114 CRYPT_MD5Update(&ctx, data_span.subspan(total, len)); in TEST()
/external/rust/crates/thiserror-impl/src/
Dexpand.rs406 let data_span = match &input.data { in spanned_error_trait() localVariable
411 let first_span = vis_span.unwrap_or(data_span); in spanned_error_trait()
/external/tensorflow/tensorflow/compiler/mlir/xla/
Dhlo_utils.cc42 auto data_span = literal.data<CppType>(); in CreateDenseAttrFromLiteral() local
44 type, llvm::makeArrayRef(data_span.data(), data_span.size())); in CreateDenseAttrFromLiteral()
/external/tensorflow/tensorflow/compiler/xla/
Dliteral.h999 auto data_span = data<NativeT>(); in PopulateR1() local
1000 std::copy(values.begin(), values.end(), data_span.begin()); in PopulateR1()