Home
last modified time | relevance | path

Searched refs:repeated_field (Results 1 – 25 of 29) sorted by relevance

12

/external/grpc-grpc/src/core/tsi/alts/handshaker/
Dalts_handshaker_service_api_util.cc25 void add_repeated_field(repeated_field** head, const void* data) { in add_repeated_field()
26 repeated_field* field = in add_repeated_field()
27 static_cast<repeated_field*>(gpr_zalloc(sizeof(*field))); in add_repeated_field()
38 void destroy_repeated_field_list_identity(repeated_field* head) { in destroy_repeated_field_list_identity()
39 repeated_field* field = head; in destroy_repeated_field_list_identity()
41 repeated_field* next_field = field->next; in destroy_repeated_field_list_identity()
52 void destroy_repeated_field_list_string(repeated_field* head) { in destroy_repeated_field_list_string()
53 repeated_field* field = head; in destroy_repeated_field_list_string()
55 repeated_field* next_field = field->next; in destroy_repeated_field_list_string()
87 repeated_field* var = static_cast<repeated_field*>(*arg); in encode_repeated_identity_cb()
[all …]
Dalts_handshaker_service_api.cc54 static_cast<repeated_field*>(req->client_start.target_identities.arg)); in grpc_gcp_handshaker_req_destroy()
55 destroy_repeated_field_list_string(static_cast<repeated_field*>( in grpc_gcp_handshaker_req_destroy()
58 static_cast<repeated_field*>(req->client_start.record_protocols.arg)); in grpc_gcp_handshaker_req_destroy()
79 static_cast<repeated_field*>(req->server_start.handshake_parameters[i] in grpc_gcp_handshaker_req_destroy()
82 static_cast<repeated_field*>(req->server_start.handshake_parameters[i] in grpc_gcp_handshaker_req_destroy()
85 destroy_repeated_field_list_string(static_cast<repeated_field*>( in grpc_gcp_handshaker_req_destroy()
142 add_repeated_field(reinterpret_cast<repeated_field**>( in grpc_gcp_handshaker_req_add_application_protocol()
148 add_repeated_field(reinterpret_cast<repeated_field**>( in grpc_gcp_handshaker_req_add_application_protocol()
166 add_repeated_field(reinterpret_cast<repeated_field**>( in grpc_gcp_handshaker_req_add_record_protocol()
200 add_repeated_field(reinterpret_cast<repeated_field**>( in grpc_gcp_handshaker_req_add_target_identity_hostname()
[all …]
Dalts_handshaker_service_api_util.h72 } repeated_field; typedef
80 void add_repeated_field(repeated_field** head, const void* field);
88 void destroy_repeated_field_list_string(repeated_field* head);
96 void destroy_repeated_field_list_identity(repeated_field* head);
/external/grpc-grpc/test/core/tsi/alts/handshaker/
Dalts_handshaker_service_api_test_lib.cc391 const repeated_field* head, const repeated_field* target) { in repeated_field_list_contains_identity()
392 repeated_field* field = const_cast<repeated_field*>(head); in repeated_field_list_contains_identity()
404 static bool repeated_field_list_contains_string(const repeated_field* head, in repeated_field_list_contains_string()
405 const repeated_field* target) { in repeated_field_list_contains_string()
406 repeated_field* field = const_cast<repeated_field*>(head); in repeated_field_list_contains_string()
417 static size_t repeated_field_list_get_length(const repeated_field* head) { in repeated_field_list_get_length()
418 repeated_field* field = const_cast<repeated_field*>(head); in repeated_field_list_get_length()
431 static bool repeated_field_list_equals_identity(const repeated_field* l_head, in repeated_field_list_equals_identity()
432 const repeated_field* r_head) { in repeated_field_list_equals_identity()
437 repeated_field* field = const_cast<repeated_field*>(l_head); in repeated_field_list_equals_identity()
[all …]
Dalts_handshaker_client_test.cc81 const repeated_field* target_identity_head) { in validate_target_identities()
173 const void* data = (static_cast<repeated_field*>( in check_client_start_success()
178 data = (static_cast<repeated_field*>(req->client_start.record_protocols.arg)) in check_client_start_success()
189 static_cast<repeated_field*>(req->client_start.target_identities.arg)); in check_client_start_success()
214 const void* data = (static_cast<repeated_field*>( in check_server_start_success()
225 data = (static_cast<repeated_field*>(req->server_start.handshake_parameters[0] in check_server_start_success()
/external/protobuf/src/google/protobuf/
Dpreserve_unknown_enum_test.cc206 const google::protobuf::FieldDescriptor* repeated_field = in TEST() local
208 enum_value = r->GetRepeatedEnum(message, repeated_field, 0); in TEST()
229 const google::protobuf::FieldDescriptor* repeated_field = in TEST() local
234 r->AddEnumValue(&message, repeated_field, 42); in TEST()
235 r->AddEnumValue(&message, repeated_field, 42); in TEST()
236 EXPECT_EQ(42, r->GetRepeatedEnumValue(message, repeated_field, 0)); in TEST()
237 r->SetRepeatedEnumValue(&message, repeated_field, 1, 84); in TEST()
238 EXPECT_EQ(84, r->GetRepeatedEnumValue(message, repeated_field, 1)); in TEST()
249 const google::protobuf::FieldDescriptor* repeated_field = in TEST() local
254 repeated_field->enum_type()->FindValueByName("BAR"); in TEST()
[all …]
Dunknown_field_set_unittest.cc414 const FieldDescriptor* repeated_field = in TEST_F() local
417 ASSERT_TRUE(repeated_field != NULL); in TEST_F()
426 unknown_fields->AddVarint(repeated_field->number(), TestAllTypes::FOO); in TEST_F()
427 unknown_fields->AddVarint(repeated_field->number(), 4); // not valid in TEST_F()
428 unknown_fields->AddVarint(repeated_field->number(), TestAllTypes::BAZ); in TEST_F()
429 unknown_fields->AddVarint(repeated_field->number(), 6); // not valid in TEST_F()
448 EXPECT_EQ(repeated_field->number(), unknown_fields.field(1).number()); in TEST_F()
452 EXPECT_EQ(repeated_field->number(), unknown_fields.field(2).number()); in TEST_F()
478 EXPECT_EQ(repeated_field->number(), unknown_fields.field(1).number()); in TEST_F()
482 EXPECT_EQ(repeated_field->number(), unknown_fields.field(2).number()); in TEST_F()
Dmap_field_inl.h405 RepeatedPtrField<EntryType>* repeated_field = in SyncRepeatedFieldWithMapNoLock() local
409 repeated_field->Clear(); in SyncRepeatedFieldWithMapNoLock()
417 repeated_field->AddAllocated(new_entry); in SyncRepeatedFieldWithMapNoLock()
431 RepeatedPtrField<EntryType>* repeated_field = in SyncMapWithRepeatedFieldNoLock() local
437 repeated_field->begin(); it != repeated_field->end(); ++it) { in SyncMapWithRepeatedFieldNoLock()
Darena_unittest.cc661 RepeatedPtrField<TestAllTypes> repeated_field; in TEST() local
662 EXPECT_TRUE(repeated_field.empty()); in TEST()
663 EXPECT_EQ(0, repeated_field.size()); in TEST()
666 repeated_field.AddCleared(cleared); in TEST()
667 EXPECT_TRUE(repeated_field.empty()); in TEST()
668 EXPECT_EQ(0, repeated_field.size()); in TEST()
671 RepeatedPtrField<TestAllTypes> repeated_field; in TEST() local
672 EXPECT_TRUE(repeated_field.empty()); in TEST()
673 EXPECT_EQ(0, repeated_field.size()); in TEST()
676 repeated_field.AddAllocated(cleared); in TEST()
[all …]
Dmap_field_test.cc275 RepeatedPtrField<Message>* repeated_field = stub->InternalRepeatedField(); in Expect() local
296 EXPECT_TRUE(repeated_field == NULL); in Expect()
298 EXPECT_EQ(repeated_size, repeated_field->size()); in Expect()
/external/libtextclassifier/utils/
Dflatbuffers.cc27 std::unique_ptr<ReflectiveFlatbuffer::RepeatedField>* repeated_field) { in CreateRepeatedField() argument
30 repeated_field->reset(new ReflectiveFlatbuffer::TypedRepeatedField<bool>); in CreateRepeatedField()
33 repeated_field->reset(new ReflectiveFlatbuffer::TypedRepeatedField<int>); in CreateRepeatedField()
36 repeated_field->reset( in CreateRepeatedField()
40 repeated_field->reset( in CreateRepeatedField()
44 repeated_field->reset( in CreateRepeatedField()
48 repeated_field->reset( in CreateRepeatedField()
52 repeated_field->reset( in CreateRepeatedField()
263 std::unique_ptr<RepeatedField> repeated_field; in Repeated() local
264 if (!CreateRepeatedField(schema_, field->type(), &repeated_field)) { in Repeated()
[all …]
/external/tensorflow/tensorflow/core/framework/
Dvariant_tensor_data.cc100 string repeated_field = ""; in DebugString() local
102 repeated_field = in DebugString()
103 strings::StrCat(repeated_field, " tensors: ", t.DebugString()); in DebugString()
106 repeated_field); in DebugString()
/external/protobuf/src/google/protobuf/util/
Dmessage_differencer.cc744 bool MessageDifferencer::IsMatch(const FieldDescriptor* repeated_field, in IsMatch() argument
751 if (repeated_field->cpp_type() != FieldDescriptor::CPPTYPE_MESSAGE) { in IsMatch()
753 *message1, *message2, repeated_field, index1, index2, in IsMatch()
766 *message1, *message2, repeated_field, index1, index2, in IsMatch()
772 reflection1->GetRepeatedMessage(*message1, repeated_field, index1); in IsMatch()
774 reflection2->GetRepeatedMessage(*message2, repeated_field, index2); in IsMatch()
776 specific_field.field = repeated_field; in IsMatch()
789 const FieldDescriptor* repeated_field, in CompareRepeatedField() argument
794 const int count1 = reflection1->FieldSize(message1, repeated_field); in CompareRepeatedField()
795 const int count2 = reflection2->FieldSize(message2, repeated_field); in CompareRepeatedField()
[all …]
Dmessage_differencer.h730 bool IsMatch(const FieldDescriptor* repeated_field,
772 const FieldDescriptor* repeated_field,
/external/tensorflow/tensorflow/compiler/xla/service/
Dhlo_pass_pipeline.cc78 auto repeated_field = debug_options.xla_disable_hlo_passes(); in GetEnabledPasses() local
79 absl::flat_hash_set<string> disabled_pass_names(repeated_field.begin(), in GetEnabledPasses()
80 repeated_field.end()); in GetEnabledPasses()
/external/protobuf/javanano/src/test/java/com/google/protobuf/nano/
Dunittest_unknown_enum_values.proto44 repeated Enum repeated_field = 2; field
56 repeated Enum repeated_field = 2; field
/external/protobuf/ruby/lib/google/protobuf/
Drepeated_field.rb178 repeated_field[i] = result if result != val
/external/protobuf/cmake/
Dlibprotobuf-lite.cmake10 ${protobuf_source_dir}/src/google/protobuf/repeated_field.cc
Dextract_includes.bat.in70 …OTOBUF_SOURCE_WIN32_PATH}\..\src\google\protobuf\repeated_field.h include\google\protobuf\repeated…
/external/protobuf/ruby/ext/google/protobuf_c/
Drepeated_field.c54 static int index_position(VALUE _index, RepeatedField* repeated_field) { in index_position() argument
56 if (index < 0 && repeated_field->size > 0) { in index_position()
57 index = repeated_field->size + index; in index_position()
/external/protobuf/ruby/tests/
Drepeated_field_test.rb561 def check_self_modifying_method(repeated_field, ref_array) argument
563 actual_result = yield(repeated_field)
569 assert_equal ref_array, repeated_field
/external/python/apitools/apitools/base/py/
Dencoding_test.py128 repeated_field = messages.StringField(5, repeated=True) variable in MessageWithRemappings
364 msg = MessageWithRemappings(repeated_field=['abc', 'def'])
/external/protobuf/js/
Dtest.proto218 repeated string repeated_field = 9; field
/external/protobuf/
DAndroid.bp74 "src/google/protobuf/repeated_field.cc",
315 "src/google/protobuf/repeated_field.cc",
/external/protobuf/src/
DMakefile.am123 google/protobuf/repeated_field.h \
205 google/protobuf/repeated_field.cc \

12