Home
last modified time | relevance | path

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

123

/external/perfetto/include/perfetto/protozero/
Dcpp_message_obj.h37 virtual bool ParseFromArray(const void*, size_t) = 0;
40 return ParseFromArray(str.data(), str.size()); in ParseFromString()
/external/webrtc/modules/audio_processing/test/
Dprotobuf_utils.cc65 return msg->ParseFromArray(bytes.get(), size); in ReadMessageFromFile()
76 return msg->ParseFromArray(bytes.get(), size); in ReadMessageFromString()
/external/tensorflow/tensorflow/core/tpu/kernels/
Dtpu_compilation_cache_rpc_support.cc108 if (!header.mutable_proto()->ParseFromArray(executable.bytes, in SerializeCacheEntryToBufferSlices()
131 if (!header.mutable_compiler_metadata()->ParseFromArray( in SerializeCacheEntryToBufferSlices()
/external/tensorflow/tensorflow/core/platform/
Dprotobuf_util.cc27 return proto->ParseFromArray(serialized, size); in ParseProtoUnlimited()
Dprotobuf.h100 return proto->ParseFromArray(input.data(), static_cast<int>(input.size())); in ParseFromTString()
/external/tensorflow/tensorflow/c/
Dcheckpoint_reader.cc120 CHECK(entry.ParseFromArray(v2_reader_->value().data(), in BuildV2VarMaps()
141 CHECK(entry.ParseFromArray(v2_reader_->value().data(), in BuildV2VarMaps()
Dpython_api.cc32 if (!attr_val.ParseFromArray(attr_value_proto->data, in SetAttr()
114 if (!handle_data.ParseFromArray(proto, proto_len)) { in SetHandleShapeAndType()
Dc_test_util.cc394 if (ret) ret = graph_def->ParseFromArray(buffer->data, buffer->length); in GetGraphDef()
406 if (ret) ret = node_def->ParseFromArray(buffer->data, buffer->length); in GetNodeDef()
418 if (ret) ret = func_def->ParseFromArray(buffer->data, buffer->length); in GetFunctionDef()
429 if (ret) ret = attr_value->ParseFromArray(buffer->data, buffer->length); in GetAttrValue()
Dc_api_function.cc296 if (!func->fdef.ParseFromArray(proto, proto_len)) { in TF_FunctionImportFunctionDef()
310 if (!attr_value.ParseFromArray(proto, proto_len)) { in TF_FunctionSetAttrValueProto()
/external/perfetto/src/tracing/test/
Dapi_integrationtest.cc456 parsed_trace.ParseFromArray(raw_trace.data(), raw_trace.size())); in ReadLogMessagesFromTrace()
512 parsed_trace.ParseFromArray(raw_trace.data(), raw_trace.size())); in ReadSlicesFromTrace()
866 ASSERT_TRUE(trace.ParseFromArray(raw_trace.data(), raw_trace.size())); in TEST_P()
1050 EXPECT_TRUE(desc.ParseFromArray(desc_raw.data(), desc_raw.size())); in TEST_P()
1126 ASSERT_TRUE(parsed_trace.ParseFromArray(raw_trace.data(), raw_trace.size())); in TEST_P()
1312 ASSERT_TRUE(trace.ParseFromArray(raw_trace.data(), raw_trace.size())); in TEST_P()
1381 ASSERT_TRUE(trace.ParseFromArray(raw_trace.data(), raw_trace.size())); in TEST_P()
1439 ASSERT_TRUE(trace.ParseFromArray(raw_trace.data(), raw_trace.size())); in TEST_P()
1488 ASSERT_TRUE(trace.ParseFromArray(raw_trace.data(), raw_trace.size())); in TEST_P()
1533 ASSERT_TRUE(trace.ParseFromArray(raw_trace.data(), raw_trace.size())); in TEST_P()
[all …]
/external/perfetto/tools/trace_to_text/
Dtrace_to_text.cc118 compressed_msg_scratch->ParseFromArray(cb.data, static_cast<int>(cb.size)); in PrintCompressedPackets()
187 if (!msg->ParseFromArray(buf.get(), static_cast<int>(size))) { in TraceToText()
/external/libtextclassifier/native/lang_id/common/file/
Dfile-utils.h45 return proto->ParseFromArray(data, num_bytes); in ParseProtoFromMemory()
/external/tensorflow/tensorflow/stream_executor/tpu/
Dproto_helper.h66 CHECK(proto.ParseFromArray(serialized_proto.bytes, serialized_proto.size)) in DeserializeProto()
/external/openscreen/cast/common/channel/
Dmessage_framer.cc58 if (!result.message.ParseFromArray(input.data() + kHeaderSize, in TryDeserialize()
/external/tensorflow/tensorflow/core/framework/
Dtensor_slice_test.cc268 ASSERT_TRUE(proto2.ParseFromArray(pb2, sizeof(pb2) - 1)); in TEST()
272 ASSERT_TRUE(proto3.ParseFromArray(pb3, sizeof(pb3) - 1)); in TEST()
Dresource_handle.cc98 if (!proto.ParseFromArray(d->Data(sizes[i]), sizes[i])) { in DecodeResourceHandleList()
/external/protobuf/src/google/protobuf/
Dunknown_field_set.h167 bool ParseFromArray(const void* data, int size);
169 return ParseFromArray(data.data(), static_cast<int>(data.size())); in ParseFromString()
Ddescriptor_database.cc394 if (file.ParseFromArray(encoded_file_descriptor, size)) { in Add()
441 if (!file_proto.ParseFromArray(encoded_file.first, encoded_file.second)) { in FindNameOfFileContainingSymbol()
470 return output->ParseFromArray(encoded_file.first, encoded_file.second); in MaybeParse()
/external/tensorflow/tensorflow/tools/android/inference_interface/jni/
Drun_stats_jni.cc62 if (!proto.ParseFromArray(data, size)) { in RUN_STATS_METHOD()
/external/tensorflow/tensorflow/core/util/proto/
Ddescriptors.cc60 if (!descs.ParseFromArray(buf->data(), buf->length())) { in GetDescriptorPoolFromFile()
/external/perfetto/src/tracing/core/
Dtrace_writer_for_testing.cc54 packet.ParseFromArray(fld.data(), fld.size()); in GetAllTracePackets()
/external/tensorflow/tensorflow/core/profiler/internal/tpu/
Dtpu_tracer.cc112 tpu_space.ParseFromArray(buffer.data(), buffer.size()); in CollectData()
/external/perfetto/src/protozero/filtering/
Dmessage_filter_unittest.cc789 ASSERT_TRUE(original_trace.ParseFromArray(kTraceData, sizeof(kTraceData))); in TEST()
792 ASSERT_TRUE(filtered_trace.ParseFromArray( in TEST()
/external/protobuf/python/google/protobuf/pyext/
Ddescriptor_database.cc100 if (!file_proto.ParseFromArray(str, len)) { in GetFileDescriptorProto()
/external/perfetto/src/ipc/
Dbuffered_frame_deserializer.cc171 if (frame->ParseFromArray(data, size)) in DecodeFrame()

123