Home
last modified time | relevance | path

Searched refs:string_as_array (Results 1 – 10 of 10) sorted by relevance

/third_party/protobuf/src/google/protobuf/stubs/
Dstl_util.h63 inline char* string_as_array(string* str) { in string_as_array() function
Dsubstitute.cc114 char* target = string_as_array(output) + original_size; in SubstituteAndAppend()
Dstrutil.cc2071 const int len = Base64UnescapeInternal(src, slen, string_as_array(dest), in Base64UnescapeInternal()
2215 string_as_array(dest), in Base64EscapeInternal()
/third_party/protobuf/src/google/protobuf/compiler/cpp/
Dcpp_unittest.inc668 uint8* start = reinterpret_cast<uint8*>(::google::protobuf::string_as_array(&data));
682 uint8* start = reinterpret_cast<uint8*>(::google::protobuf::string_as_array(&packed_data));
699 io::ArrayOutputStream array_stream(::google::protobuf::string_as_array(&data), size, 1);
718 io::ArrayOutputStream array_stream(::google::protobuf::string_as_array(&data), size, 1);
1849 uint8* start = reinterpret_cast<uint8*>(::google::protobuf::string_as_array(&data));
1863 uint8* start = reinterpret_cast<uint8*>(::google::protobuf::string_as_array(&data));
1878 uint8* start = reinterpret_cast<uint8*>(::google::protobuf::string_as_array(&data));
1892 uint8* start = reinterpret_cast<uint8*>(::google::protobuf::string_as_array(&data));
1906 uint8* start = reinterpret_cast<uint8*>(::google::protobuf::string_as_array(&data));
1920 uint8* start = reinterpret_cast<uint8*>(::google::protobuf::string_as_array(&data));
[all …]
/third_party/protobuf/src/google/protobuf/
Dextension_set_unittest.cc520 uint8* target = reinterpret_cast<uint8*>(::google::protobuf::string_as_array(&data)); in TEST()
542 io::ArrayOutputStream array_stream(::google::protobuf::string_as_array(&data), size, 1); in TEST()
564 uint8* target = reinterpret_cast<uint8*>(::google::protobuf::string_as_array(&data)); in TEST()
586 io::ArrayOutputStream array_stream(::google::protobuf::string_as_array(&data), size, 1); in TEST()
Dunknown_field_set_unittest.cc203 uint8* target = reinterpret_cast<uint8*>(::google::protobuf::string_as_array(&fast_buffer)); in TEST_F()
209 io::ArrayOutputStream raw_stream(::google::protobuf::string_as_array(&slow_buffer), size, in TEST_F()
Dlite_unittest.cc618 …* start = reinterpret_cast<::google::protobuf::uint8*>(::google::protobuf::string_as_array(&data)); in TEST()
638 io::ArrayOutputStream array_stream(::google::protobuf::string_as_array(&data), size, 1); in TEST()
Dwire_format_unittest.cc501 uint8* target = reinterpret_cast<uint8*>(::google::protobuf::string_as_array(&flat_data)); in TEST()
508 io::ArrayOutputStream array_stream(::google::protobuf::string_as_array(&stream_data), size, in TEST()
Dmap_test.cc2245 uint8* start = reinterpret_cast<uint8*>(::google::protobuf::string_as_array(&data)); in TEST()
2261 io::ArrayOutputStream array_stream(::google::protobuf::string_as_array(&data), size, 1); in TEST()
3223 io::ArrayOutputStream array_stream(::google::protobuf::string_as_array(&result), size); in DeterministicSerializationWithSerializePartialToCodedStream()
3237 io::ArrayOutputStream array_stream(::google::protobuf::string_as_array(&result), size); in DeterministicSerializationWithSerializeToCodedStream()
3250 io::ArrayOutputStream array_stream(::google::protobuf::string_as_array(&result), size); in DeterministicSerialization()
/third_party/protobuf/src/google/protobuf/compiler/
Dcommand_line_interface.cc745 char* target_ptr = ::google::protobuf::string_as_array(target) + pos; in ~MemoryOutputStream()
762 ::google::protobuf::string_as_array(target) + pos + data_.size() + indent_size); in ~MemoryOutputStream()