Home
last modified time | relevance | path

Searched refs:string_as_array (Results 1 - 9 of 9) sorted by relevance

/third_party/protobuf/src/google/protobuf/stubs/
H A Dstl_util.h55 // string_as_array(&str)[i] is valid for 0 <= i < str.size() until the
63 inline char* string_as_array(string* str) { in string_as_array() function
H A Dsubstitute.cc114 char* target = string_as_array(output) + original_size; in SubstituteAndAppend()
H A 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/
H A 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()
H A 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()
H A Dlite_unittest.cc618 ::google::protobuf::uint8* 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()
H A 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()
H A 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()
/third_party/protobuf/src/google/protobuf/compiler/
H A 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()

Completed in 20 milliseconds