Home
last modified time | relevance | path

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

12

/external/boringssl/src/ssl/
Dspan_test.cc62 TEST(SpanTest, MakeSpan) { in TEST() argument
64 TestCtor(MakeSpan(v), v.data(), v.size()); in TEST()
65 TestCtor(MakeSpan(v.data(), v.size()), v.data(), v.size()); in TEST()
66 TestConstCtor(MakeSpan(v.data(), v.size()), v.data(), v.size()); in TEST()
67 TestConstCtor(MakeSpan(v), v.data(), v.size()); in TEST()
Dt1_enc.cc257 auto out_span = MakeSpan(out, SSL3_MASTER_SECRET_SIZE); in tls1_generate_master_secret()
297 auto out_span = MakeSpan(out, out_len); in SSL_generate_key_block()
327 ssl, MakeSpan(out, out_len), in SSL_export_keying_material()
358 digest, MakeSpan(out, out_len), in SSL_export_keying_material()
381 ssl, MakeSpan(out, out_len), in SSL_export_early_keying_material()
Dssl_test.cc3652 ASSERT_TRUE(bssl::SealRecord(client.get(), bssl::MakeSpan(prefix), in TEST()
3653 bssl::MakeSpan(body), bssl::MakeSpan(suffix), in TEST()
3666 bssl::MakeSpan(sealed)), in TEST()
3695 ASSERT_TRUE(bssl::SealRecord(client.get(), bssl::MakeSpan(prefix), in TEST()
3696 bssl::MakeSpan(record), bssl::MakeSpan(suffix), in TEST()
3705 bssl::MakeSpan(record)), in TEST()
3733 ASSERT_TRUE(bssl::SealRecord(client.get(), bssl::MakeSpan(prefix), in TEST()
3734 bssl::MakeSpan(record), bssl::MakeSpan(suffix), in TEST()
3744 bssl::MakeSpan(record)), in TEST()
3780 client.get(), bssl::MakeSpan(prefix.data(), prefix.size() - 1), in TEST()
[all …]
Dssl_transcript.cc254 if (!tls1_prf(Digest(), MakeSpan(out, kFinishedLen), in GetFinishedMAC()
Dtls_record.cc292 MakeSpan(const_cast<uint8_t *>(CBS_data(&body)), CBS_len(&body)))) { in tls_open_record()
412 Span<const uint8_t> header = MakeSpan(out_prefix, SSL3_RT_HEADER_LENGTH); in do_seal_record()
Ddtls_record.cc239 MakeSpan(const_cast<uint8_t *>(CBS_data(&body)), CBS_len(&body)))) { in dtls_open_record()
/external/tensorflow/tensorflow/core/kernels/
Drange_sampler_test.cc48 sampler_->SampleBatch(&rnd, false, absl::MakeSpan(a)); in CheckHistogram()
254 false, absl::MakeSpan(batch), in TEST_F()
255 absl::MakeSpan(batch_expected), extras, in TEST_F()
256 absl::MakeSpan(extras_expected)); in TEST_F()
285 sampler_->SampleBatchGetExpectedCount(&rnd, true, absl::MakeSpan(batch), in TEST_F()
287 absl::MakeSpan(expected)); in TEST_F()
295 &rnd, true, absl::MakeSpan(batch), MutableArraySlice<float>(), in TEST_F()
296 all_values, absl::MakeSpan(trial_expected)); in TEST_F()
323 &rnd, true, absl::MakeSpan(batch), MutableArraySlice<float>(), in TEST_F()
/external/tensorflow/tensorflow/compiler/xla/
Dindex_util_test.cc144 EXPECT_TRUE(IndexUtil::BumpIndices(shape, absl::MakeSpan(indices))); in TEST()
146 EXPECT_TRUE(IndexUtil::BumpIndices(shape, absl::MakeSpan(indices))); in TEST()
148 EXPECT_TRUE(IndexUtil::BumpIndices(shape, absl::MakeSpan(indices))); in TEST()
150 EXPECT_FALSE(IndexUtil::BumpIndices(shape, absl::MakeSpan(indices))); in TEST()
Dsparse_index_array_test.cc36 a.SortWithValues<double>(absl::MakeSpan(values)); in TEST()
Dsparse_index_array.h99 absl::Span<int64> mutable_data() { return absl::MakeSpan(indices_); } in mutable_data()
Dliteral_comparison.cc431 UpdateErrorBucket(rel_error, absl::MakeSpan(rel_error_buckets_)); in CompareValues()
435 UpdateErrorBucket(abs_error, absl::MakeSpan(abs_error_buckets_)); in CompareValues()
678 auto index = absl::MakeSpan(multi_index); in EqualHelper()
Dparse_flags_from_env.cc203 auto unknown_flags = absl::MakeSpan(env_argv->argv); in ParseFlagsFromEnvAndDieIfUnknown()
Dshape.h108 absl::Span<int64> mutable_dimensions() { return absl::MakeSpan(dimensions_); } in mutable_dimensions()
/external/boringssl/src/include/openssl/
Dspan.h174 Span<T> MakeSpan(T *ptr, size_t size) { in MakeSpan() function
179 auto MakeSpan(C &c) -> decltype(MakeSpan(c.data(), c.size())) {
180 return MakeSpan(c.data(), c.size());
/external/tensorflow/tensorflow/compiler/xla/service/
Ddynamic_index_splitter.cc86 dynamic_op->mutable_operand(1), absl::MakeSpan(index_array)) in Run()
89 absl::MakeSpan(index_array), in Run()
Dcompile_only_service.cc97 absl::MakeSpan(hlo_modules)), in CompileAheadOfTime()
Dhlo_module_group.cc85 return HloModuleGroup(proto.name(), absl::MakeSpan(modules)); in CreateFromProto()
Dhlo_module_group_test.cc93 HloModuleGroup group(TestName(), absl::MakeSpan(modules)); in TEST_F()
Dhlo_instructions.h470 return absl::MakeSpan(operands()).subspan(0, input_count()); in inputs()
475 return absl::MakeSpan(operands()).subspan(input_count(), operand_count()); in init_values()
1291 return absl::MakeSpan(operands()).subspan(first_index_operand_number()); in index_operands()
/external/tensorflow/tensorflow/core/kernels/lookup_tables/
Dgeneric_table_op_kernels.cc124 auto key_span = absl::MakeSpan(keys_flat); in TensorLookupHelper()
125 auto value_span = absl::MakeSpan(values->flat<ValueType>().data(), in TensorLookupHelper()
148 auto value_span = absl::MakeSpan(values->flat<ValueType>().data(), in TensorLookupHelper()
/external/tensorflow/tensorflow/compiler/xla/service/gpu/
Dconvolution_thunk.cc60 absl::MakeSpan(operand_se_buffers), in ExecuteOnStream()
Dcudnn_conv_algorithm_picker.cc246 RunCudnnConv(instr, absl::MakeSpan(operand_buffers), result_buffer, in PickBestAlgorithm()
/external/tensorflow/tensorflow/compiler/jit/
Dxla_launch_util.cc153 TF_RETURN_IF_ERROR(LockVariables(absl::MakeSpan(variable_infos))); in SnapshotResourceVariables()
408 TF_RETURN_IF_ERROR(LockVariables(absl::MakeSpan(variable_infos))); in PopulateOutputs()
/external/tensorflow/tensorflow/compiler/xla/service/cpu/
Dcpu_executable.cc310 CreateResultShapedBuffer(run_options, absl::MakeSpan(owning_buffers))); in ExecuteAsyncOnStreamImpl()
/external/tensorflow/tensorflow/compiler/tf2xla/kernels/
Dcase_op.cc236 xla::Conditional(ctx->Input(0), absl::MakeSpan(result_computations), in Compile()

12