Home
last modified time | relevance | path

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

123

/external/nos/test/system-test-harness/src/
Druntests.cc47 received.ParseFromArray(reinterpret_cast<char *>(msg.data), msg.data_len); \
112 ASSERT_TRUE(pong_msg.ParseFromArray( in TEST_F()
126 ASSERT_TRUE(pong_msg.ParseFromArray( in TEST_F()
140 ASSERT_TRUE(pong_msg.ParseFromArray( in TEST_F()
161 ASSERT_TRUE(notice_msg.ParseFromArray(reinterpret_cast<char *>(msg.data), in TEST_F()
245 ASSERT_TRUE(result.ParseFromArray(reinterpret_cast<char *>(msg.data + 2), in TEST_F()
304 ASSERT_TRUE(result.ParseFromArray(reinterpret_cast<char *>(msg.data + 2), in TEST_F()
Daes-cmac-tests.cc29 received.ParseFromArray(reinterpret_cast<char *>(msg.data), msg.data_len); \
97 ASSERT_TRUE(result.ParseFromArray(reinterpret_cast<char *>(msg.data + 2), in TEST_F()
Dcavptests.cc33 received.ParseFromArray(reinterpret_cast<char *>(msg.data), msg.data_len); \
121 ASSERT_TRUE(result.ParseFromArray(reinterpret_cast<char *>(msg.data + 2), in TEST_F()
Dstress_test.cc75 if (notice.ParseFromArray( in main()
/external/protobuf/src/google/protobuf/
Dmessage_unittest.cc310 EXPECT_TRUE(message.ParseFromArray("", 0)); in TEST()
313 EXPECT_FALSE(message.ParseFromArray("\0", 1)); in TEST()
316 EXPECT_FALSE(message.ParseFromArray("\200", 1)); in TEST()
319 EXPECT_FALSE(message.ParseFromArray("\014", 1)); in TEST()
Dunknown_field_set.h143 bool ParseFromArray(const void* data, int size);
145 return ParseFromArray(data.data(), static_cast<int>(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.h169 bool ParseFromArray(const void* data, int size);
/external/tensorflow/tensorflow/c/
Dcheckpoint_reader.cc121 CHECK(entry.ParseFromArray(v2_reader_->value().data(), in BuildV2VarMaps()
142 CHECK(entry.ParseFromArray(v2_reader_->value().data(), in BuildV2VarMaps()
Dpython_api.cc32 if (!attr_val.ParseFromArray(attr_value_proto->data, in SetAttr()
150 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()
/external/perfetto/src/protozero/test/
Dprotozero_conformance_unittest.cc107 gold_msg.ParseFromArray(msg_binary.get(), static_cast<int>(msg_size)); in TEST_F()
153 gold_msg_a.ParseFromArray(msg_binary.get(), static_cast<int>(msg_size)); in TEST_F()
/external/webrtc/webrtc/modules/audio_processing/test/
Dprotobuf_utils.cc39 return msg->ParseFromArray(bytes.get(), size); in ReadMessageFromFile()
/external/libtextclassifier/lang_id/common/file/
Dfile-utils.h44 return proto->ParseFromArray(data, num_bytes); in ParseProtoFromMemory()
/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.cc86 if (!proto.ParseFromArray(d->Data(sizes[i]), sizes[i])) { in DecodeResourceHandleList()
/external/perf_data_converter/src/quipper/
Dperf_protobuf_io.cc55 bool ret = perf_data_proto->ParseFromArray(buffer.data(), buffer.size()); in ReadProtobufFromFile()
/external/perfetto/tools/trace_to_text/
Dutils.cc87 auto res = packet.ParseFromArray(buf.get(), static_cast<int>(size)); in ForEachPacketInTrace()
Dtrace_to_text.cc95 if (!msg->ParseFromArray(buf.get(), static_cast<int>(size))) { in TraceToText()
/external/tensorflow/tensorflow/core/util/proto/
Ddescriptors.cc45 if (!descs.ParseFromArray(buf->data(), buf->length())) { in GetDescriptorPoolFromFile()
/external/tensorflow/tensorflow/contrib/android/jni/
Drun_stats_jni.cc62 if (!proto.ParseFromArray(data, size)) { in RUN_STATS_METHOD()
/external/protobuf/python/google/protobuf/pyext/
Ddescriptor_database.cc100 if (!file_proto.ParseFromArray(str, len)) { in GetFileDescriptorProto()
/external/perfetto/src/tracing/core/
Dtrace_writer_for_testing.cc53 if (!trace.ParseFromArray(buffer.data(), static_cast<int>(buffer.size()))) in GetAllTracePackets()
/external/perfetto/src/perfetto_cmd/
Drate_limiter.cc195 return state->ParseFromArray(&buf, static_cast<int>(bytes)); in LoadState()
/external/grpc-grpc/test/cpp/grpclb/
Dgrpclb_api_test.cc63 request.ParseFromArray(GRPC_SLICE_START_PTR(slice), num_bytes_written); in TEST_F()

123