Searched refs:string_as_array (Results 1 – 14 of 14) sorted by relevance
/external/libchrome/base/ |
D | stl_util_unittest.cc | 243 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()
|
D | stl_util.h | 113 inline char* string_as_array(std::string* str) { in string_as_array() function
|
/external/protobuf/src/google/protobuf/compiler/cpp/ |
D | cpp_unittest.cc | 596 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/ |
D | sha2.cc | 23 SHA256HashString(str, string_as_array(&output), output.size()); in SHA256HashString()
|
/external/protobuf/src/google/protobuf/stubs/ |
D | stl_util.h | 83 inline char* string_as_array(string* str) { in string_as_array() function
|
D | stl_util-inl.h | 83 inline char* string_as_array(string* str) { in string_as_array() function
|
D | substitute.cc | 112 char* target = string_as_array(output) + original_size; in SubstituteAndAppend()
|
/external/protobuf/src/google/protobuf/io/ |
D | zero_copy_stream_impl_lite.h | 346 return string_as_array(s); in mutable_string_data()
|
/external/protobuf/src/google/protobuf/ |
D | extension_set_unittest.cc | 348 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()
|
D | unknown_field_set_unittest.cc | 194 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()
|
D | wire_format_unittest.cc | 484 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/ |
D | stl_util.h | 125 inline char* string_as_array(std::string* str) { in string_as_array() function
|
/external/libchrome/base/trace_event/ |
D | trace_event_impl.cc | 152 char* ptr = string_as_array(¶meter_copy_storage_->data()); in Initialize()
|
/external/protobuf/src/google/protobuf/compiler/ |
D | command_line_interface.cc | 559 char* target_ptr = string_as_array(target) + pos; in ~MemoryOutputStream() 576 string_as_array(target) + pos + data_.size() + indent_size); in ~MemoryOutputStream()
|