/external/golang-protobuf/proto/ |
message_set_test.go | 32 package proto package
|
size2_test.go | 32 package proto package 39 // generated messages and thus may not be in package proto without having a circular
|
clone.go | 35 package proto package 64 panic("proto: nil destination") 68 panic("proto: type mismatch") 210 log.Printf("proto: don't know how to copy %v", in)
|
equal.go | 34 package proto package 54 in a proto3 .proto file, fields are not "set"; specifically, 239 log.Printf("proto: don't know how to compare %v", v1) 279 log.Printf("proto: don't know how to compare extension %d of %v", extNum, base) 291 log.Printf("proto: badly encoded extension %d of %v: %v", extNum, base, err)
|
/frameworks/base/core/java/android/util/proto/ |
ProtoParseException.java | 17 package android.util.proto;
|
ProtoUtils.java | 17 package android.util.proto; 23 * This class contains a list of helper functions to write common proto in 24 * //frameworks/base/core/proto/android/base directory 32 public static void toAggStatsProto(ProtoOutputStream proto, long fieldId, 34 final long aggStatsToken = proto.start(fieldId); 35 proto.write(AggStats.MIN, min); 36 proto.write(AggStats.AVERAGE, average); 37 proto.write(AggStats.MAX, max); 38 proto.end(aggStatsToken); 45 public static void toDuration(ProtoOutputStream proto, long fieldId, long startMs, long endMs) [all...] |
/external/tensorflow/tensorflow/compiler/tf2xla/kernels/ |
const_op.cc | 29 const TensorProto* proto = nullptr; local 30 OP_REQUIRES_OK(ctx, ctx->GetAttr("value", &proto)); 31 proto_ = *proto; 102 errors::InvalidArgument("Cannot parse tensor from proto: ",
|
/frameworks/base/cmds/incident_helper/src/parsers/ |
BatteryTypeParser.cpp | 20 #include "frameworks/base/core/proto/android/os/batterytype.proto.h" 33 ProtoOutputStream proto; local 44 proto.write(BatteryTypeProto::TYPE, line); 54 if (!proto.flush(out)) { 55 fprintf(stderr, "[%s]Error writing proto back\n", this->name.string()); 58 fprintf(stderr, "[%s]Proto size: %zu bytes\n", this->name.string(), proto.size());
|
/build/soong/cc/ |
proto.go | 32 proto = pctx.AndroidStaticRule("protoc", 39 // genProto creates a rule to convert a .proto file to generated .pb.cc and .pb.h files and returns 47 ccFile = android.GenPathWithExt(ctx, "proto", protoFile, "pb.cc") 48 headerFile = android.GenPathWithExt(ctx, "proto", protoFile, "pb.h") 52 ccFile = android.PathForModuleGen(ctx, "proto", pathtools.ReplaceExtension(rel, "pb.cc")) 53 headerFile = android.PathForModuleGen(ctx, "proto", pathtools.ReplaceExtension(rel, "pb.h")) 57 Rule: proto, 75 switch String(p.Proto.Type) { 91 ctx.PropertyErrorf("proto.type", "unknown proto type %q" 31 proto = pctx.AndroidStaticRule("protoc", var [all...] |
/build/soong/java/ |
proto.go | 31 proto = pctx.AndroidStaticRule("protoc", 44 srcJarFile := android.GenPathWithExt(ctx, "proto", protoFile, "srcjar") 54 Rule: proto, 70 switch proptools.String(p.Proto.Type) { 81 ctx.PropertyErrorf("proto.type", "full java protos only supported on the host") 84 ctx.PropertyErrorf("proto.type", "unknown proto type %q", 85 proptools.String(p.Proto.Type)) 92 switch proptools.String(p.Proto.Type) { 103 ctx.PropertyErrorf("proto.type", "unknown proto type %q" 30 proto = pctx.AndroidStaticRule("protoc", var [all...] |
/cts/tests/tests/proto/src/android/util/proto/cts/ |
ProtoTests.java | 17 package android.util.proto.cts;
|
/external/ltp/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/rpc/rpc_createdestroy_clnt_destroy/ |
rpc_clnt_destroy.c | 45 char *proto = "tcp"; local 49 clnt = clnt_create(argc[1], progNum, VERSNUM, proto);
|
/external/perfetto/src/tracing/core/ |
packet_stream_validator_unittest.cc | 35 protos::TracePacket proto; local 36 proto.mutable_for_testing()->set_str("string field"); 37 std::string ser_buf = proto.SerializeAsString(); 45 protos::TracePacket proto; local 46 proto.mutable_for_testing()->set_str("string field"); 47 proto.mutable_ftrace_events()->set_cpu(0); 48 auto* ft = proto.mutable_ftrace_events()->add_event(); 54 std::string ser_buf = proto.SerializeAsString(); 62 protos::TracePacket proto; local 63 proto.set_trusted_uid(123) 72 protos::TracePacket proto; local 82 protos::TracePacket proto; local 92 protos::TracePacket proto; local 110 protos::TracePacket proto; local 130 protos::TracePacket proto; local 152 protos::TracePacket proto; local 164 protos::TracePacket proto; local [all...] |
/external/tensorflow/tensorflow/compiler/xla/service/ |
hlo_proto_util.cc | 25 HloProto proto = MakeHloProto(module); local 26 proto.mutable_hlo_ordering()->Swap(&proto_ordering); 27 proto.mutable_buffer_assignment()->Swap(&proto_assignment); 28 return proto; 33 HloProto proto; local 34 proto.mutable_hlo_module()->Swap(&proto_module); 35 return proto;
|
/frameworks/base/services/core/java/com/android/server/net/watchlist/ |
ReportEncoder.java | 22 import android.util.proto.ProtoOutputStream; 36 * Helper class to encode and generate serialized DP encoded watchlist proto report. 61 * Convert DP encoded watchlist report into proto format. 64 * @return Watchlist report in proto format, which will be shared in Dropbox. Null if 82 final ProtoOutputStream proto = new ProtoOutputStream(reportOutputStream); local 85 proto.write(NetworkWatchlistReportProto.REPORT_VERSION, REPORT_VERSION); 86 proto.write(NetworkWatchlistReportProto.WATCHLIST_CONFIG_HASH, 94 long token = proto.start(NetworkWatchlistReportProto.APP_RESULT); 95 proto.write(NetworkWatchlistAppResultProto.APP_DIGEST, key); 96 proto.write(NetworkWatchlistAppResultProto.ENCODED_RESULT, encodedResult) [all...] |
/external/curl/src/ |
tool_libinfo.c | 80 const char *const *proto; local 90 for(proto = curlinfo->protocols; *proto; proto++) { 92 if(curl_strequal(*proto, p->proto_name)) {
|
/external/libnl/src/lib/ |
cls.c | 47 int proto; local 49 if ((proto = nl_str2ether_proto(arg)) < 0) 50 nl_cli_fatal(proto, "Unknown protocol \"%s\".", arg); 52 rtnl_cls_set_protocol(cls, proto);
|
/external/linux-kselftest/tools/testing/selftests/bpf/ |
test_pkt_access.c | 30 __u8 proto = 255; local 42 proto = iph->protocol; 50 proto = ip6h->nexthdr; 55 if (((void *)(tcp) + 20) > data_end || proto != 6)
|
/external/llvm/examples/OCaml-Kaleidoscope/Chapter2/ |
ast.ml | 19 (* proto - This type represents the "prototype" for a function, which captures 22 type proto = Prototype of string * string array type 25 type func = Function of proto * expr
|
/external/llvm/examples/OCaml-Kaleidoscope/Chapter3/ |
ast.ml | 19 (* proto - This type represents the "prototype" for a function, which captures 22 type proto = Prototype of string * string array type 25 type func = Function of proto * expr
|
/external/llvm/examples/OCaml-Kaleidoscope/Chapter4/ |
ast.ml | 19 (* proto - This type represents the "prototype" for a function, which captures 22 type proto = Prototype of string * string array type 25 type func = Function of proto * expr
|
/external/ltp/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/rpc/rpc_createdestroy_clnt_create/ |
rpc_clnt_create.c | 49 char proto[8] = "tcp"; local 53 clnt = clnt_create(argc[1], progNum, VERSNUM, proto);
|
/external/ltp/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/rpc/rpc_stdcall_clnt_control/ |
rpc_clnt_control.c | 49 char proto[8] = "udp"; local 54 clnt = clnt_create(argc[1], progNum, VERSNUM, proto);
|
rpc_clnt_control_dataint.c | 49 char proto[8] = "udp"; local 55 clnt = clnt_create(argc[1], progNum, VERSNUM, proto);
|
/external/ltp/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/rpc/rpc_stdcall_clnt_geterr/ |
rpc_clnt_geterr.c | 49 char proto[8] = "udp"; local 54 clnt = clnt_create(argc[1], progNum, VERSNUM, proto);
|