Home
last modified time | relevance | path

Searched refs:ParseFromArray (Results 1 – 15 of 15) sorted by relevance

/external/protobuf/src/google/protobuf/
Dmessage_unittest.cc248 EXPECT_TRUE(message.ParseFromArray("", 0)); in TEST()
251 EXPECT_FALSE(message.ParseFromArray("\0", 1)); in TEST()
254 EXPECT_FALSE(message.ParseFromArray("\200", 1)); in TEST()
257 EXPECT_FALSE(message.ParseFromArray("\014", 1)); in TEST()
Dunknown_field_set.h116 bool ParseFromArray(const void* data, int size);
118 return ParseFromArray(data.data(), data.size()); in ParseFromString()
Ddescriptor_database.cc311 if (file.ParseFromArray(encoded_file_descriptor, size)) { in Add()
361 if (!file_proto.ParseFromArray(encoded_file.first, encoded_file.second)) { in FindNameOfFileContainingSymbol()
387 return output->ParseFromArray(encoded_file.first, encoded_file.second); in MaybeParse()
Dmessage_lite.h135 bool ParseFromArray(const void* data, int size);
Dunknown_field_set.cc169 bool UnknownFieldSet::ParseFromArray(const void* data, int size) { in ParseFromArray() function in google::protobuf::UnknownFieldSet
Dmessage_lite.cc206 bool MessageLite::ParseFromArray(const void* data, int size) { in ParseFromArray() function in google::protobuf::MessageLite
Dwire_format_unittest.cc800 return message->ParseFromArray(wire_buffer.data(), wire_buffer.size()); in ReadMessage()
/external/webrtc/src/modules/audio_processing/test/
Dunpack.cc64 return msg->ParseFromArray(array.get(), usize); in ReadMessageFromFile()
Dprocess_test.cc65 return msg->ParseFromArray(array.get(), usize); in ReadMessageFromFile()
Dunit_test.cc243 ASSERT_TRUE(message->ParseFromArray(array, size)); in ReadMessageLiteFromFile()
/external/chromium/chrome/browser/sync/syncable/
Ddirectory_backing_store.cc119 (*kernel)->mutable_ref(static_cast<ProtoField>(i)).ParseFromArray( in UnpackEntry()
620 info->kernel_info.download_progress[type].ParseFromArray( in LoadInfo()
725 if (!specifics.ParseFromArray(data, size)) in ModelIdToModelTypeEnum()
Ddirectory_backing_store_unittest.cc1003 specifics.ParseFromArray(s.ColumnBlob(4), s.ColumnByteLength(4)); in TEST_F()
1008 specifics.ParseFromArray(s.ColumnBlob(5), s.ColumnByteLength(5)); in TEST_F()
/external/chromium/chrome/browser/policy/
Duser_policy_identity_strategy.cc92 device_credentials.ParseFromArray(data.c_str(), data.size())) { in LoadOnFileThread()
Duser_policy_cache.cc95 if (!cached_response.ParseFromArray(data.c_str(), data.size())) { in Load()
/external/chromium/chrome/browser/history/
Din_memory_url_index.cc249 if (!index_cache.ParseFromArray(data.c_str(), data.size())) { in RestoreFromCacheFile()