/third_party/mindspore/tests/ut/cpp/ps/core/ |
D | tcp_client_tests.cc | 36 message.ParseFromArray(data, size); in TEST_F() 50 message.ParseFromArray(data, size); in TEST_F()
|
D | tcp_pb_server_test.cc | 40 kv_message.ParseFromArray(data, size); in SetUp() 69 message.ParseFromArray(data, size); in TEST_F()
|
/third_party/mindspore/mindspore/ccsrc/fl/server/ |
D | distributed_count_service.cc | 122 … (void)count_rsp.ParseFromArray(report_cnt_rsp_msg->data(), SizeToInt(report_cnt_rsp_msg->size())); in Count() 158 (void)count_reach_threshold_rsp.ParseFromArray(query_cnt_enough_rsp_msg->data(), in CountReachThreshold() 194 (void)report_count_req.ParseFromArray(message->data(), SizeToInt(message->len())); in HandleCountRequest() 252 (void)count_reach_threshold_req.ParseFromArray(message->data(), SizeToInt(message->len())); in HandleCountReachThresholdRequest() 282 (void)counter_event.ParseFromArray(message->data(), SizeToInt(message->len())); in HandleCounterEvent()
|
D | distributed_metadata_store.cc | 147 …(void)get_metadata_rsp.ParseFromArray(get_meta_rsp_msg->data(), SizeToInt(get_meta_rsp_msg->size()… in GetMetadata() 186 (void)meta_with_name.ParseFromArray(message->data(), SizeToInt(message->len())); in HandleUpdateMetadataRequest() 207 (void)get_metadata_req.ParseFromArray(message->data(), SizeToInt(message->len())); in HandleGetMetadataRequest()
|
D | iteration.cc | 357 …(void)sync_iter_rsp.ParseFromArray(sync_iter_rsp_msg->data(), SizeToInt(sync_iter_rsp_msg->size())… in SyncIteration() 369 (void)sync_iter_req.ParseFromArray(message->data(), SizeToInt(message->len())); in HandleSyncIterationRequest() 420 (void)notify_leader_to_next_iter_req.ParseFromArray(message->data(), SizeToInt(message->len())); in HandleNotifyLeaderMoveToNextIterRequest() 482 (void)prepare_next_iter_req.ParseFromArray(message->data(), SizeToInt(message->len())); in HandlePrepareForNextIterRequest() 526 (void)proceed_to_next_iter_req.ParseFromArray(message->data(), SizeToInt(message->len())); in HandleMoveToNextIterRequest() 590 (void)end_last_iter_req.ParseFromArray(message->data(), SizeToInt(message->len())); in HandleEndLastIterRequest()
|
/third_party/mindspore/mindspore/ccsrc/ps/ |
D | parameter_server.cc | 630 CHECK_RETURN_TYPE(input.ParseFromArray(data.get(), SizeToInt(size))); in HandlePushReq() 641 CHECK_RETURN_TYPE(input.ParseFromArray(data.get(), SizeToInt(size))); in HandlePullReq() 660 CHECK_RETURN_TYPE(input.ParseFromArray(data.get(), SizeToInt(size))); in HandleInitWeights() 685 CHECK_RETURN_TYPE(input.ParseFromArray(data.get(), SizeToInt(size))); in HandleInitWeightToOptimId() 703 CHECK_RETURN_TYPE(input.ParseFromArray(data.get(), SizeToInt(size))); in HandleInitInputsShape() 719 CHECK_RETURN_TYPE(embedding_table_meta.ParseFromArray(data.get(), SizeToInt(size))); in HandleInitEmbeddings() 756 CHECK_RETURN_TYPE(input.ParseFromArray(data.get(), SizeToInt(size))); in HandleCheckReadyForPush() 775 CHECK_RETURN_TYPE(input.ParseFromArray(data.get(), SizeToInt(size))); in HandleCheckReadyForPull() 793 CHECK_RETURN_TYPE(input.ParseFromArray(data.get(), SizeToInt(size))); in HandleEmbeddingLookup() 815 CHECK_RETURN_TYPE(input.ParseFromArray(data.get(), SizeToInt(size))); in HandleUpdateEmbeddings()
|
D | worker.cc | 320 CHECK_RETURN_TYPE(message.ParseFromArray(resp.at(i)->data(), resp.at(i)->size())); in DoPSEmbeddingLookup() 994 CHECK_RETURN_TYPE(message.ParseFromArray(resp.at(i)->data(), SizeToInt(resp.at(i)->size()))); in SendForPull()
|
/third_party/protobuf/src/google/protobuf/ |
D | unknown_field_set.h | 164 bool ParseFromArray(const void* data, int size); 166 return ParseFromArray(data.data(), static_cast<int>(data.size())); in ParseFromString()
|
D | message_unittest.inc | 377 EXPECT_TRUE(message.ParseFromArray("", 0)); 380 EXPECT_FALSE(message.ParseFromArray("\0", 1)); 383 EXPECT_FALSE(message.ParseFromArray("\200", 1)); 386 EXPECT_FALSE(message.ParseFromArray("\014", 1));
|
D | descriptor_database.cc | 558 if (file->ParseFromArray(encoded_file_descriptor, size)) { in Add() 606 if (!file_proto.ParseFromArray(encoded_file.first, encoded_file.second)) { in FindNameOfFileContainingSymbol() 878 return output->ParseFromArray(encoded_file.first, encoded_file.second); in MaybeParse()
|
D | unknown_field_set.cc | 234 bool UnknownFieldSet::ParseFromArray(const void* data, int size) { in ParseFromArray() function in google::protobuf::UnknownFieldSet
|
D | message_lite.h | 325 PROTOBUF_ATTRIBUTE_REINITIALIZES bool ParseFromArray(const void* data,
|
D | message_lite.cc | 324 bool MessageLite::ParseFromArray(const void* data, int size) { in ParseFromArray() function in google::protobuf::MessageLite
|
D | extension_set_unittest.cc | 1326 EXPECT_TRUE(msg.ParseFromArray(wire_bytes, 2)); in TEST()
|
/third_party/mindspore/mindspore/core/load_mindir/ |
D | load_model.cc | 138 …if (!model->ParseFromArray(reinterpret_cast<char *>(plain_data.get()), static_cast<int32_t>(plain_… in ParseModelProto() 161 …if (!graph->ParseFromArray(reinterpret_cast<char *>(plain_data.get()), static_cast<int32_t>(plain_… in ParseGraphProto()
|
/third_party/mindspore/mindspore/ccsrc/ps/core/communicator/ |
D | tcp_message_handler.cc | 81 …pb_message->ParseFromArray(message_buffer_.get(), UintToInt(message_header_.message_meta_length_))… in ReceiveMessage()
|
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/engine/cache/perf/ |
D | cache_perf_run.cc | 368 …CHECK_FAIL_RETURN_UNEXPECTED(epoch_worker_summary.ParseFromArray(p, msg.GetProtoBufSz()), "Parse f… in ListenToPipeline() 382 CHECK_FAIL_RETURN_UNEXPECTED(proto.ParseFromArray(p, msg.GetProtoBufSz()), "Parse fail"); in ListenToPipeline() 395 CHECK_FAIL_RETURN_UNEXPECTED(proto.ParseFromArray(p, msg.GetProtoBufSz()), "Parse fail"); in ListenToPipeline()
|
/third_party/mindspore/mindspore/ccsrc/ps/core/ |
D | abstract_node.cc | 52 CHECK_RETURN_TYPE(register_resp_message.ParseFromArray(data, SizeToInt(size))); in ProcessRegisterResp() 572 CHECK_RETURN_TYPE(heartbeat_resp_message.ParseFromArray(data, SizeToInt(size))); in ProcessHeartbeatResp() 625 CHECK_RETURN_TYPE(fetch_servers_resp_message.ParseFromArray(data, SizeToInt(size))); in ProcessFetchServersResp() 647 CHECK_RETURN_TYPE(send_meta_message.ParseFromArray(data, SizeToInt(size))); in ProcessSendMetadata() 730 CHECK_RETURN_TYPE(event_resp_message.ParseFromArray(data, SizeToInt(size))); in ProcessEvent() 745 CHECK_RETURN_TYPE(scale_out_message.ParseFromArray(data, SizeToInt(size))); in ProcessScaleOut() 765 CHECK_RETURN_TYPE(scale_in_message.ParseFromArray(data, SizeToInt(size))); in ProcessScaleIn()
|
D | scheduler_node.cc | 57 CHECK_RETURN_TYPE(heartbeat_message.ParseFromArray(data, SizeToInt(size))); in ProcessHeartbeat() 147 CHECK_RETURN_TYPE(register_message.ParseFromArray(data, SizeToInt(size))); in ProcessRegister() 268 scale_out_done_message.ParseFromArray(data, SizeToInt(size)); in ProcessScaleOutDone() 296 scale_in_done_message.ParseFromArray(data, SizeToInt(size)); in ProcessScaleInDone() 324 event_message.ParseFromArray(data, SizeToInt(size)); in ProcessSendEvent()
|
/third_party/protobuf/python/google/protobuf/pyext/ |
D | descriptor_database.cc | 100 if (!file_proto.ParseFromArray(str, len)) { in GetFileDescriptorProto()
|
D | descriptor_pool.cc | 590 if (!file_proto.ParseFromArray(message_type, message_len)) { in AddSerializedFile()
|
/third_party/grpc/test/cpp/grpclb/ |
D | grpclb_api_test.cc | 74 request.ParseFromArray(GRPC_SLICE_START_PTR(slice), num_bytes_written); in TEST_F()
|
/third_party/grpc/third_party/upb/benchmarks/ |
D | benchmark.cc | 226 proto.ParseFromArray(descriptor.data, descriptor.size); in BM_SerializeDescriptor_Proto2()
|
/third_party/libphonenumber/cpp/src/phonenumbers/ |
D | shortnumberinfo.cc | 38 if (!metadata->ParseFromArray(short_metadata_get(), short_metadata_size())) { in LoadCompiledInMetadata()
|
D | phonenumbermatcher.cc | 175 if (!alternate_formats->ParseFromArray(alternate_format_get(), in LoadAlternateFormats()
|