/external/grpc-grpc/src/core/tsi/alts/handshaker/ |
D | alts_handshaker_service_api_util.cc | 25 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 …]
|
D | alts_handshaker_service_api_util.h | 72 } 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);
|
D | alts_handshaker_service_api.cc | 54 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 …]
|
/external/grpc-grpc/test/core/tsi/alts/handshaker/ |
D | alts_handshaker_service_api_test_lib.cc | 391 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 …]
|
D | alts_handshaker_client_test.cc | 81 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/ |
D | preserve_unknown_enum_test.cc | 202 const FieldDescriptor* repeated_field = d->FindFieldByName("repeated_e"); in TEST() local 203 enum_value = r->GetRepeatedEnum(message, repeated_field, 0); in TEST() 224 const FieldDescriptor* repeated_field = d->FindFieldByName("repeated_e"); in TEST() local 228 r->AddEnumValue(&message, repeated_field, 42); in TEST() 229 r->AddEnumValue(&message, repeated_field, 42); in TEST() 230 EXPECT_EQ(42, r->GetRepeatedEnumValue(message, repeated_field, 0)); in TEST() 231 r->SetRepeatedEnumValue(&message, repeated_field, 1, 84); in TEST() 232 EXPECT_EQ(84, r->GetRepeatedEnumValue(message, repeated_field, 1)); in TEST() 242 const FieldDescriptor* repeated_field = in TEST() local 247 repeated_field->enum_type()->FindValueByName("BAR"); in TEST() [all …]
|
D | map_field_inl.h | 180 RepeatedPtrField<EntryType>* repeated_field = in Clear() local 183 repeated_field->Clear(); in Clear() 290 RepeatedPtrField<EntryType>* repeated_field = in SyncRepeatedFieldWithMapNoLock() local 294 repeated_field->Clear(); in SyncRepeatedFieldWithMapNoLock() 306 repeated_field->AddAllocated(new_entry); in SyncRepeatedFieldWithMapNoLock() 318 RepeatedPtrField<EntryType>* repeated_field = in SyncMapWithRepeatedFieldNoLock() local 324 repeated_field->begin(); in SyncMapWithRepeatedFieldNoLock() 325 it != repeated_field->end(); ++it) { in SyncMapWithRepeatedFieldNoLock()
|
D | unknown_field_set_unittest.cc | 417 const FieldDescriptor* repeated_field = in TEST_F() local 420 ASSERT_TRUE(repeated_field != NULL); in TEST_F() 429 unknown_fields->AddVarint(repeated_field->number(), TestAllTypes::FOO); in TEST_F() 430 unknown_fields->AddVarint(repeated_field->number(), 4); // not valid in TEST_F() 431 unknown_fields->AddVarint(repeated_field->number(), TestAllTypes::BAZ); in TEST_F() 432 unknown_fields->AddVarint(repeated_field->number(), 6); // not valid in TEST_F() 451 EXPECT_EQ(repeated_field->number(), unknown_fields.field(1).number()); in TEST_F() 455 EXPECT_EQ(repeated_field->number(), unknown_fields.field(2).number()); in TEST_F() 481 EXPECT_EQ(repeated_field->number(), unknown_fields.field(1).number()); in TEST_F() 485 EXPECT_EQ(repeated_field->number(), unknown_fields.field(2).number()); in TEST_F()
|
D | map_field_test.cc | 262 RepeatedPtrField<Message>* repeated_field = stub->InternalRepeatedField(); in Expect() local 283 EXPECT_TRUE(repeated_field == NULL); in Expect() 285 if (repeated_field == nullptr) { in Expect() 288 EXPECT_EQ(repeated_size, repeated_field->size()); in Expect()
|
D | arena_unittest.cc | 693 RepeatedPtrField<TestAllTypes> repeated_field; in TEST() local 694 EXPECT_TRUE(repeated_field.empty()); in TEST() 695 EXPECT_EQ(0, repeated_field.size()); in TEST() 698 repeated_field.AddCleared(cleared); in TEST() 699 EXPECT_TRUE(repeated_field.empty()); in TEST() 700 EXPECT_EQ(0, repeated_field.size()); in TEST() 703 RepeatedPtrField<TestAllTypes> repeated_field; in TEST() local 704 EXPECT_TRUE(repeated_field.empty()); in TEST() 705 EXPECT_EQ(0, repeated_field.size()); in TEST() 708 repeated_field.AddAllocated(cleared); in TEST() [all …]
|
/external/protobuf/php/ext/google/protobuf/ |
D | array.c | 97 PHP_PROTO_OBJECT_FREE_START(RepeatedField, repeated_field) 105 PHP_PROTO_OBJECT_DTOR_START(RepeatedField, repeated_field) 109 PHP_PROTO_OBJECT_CREATE_START(RepeatedField, repeated_field) 115 PHP_PROTO_OBJECT_CREATE_END(RepeatedField, repeated_field) 119 RepeatedField, repeated_field) 264 CACHED_VALUE *repeated_field PHP_PROTO_TSRMLS_DC) { 268 repeated_field PHP_PROTO_TSRMLS_CC); 273 CACHED_VALUE *repeated_field PHP_PROTO_TSRMLS_DC) { 274 CREATE_OBJ_ON_ALLOCATED_ZVAL_PTR(CACHED_PTR_TO_ZVAL_PTR(repeated_field), 278 UNBOX(RepeatedField, CACHED_TO_ZVAL_PTR(*repeated_field)); [all …]
|
D | type_check.c | 466 zval* repeated_field; in check_repeated_field() local 467 MAKE_STD_ZVAL(repeated_field); in check_repeated_field() 469 zval repeated_field; in check_repeated_field() local 473 klass, &repeated_field TSRMLS_CC); in check_repeated_field() 480 CACHED_TO_ZVAL_PTR(repeated_field), NULL, in check_repeated_field() 484 RETURN_ZVAL(CACHED_TO_ZVAL_PTR(repeated_field), 1, 1); in check_repeated_field()
|
/external/tensorflow/tensorflow/core/framework/ |
D | variant_tensor_data.cc | 94 string repeated_field = ""; in DebugString() local 96 repeated_field = in DebugString() 97 strings::StrCat(repeated_field, " tensors: ", t.DebugString()); in DebugString() 100 repeated_field); in DebugString()
|
/external/protobuf/src/google/protobuf/util/ |
D | message_differencer.cc | 874 const FieldDescriptor* repeated_field, in IsMatch() argument 879 if (repeated_field->cpp_type() != FieldDescriptor::CPPTYPE_MESSAGE) { in IsMatch() 881 repeated_field, index1, index2, in IsMatch() 894 repeated_field, index1, index2, in IsMatch() 900 reflection1->GetRepeatedMessage(*message1, repeated_field, index1); in IsMatch() 902 reflection2->GetRepeatedMessage(*message2, repeated_field, index2); in IsMatch() 904 specific_field.field = repeated_field; in IsMatch() 918 const FieldDescriptor* repeated_field, in CompareRepeatedField() argument 923 const int count1 = reflection1->FieldSize(message1, repeated_field); in CompareRepeatedField() 924 const int count2 = reflection2->FieldSize(message2, repeated_field); in CompareRepeatedField() [all …]
|
D | message_differencer.h | 782 bool IsMatch(const FieldDescriptor* repeated_field, 833 const FieldDescriptor* repeated_field,
|
/external/libtextclassifier/native/utils/ |
D | lua-utils_test.cc | 333 RepeatedField* repeated_field = buffer->Repeated("repeated_nested_field"); in TEST_F() local 334 repeated_field->Add()->Set("string_field", "hello"); in TEST_F() 335 repeated_field->Add()->Set("string_field", "my"); in TEST_F() 336 MutableFlatbuffer* nested = repeated_field->Add(); in TEST_F() 342 repeated_field->Add()->Set("string_field", "you?"); in TEST_F()
|
/external/protobuf/php/src/Google/Protobuf/Internal/ |
D | Message.php | 131 $repeated_field = new RepeatedField( 134 $this->$setter($repeated_field); 137 $repeated_field = new RepeatedField( 140 $this->$setter($repeated_field); 143 $repeated_field = new RepeatedField($field->getType()); 144 $this->$setter($repeated_field); 533 $repeated_field = new RepeatedField( 536 $this->$setter($repeated_field); 539 $repeated_field = new RepeatedField( 542 $this->$setter($repeated_field); [all …]
|
/external/protobuf/cmake/ |
D | libprotobuf-lite.cmake | 17 ${protobuf_source_dir}/src/google/protobuf/repeated_field.cc 44 ${protobuf_source_dir}/src/google/protobuf/repeated_field.h
|
/external/libtextclassifier/native/utils/flatbuffers/ |
D | mutable.cc | 291 std::unique_ptr<RepeatedField> repeated_field( in Repeated() local 294 /*hint=*/entry, std::make_pair(field, std::move(repeated_field))); in Repeated() 467 if (RepeatedField* repeated_field = Repeated(field); in MergeFrom() local 468 repeated_field == nullptr || !repeated_field->Extend(from)) { in MergeFrom()
|
/external/protobuf/ruby/lib/google/protobuf/ |
D | repeated_field.rb | 178 repeated_field[i] = result if result != val
|
/external/protobuf/ruby/tests/ |
D | repeated_field_test.rb | 584 def check_self_modifying_method(repeated_field, ref_array) argument 586 actual_result = yield(repeated_field) 592 assert_equal ref_array, repeated_field
|
/external/protobuf/ruby/compatibility_tests/v3.0.0/tests/ |
D | repeated_field_test.rb | 562 def check_self_modifying_method(repeated_field, ref_array) argument 564 actual_result = yield(repeated_field) 570 assert_equal ref_array, repeated_field
|
/external/protobuf/ruby/ext/google/protobuf_c/ |
D | repeated_field.c | 54 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/tensorflow/tensorflow/stream_executor/ |
D | dnn.h | 80 inline absl::Span<const int64> AsInt64Slice(const T& repeated_field) { in AsInt64Slice() argument 82 typename std::remove_reference<decltype(*repeated_field.data())>::type; in AsInt64Slice() 88 reinterpret_cast<const int64*>(repeated_field.data()), in AsInt64Slice() 89 repeated_field.size()); in AsInt64Slice() 92 inline absl::Span<int64> AsInt64Slice(T* repeated_field) { in AsInt64Slice() argument 94 typename std::remove_reference<decltype(*repeated_field->data())>::type; in AsInt64Slice() 100 reinterpret_cast<int64*>(repeated_field->mutable_data()), in AsInt64Slice() 101 repeated_field->size()); in AsInt64Slice()
|
/external/protobuf/js/compatibility_tests/v3.0.0/ |
D | test.proto | 219 repeated string repeated_field = 9; field
|