Home
last modified time | relevance | path

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

/external/tensorflow/tensorflow/core/platform/hadoop/
Dhadoop_file_system_test.cc59 reader->Read(0, file_size, &result, gtl::string_as_array(content))); in ReadAll()
85 reader->Read(0, content.size(), &result, gtl::string_as_array(&got))); in TEST_F()
91 TF_EXPECT_OK(reader->Read(2, 4, &result, gtl::string_as_array(&got))); in TEST_F()
227 reader->Read(0, content1.size(), &result, gtl::string_as_array(&got))); in TEST_F()
236 gtl::string_as_array(&got))); in TEST_F()
/external/protobuf/src/google/protobuf/compiler/cpp/
Dcpp_unittest.cc621 uint8* start = reinterpret_cast<uint8*>(string_as_array(&data)); in TEST()
635 uint8* start = reinterpret_cast<uint8*>(string_as_array(&packed_data)); in TEST()
652 io::ArrayOutputStream array_stream(string_as_array(&data), size, 1); in TEST()
671 io::ArrayOutputStream array_stream(string_as_array(&data), size, 1); in TEST()
1819 uint8* start = reinterpret_cast<uint8*>(string_as_array(&data)); in TEST_F()
1833 uint8* start = reinterpret_cast<uint8*>(string_as_array(&data)); in TEST_F()
1848 uint8* start = reinterpret_cast<uint8*>(string_as_array(&data)); in TEST_F()
1862 uint8* start = reinterpret_cast<uint8*>(string_as_array(&data)); in TEST_F()
1876 uint8* start = reinterpret_cast<uint8*>(string_as_array(&data)); in TEST_F()
1890 uint8* start = reinterpret_cast<uint8*>(string_as_array(&data)); in TEST_F()
[all …]
/external/tensorflow/tensorflow/core/platform/s3/
Ds3_file_system_test.cc59 reader->Read(0, file_size, &result, gtl::string_as_array(content))); in ReadAll()
83 reader->Read(0, content.size(), &result, gtl::string_as_array(&got))); in TEST_F()
89 TF_EXPECT_OK(reader->Read(2, 4, &result, gtl::string_as_array(&got))); in TEST_F()
/external/protobuf/src/google/protobuf/stubs/
Dstl_util.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()
Dstrutil.cc2056 const int len = Base64UnescapeInternal(src, slen, string_as_array(dest), in Base64UnescapeInternal()
2200 string_as_array(dest), in Base64EscapeInternal()
/external/tensorflow/tensorflow/core/lib/gtl/
Dstl_util.h39 inline char* string_as_array(string* str) { return &*str->begin(); } in string_as_array() function
/external/tensorflow/tensorflow/core/common_runtime/gpu/
Dgpu_util.cc384 gpu_ptr, num_bytes, gtl::string_as_array(&buf)); in MemoryDebugString()
386 PrintMemory(gtl::string_as_array(&buf), num_bytes)); in MemoryDebugString()
/external/protobuf/src/google/protobuf/io/
Dzero_copy_stream_impl_lite.h390 return string_as_array(s); in mutable_string_data()
/external/webrtc/webrtc/system_wrappers/include/
Dstl_util.h125 inline char* string_as_array(std::string* str) { in string_as_array() function
/external/protobuf/src/google/protobuf/
Dextension_set_unittest.cc460 uint8* target = reinterpret_cast<uint8*>(string_as_array(&data)); in TEST()
482 io::ArrayOutputStream array_stream(string_as_array(&data), size, 1); in TEST()
504 uint8* target = reinterpret_cast<uint8*>(string_as_array(&data)); in TEST()
526 io::ArrayOutputStream array_stream(string_as_array(&data), size, 1); in TEST()
Dunknown_field_set_unittest.cc197 uint8* target = reinterpret_cast<uint8*>(string_as_array(&fast_buffer)); in TEST_F()
203 io::ArrayOutputStream raw_stream(string_as_array(&slow_buffer), size, 1); in TEST_F()
Dlite_unittest.cc524 … start = reinterpret_cast< ::google::protobuf::uint8*>(::google::protobuf::string_as_array(&data)); in main()
541 ::google::protobuf::string_as_array(&data), size, 1); in main()
Dwire_format_unittest.cc488 uint8* target = reinterpret_cast<uint8*>(string_as_array(&flat_data)); in TEST()
495 io::ArrayOutputStream array_stream(string_as_array(&stream_data), size, 1); in TEST()
Dmap_test.cc2009 uint8* start = reinterpret_cast<uint8*>(string_as_array(&data)); in TEST()
2025 io::ArrayOutputStream array_stream(string_as_array(&data), size, 1); in TEST()
/external/tensorflow/tensorflow/core/platform/
Dtensor_coding.cc175 reader.ReadN(size, gtl::string_as_array(data)); in DecodeStringList()
Denv.cc406 char* p = gtl::string_as_array(data); in ReadFileToString()
/external/tensorflow/tensorflow/contrib/cloud/kernels/
Dbigquery_table_accessor_test.cc50 gtl::string_as_array(&result), size); in DeterministicSerialization()
/external/protobuf/src/google/protobuf/compiler/
Dcommand_line_interface.cc676 char* target_ptr = string_as_array(target) + pos; in ~MemoryOutputStream()
693 string_as_array(target) + pos + data_.size() + indent_size); in ~MemoryOutputStream()