Searched refs:string_as_array (Results 1 – 12 of 12) sorted by relevance
/external/protobuf/src/google/protobuf/io/ |
D | coded_stream_inl.h | 53 memcpy(string_as_array(buffer), buffer_, size); in InternalReadStringInline()
|
D | zero_copy_stream_impl_lite.cc | 170 *data = string_as_array(target_) + old_size; in Next()
|
/external/chromium/crypto/ |
D | sha2.cc | 21 SHA256HashString(str, string_as_array(&output), output.size()); in SHA256HashString()
|
/external/protobuf/src/google/protobuf/stubs/ |
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/ |
D | extension_set_unittest.cc | 195 uint8* target = reinterpret_cast<uint8*>(string_as_array(&data)); in TEST() 217 io::ArrayOutputStream array_stream(string_as_array(&data), size, 1); in TEST() 239 uint8* target = reinterpret_cast<uint8*>(string_as_array(&data)); in TEST() 261 io::ArrayOutputStream array_stream(string_as_array(&data), size, 1); in TEST()
|
D | unknown_field_set_unittest.cc | 189 uint8* target = reinterpret_cast<uint8*>(string_as_array(&fast_buffer)); in TEST_F() 195 io::ArrayOutputStream raw_stream(string_as_array(&slow_buffer), size, 1); in TEST_F()
|
D | message_lite.cc | 281 uint8* start = reinterpret_cast<uint8*>(string_as_array(output) + old_size); in AppendPartialToString()
|
D | wire_format_unittest.cc | 405 uint8* target = reinterpret_cast<uint8*>(string_as_array(&flat_data)); in TEST() 412 io::ArrayOutputStream array_stream(string_as_array(&stream_data), size, 1); in TEST()
|
/external/protobuf/src/google/protobuf/compiler/cpp/ |
D | cpp_unittest.cc | 464 uint8* start = reinterpret_cast<uint8*>(string_as_array(&data)); in TEST() 478 uint8* start = reinterpret_cast<uint8*>(string_as_array(&packed_data)); in TEST() 495 io::ArrayOutputStream array_stream(string_as_array(&data), size, 1); in TEST() 514 io::ArrayOutputStream array_stream(string_as_array(&data), size, 1); in TEST()
|
/external/chromium/base/ |
D | stl_util-inl.h | 181 inline char* string_as_array(std::string* str) { in string_as_array() function
|
/external/protobuf/src/google/protobuf/compiler/ |
D | command_line_interface.cc | 523 char* target_ptr = string_as_array(target) + pos; in ~MemoryOutputStream() 540 string_as_array(target) + pos + data_.size() + indent_size); in ~MemoryOutputStream()
|