/external/webrtc/webrtc/modules/audio_processing/test/ |
protobuf_utils.cc | 39 return msg->ParseFromArray(bytes.get(), size);
|
/external/libtextclassifier/lang_id/common/file/ |
file-utils.h | 41 // Avoid passing a nullptr to ParseFromArray below. 44 return proto->ParseFromArray(data, num_bytes);
|
/external/perf_data_converter/src/quipper/ |
perf_protobuf_io.cc | 55 bool ret = perf_data_proto->ParseFromArray(buffer.data(), buffer.size());
|
/external/perfetto/tools/trace_to_text/ |
utils.cc | 87 auto res = packet.ParseFromArray(buf.get(), static_cast<int>(size));
|
trace_to_text.cc | 95 if (!msg->ParseFromArray(buf.get(), static_cast<int>(size))) {
|
/external/tensorflow/tensorflow/core/util/proto/ |
descriptors.cc | 45 if (!descs.ParseFromArray(buf->data(), buf->length())) {
|
/external/nos/test/system-test-harness/src/ |
runtests.cc | 47 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),
|
aes-cmac-tests.cc | 29 received.ParseFromArray(reinterpret_cast<char *>(msg.data), msg.data_len); \ 97 ASSERT_TRUE(result.ParseFromArray(reinterpret_cast<char *>(msg.data + 2),
|
stress_test.cc | 75 if (notice.ParseFromArray(
|
cavptests.cc | 33 received.ParseFromArray(reinterpret_cast<char *>(msg.data), msg.data_len); \ 121 ASSERT_TRUE(result.ParseFromArray(reinterpret_cast<char *>(msg.data + 2),
|
/external/tensorflow/tensorflow/c/ |
checkpoint_reader.cc | 121 CHECK(entry.ParseFromArray(v2_reader_->value().data(), 142 CHECK(entry.ParseFromArray(v2_reader_->value().data(),
|
python_api.cc | 32 if (!attr_val.ParseFromArray(attr_value_proto->data, 150 if (!handle_data.ParseFromArray(proto, proto_len)) {
|
/external/perfetto/src/tracing/core/ |
trace_writer_for_testing.cc | 53 if (!trace.ParseFromArray(buffer.data(), static_cast<int>(buffer.size())))
|
/external/protobuf/src/google/protobuf/ |
message_lite.h | 169 bool ParseFromArray(const void* data, int size); 170 // Like ParseFromArray(), but accepts messages that are missing
|
message_unittest.cc | 310 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));
|
unknown_field_set.h | 143 bool ParseFromArray(const void* data, int size); 145 return ParseFromArray(data.data(), static_cast<int>(data.size()));
|
descriptor_database.cc | 311 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/ |
run_stats_jni.cc | 62 if (!proto.ParseFromArray(data, size)) {
|
/external/tensorflow/tensorflow/core/framework/ |
resource_handle.cc | 86 if (!proto.ParseFromArray(d->Data(sizes[i]), sizes[i])) {
|
tensor_slice_test.cc | 268 ASSERT_TRUE(proto2.ParseFromArray(pb2, sizeof(pb2) - 1)); 272 ASSERT_TRUE(proto3.ParseFromArray(pb3, sizeof(pb3) - 1));
|
/external/protobuf/python/google/protobuf/pyext/ |
descriptor_database.cc | 100 if (!file_proto.ParseFromArray(str, len)) {
|
/external/perfetto/src/protozero/test/ |
protozero_conformance_unittest.cc | 107 gold_msg.ParseFromArray(msg_binary.get(), static_cast<int>(msg_size)); 153 gold_msg_a.ParseFromArray(msg_binary.get(), static_cast<int>(msg_size));
|
/external/grpc-grpc/test/cpp/grpclb/ |
grpclb_api_test.cc | 63 request.ParseFromArray(GRPC_SLICE_START_PTR(slice), num_bytes_written);
|
/external/perfetto/src/perfetto_cmd/ |
rate_limiter.cc | 195 return state->ParseFromArray(&buf, static_cast<int>(bytes));
|
/external/perfetto/src/trace_processor/ |
wasm_bridge.cc | 94 bool parsed = query.ParseFromArray(query_data, len);
|