Searched refs:string_as_array (Results 1 - 9 of 9) sorted by relevance
/third_party/protobuf/src/google/protobuf/stubs/ |
H A D | stl_util.h | 55 // 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 D | substitute.cc | 114 char* target = string_as_array(output) + original_size; in SubstituteAndAppend()
|
H A D | strutil.cc | 2071 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 D | unknown_field_set_unittest.cc | 203 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 D | extension_set_unittest.cc | 520 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 D | lite_unittest.cc | 618 ::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 D | map_test.cc | 2245 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 D | wire_format_unittest.cc | 501 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 D | command_line_interface.cc | 745 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