Searched refs:ParseFromArray (Results 1 - 25 of 45) sorted by relevance

12

/external/webrtc/webrtc/modules/audio_processing/test/
H A Dprotobuf_utils.cc39 return msg->ParseFromArray(bytes.get(), size);
/external/perf_data_converter/src/quipper/
H A Dperf_protobuf_io.cc55 bool ret = perf_data_proto->ParseFromArray(buffer.data(), buffer.size());
/external/perfetto/src/tracing/core/
H A Dtrace_writer_for_testing.cc52 if (!packet->ParseFromArray(buffer.get(), static_cast<int>(msg_size)))
H A Dtrace_packet_unittest.cc140 trace.ParseFromArray(buf, static_cast<int>(preamble_size + tp.size())));
/external/nos/test/system-test-harness/src/
H A Druntests.cc47 received.ParseFromArray(reinterpret_cast<char *>(msg.data), msg.data_len); \
112 ASSERT_TRUE(pong_msg.ParseFromArray(
126 ASSERT_TRUE(pong_msg.ParseFromArray(
140 ASSERT_TRUE(pong_msg.ParseFromArray(
161 ASSERT_TRUE(notice_msg.ParseFromArray(reinterpret_cast<char *>(msg.data),
245 ASSERT_TRUE(result.ParseFromArray(reinterpret_cast<char *>(msg.data + 2),
304 ASSERT_TRUE(result.ParseFromArray(reinterpret_cast<char *>(msg.data + 2),
H A 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),
H A Dstress_test.cc75 if (notice.ParseFromArray(
H A Dcavptests.cc31 received.ParseFromArray(reinterpret_cast<char *>(msg.data), msg.data_len); \
119 ASSERT_TRUE(result.ParseFromArray(reinterpret_cast<char *>(msg.data + 2),
/external/tensorflow/tensorflow/c/
H A Dcheckpoint_reader.cc121 CHECK(entry.ParseFromArray(v2_reader_->value().data(),
142 CHECK(entry.ParseFromArray(v2_reader_->value().data(),
H A Dpython_api.cc31 if (!attr_val.ParseFromArray(attr_value_proto->data,
H A Dc_test_util.cc346 if (ret) ret = graph_def->ParseFromArray(buffer->data, buffer->length);
358 if (ret) ret = node_def->ParseFromArray(buffer->data, buffer->length);
370 if (ret) ret = func_def->ParseFromArray(buffer->data, buffer->length);
381 if (ret) ret = attr_value->ParseFromArray(buffer->data, buffer->length);
/external/protobuf/src/google/protobuf/
H A Dmessage_lite.h169 bool ParseFromArray(const void* data, int size);
170 // Like ParseFromArray(), but accepts messages that are missing
H A Dmessage_unittest.cc310 EXPECT_TRUE(message.ParseFromArray("", 0));
313 EXPECT_FALSE(message.ParseFromArray("\0", 1));
316 EXPECT_FALSE(message.ParseFromArray("\200", 1));
319 EXPECT_FALSE(message.ParseFromArray("\014", 1));
H A Dunknown_field_set.h143 bool ParseFromArray(const void* data, int size);
145 return ParseFromArray(data.data(), static_cast<int>(data.size()));
H A Ddescriptor_database.cc311 if (file.ParseFromArray(encoded_file_descriptor, size)) {
361 if (!file_proto.ParseFromArray(encoded_file.first, encoded_file.second)) {
387 return output->ParseFromArray(encoded_file.first, encoded_file.second);
/external/tensorflow/tensorflow/contrib/android/jni/
H A Drun_stats_jni.cc61 if (!proto.ParseFromArray(data, size)) {
/external/perfetto/src/perfetto_cmd/
H A Drate_limiter.cc169 return state->ParseFromArray(&buf, static_cast<int>(bytes));
/external/protobuf/python/google/protobuf/pyext/
H A Ddescriptor_database.cc100 if (!file_proto.ParseFromArray(str, len)) {
/external/tensorflow/tensorflow/core/platform/
H A Dtensor_coding.cc94 if (!proto.ParseFromArray(reader.data(), sizes[i])) {
/external/perfetto/src/protozero/test/
H A Dprotozero_conformance_unittest.cc108 gold_msg.ParseFromArray(msg_binary.get(), static_cast<int>(msg_size));
152 gold_msg_a.ParseFromArray(msg_binary.get(), static_cast<int>(msg_size));
/external/tensorflow/tensorflow/core/framework/
H A Dtensor_slice_test.cc268 ASSERT_TRUE(proto2.ParseFromArray(pb2, sizeof(pb2) - 1));
272 ASSERT_TRUE(proto3.ParseFromArray(pb3, sizeof(pb3) - 1));
/external/perfetto/src/ftrace_reader/
H A Dend_to_end_integrationtest.cc56 wrapper->ParseFromArray(buffer.get(), static_cast<int>(msg_size));
/external/puffin/src/
H A Dpuffpatch.cc75 TEST_AND_RETURN_FALSE(header.ParseFromArray(patch + offset, header_size));
/external/nos/host/generic/libnos/generator/test/
H A Dtest.cpp49 return decoded.ParseFromArray(arg.data(), arg.size())
/external/tensorflow/tensorflow/contrib/mpi/
H A Dmpi_rendezvous_mgr.h244 bool res = obj->ParseFromArray(&request_buffer_[0], msg_size);

Completed in 5831 milliseconds

12