Home
last modified time | relevance | path

Searched refs:protected_buf (Results 1 – 2 of 2) sorted by relevance

/external/angle/third_party/abseil-cpp/absl/flags/internal/
Dsequence_lock_test.cc48 absl::FixedArray<std::atomic<uint64_t>> protected_buf(buf_words); in TEST_P() local
49 for (auto& v : protected_buf) v = -1; in TEST_P()
66 if (seq_lock.TryRead(local_buf.data(), protected_buf.data(), in TEST_P()
95 seq_lock.Write(protected_buf.data(), writer_buf.data(), buf_bytes_); in TEST_P()
152 absl::FixedArray<std::atomic<uint64_t>> protected_buf( in TEST_P() local
159 seq_lock.Write(protected_buf.data(), src_buf.data(), size); in TEST_P()
162 ASSERT_TRUE(seq_lock.TryRead(dst_buf.data(), protected_buf.data(), size)); in TEST_P()
/external/grpc-grpc/test/core/tsi/alts/zero_copy_frame_protector/
Dalts_iovec_record_protocol_test.cc51 uint8_t* protected_buf; member
178 var->protected_buf = static_cast<uint8_t*>(gpr_malloc(protected_buf_length)); in alts_iovec_record_protocol_test_var_create()
179 var->protected_iovec.iov_base = var->protected_buf; in alts_iovec_record_protocol_test_var_create()
197 gpr_free(var->protected_buf); in alts_iovec_record_protocol_test_var_destroy()
434 iovec_t header_iovec = {var->protected_buf, var->header_length}; in privacy_integrity_random_seal_unseal()
437 randomly_slice(var->protected_buf + var->header_length, in privacy_integrity_random_seal_unseal()
455 auto* protected_buf = in privacy_integrity_empty_seal_unseal() local
458 iovec_t protected_iovec = {protected_buf, empty_payload_frame_size}; in privacy_integrity_empty_seal_unseal()
460 iovec_t data_iovec = {protected_buf + var->header_length, var->tag_length}; in privacy_integrity_empty_seal_unseal()
466 iovec_t header_iovec = {protected_buf, var->header_length}; in privacy_integrity_empty_seal_unseal()
[all …]