Home
last modified time | relevance | path

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

/external/libchrome/base/
Dstl_util_unittest.cc243 EXPECT_EQ(nullptr, string_as_array(&empty)); in TEST()
252 EXPECT_STREQ("abc", string_as_array(&str)); in TEST()
261 string_as_array(&s1)[1] = 'x'; in TEST()
Dstl_util.h113 inline char* string_as_array(std::string* str) { in string_as_array() function
/external/protobuf/src/google/protobuf/compiler/cpp/
Dcpp_unittest.cc596 uint8* start = reinterpret_cast<uint8*>(string_as_array(&data)); in TEST()
610 uint8* start = reinterpret_cast<uint8*>(string_as_array(&packed_data)); in TEST()
627 io::ArrayOutputStream array_stream(string_as_array(&data), size, 1); in TEST()
646 io::ArrayOutputStream array_stream(string_as_array(&data), size, 1); in TEST()
1754 uint8* start = reinterpret_cast<uint8*>(string_as_array(&data)); in TEST_F()
1768 uint8* start = reinterpret_cast<uint8*>(string_as_array(&data)); in TEST_F()
1783 uint8* start = reinterpret_cast<uint8*>(string_as_array(&data)); in TEST_F()
1797 uint8* start = reinterpret_cast<uint8*>(string_as_array(&data)); in TEST_F()
1811 uint8* start = reinterpret_cast<uint8*>(string_as_array(&data)); in TEST_F()
1825 uint8* start = reinterpret_cast<uint8*>(string_as_array(&data)); in TEST_F()
[all …]
/external/libchrome/crypto/
Dsha2.cc23 SHA256HashString(str, string_as_array(&output), output.size()); in SHA256HashString()
/external/protobuf/src/google/protobuf/stubs/
Dstl_util.h83 inline char* string_as_array(string* str) { in string_as_array() function
Dstl_util-inl.h83 inline char* string_as_array(string* str) { in string_as_array() function
Dsubstitute.cc112 char* target = string_as_array(output) + original_size; in SubstituteAndAppend()
/external/protobuf/src/google/protobuf/io/
Dzero_copy_stream_impl_lite.h346 return string_as_array(s); in mutable_string_data()
/external/protobuf/src/google/protobuf/
Dextension_set_unittest.cc348 uint8* target = reinterpret_cast<uint8*>(string_as_array(&data)); in TEST()
370 io::ArrayOutputStream array_stream(string_as_array(&data), size, 1); in TEST()
392 uint8* target = reinterpret_cast<uint8*>(string_as_array(&data)); in TEST()
414 io::ArrayOutputStream array_stream(string_as_array(&data), size, 1); in TEST()
Dunknown_field_set_unittest.cc194 uint8* target = reinterpret_cast<uint8*>(string_as_array(&fast_buffer)); in TEST_F()
200 io::ArrayOutputStream raw_stream(string_as_array(&slow_buffer), size, 1); in TEST_F()
Dwire_format_unittest.cc484 uint8* target = reinterpret_cast<uint8*>(string_as_array(&flat_data)); in TEST()
491 io::ArrayOutputStream array_stream(string_as_array(&stream_data), size, 1); in TEST()
/external/webrtc/webrtc/system_wrappers/include/
Dstl_util.h125 inline char* string_as_array(std::string* str) { in string_as_array() function
/external/libchrome/base/trace_event/
Dtrace_event_impl.cc152 char* ptr = string_as_array(&parameter_copy_storage_->data()); in Initialize()
/external/protobuf/src/google/protobuf/compiler/
Dcommand_line_interface.cc559 char* target_ptr = string_as_array(target) + pos; in ~MemoryOutputStream()
576 string_as_array(target) + pos + data_.size() + indent_size); in ~MemoryOutputStream()