Home
last modified time | relevance | path

Searched refs:ByteSizeLong (Results 1 – 25 of 91) sorted by relevance

1234

/external/tensorflow/tensorflow/core/lib/strings/
Dproto_serialization.cc33 : DeterministicSerializer(msg, msg.ByteSizeLong()) {} in DeterministicSerializer()
61 const size_t size = msg.ByteSizeLong(); in SerializeToStringDeterministic()
70 DCHECK(msg.ByteSizeLong() == size && size <= static_cast<size_t>(INT_MAX)); in SerializeToBufferDeterministic()
81 const size_t size = x.ByteSizeLong(); in AreSerializedProtosEqual()
82 if (size != y.ByteSizeLong()) return false; in AreSerializedProtosEqual()
Dproto_serialization_test.cc63 const size_t size = graph_def.ByteSizeLong(); in BM_ProtoSerializationToBuffer()
/external/tensorflow/tensorflow/core/kernels/hexagon/
Dhexagon_graph_execution_test.cc333 EXPECT_EQ(ni0.ByteSizeLong(), ni1.ByteSizeLong()); in CompareGraphTransferInfo()
345 EXPECT_EQ(cni0.ByteSizeLong(), cni1.ByteSizeLong()); in CompareGraphTransferInfo()
354 EXPECT_EQ(nii0.ByteSizeLong(), nii1.ByteSizeLong()); in CompareGraphTransferInfo()
367 EXPECT_EQ(noi0.ByteSizeLong(), noi1.ByteSizeLong()); in CompareGraphTransferInfo()
379 EXPECT_EQ(gini0.ByteSizeLong(), gini1.ByteSizeLong()); in CompareGraphTransferInfo()
391 EXPECT_EQ(goni0.ByteSizeLong(), goni1.ByteSizeLong()); in CompareGraphTransferInfo()
/external/tensorflow/tensorflow/core/tpu/
Dtpu_fingerprint_utils.cc30 if (library_proto.ByteSizeLong() >= 1.5 * 1024 * 1024 * 1024) { in FingerprintFunctionLibrary()
32 << library_proto.ByteSizeLong(); in FingerprintFunctionLibrary()
/external/tensorflow/tensorflow/core/data/
Dcompression_utils.cc38 total_size += non_memcpy_components.back().ByteSizeLong(); in CompressElement()
60 proto.SerializeToArray(position, proto.ByteSizeLong()); in CompressElement()
61 metadata->set_tensor_size_bytes(proto.ByteSizeLong()); in CompressElement()
/external/protobuf/src/google/protobuf/
Dmessage_lite.cc375 const size_t size = ByteSizeLong(); // Force size to be cached. in SerializePartialToCodedStream()
387 ByteSizeConsistencyError(size, ByteSizeLong(), end - buffer, *this); in SerializePartialToCodedStream()
400 ByteSizeConsistencyError(size, ByteSizeLong(), in SerializePartialToCodedStream()
449 size_t byte_size = ByteSizeLong(); in AppendPartialToString()
461 ByteSizeConsistencyError(byte_size, ByteSizeLong(), end - start, *this); in AppendPartialToString()
482 const size_t byte_size = ByteSizeLong(); in SerializePartialToArray()
492 ByteSizeConsistencyError(byte_size, ByteSizeLong(), end - start, *this); in SerializePartialToArray()
Dmessage_lite.h401 virtual size_t ByteSizeLong() const = 0;
405 int ByteSize() const { return internal::ToIntSize(ByteSizeLong()); } in ByteSize()
Dwrappers.pb.h184 size_t ByteSizeLong() const final;
338 size_t ByteSizeLong() const final;
492 size_t ByteSizeLong() const final;
646 size_t ByteSizeLong() const final;
800 size_t ByteSizeLong() const final;
954 size_t ByteSizeLong() const final;
1108 size_t ByteSizeLong() const final;
1262 size_t ByteSizeLong() const final;
1431 size_t ByteSizeLong() const final;
Dimplicit_weak_message.h85 size_t ByteSizeLong() const override { return data_.size(); } in ByteSizeLong() function
/external/oss-fuzz/projects/xerces-c/
DxmlProtoConverter.cpp92 if (_x.ByteSizeLong() % 2) in visit()
187 if (_x.ByteSizeLong() % 2) in visit()
313 if (_x.ByteSizeLong() % 2) in visit()
352 if (_x.ByteSizeLong() % 2) in visit()
/external/grpc-grpc/test/core/util/
Dtsan_suppressions.txt12 race:ByteSizeLong
/external/webrtc/modules/audio_processing/aec_dump/
Dwrite_to_file_task.cc45 const size_t event_byte_size = event_.ByteSizeLong(); in Run()
/external/tensorflow/tensorflow/stream_executor/tpu/
Dproto_helper.h42 auto size = proto.ByteSizeLong(); in SerializeProto()
/external/openscreen/cast/common/channel/
Dmessage_framer.cc31 const size_t message_size = message.ByteSizeLong(); in Serialize()
/external/protobuf/src/google/protobuf/compiler/cpp/
Dcpp_unittest.cc87 EXPECT_EQ(3, message.ByteSizeLong()); in TEST()
Dcpp_unittest.inc730 int size = message1.ByteSizeLong();
744 int packed_size = packed_message1.ByteSizeLong();
758 int size = message1.ByteSizeLong();
777 int size = message1.ByteSizeLong();
1891 int size = message1.ByteSizeLong();
1905 int size = message1.ByteSizeLong();
1920 int size = message1.ByteSizeLong();
1934 int size = message1.ByteSizeLong();
1948 int size = message1.ByteSizeLong();
1962 int size = message1.ByteSizeLong();
[all …]
/external/protobuf/src/google/protobuf/util/
Ddelimited_message_util.cc99 size_t size = message.ByteSizeLong(); in SerializeDelimitedToCodedStream()
/external/tensorflow/tensorflow/core/platform/
Dtensor_coding.cc81 core::PutVarint32(out_, m.ByteSizeLong()); in Append()
206 ::strings::CordAppendVarint(m.ByteSizeLong(), out_); in Append()
Dprotobuf.h92 size_t size = proto.ByteSizeLong(); in SerializeToTString()
/external/openscreen/cast/streaming/
Drpc_broker.cc76 std::vector<uint8_t> serialized_message(message.ByteSizeLong()); in SendMessageToRemote()
/external/rust/crates/grpcio-sys/grpc/spm-cpp-include/grpcpp/impl/codegen/
Dproto_utils.h52 int byte_size = static_cast<int>(msg.ByteSizeLong()); in GenericSerialize()
/external/rust/crates/grpcio-sys/grpc/include/grpcpp/impl/codegen/
Dproto_utils.h52 int byte_size = static_cast<int>(msg.ByteSizeLong()); in GenericSerialize()
/external/tensorflow/tensorflow/compiler/xla/python/tpu_driver/
Ddirect_tpu_driver.cc49 shape_.size = shape.ByteSizeLong(); in GetTpuAllocationShape()
384 hlo.size = source.ByteSizeLong(); in CompileProgram()
450 da.size = device_assignment.ByteSizeLong(); in ExecuteProgram()
/external/webrtc/rtc_tools/network_tester/
Dtest_controller.cc59 size_t packet_size = packet.ByteSizeLong(); in SendData()
/external/tensorflow/tensorflow/core/util/
Dtensor_slice_writer_test.cc279 size_t lo_byte_size = ss.ByteSizeLong(); in BytesPerElementHelper()
285 size_t hi_byte_size = ss.ByteSizeLong(); in BytesPerElementHelper()

1234