Home
last modified time | relevance | path

Searched refs:ParseFromArray (Results 1 – 25 of 62) 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/v8/src/libplatform/tracing/
Dtrace-event-listener.cc14 void TraceEventListener::ParseFromArray(const std::vector<char>& array) { in ParseFromArray() function in v8::platform::tracing::TraceEventListener
16 CHECK(trace.ParseFromArray(array.data(), static_cast<int>(array.size()))); in ParseFromArray()
Dtrace-event-listener.h32 void ParseFromArray(const std::vector<char>& array);
/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()
Dkernels_test.cc133 list.ParseFromArray(buf->data, buf->length); in TEST()
276 list.ParseFromArray(buf->data, buf->length); in TEST()
320 list.ParseFromArray(buf->data, buf->length); in TEST()
Dpython_api.cc32 if (!attr_val.ParseFromArray(attr_value_proto->data, in SetAttr()
149 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()
Dops_test.cc44 op_list.ParseFromArray(op_list_buffer->data, op_list_buffer->length); in TEST()
151 op_list.ParseFromArray(op_list_buffer->data, op_list_buffer->length); in TEST()
Dc_api_function.cc290 if (!func->fdef.ParseFromArray(proto, proto_len)) { in TF_FunctionImportFunctionDef()
304 if (!attr_value.ParseFromArray(proto, proto_len)) { in TF_FunctionSetAttrValueProto()
/external/tensorflow/tensorflow/core/platform/
Dprotobuf_util.cc27 return proto->ParseFromArray(serialized, size); in ParseProtoUnlimited()
Dprotobuf.h95 return proto->ParseFromArray(input.data(), static_cast<int>(input.size())); in ParseFromTString()
/external/webrtc/webrtc/modules/audio_processing/test/
Dprotobuf_utils.cc39 return msg->ParseFromArray(bytes.get(), size); in ReadMessageFromFile()
/external/perfetto/tools/trace_to_text/
Dtrace_to_text.cc117 compressed_msg_scratch->ParseFromArray(cb.data, static_cast<int>(cb.size)); in PrintCompressedPackets()
186 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/perfetto/src/tracing/test/
Dapi_integrationtest.cc386 parsed_trace.ParseFromArray(raw_trace.data(), raw_trace.size())); in ReadLogMessagesFromTrace()
441 parsed_trace.ParseFromArray(raw_trace.data(), raw_trace.size())); in ReadSlicesFromTrace()
694 ASSERT_TRUE(trace.ParseFromArray(raw_trace.data(), raw_trace.size())); in TEST_F()
839 EXPECT_TRUE(desc.ParseFromArray(desc_raw.data(), desc_raw.size())); in TEST_F()
914 ASSERT_TRUE(parsed_trace.ParseFromArray(raw_trace.data(), raw_trace.size())); in TEST_F()
1100 ASSERT_TRUE(trace.ParseFromArray(raw_trace.data(), raw_trace.size())); in TEST_F()
1167 ASSERT_TRUE(trace.ParseFromArray(raw_trace.data(), raw_trace.size())); in TEST_F()
1225 ASSERT_TRUE(trace.ParseFromArray(raw_trace.data(), raw_trace.size())); in TEST_F()
1285 ASSERT_TRUE(trace.ParseFromArray(raw_trace.data(), raw_trace.size())); in TEST_F()
1327 ASSERT_TRUE(trace.ParseFromArray(raw_trace.data(), raw_trace.size())); in TEST_F()
[all …]
/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.cc56 packet.ParseFromArray(fld.data(), fld.size()); in GetAllTracePackets()
/external/protobuf/python/google/protobuf/pyext/
Ddescriptor_database.cc100 if (!file_proto.ParseFromArray(str, len)) { in GetFileDescriptorProto()
/external/perfetto/src/ipc/
Dbuffered_frame_deserializer.cc169 if (frame->ParseFromArray(data, size)) in DecodeFrame()
/external/grpc-grpc/test/cpp/grpclb/
Dgrpclb_api_test.cc63 request.ParseFromArray(GRPC_SLICE_START_PTR(slice), num_bytes_written); in TEST_F()

123