/external/grpc-grpc/src/core/tsi/alts/zero_copy_frame_protector/ |
D | alts_iovec_record_protocol.cc | 74 char** error_details) { in ensure_header_and_tag_length() argument 79 maybe_copy_error_msg("Header is nullptr.", error_details); in ensure_header_and_tag_length() 83 maybe_copy_error_msg("Header length is incorrect.", error_details); in ensure_header_and_tag_length() 87 maybe_copy_error_msg("Tag is nullptr.", error_details); in ensure_header_and_tag_length() 91 maybe_copy_error_msg("Tag length is incorrect.", error_details); in ensure_header_and_tag_length() 99 char** error_details) { in increment_counter() argument 105 alts_counter_increment(counter, &is_overflow, error_details); in increment_counter() 110 maybe_copy_error_msg("Crypter counter is overflowed.", error_details); in increment_counter() 128 char** error_details) { in write_frame_header() argument 130 maybe_copy_error_msg("Header is nullptr.", error_details); in write_frame_header() [all …]
|
D | alts_grpc_integrity_only_record_protocol.cc | 57 char* error_details = nullptr; in alts_grpc_integrity_only_extra_copy_protect() local 67 rp->iovec_rp, rp->iovec_buf, 1, header_iovec, tag_iovec, &error_details); in alts_grpc_integrity_only_extra_copy_protect() 69 gpr_log(GPR_ERROR, "Failed to protect, %s", error_details); in alts_grpc_integrity_only_extra_copy_protect() 70 gpr_free(error_details); in alts_grpc_integrity_only_extra_copy_protect() 98 char* error_details = nullptr; in alts_grpc_integrity_only_protect() local 107 tag_iovec, &error_details); in alts_grpc_integrity_only_protect() 109 gpr_log(GPR_ERROR, "Failed to protect, %s", error_details); in alts_grpc_integrity_only_protect() 110 gpr_free(error_details); in alts_grpc_integrity_only_protect() 164 char* error_details = nullptr; in alts_grpc_integrity_only_unprotect() local 170 &error_details); in alts_grpc_integrity_only_unprotect() [all …]
|
D | alts_grpc_privacy_integrity_record_protocol.cc | 54 char* error_details = nullptr; in alts_grpc_privacy_integrity_protect() local 60 protected_iovec, &error_details); in alts_grpc_privacy_integrity_protect() 62 gpr_log(GPR_ERROR, "Failed to protect, %s", error_details); in alts_grpc_privacy_integrity_protect() 63 gpr_free(error_details); in alts_grpc_privacy_integrity_protect() 100 char* error_details = nullptr; in alts_grpc_privacy_integrity_unprotect() local 105 unprotected_iovec, &error_details); in alts_grpc_privacy_integrity_unprotect() 107 gpr_log(GPR_ERROR, "Failed to unprotect, %s", error_details); in alts_grpc_privacy_integrity_unprotect() 108 gpr_free(error_details); in alts_grpc_privacy_integrity_unprotect()
|
D | alts_iovec_record_protocol.h | 94 char** error_details); 115 char** error_details); 137 char** error_details); 160 iovec_t unprotected_data, char** error_details); 189 char** error_details);
|
D | alts_grpc_record_protocol_common.cc | 99 char* error_details = nullptr; in alts_grpc_record_protocol_init() local 102 &rp->iovec_rp, &error_details); in alts_grpc_record_protocol_init() 105 error_details); in alts_grpc_record_protocol_init() 106 gpr_free(error_details); in alts_grpc_record_protocol_init()
|
/external/grpc-grpc/src/core/tsi/alts/crypt/ |
D | aes_gcm.cc | 71 static void aes_gcm_format_errors(const char* error_msg, char** error_details) { in aes_gcm_format_errors() argument 72 if (error_details == nullptr) { in aes_gcm_format_errors() 77 *error_details = static_cast<char*>(gpr_malloc(strlen(error_msg) + 1)); in aes_gcm_format_errors() 78 memcpy(*error_details, error_msg, strlen(error_msg) + 1); in aes_gcm_format_errors() 84 *error_details = static_cast<char*>(gpr_malloc(len + 1)); in aes_gcm_format_errors() 85 snprintf(*error_details, len + 1, "%s, %s", error_msg, openssl_errors); in aes_gcm_format_errors() 92 size_t* max_ciphertext_and_tag_length, char** error_details) { in gsec_aes_gcm_aead_crypter_max_ciphertext_and_tag_length() argument 95 error_details); in gsec_aes_gcm_aead_crypter_max_ciphertext_and_tag_length() 108 size_t* max_plaintext_length, char** error_details) { in gsec_aes_gcm_aead_crypter_max_plaintext_length() argument 110 aes_gcm_format_errors("max_plaintext_length is nullptr.", error_details); in gsec_aes_gcm_aead_crypter_max_plaintext_length() [all …]
|
D | gsec.cc | 43 char** error_details) { in gsec_aead_crypter_encrypt() argument 52 ciphertext_vec, bytes_written, error_details); in gsec_aead_crypter_encrypt() 55 maybe_copy_error_msg(vtable_error_msg, error_details); in gsec_aead_crypter_encrypt() 64 char** error_details) { in gsec_aead_crypter_encrypt_iovec() argument 70 error_details); in gsec_aead_crypter_encrypt_iovec() 73 maybe_copy_error_msg(vtable_error_msg, error_details); in gsec_aead_crypter_encrypt_iovec() 81 size_t plaintext_length, size_t* bytes_written, char** error_details) { in gsec_aead_crypter_decrypt() argument 90 plaintext_vec, bytes_written, error_details); in gsec_aead_crypter_decrypt() 93 maybe_copy_error_msg(vtable_error_msg, error_details); in gsec_aead_crypter_decrypt() 102 char** error_details) { in gsec_aead_crypter_decrypt_iovec() argument [all …]
|
D | gsec.h | 147 char** error_details); 153 char** error_details); 156 size_t* max_ciphertext_and_tag_length_to_return, char** error_details); 159 size_t* max_plaintext_length_to_return, char** error_details); 162 char** error_details); 165 char** error_details); 168 char** error_details); 215 char** error_details); 248 char** error_details); 285 size_t plaintext_length, size_t* bytes_written, char** error_details); [all …]
|
/external/grpc-grpc/test/core/tsi/alts/frame_protector/ |
D | alts_counter_test.cc | 38 char* error_details = nullptr; in alts_counter_test_input_sanity_check() local 43 alts_counter_create(true, 0, overflow_size, &ctr, &error_details); in alts_counter_test_input_sanity_check() 45 status, GRPC_STATUS_INVALID_ARGUMENT, error_details, in alts_counter_test_input_sanity_check() 47 gpr_free(error_details); in alts_counter_test_input_sanity_check() 50 status = alts_counter_create(true, counter_size, 0, &ctr, &error_details); in alts_counter_test_input_sanity_check() 52 status, GRPC_STATUS_INVALID_ARGUMENT, error_details, in alts_counter_test_input_sanity_check() 54 gpr_free(error_details); in alts_counter_test_input_sanity_check() 58 &error_details); in alts_counter_test_input_sanity_check() 60 status, GRPC_STATUS_INVALID_ARGUMENT, error_details, in alts_counter_test_input_sanity_check() 62 gpr_free(error_details); in alts_counter_test_input_sanity_check() [all …]
|
/external/grpc-grpc/src/core/tsi/alts/frame_protector/ |
D | alts_record_protocol_crypter_common.cc | 34 size_t* output_size, char** error_details) { in input_sanity_check() argument 36 maybe_copy_error_msg("alts_crypter instance is nullptr.", error_details); in input_sanity_check() 39 maybe_copy_error_msg("data is nullptr.", error_details); in input_sanity_check() 42 maybe_copy_error_msg("output_size is nullptr.", error_details); in input_sanity_check() 49 char** error_details) { in increment_counter() argument 52 alts_counter_increment(rp_crypter->ctr, &is_overflow, error_details); in increment_counter() 60 maybe_copy_error_msg(error_msg, error_details); in increment_counter() 69 char* error_details = nullptr; in alts_record_protocol_crypter_num_overhead_bytes() local 73 rp_crypter->crypter, &num_overhead_bytes, &error_details); in alts_record_protocol_crypter_num_overhead_bytes() 92 char** error_details) { in alts_crypter_create_common() argument [all …]
|
D | alts_seal_privacy_integrity_crypter.cc | 37 size_t* output_size, char** error_details) { in seal_check() argument 41 output_size, error_details); in seal_check() 48 maybe_copy_error_msg(error_msg, error_details); in seal_check() 55 maybe_copy_error_msg(error_msg, error_details); in seal_check() 63 size_t data_size, size_t* output_size, char** error_details) { in alts_seal_crypter_process_in_place() argument 65 output_size, error_details); in alts_seal_crypter_process_in_place() 76 output_size, error_details); in alts_seal_crypter_process_in_place() 81 return increment_counter(rp_crypter, error_details); in alts_seal_crypter_process_in_place() 91 char** error_details) { in alts_seal_crypter_create() argument 94 maybe_copy_error_msg(error_msg, error_details); in alts_seal_crypter_create() [all …]
|
D | alts_unseal_privacy_integrity_crypter.cc | 38 char** error_details) { in unseal_check() argument 42 output_size, error_details); in unseal_check() 51 maybe_copy_error_msg(error_msg, error_details); in unseal_check() 59 size_t data_size, size_t* output_size, char** error_details) { in alts_unseal_crypter_process_in_place() argument 61 data_size, output_size, error_details); in alts_unseal_crypter_process_in_place() 72 output_size, error_details); in alts_unseal_crypter_process_in_place() 77 return increment_counter(rp_crypter, error_details); in alts_unseal_crypter_process_in_place() 89 char** error_details) { in alts_unseal_crypter_create() argument 92 maybe_copy_error_msg(error_msg, error_details); in alts_unseal_crypter_create() 96 alts_crypter_create_common(gc, is_client, overflow_size, error_details); in alts_unseal_crypter_create()
|
D | alts_frame_protector.cc | 61 char* error_details = nullptr; in seal() local 66 &output_size, &error_details); in seal() 69 gpr_log(GPR_ERROR, "%s", error_details); in seal() 70 gpr_free(error_details); in seal() 194 char* error_details = nullptr; in unseal() local 199 alts_get_output_bytes_read(impl->reader), &output_size, &error_details); in unseal() 201 gpr_log(GPR_ERROR, "%s", error_details); in unseal() 202 gpr_free(error_details); in unseal() 332 char** error_details) { in create_alts_crypters() argument 338 &aead_crypter_seal, error_details); in create_alts_crypters() [all …]
|
D | alts_counter.cc | 37 char** error_details) { in alts_counter_create() argument 41 maybe_copy_error_msg(error_msg, error_details); in alts_counter_create() 46 maybe_copy_error_msg(error_msg, error_details); in alts_counter_create() 51 maybe_copy_error_msg(error_msg, error_details); in alts_counter_create() 68 char** error_details) { in alts_counter_increment() argument 72 maybe_copy_error_msg(error_msg, error_details); in alts_counter_increment() 77 maybe_copy_error_msg(error_msg, error_details); in alts_counter_increment()
|
D | alts_crypter.h | 130 char** error_details); 193 size_t data_size, size_t* output_size, char** error_details); 218 char** error_details); 244 char** error_details);
|
D | alts_record_protocol_crypter_common.h | 63 size_t* output_size, char** error_details); 80 char** error_details); 103 char** error_details);
|
D | alts_crypter.cc | 36 size_t data_size, size_t* output_size, char** error_details) { in alts_crypter_process_in_place() argument 41 error_details); in alts_crypter_process_in_place() 46 maybe_copy_error_msg(error_msg, error_details); in alts_crypter_process_in_place()
|
D | alts_counter.h | 56 char** error_details); 76 char** error_details);
|
/external/grpc-grpc/test/cpp/util/ |
D | error_details_test.cc | 37 grpc::string error_details = expected.SerializeAsString(); in TEST() local 39 error_details); in TEST() 55 grpc::string error_details("I am not a status object"); in TEST() local 56 Status from(StatusCode::INTERNAL, "", error_details); in TEST() 75 EXPECT_EQ(expected.SerializeAsString(), to.error_details()); in TEST() 96 EXPECT_EQ(expected.SerializeAsString(), to.error_details()); in TEST() 113 EXPECT_EQ(expected.SerializeAsString(), to.error_details()); in TEST()
|
/external/grpc-grpc/src/core/lib/security/credentials/plugin/ |
D | plugin_credentials.cc | 76 size_t num_md, grpc_status_code status, const char* error_details) { in process_plugin_result() argument 81 error_details); in process_plugin_result() 119 const char* error_details) { in plugin_md_request_metadata_ready() argument 136 process_plugin_result(r, md, num_md, status, error_details); in plugin_md_request_metadata_ready() 181 const char* error_details = nullptr; in plugin_get_request_metadata() local 185 &status, &error_details)) { in plugin_get_request_metadata() 216 status, error_details); in plugin_get_request_metadata() 223 gpr_free((void*)error_details); in plugin_get_request_metadata()
|
/external/python/google-api-python-client/googleapiclient/ |
D | errors.py | 44 self.error_details = '' 54 self.error_details = data['error']['details'] 59 self.error_details = first_error['error']['details'] 68 if self.error_details: 70 (self.resp.status, self.uri, reason.strip(), self.error_details)
|
/external/libchrome/base/files/ |
D | file.cc | 51 File::File(Error error_details) in File() argument 52 : error_details_(error_details), in File() 60 error_details_(other.error_details()), in File() 73 error_details_ = other.error_details(); in operator =()
|
/external/grpc-grpc/src/cpp/client/ |
D | secure_credentials.cc | 209 const char** error_details) { in GetMetadata() argument 216 *error_details = nullptr; in GetMetadata() 228 error_details); in GetMetadata() 247 grpc_status_code* status_code, const char** error_details) { in InvokePlugin() argument 270 *error_details = gpr_strdup( in InvokePlugin() 281 *error_details = in InvokePlugin()
|
/external/grpc-grpc/include/grpcpp/impl/codegen/ |
D | status.h | 98 const grpc::string& error_details) in Status() argument 101 binary_error_details_(error_details) {} in Status() 115 grpc::string error_details() const { return binary_error_details_; } in error_details() function
|
/external/grpc-grpc/src/ruby/ext/grpc/ |
D | rb_call_credentials.c | 96 char* error_details; in grpc_rb_call_credentials_callback_with_gil() local 108 error_details = StringValueCStr(details); in grpc_rb_call_credentials_callback_with_gil() 110 error_details); in grpc_rb_call_credentials_callback_with_gil() 120 const char** error_details) { in grpc_rb_call_credentials_plugin_get_metadata() argument
|