Home
last modified time | relevance | path

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

12

/external/chromium_org/components/pairing/
Dproto_decoder.cc80 message.ParseFromArray(&buffer[0], buffer.size()); in DecodeIOBuffer()
86 message.ParseFromArray(&buffer[0], buffer.size()); in DecodeIOBuffer()
92 message.ParseFromArray(&buffer[0], buffer.size()); in DecodeIOBuffer()
98 message.ParseFromArray(&buffer[0], buffer.size()); in DecodeIOBuffer()
104 message.ParseFromArray(&buffer[0], buffer.size()); in DecodeIOBuffer()
/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
/external/chromium_org/third_party/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.h140 bool ParseFromArray(const void* data, int size);
142 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.h141 bool ParseFromArray(const void* data, int size);
Dunknown_field_set.cc229 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
/external/chromium_org/media/cast/logging/
Dlog_deserializer.cc82 if (!frame_event->ParseFromArray(reader->ptr(), proto_size)) in PopulateDeserializedLog()
115 if (!packet_event->ParseFromArray(reader->ptr(), proto_size)) in PopulateDeserializedLog()
154 if (!metadata.ParseFromArray(reader.ptr(), proto_size)) in DoDeserializeEvents()
/external/chromium_org/net/quic/crypto/
Dsource_address_token.cc41 bool SourceAddressToken::ParseFromArray(const char* plaintext, in ParseFromArray() function in net::SourceAddressToken
Dsource_address_token.h109 bool ParseFromArray(const char* plaintext, size_t plaintext_length);
/external/chromium_org/chrome/browser/chromeos/drive/
Dresource_metadata_storage.cc226 entry_.ParseFromArray(it_->value().data(), it_->value().size())) { in Advance()
325 if (!cache_entry.ParseFromArray(it->value().data(), it->value().size())) in UpgradeOldDB()
403 if (!cache_entry.ParseFromArray(it->value().data(), it->value().size())) in UpgradeOldDB()
454 if (!cache_entry.ParseFromArray(it->value().data(), it->value().size())) in UpgradeOldDB()
676 if (entry.ParseFromArray(it->value().data(), it->value().size()) && in RecoverCacheInfoFromTrashedResourceMap()
951 !header.ParseFromArray(it->value().data(), it->value().size()) || in CheckValidity()
992 if (!entry.ParseFromArray(it->value().data(), it->value().size())) { in CheckValidity()
/external/chromium_org/chrome/browser/chromeos/policy/
Duser_policy_token_loader.cc50 device_credentials.ParseFromArray(data.c_str(), data.size())) { in LoadOnBackgroundThread()
Duser_policy_disk_cache.cc68 if (!cached_response.ParseFromArray(data.c_str(), data.size())) { in LoadOnFileThread()
/external/chromium_org/sync/syncable/
Ddirectory_backing_store.cc106 kernel->mutable_ref(static_cast<ProtoField>(i)).ParseFromArray( in UnpackEntry()
123 kernel->mutable_ref(static_cast<AttachmentMetadataField>(i)).ParseFromArray( in UnpackEntry()
612 info->kernel_info.download_progress[type].ParseFromArray( in LoadInfo()
615 info->kernel_info.datatype_context[type].ParseFromArray( in LoadInfo()
683 if (!specifics.ParseFromArray(data, size)) in ModelIdToModelTypeEnum()
1246 specifics.ParseFromArray( in MigrateVersion85To86()
/external/chromium_org/third_party/libphonenumber/src/phonenumbers/
Dshortnumberinfo.cc39 if (!metadata->ParseFromArray(short_metadata_get(), short_metadata_size())) { in LoadCompiledInMetadata()
/external/chromium_org/chrome/renderer/safe_browsing/
Dscorer.cc57 if (!model.ParseFromArray(model_str.data(), model_str.size())) { in Create()
/external/chromium_org/third_party/webrtc/modules/audio_processing/test/
Dtest_utils.h153 return msg->ParseFromArray(bytes.get(), size); in ReadMessageFromFile()
/external/chromium_org/extensions/browser/api/cast_channel/
Dcast_framer.cc148 if (!parsed_message->ParseFromArray( in Ingest()
/external/webrtc/src/modules/audio_processing/test/
Dunpack.cc64 return msg->ParseFromArray(array.get(), usize); in ReadMessageFromFile()
/external/chromium_org/third_party/protobuf/python/google/protobuf/pyext/
Dpython_descriptor.cc303 if (!file_proto.ParseFromArray(message_type, message_len)) { in Python_BuildFile()

12