Home
last modified time | relevance | path

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

/external/protobuf/src/google/protobuf/io/
Dcoded_stream_inl.h53 memcpy(string_as_array(buffer), buffer_, size); in InternalReadStringInline()
Dzero_copy_stream_impl_lite.cc170 *data = string_as_array(target_) + old_size; in Next()
/external/chromium/crypto/
Dsha2.cc21 SHA256HashString(str, string_as_array(&output), output.size()); in SHA256HashString()
/external/protobuf/src/google/protobuf/stubs/
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/
Dextension_set_unittest.cc195 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()
Dunknown_field_set_unittest.cc189 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()
Dmessage_lite.cc281 uint8* start = reinterpret_cast<uint8*>(string_as_array(output) + old_size); in AppendPartialToString()
Dwire_format_unittest.cc405 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/
Dcpp_unittest.cc464 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/
Dstl_util-inl.h181 inline char* string_as_array(std::string* str) { in string_as_array() function
/external/protobuf/src/google/protobuf/compiler/
Dcommand_line_interface.cc523 char* target_ptr = string_as_array(target) + pos; in ~MemoryOutputStream()
540 string_as_array(target) + pos + data_.size() + indent_size); in ~MemoryOutputStream()