/external/protobuf/src/google/protobuf/ |
D | reflection_internal.h | 114 virtual void SwapElements(Field* data, int index1, int index2) const { in SwapElements() function 115 MutableRepeatedField(data)->SwapElements(index1, index2); in SwapElements() 171 virtual void SwapElements(Field* data, int index1, int index2) const { in SwapElements() function 172 MutableRepeatedField(data)->SwapElements(index1, index2); in SwapElements() 233 virtual void SwapElements(Field* data, int index1, int index2) const { in SwapElements() function 234 MutableRepeatedField(data)->SwapElements(index1, index2); in SwapElements()
|
D | reflection.h | 132 void SwapElements(int index1, int index2) const { in SwapElements() function 133 accessor_->SwapElements(data_, index1, index2); in SwapElements() 264 void SwapElements(int index1, int index2) const { in SwapElements() function 265 accessor_->SwapElements(data_, index1, index2); in SwapElements() 355 virtual void SwapElements(Field* data, int index1, int index2) const = 0;
|
D | repeated_field_reflection_unittest.cc | 377 mrf_int32.SwapElements(0, 9); in TEST() 378 mrf_double.SwapElements(0, 9); in TEST() 379 mrf_string.SwapElements(0, 9); in TEST() 380 mrf_foreign_message.SwapElements(0, 9); in TEST() 497 mutable_enum_ref.SwapElements(0, 9); in TEST() 500 mutable_int32_ref.SwapElements(0, 9); in TEST()
|
D | extension_set.cc | 819 void ExtensionSet::SwapElements(int number, int index1, int index2) { in SwapElements() function in google::protobuf::internal::ExtensionSet 828 extension->repeated_int32_value->SwapElements(index1, index2); in SwapElements() 831 extension->repeated_int64_value->SwapElements(index1, index2); in SwapElements() 834 extension->repeated_uint32_value->SwapElements(index1, index2); in SwapElements() 837 extension->repeated_uint64_value->SwapElements(index1, index2); in SwapElements() 840 extension->repeated_float_value->SwapElements(index1, index2); in SwapElements() 843 extension->repeated_double_value->SwapElements(index1, index2); in SwapElements() 846 extension->repeated_bool_value->SwapElements(index1, index2); in SwapElements() 849 extension->repeated_enum_value->SwapElements(index1, index2); in SwapElements() 852 extension->repeated_string_value->SwapElements(index1, index2); in SwapElements() [all …]
|
D | repeated_field.h | 171 void SwapElements(int index1, int index2); 439 void SwapElements(int index1, int index2); 783 void SwapElements(int index1, int index2); 1215 void RepeatedField<Element>::SwapElements(int index1, int index2) { 1556 inline void RepeatedPtrFieldBase::SwapElements(int index1, int index2) { 1992 inline void RepeatedPtrField<Element>::SwapElements(int index1, int index2) { 1993 RepeatedPtrFieldBase::SwapElements(index1, index2);
|
D | repeated_field_reflection.h | 93 virtual void SwapElements(Field* data, int index1, int index2) const = 0;
|
D | generated_message_reflection.cc | 978 void GeneratedMessageReflection::SwapElements( in SwapElements() function in google::protobuf::internal::GeneratedMessageReflection 987 MutableExtensionSet(message)->SwapElements(field->number(), index1, index2); in SwapElements() 993 ->SwapElements(index1, index2); \ in SwapElements() 1011 ->SwapElements(index1, index2); in SwapElements() 1014 ->SwapElements(index1, index2); in SwapElements()
|
D | map_test.cc | 1529 mmf_int32_int32.SwapElements(0, 9); in TEST_F() 1552 mmf_int32_double.SwapElements(0, 9); in TEST_F() 1577 mmf_string_string.SwapElements(0, 9); in TEST_F() 1606 mmf_int32_foreign_message.SwapElements(0, 9); in TEST_F() 2321 TEST(GeneratedMapFieldReflectionTest, SwapElements) { in TEST() argument
|
D | generated_message_reflection.h | 230 void SwapElements(Message* message, const FieldDescriptor* field,
|
D | message.h | 479 virtual void SwapElements(Message* message,
|
D | extension_set.h | 341 void SwapElements(int number, int index1, int index2);
|
D | map_test_util.cc | 904 reflection->SwapElements(message, field, 0, 1); in SwapMapsViaReflection()
|
/external/tensorflow/tensorflow/core/grappler/optimizers/ |
D | dependency_optimizer.cc | 46 node->mutable_input()->SwapElements(pos, node->input_size() - 1); in RemoveInput() 244 fanout->mutable_input()->SwapElements(i, fanout->input_size() - 1); in OptimizeNode() 280 node->mutable_input()->SwapElements(pos, node->input_size() - 1); in OptimizeNode() 568 target_node->mutable_input()->SwapElements(input_slot, in TransitiveReduction() 655 node->mutable_input()->SwapElements(pos, node->input_size() - 1); in GroupCrossDeviceControlEdges()
|
D | model_pruner.cc | 177 new_node->mutable_input()->SwapElements(pos, i); in ForwardInputs() 354 mutable_inputs->SwapElements(i, curr_pos); in RewriteIdentityNAndInputsOutputs() 355 mutable_types->SwapElements(i, curr_pos); in RewriteIdentityNAndInputsOutputs() 362 mutable_inputs->SwapElements(i, curr_pos++); in RewriteIdentityNAndInputsOutputs()
|
D | loop_optimizer.cc | 196 node->mutable_input()->SwapElements(i, node->input_size() - 1); in HandleInvariantNode() 539 push_node->mutable_input()->SwapElements(0, 1); in RemoveStackOps() 890 inputs->SwapElements(pos, dead_node->input_size() - 1); in RemoveDeadBranches()
|
D | constant_folding.cc | 129 node->mutable_input()->SwapElements(i, node->input_size() - 1); in MaybeRemoveControlInput() 1651 node->mutable_input()->SwapElements(0, input_to_forward); in ReplaceOperationWithIdentity() 1682 node->mutable_input()->SwapElements(0, input_to_forward); in ReplaceOperationWithSnapshot() 1699 node->mutable_input()->SwapElements(0, 1); in ReplaceDivisionOfOnesByReciprocal() 1710 node->mutable_input()->SwapElements(0, 1); in ReplaceSubtractionFromZeroByNegation() 2322 node->mutable_input()->SwapElements(1, node->input_size() - 1); in SimplifyPack()
|
D | scoped_allocator_optimizer.cc | 170 nodes->SwapElements(i, nodes->size() - 1); in RemoveNode()
|
D | function_optimizer.cc | 1984 node.mutable_input()->SwapElements(idx, node.input_size() - 1); in RestoreGraphInvariants()
|
/external/tensorflow/tensorflow/core/grappler/ |
D | mutable_graph_view.cc | 359 node->mutable_input()->SwapElements(pos, last_pos); in AddAndDedupFanouts() 870 node->mutable_input()->SwapElements(last_node_input, num_regular_fanins); in AddFaninInternal() 931 node->mutable_input()->SwapElements(num_regular_fanins, last_node_input); in AddRegularFaninByPort() 938 node->mutable_input()->SwapElements(i, i + 1); in AddRegularFaninByPort() 1075 mutable_inputs->SwapElements(i, curr_pos); in RemoveRegularFaninInternal() 1144 mutable_inputs->SwapElements(i - 1, i); in RemoveRegularFaninByPort() 1148 mutable_inputs->SwapElements(last_regular_fanin_port, last_node_input); in RemoveRegularFaninByPort() 1172 node->mutable_input()->SwapElements(i, node->input_size() - 1); in RemoveControllingFaninInternal() 1411 node->mutable_input()->SwapElements(from_port, to_port); in SwapRegularFaninsByPorts() 1476 node->mutable_input()->SwapElements(pos, i); in UpdateAllRegularFaninsToControlling() [all …]
|
D | utils.cc | 358 graph->mutable_node()->SwapElements(n, r); in PermuteNodesInPlace() 370 node->mutable_input()->SwapElements(pos, node->input_size() - 1); in DedupControlInputs() 389 graph->mutable_node()->SwapElements(index, last); in EraseNodesFromGraphImpl()
|
/external/libprotobuf-mutator/src/ |
D | field_instance.h | 227 reflection().SwapElements(message_, descriptor(), i, i - 1); in Delete() 322 reflection().SwapElements(message_, descriptor(), i, i - 1); in InsertRepeated()
|
D | mutator.cc | 531 reflection->SwapElements(message2, field, j, j + k); in CrossOverImpl()
|
/external/tensorflow/tensorflow/tools/graph_transforms/ |
D | sparsify_gather.cc | 209 n->mutable_input()->SwapElements(i, i + 1); in RemoveInputAtIndex() 217 g->mutable_node()->SwapElements(i, i + 1); in RemoveNodeAtIndex()
|
/external/tensorflow/tensorflow/core/grappler/optimizers/data/ |
D | hoist_random_uniform.cc | 137 signature->mutable_input_arg()->SwapElements(i - 1, i); in InsertSeedArgument()
|
/external/protobuf/ |
D | CONTRIBUTORS.txt | 81 * Added Swap(), SwapElements(), and RemoveLast() to Reflection interface.
|