Searched refs:proto_bytes (Results 1 – 8 of 8) sorted by relevance
/external/tensorflow/tensorflow/python/training/tracking/ |
D | checkpoint_metrics_test.py | 29 proto_bytes = metrics.GetCheckpointWriteDurations(api_label=api_label) 31 histogram_proto.ParseFromString(proto_bytes) 35 proto_bytes = metrics.GetCheckpointReadDurations(api_label=api_label) 37 histogram_proto.ParseFromString(proto_bytes)
|
/external/angle/build/android/gyp/util/ |
D | protoresources.py | 278 proto_bytes = data[proto_idx:proto_idx + size] 279 table.ParseFromString(proto_bytes) 284 proto_bytes = table.SerializeToString() 285 size = struct.pack('<Q', len(proto_bytes)) 286 overage = len(proto_bytes) % 4 288 return b''.join((_FLAT_ARSC_HEADER, size, proto_bytes, padding))
|
/external/cronet/build/android/gyp/util/ |
D | protoresources.py | 278 proto_bytes = data[proto_idx:proto_idx + size] 279 table.ParseFromString(proto_bytes) 284 proto_bytes = table.SerializeToString() 285 size = struct.pack('<Q', len(proto_bytes)) 286 overage = len(proto_bytes) % 4 288 return b''.join((_FLAT_ARSC_HEADER, size, proto_bytes, padding))
|
/external/tensorflow/tensorflow/python/checkpoint/ |
D | checkpoint_metrics_test.py | 31 proto_bytes = metrics.GetCheckpointWriteDurations(api_label=api_label) 33 histogram_proto.ParseFromString(proto_bytes) 37 proto_bytes = metrics.GetCheckpointReadDurations(api_label=api_label) 39 histogram_proto.ParseFromString(proto_bytes)
|
/external/tensorflow/tensorflow/python/saved_model/ |
D | pywrap_saved_model_metrics_test.py | 26 def _get_histogram_proto(self, proto_bytes): argument 28 histogram_proto.ParseFromString(proto_bytes)
|
/external/cronet/net/tools/cert_verify_tool/ |
D | cert_verify_comparision_tool.cc | 251 std::vector<char> proto_bytes(proto_size); in RunCert() local 253 input_file->ReadAtCurrentPos(proto_bytes.data(), proto_size); in RunCert() 264 if (!cert_chain.ParseFromArray(proto_bytes.data(), proto_bytes_read)) { in RunCert()
|
/external/crosvm/base/src/sys/windows/ |
D | tube.rs | 168 let mut proto_bytes = vec![0u8; size_header]; in recv_proto() localVariable 169 perform_read(&|buf| (&self.socket).read(buf), &mut proto_bytes).map_err(Error::Recv)?; in recv_proto() 170 protobuf::Message::parse_from_bytes(&proto_bytes).map_err(Error::Proto) in recv_proto()
|
/external/tensorflow/tensorflow/python/training/ |
D | saver_test.py | 852 proto_bytes = metrics.GetCheckpointWriteDurations(api_label=api_label) 854 histogram_proto.ParseFromString(proto_bytes) 858 proto_bytes = metrics.GetCheckpointReadDurations(api_label=api_label) 860 histogram_proto.ParseFromString(proto_bytes)
|