Home
last modified time | relevance | path

Searched refs:GRPC_STATUS_OK (Results 1 – 25 of 88) sorted by relevance

1234

/third_party/grpc/src/core/tsi/alts/zero_copy_frame_protector/
Dalts_iovec_record_protocol.cc96 return GRPC_STATUS_OK; in ensure_header_and_tag_length()
108 if (status != GRPC_STATUS_OK) { in increment_counter()
115 return GRPC_STATUS_OK; in increment_counter()
139 return GRPC_STATUS_OK; in write_frame_header()
160 return GRPC_STATUS_OK; in verify_frame_header()
211 if (status != GRPC_STATUS_OK) { in alts_iovec_record_protocol_integrity_only_protect()
221 if (status != GRPC_STATUS_OK) { in alts_iovec_record_protocol_integrity_only_protect()
231 if (status != GRPC_STATUS_OK) { in alts_iovec_record_protocol_integrity_only_protect()
266 if (status != GRPC_STATUS_OK) return status; in alts_iovec_record_protocol_integrity_only_unprotect()
273 if (status != GRPC_STATUS_OK) { in alts_iovec_record_protocol_integrity_only_unprotect()
[all …]
Dalts_grpc_integrity_only_record_protocol.cc68 if (status != GRPC_STATUS_OK) { in alts_grpc_integrity_only_extra_copy_protect()
108 if (status != GRPC_STATUS_OK) { in alts_grpc_integrity_only_protect()
171 if (status != GRPC_STATUS_OK) { in alts_grpc_integrity_only_unprotect()
Dalts_grpc_privacy_integrity_record_protocol.cc61 if (status != GRPC_STATUS_OK) { in alts_grpc_privacy_integrity_protect()
106 if (status != GRPC_STATUS_OK) { in alts_grpc_privacy_integrity_unprotect()
/third_party/grpc/src/core/tsi/alts/frame_protector/
Dalts_record_protocol_crypter_common.cc45 return GRPC_STATUS_OK; in input_sanity_check()
53 if (status != GRPC_STATUS_OK) { in increment_counter()
63 return GRPC_STATUS_OK; in increment_counter()
74 if (status == GRPC_STATUS_OK) { in alts_record_protocol_crypter_num_overhead_bytes()
99 if (status != GRPC_STATUS_OK) { in alts_crypter_create_common()
105 if (status != GRPC_STATUS_OK) { in alts_crypter_create_common()
Dalts_unseal_privacy_integrity_crypter.cc43 if (status != GRPC_STATUS_OK) { in unseal_check()
54 return GRPC_STATUS_OK; in unseal_check()
62 if (status != GRPC_STATUS_OK) { in alts_unseal_crypter_process_in_place()
73 if (status != GRPC_STATUS_OK) { in alts_unseal_crypter_process_in_place()
102 return GRPC_STATUS_OK; in alts_unseal_crypter_create()
Dalts_seal_privacy_integrity_crypter.cc42 if (status != GRPC_STATUS_OK) return status; in seal_check()
58 return GRPC_STATUS_OK; in seal_check()
66 if (status != GRPC_STATUS_OK) { in alts_seal_crypter_process_in_place()
77 if (status != GRPC_STATUS_OK) { in alts_seal_crypter_process_in_place()
104 return GRPC_STATUS_OK; in alts_seal_crypter_create()
Dalts_frame_protector.cc68 if (status != GRPC_STATUS_OK) { in seal()
200 if (status != GRPC_STATUS_OK) { in unseal()
339 if (status != GRPC_STATUS_OK) { in create_alts_crypters()
345 if (status != GRPC_STATUS_OK) { in create_alts_crypters()
352 if (status != GRPC_STATUS_OK) { in create_alts_crypters()
375 if (status != GRPC_STATUS_OK) { in alts_create_frame_protector()
Dalts_counter.cc63 return GRPC_STATUS_OK; in alts_counter_create()
96 return GRPC_STATUS_OK; in alts_counter_increment()
/third_party/grpc/test/core/tsi/alts/frame_protector/
Dalts_crypter_test.cc45 GPR_ASSERT(status == GRPC_STATUS_OK); in alts_crypter_test_random_seal_unseal()
49 GPR_ASSERT(status == GRPC_STATUS_OK); in alts_crypter_test_random_seal_unseal()
55 GPR_ASSERT(status == GRPC_STATUS_OK); in alts_crypter_test_random_seal_unseal()
59 GPR_ASSERT(status == GRPC_STATUS_OK); in alts_crypter_test_random_seal_unseal()
88 GPR_ASSERT(status == GRPC_STATUS_OK); in alts_crypter_test_multiple_random_seal_unseal()
92 GPR_ASSERT(status == GRPC_STATUS_OK); in alts_crypter_test_multiple_random_seal_unseal()
96 GPR_ASSERT(status == GRPC_STATUS_OK); in alts_crypter_test_multiple_random_seal_unseal()
101 GPR_ASSERT(status == GRPC_STATUS_OK); in alts_crypter_test_multiple_random_seal_unseal()
108 GPR_ASSERT(status == GRPC_STATUS_OK); in alts_crypter_test_multiple_random_seal_unseal()
112 GPR_ASSERT(status == GRPC_STATUS_OK); in alts_crypter_test_multiple_random_seal_unseal()
[all …]
Dalts_counter_test.cc66 GPR_ASSERT(status == GRPC_STATUS_OK); in alts_counter_test_input_sanity_check()
92 GPR_ASSERT(status == GRPC_STATUS_OK); in alts_counter_test_overflow_full_range()
105 GRPC_STATUS_OK); in alts_counter_test_overflow_full_range()
118 GRPC_STATUS_OK); in alts_counter_test_overflow_full_range()
138 GPR_ASSERT(status == GRPC_STATUS_OK); in alts_counter_test_overflow_single_increment()
154 GRPC_STATUS_OK); in alts_counter_test_overflow_single_increment()
/third_party/grpc/test/core/channel/
Dstatus_util_test.cc30 EXPECT_FALSE(set.Contains(GRPC_STATUS_OK)); in TEST()
32 set.Add(GRPC_STATUS_OK); in TEST()
34 EXPECT_TRUE(set.Contains(GRPC_STATUS_OK)); in TEST()
38 EXPECT_TRUE(set.Contains(GRPC_STATUS_OK)); in TEST()
/third_party/grpc/src/core/tsi/alts/crypt/
Daes_gcm.cc101 return GRPC_STATUS_OK; in gsec_aes_gcm_aead_crypter_max_ciphertext_and_tag_length()
122 return GRPC_STATUS_OK; in gsec_aes_gcm_aead_crypter_max_plaintext_length()
136 return GRPC_STATUS_OK; in gsec_aes_gcm_aead_crypter_nonce_length()
150 return GRPC_STATUS_OK; in gsec_aes_gcm_aead_crypter_key_length()
164 return GRPC_STATUS_OK; in gsec_aes_gcm_aead_crypter_tag_length()
212 return GRPC_STATUS_OK; in aes_gcm_derive_aead_key()
225 return GRPC_STATUS_OK; in aes_gcm_rekey_if_required()
232 GRPC_STATUS_OK) { in aes_gcm_rekey_if_required()
241 return GRPC_STATUS_OK; in aes_gcm_rekey_if_required()
279 GRPC_STATUS_OK) { in gsec_aes_gcm_aead_crypter_encrypt_iovec()
[all …]
/third_party/grpc/test/core/tsi/alts/zero_copy_frame_protector/
Dalts_iovec_record_protocol_test.cc106 &crypter, nullptr) == GRPC_STATUS_OK); in alts_iovec_record_protocol_test_fixture_create()
110 nullptr) == GRPC_STATUS_OK); in alts_iovec_record_protocol_test_fixture_create()
114 &crypter, nullptr) == GRPC_STATUS_OK); in alts_iovec_record_protocol_test_fixture_create()
118 nullptr) == GRPC_STATUS_OK); in alts_iovec_record_protocol_test_fixture_create()
122 &crypter, nullptr) == GRPC_STATUS_OK); in alts_iovec_record_protocol_test_fixture_create()
126 nullptr) == GRPC_STATUS_OK); in alts_iovec_record_protocol_test_fixture_create()
130 &crypter, nullptr) == GRPC_STATUS_OK); in alts_iovec_record_protocol_test_fixture_create()
134 nullptr) == GRPC_STATUS_OK); in alts_iovec_record_protocol_test_fixture_create()
212 GPR_ASSERT(status == GRPC_STATUS_OK); in integrity_only_random_seal_unseal()
220 GPR_ASSERT(status == GRPC_STATUS_OK); in integrity_only_random_seal_unseal()
[all …]
Dalts_grpc_record_protocol_test.cc125 &crypter, nullptr) == GRPC_STATUS_OK); in test_fixture_integrity_only_create()
132 &crypter, nullptr) == GRPC_STATUS_OK); in test_fixture_integrity_only_create()
139 &crypter, nullptr) == GRPC_STATUS_OK); in test_fixture_integrity_only_create()
146 &crypter, nullptr) == GRPC_STATUS_OK); in test_fixture_integrity_only_create()
183 &crypter, nullptr) == GRPC_STATUS_OK); in test_fixture_privacy_integrity_create()
190 &crypter, nullptr) == GRPC_STATUS_OK); in test_fixture_privacy_integrity_create()
197 &crypter, nullptr) == GRPC_STATUS_OK); in test_fixture_privacy_integrity_create()
204 &crypter, nullptr) == GRPC_STATUS_OK); in test_fixture_privacy_integrity_create()
/third_party/grpc/test/core/security/
Dtls_security_connector_test.cc145 EXPECT_EQ(status, GRPC_STATUS_OK); in TEST_F()
154 EXPECT_EQ(status, GRPC_STATUS_OK); in TEST_F()
186 EXPECT_EQ(status, GRPC_STATUS_OK); in TEST_F()
197 EXPECT_EQ(status, GRPC_STATUS_OK); in TEST_F()
207 EXPECT_EQ(status, GRPC_STATUS_OK); in TEST_F()
218 EXPECT_EQ(status, GRPC_STATUS_OK); in TEST_F()
230 EXPECT_EQ(status, GRPC_STATUS_OK); in TEST_F()
242 EXPECT_EQ(status, GRPC_STATUS_OK); in TEST_F()
/third_party/grpc/test/core/tsi/alts/handshaker/
Dalts_tsi_handshaker_test.cc688 recv_buffer, GRPC_STATUS_OK); in check_handle_response_nullptr_handshaker()
698 client, GRPC_STATUS_OK, GRPC_ERROR_NONE); in check_handle_response_nullptr_handshaker()
725 nullptr, GRPC_STATUS_OK); in check_handle_response_nullptr_recv_bytes()
731 client, GRPC_STATUS_OK, GRPC_ERROR_NONE); in check_handle_response_nullptr_recv_bytes()
795 recv_buffer, GRPC_STATUS_OK); in check_handle_response_failed_recv_message_from_handshaker_service()
801 client, GRPC_STATUS_OK, GRPC_ERROR_NONE); in check_handle_response_failed_recv_message_from_handshaker_service()
840 recv_buffer, GRPC_STATUS_OK); in check_handle_response_invalid_resp()
846 client, GRPC_STATUS_OK, GRPC_ERROR_NONE); in check_handle_response_invalid_resp()
865 cb_event, GRPC_STATUS_OK, GRPC_ERROR_NONE); in check_handle_response_success()
877 cb_event, GRPC_STATUS_OK, GRPC_ERROR_NONE); in check_handle_response_success()
[all …]
Dalts_handshaker_client_test.cc436 config->client, GRPC_STATUS_OK, GRPC_ERROR_NONE); in schedule_request_success_test()
438 config->server, GRPC_STATUS_OK, GRPC_ERROR_NONE); in schedule_request_success_test()
493 config->client, GRPC_STATUS_OK, GRPC_ERROR_NONE); in schedule_request_grpc_call_failure_test()
495 config->server, GRPC_STATUS_OK, GRPC_ERROR_NONE); in schedule_request_grpc_call_failure_test()
/third_party/grpc/src/core/lib/transport/
Dstatus_conversion.cc25 case GRPC_STATUS_OK: in grpc_status_to_http2_error()
69 return GRPC_STATUS_OK; in grpc_http2_status_to_grpc_status()
Derror_utils.cc54 if (code != nullptr) *code = GRPC_STATUS_OK; in grpc_error_get_status()
98 if (error_string != nullptr && status != GRPC_STATUS_OK) { in grpc_error_get_status()
Dstatus_metadata.cc35 return GRPC_STATUS_OK; in grpc_get_status_code_from_metadata()
/third_party/grpc/src/core/lib/channel/
Dstatus_util.cc30 {"OK", GRPC_STATUS_OK},
62 case GRPC_STATUS_OK: in grpc_status_code_to_string()
/third_party/grpc/test/core/transport/
Dstatus_conversion_test.cc37 GRPC_STATUS_TO_HTTP2_ERROR(GRPC_STATUS_OK, GRPC_HTTP2_NO_ERROR); in test_grpc_status_to_http2_error()
66 GRPC_STATUS_TO_HTTP2_STATUS(GRPC_STATUS_OK, 200); in test_grpc_status_to_http2_status()
149 HTTP2_STATUS_TO_GRPC_STATUS(200, GRPC_STATUS_OK); in test_http2_status_to_grpc_status()
/third_party/grpc/test/cpp/client/
Dcredentials_test.cc80 arg->status = GRPC_STATUS_OK; in tls_server_authorization_check_callback()
93 arg->set_status(GRPC_STATUS_OK); in Schedule()
464 EXPECT_EQ(arg->status(), GRPC_STATUS_OK); in TEST_F()
502 EXPECT_EQ(arg->status(), GRPC_STATUS_OK); in TEST_F()
540 EXPECT_EQ(c_arg.status, GRPC_STATUS_OK); in TEST_F()
651 EXPECT_EQ(c_server_authorization_check_arg.status, GRPC_STATUS_OK); in TEST_F()
735 arg->set_status(GRPC_STATUS_OK); in TEST_F()
/third_party/grpc/include/grpc/impl/codegen/
Dstatus.h28 GRPC_STATUS_OK = 0, enumerator
/third_party/grpc/test/core/tsi/alts/crypt/
Daes_gcm_test.cc74 if (status != GRPC_STATUS_OK) { in gsec_assert_ok()
77 GPR_ASSERT(status == GRPC_STATUS_OK); in gsec_assert_ok()
121 GPR_ASSERT(status == GRPC_STATUS_OK); in gsec_test_random_encrypt_decrypt()
274 GPR_ASSERT(status == GRPC_STATUS_OK); in gsec_test_multiple_random_encrypt_decrypt()
293 GPR_ASSERT(status == GRPC_STATUS_OK); in gsec_test_multiple_random_encrypt_decrypt()
526 GPR_ASSERT(status == GRPC_STATUS_OK); in gsec_test_encryption_failure()
558 GPR_ASSERT(status == GRPC_STATUS_OK); in gsec_test_decryption_failure()
611 GPR_ASSERT(status == GRPC_STATUS_OK); in gsec_test_decryption_failure()
617 GPR_ASSERT(status == GRPC_STATUS_OK); in gsec_test_decryption_failure()
699 GPR_ASSERT(status == GRPC_STATUS_OK); in gsec_test_encrypt_decrypt_test_vector()
[all …]

1234