/aosp_15_r20/external/golang-protobuf/internal/filedesc/ |
H A D | desc_test.go | 2 // Use of this source code is governed by a BSD-style 15 "github.com/google/go-cmp/cmp" 19 "google.golang.org/protobuf/proto" 35 Syntax: proto.String("proto2"), 36 Name: proto.String("path/to/file.proto"), 37 Package: proto.String("test"), 38 Options: &descriptorpb.FileOptions{Deprecated: proto.Bool(true)}, 40 Name: proto.String("A"), 42 Deprecated: proto.Bool(true), 45 Name: proto.String("B"), [all …]
|
/aosp_15_r20/external/pigweed/pw_protobuf/public/pw_protobuf/ |
H A D | encoder.h | 7 // https://www.apache.org/licenses/LICENSE-2.0 45 // of the final proto. For StreamEncoder objects, this should be the max 46 // size of any nested proto submessage that will be built with this encoder 48 // proto will encode many large submessages, this value should just be the 51 // expected to be open simultaneously to encode this proto message. 64 // OK - varint is written successfully 74 // Write the field key and length prefix for a length-delimited field. It is 76 // of bytes written for the field in order to form a valid proto message. 85 // OK - Field key is written successfully 103 // A protobuf encoder that encodes serialized proto data to a [all …]
|
/aosp_15_r20/external/tcpdump/tests/ |
H A D | QinQpacketv.out | 1 …ff, ethertype 802.1Q-QinQ (0x88a8), length 64: vlan 200, p 0, ethertype ARP (0x0806), Ethernet (le… 2 …thertype 802.1Q-QinQ (0x88a8), length 344: vlan 200, p 0, ethertype IPv4 (0x0800), (tos 0x0, ttl 3… 4 Client-Ethernet-Address 00:08:5d:23:0c:3f 5 Vendor-rfc1048 Extensions 7 DHCP-Message (53), length 1: Discover 9 Parameter-Request (55), length 9: 10 Subnet-Mask (1), Default-Gateway (3), Domain-Name-Server (6), NTP (42) 11 Vendor-Option (43), Time-Zone (2), TFTP (66), Unknown (159) 14 Vendor-Class (60), length 18: "AastraIPPhone6731i" 15 …thertype 802.1Q-QinQ (0x88a8), length 344: vlan 200, p 0, ethertype IPv4 (0x0800), (tos 0x0, ttl 3… [all …]
|
H A D | arp-oobr.out | 1 …rtype ARP (0x0806), length 60: Ethernet (len 6), IPv4 (len 4), Request who-has 192.168.1.1 tell 19… 2 …rtype ARP (0x0806), length 60: Ethernet (len 6), IPv4 (len 4), Request who-has 192.168.1.1 (00:55:… 3 …rtype ARP (0x0806), length 60: Ethernet (len 6), IPv4 (len 4), Request who-has 192.168.0.1 (00:13:… 4 …rtype ARP (0x0806), length 60: Ethernet (len 6), IPv4 (len 4), Request who-has 192.168.1.1 tell 19… 5 …rtype ARP (0x0806), length 60: Ethernet (len 6), IPv4 (len 4), Request who-has 192.168.212.1 tell … 6 …rtype ARP (0x0806), length 60: Ethernet (len 6), IPv4 (len 4), Request who-has 192.168.0.38 tell 1… 7 …rtype ARP (0x0806), length 60: Ethernet (len 6), IPv4 (len 4), Request who-has 192.168.1.1 tell 19… 8 …rtype ARP (0x0806), length 60: Ethernet (len 6), IPv4 (len 4), Request who-has 192.168.1.1 tell 19… 9 …rtype ARP (0x0806), length 60: Ethernet (len 6), IPv4 (len 4), Request who-has 192.168.1.1 tell 19… 10 …rtype ARP (0x0806), length 42: Ethernet (len 6), IPv4 (len 4), Request who-has 192.168.0.1 tell 19… [all …]
|
/aosp_15_r20/external/grpc-grpc/src/csharp/Grpc.Tools.Tests/ |
H A D | DepFileUtilTest.cs | 9 // http://www.apache.org/licenses/LICENSE-2.0 36 StringAssert.IsMatch("^[a-f0-9]{16}$", hashFoo1); in HashString64Hex_IsSane() 44 StringAssert.IsMatch(@"^out[\\/][a-f0-9]{16}_foo.protodep$", in GetDepFilenameForProto_IsSane() 45 DepFileUtil.GetDepFilenameForProto("out", "foo.proto")); in GetDepFilenameForProto_IsSane() 46 StringAssert.IsMatch(@"^[a-f0-9]{16}_foo.protodep$", in GetDepFilenameForProto_IsSane() 47 DepFileUtil.GetDepFilenameForProto("", "foo.proto")); in GetDepFilenameForProto_IsSane() 56 string same1 = PickHash("dir1/dir2/foo.proto"); in GetDepFilenameForProto_HashesDir() 57 string same2 = PickHash("dir1/dir2/proto.foo"); in GetDepFilenameForProto_HashesDir() 58 string same3 = PickHash("dir1/dir2/proto"); in GetDepFilenameForProto_HashesDir() 59 string same4 = PickHash("dir1/dir2/.proto"); in GetDepFilenameForProto_HashesDir() [all …]
|
/aosp_15_r20/external/tensorflow/tensorflow/python/debug/lib/ |
H A D | grpc_debug_server.py | 7 # http://www.apache.org/licenses/LICENSE-2.0 16 # pylint: disable=g-bad-import-order 47 """Per-stream handler of EventListener gRPC streams.""" 56 event: The Event proto that carries a JSON string in its 60 `None` or an `EventReply` proto to be sent back to the client. If `None`, 61 an `EventReply` proto construct with the default no-arg constructor will 69 """Callback for Event proto received through the gRPC stream. 71 This Event proto carries a GraphDef, encoded as bytes, in its graph_def 80 `None` or an `EventReply` proto to be sent back to the client. If `None`, 81 an `EventReply` proto construct with the default no-arg constructor will [all …]
|
/aosp_15_r20/external/golang-protobuf/reflect/protodesc/ |
H A D | file_test.go | 2 // Use of this source code is governed by a BSD-style 14 "google.golang.org/protobuf/proto" 30 return proto.Clone(in).(*descriptorpb.FileDescriptorProto) 36 name: "proto2_enum.proto" 42 name: "proto3_message.proto" 54 name: "extendable_message.proto" 60 name: "import_public1.proto" 61 dependency: ["proto2_enum.proto", "proto3_message.proto", "extendable_message.proto"] 66 name: "import_public2.proto" 67 dependency: ["import_public1.proto"] [all …]
|
/aosp_15_r20/external/libpcap/ |
H A D | pcap-filter.manmisc.in | 21 .TH PCAP-FILTER @MAN_MISC_INFO@ "19 November 2022" 23 pcap-filter \- packet filter syntax 54 E.g., `\fBhost\fP foo', `\fBnet\fP 128.3', `\fBport\fP 20', `\fBportrange\fP 6000-6008'. 75 E.g., `\fBsrc\fP foo', `\fBdst net\fP 128.3', `\fBsrc or dst port\fP ftp-data'. 87 .IP \fIproto\fP 88 .I proto 106 `\fBudp portrange\fP 7000-7009', `\fBwlan addr2\fP 0:2:3:4:5:6'. 108 .I proto 117 network interface''. FDDI headers contain Ethernet-like source 118 and destination addresses, and often contain Ethernet-like packet [all …]
|
/aosp_15_r20/frameworks/base/core/java/android/os/ |
H A D | BatteryStats.java | 8 * http://www.apache.org/licenses/LICENSE-2.0 55 import android.util.proto.ProtoOutputStream; 267 * - Wakelock data (wl) gets current and max times. 269 * - Background timers and counters for: Sensor, BluetoothScan, WifiScan, Jobs, Syncs. 271 * - Actual (not just apportioned) Wakelock time is also recorded. 272 * - Aggregated partial wakelock time (per uid, instead of per wakelock) is recorded. 273 * - BLE scan result count 274 * - CPU frequency time per uid 276 * - BLE scan result background count, BLE unoptimized scan time 277 * - Background partial wakelock time & count [all …]
|
/aosp_15_r20/external/perfetto/src/trace_processor/metrics/ |
H A D | metrics.cc | 8 * http://www.apache.org/licenses/LICENSE-2.0 71 "Message has size %zu which is larger than the maximum allowed message " in ValidateSingleNonEmptyMessage() 86 return base::ErrStatus("Message field has wrong wire type %d", in ValidateSingleNonEmptyMessage() 92 return base::ErrStatus("Field has wrong type (expected %s, was %s)", in ValidateSingleNonEmptyMessage() 98 return base::ErrStatus("Message has no proto bytes"); in ValidateSingleNonEmptyMessage() 104 return base::ErrStatus("Field has zero size"); in ValidateSingleNonEmptyMessage() 121 if (desc.value()->is_repeated()) { in AppendSqlValue() 123 "Unexpected long value for repeated field %s in proto type %s", in AppendSqlValue() 124 field_name.c_str(), descriptor_->full_name().c_str()); in AppendSqlValue() 128 if (desc.value()->is_repeated()) { in AppendSqlValue() [all …]
|
/aosp_15_r20/external/protobuf/javanano/ |
H A D | README.md | 1 Protocol Buffers - Google's data interchange format 4 [](https://travis-ci.org/go… 13 Installation - With Maven 14 ------------------------- 27 $ protoc --version 50 Installation - Without Maven 51 ---------------------------- 61 $ protoc --version 68 $ protoc --java_out=src/main/java -I../src \ 69 ../src/google/protobuf/descriptor.proto [all …]
|
/aosp_15_r20/external/golang-protobuf/reflect/protoreflect/ |
H A D | proto.go | 2 // Use of this source code is governed by a BSD-style 8 // defined in proto source files and value interfaces which provide the 15 // They are wrappers around the messages declared in descriptor.proto. 32 // There is commonly a one-to-one relationship between protobuf descriptors and 33 // Go type descriptors, but it can potentially be a one-to-many relationship. 49 // To convert a proto.Message to a protoreflect.Message, use the 52 // The "github.com/golang/protobuf/proto".MessageReflect function can be used 75 // It has an EnumDescriptor and can construct an Enum instance. 94 // It has a MessageDescriptor and can construct a Message instance. 99 // It has no understanding of Go types. In order to construct a MessageType [all …]
|
/aosp_15_r20/external/google-cloud-java/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ |
H A D | RollbackNodePoolUpgradeRequest.java | 8 * https://www.apache.org/licenses/LICENSE-2.0 17 // source: google/container/v1/cluster_service.proto 26 * NodePool upgrade. This will be an no-op if the last upgrade successfully 86 * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). 87 * This field has been deprecated and replaced by the name field. 93 * google/container/v1/cluster_service.proto;l=3559 114 * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). 115 * This field has been deprecated and replaced by the name field. 121 * google/container/v1/cluster_service.proto;l=3559 148 * cluster resides. This field has been deprecated and replaced by the name [all …]
|
H A D | GetNodePoolRequest.java | 8 * https://www.apache.org/licenses/LICENSE-2.0 17 // source: google/container/v1/cluster_service.proto 83 * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). 84 * This field has been deprecated and replaced by the name field. 90 * google/container/v1/cluster_service.proto;l=3017 111 * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). 112 * This field has been deprecated and replaced by the name field. 118 * google/container/v1/cluster_service.proto;l=3017 145 * cluster resides. This field has been deprecated and replaced by the name 152 * google/container/v1/cluster_service.proto;l=3023 [all …]
|
H A D | DeleteNodePoolRequest.java | 8 * https://www.apache.org/licenses/LICENSE-2.0 17 // source: google/container/v1/cluster_service.proto 83 * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). 84 * This field has been deprecated and replaced by the name field. 90 * google/container/v1/cluster_service.proto;l=2968 111 * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). 112 * This field has been deprecated and replaced by the name field. 118 * google/container/v1/cluster_service.proto;l=2968 145 * cluster resides. This field has been deprecated and replaced by the name 152 * google/container/v1/cluster_service.proto;l=2974 [all …]
|
H A D | SetNodePoolSizeRequest.java | 8 * https://www.apache.org/licenses/LICENSE-2.0 17 // source: google/container/v1/cluster_service.proto 83 * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). 84 * This field has been deprecated and replaced by the name field. 90 * google/container/v1/cluster_service.proto;l=3518 111 * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). 112 * This field has been deprecated and replaced by the name field. 118 * google/container/v1/cluster_service.proto;l=3518 145 * cluster resides. This field has been deprecated and replaced by the name 152 * google/container/v1/cluster_service.proto;l=3524 [all …]
|
/aosp_15_r20/external/google-cloud-java/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ |
H A D | DeleteNodePoolRequest.java | 8 * https://www.apache.org/licenses/LICENSE-2.0 17 // source: google/container/v1beta1/cluster_service.proto 83 * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). 84 * This field has been deprecated and replaced by the name field. 91 * google/container/v1beta1/cluster_service.proto;l=3300 112 * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). 113 * This field has been deprecated and replaced by the name field. 120 * google/container/v1beta1/cluster_service.proto;l=3300 147 * cluster resides. This field has been deprecated and replaced by the name 154 * google/container/v1beta1/cluster_service.proto;l=3307 [all …]
|
H A D | GetNodePoolRequest.java | 8 * https://www.apache.org/licenses/LICENSE-2.0 17 // source: google/container/v1beta1/cluster_service.proto 83 * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). 84 * This field has been deprecated and replaced by the name field. 91 * google/container/v1beta1/cluster_service.proto;l=3354 112 * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). 113 * This field has been deprecated and replaced by the name field. 120 * google/container/v1beta1/cluster_service.proto;l=3354 147 * cluster resides. This field has been deprecated and replaced by the name 154 * google/container/v1beta1/cluster_service.proto;l=3361 [all …]
|
H A D | RollbackNodePoolUpgradeRequest.java | 8 * https://www.apache.org/licenses/LICENSE-2.0 17 // source: google/container/v1beta1/cluster_service.proto 26 * NodePool upgrade. This will be an no-op if the last upgrade successfully 86 * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). 87 * This field has been deprecated and replaced by the name field. 94 * See google/container/v1beta1/cluster_service.proto;l=3898 115 * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). 116 * This field has been deprecated and replaced by the name field. 123 * See google/container/v1beta1/cluster_service.proto;l=3898 150 * cluster resides. This field has been deprecated and replaced by the name [all …]
|
/aosp_15_r20/external/python/cpython2/Lib/ |
D | pickletools.py | 3 Extensive comments about the pickle protocols and pickle-machine opcodes 17 # - A pickle verifier: read a pickle and check it exhaustively for 18 # well-formedness. dis() does a lot of this already. 20 # - A protocol identifier: examine a pickle and return its protocol number 21 # (== the highest .proto attr value among all the opcodes in the pickle). 24 # - A pickle optimizer: for example, tuple-building code is sometimes more 39 The PM has two data areas, "the stack" and "the memo". 53 At heart, that's all the PM has. Subtleties arise for these reasons: 68 them. For things like module references and instances of user-defined 73 + Backward compatibility and micro-optimization. As explained below, [all …]
|
/aosp_15_r20/external/tink/testing/go/ |
H A D | services_test.go | 7 // http://www.apache.org/licenses/LICENSE-2.0 27 "google.golang.org/protobuf/proto" 52 return nil, fmt.Errorf("genResponse.Result has unexpected type %T", r) 68 return nil, fmt.Errorf("response.Result has unexpected type %T", r) 84 return nil, fmt.Errorf("response.Result has unexpected type %T", r) 100 return "", fmt.Errorf("response.Result has unexpected type %T", r) 141 template, err := proto.Marshal(aead.AES128GCMKeyTemplate()) 143 t.Fatalf("proto.Marshal(aead.AES128GCMKeyTemplate()) failed: %v", err) 204 return nil, fmt.Errorf("response.Result has unexpected type %T", r) 234 return nil, fmt.Errorf("response.Result has unexpected type %T", r) [all …]
|
/aosp_15_r20/external/grpc-grpc/src/csharp/ |
H A D | BUILD-INTEGRATION.md | 3 …) NuGet package provides C# tooling support for generating C# code from `.proto` files in `.csproj… 5 * It can be used in building both grpc-dotnet projects and legacy c-core C# projects. 12 `.proto` files. These files: 13 * are generated on an as-needed basis each time the project is built. 18 `.proto` files by running the `protoc` compiler manually or from a script. 21 the server and client projects, and by both c-core C# projects and grpc-dotnet projects: 25 `Grpc.Tools` is only used at build-time and has no runtime components. 40 See [Using Grpc.Tools with unsupported architectures](#unsupported-arch) below. 42 ## Adding `.proto` files to a project 44 …o add `.proto` files to a project edit the project’s `.csproj` file and add an item group with a `… [all …]
|
/aosp_15_r20/external/cronet/third_party/protobuf/python/google/protobuf/internal/ |
H A D | reflection_test.py | 1 # -*- coding: utf-8 -*- 2 # Protocol Buffers - Google's data interchange format 4 # https://developers.google.com/protocol-buffers/ 33 pure-Python protocol compiler. 125 proto = message_module.TestAllTypes( 131 self.assertEqual(24, proto.optional_int32) 132 self.assertEqual(54.321, proto.optional_double) 133 self.assertEqual('optional_string', proto.optional_string) 135 self.assertFalse(proto.HasField("optional_float")) 139 proto = message_module.TestAllTypes( [all …]
|
/aosp_15_r20/external/protobuf/python/google/protobuf/internal/ |
H A D | reflection_test.py | 1 # -*- coding: utf-8 -*- 2 # Protocol Buffers - Google's data interchange format 4 # https://developers.google.com/protocol-buffers/ 33 pure-Python protocol compiler. 125 proto = message_module.TestAllTypes( 131 self.assertEqual(24, proto.optional_int32) 132 self.assertEqual(54.321, proto.optional_double) 133 self.assertEqual('optional_string', proto.optional_string) 135 self.assertFalse(proto.HasField("optional_float")) 139 proto = message_module.TestAllTypes( [all …]
|
/aosp_15_r20/frameworks/base/apex/jobscheduler/service/java/com/android/server/job/controllers/ |
H A D | JobStatus.java | 8 * http://www.apache.org/licenses/LICENSE-2.0 55 import android.util.proto.ProtoOutputStream; 89 * This object is shared among the various controllers - hence why the different fields are atomic. 163 /** If the effective bucket has been downgraded once due to being buggy. */ 208 * Simple patterns to match some common forms of PII. This is not intended all-encompassing and 224 // Full override: ignore all constraints including API-affecting like connectivity 310 * How many times this job has failed to complete on its own 319 * How many times this job has stopped due to {@link 325 * The number of times JobScheduler has forced this job to stop due to reasons mostly outside 421 * service (not necessarily the caller) was in the foreground and the job has no time [all …]
|