Searched refs:ToBytes (Results 1 – 12 of 12) sorted by relevance
63 value = tools.ToBytes(value)70 value = tools.ToBytes(value) if value is not None else value
77 ow->RenderBytes(name, data.ToBytes().ValueOrDie()); in RenderDataPieceTo()
155 util::StatusOr<std::string> ToBytes() const;
260 StatusOr<std::string> DataPiece::ToBytes() const { in ToBytes() function in google::protobuf::util::converter::DataPiece
255 StatusOr<std::string> c = data.ToBytes(); in WriteBytes()
438 value_storage_ = value_.ToBytes().ValueOrDie(); in DeepCopy()
397 self.assertEqual(tools.ToBytes(val) + b'\0', data)407 prop.SetData(tools.ToBytes(val))410 self.assertEqual(tools.ToBytes(val), data)415 prop.SetData(tools.ToBytes(val))418 self.assertEqual(tools.ToBytes(val), data)
73 fields[name_index] = tools.ToBytes(NameToFmap(fields[name_index]))
193 val = tools.ToBytes(instr)
1424 expected = (tools.ToBytes(TEXT_DATA) +1426 tools.ToBytes(TEXT_DATA2) + tools.ToBytes(TEXT_DATA3) +
375 def ToBytes(string): function