Searched refs:proto (Results 1 - 25 of 610) sorted by relevance

1234567891011>>

/external/chromium_org/v8/test/mjsunit/regress/
H A Dregress-1217.js30 var proto = RegExp.prototype; variable
31 assertEquals("[object RegExp]", Object.prototype.toString.call(proto));
33 assertEquals("(?:)", proto.source);
34 assertEquals(false, proto.global);
35 assertEquals(false, proto.multiline);
36 assertEquals(false, proto.ignoreCase);
37 assertEquals(0, proto.lastIndex);
39 assertEquals("/(?:)/", proto.toString());
41 var execResult = proto.exec("argle");
47 assertTrue(proto
[all...]
/external/chromium_org/v8/test/webkit/
H A Ddictionary-prototype-caching.js30 var proto = {protoProp: "PASS", propToRemove: "foo"};
31 var o = { __proto__: proto };
33 delete proto.propToRemove;
35 // Prototype lookup caching will attempt to convert proto back to an ordinary structure
40 delete proto.protoProp;
41 proto.fakeProtoProp = "FAIL";
48 var proto = {a:1, b:"meh", c:2};
49 var o = { __proto__: proto };
51 delete proto.b;
52 proto
[all...]
/external/chromium_org/sync/internal_api/public/base/
H A Dattachment_id_proto.cc14 sync_pb::AttachmentIdProto proto; local
17 proto.set_unique_id(guid);
18 return proto;
/external/chromium_org/chrome/renderer/resources/extensions/
H A Dweb_view_deny.js14 var proto = Object.create(HTMLElement.prototype);
16 proto.createdCallback = function() {
21 DocumentNatives.RegisterElement('webview', {prototype: proto});
25 delete proto.createdCallback;
26 delete proto.enteredDocumentCallback;
27 delete proto.leftDocumentCallback;
28 delete proto.attributeChangedCallback;
/external/chromium_org/v8/test/mjsunit/
H A Dfast-prototype.js48 function DoProtoMagic(proto, set__proto__) {
50 (new Sub()).__proto__ = proto;
52 Sub.prototype = proto;
58 var proto = use_new ? new Super() : {};
61 assertTrue(%HasFastProperties(proto));
64 AddProps(proto);
66 assertFalse(%HasFastProperties(proto));
67 DoProtoMagic(proto, set__proto__);
69 assertTrue(%HasFastProperties(proto));
71 DoProtoMagic(proto, set__proto_
[all...]
/external/nanopb-c/generator/proto/
H A DMakefile3 %_pb2.py: %.proto
/external/chromium_org/third_party/protobuf/java/src/test/java/com/google/protobuf/
H A DLazyStringEndToEndTest.java97 UnittestProto.TestAllTypes proto = UnittestProto.TestAllTypes.newBuilder()
104 assertSame(a, proto.getOptionalString());
105 assertSame(b, proto.getRepeatedString(0));
106 assertSame(c, proto.getRepeatedString(1));
112 proto.toByteString();
113 String aPrime = proto.getOptionalString();
116 String bPrime = proto.getRepeatedString(0);
119 String cPrime = proto.getRepeatedString(1);
124 assertSame(aPrime, proto.getOptionalString());
125 assertSame(bPrime, proto
[all...]
/external/chromium_org/third_party/protobuf/python/google/protobuf/internal/
H A Dreflection_test.py114 proto = unittest_pb2.TestAllTypes(
119 self.assertEqual(24, proto.optional_int32)
120 self.assertEqual(54.321, proto.optional_double)
121 self.assertEqual('optional_string', proto.optional_string)
125 proto = unittest_pb2.TestAllTypes(
131 self.assertEquals([1, 2, 3, 4], list(proto.repeated_int32))
132 self.assertEquals([1.23, 54.321], list(proto.repeated_double))
133 self.assertEquals([True, False, False], list(proto.repeated_bool))
134 self.assertEquals(["optional_string"], list(proto.repeated_string))
138 proto
[all...]
/external/chromium_org/media/cast/logging/proto/
H A Dproto_utils.cc5 #include "media/cast/logging/proto/proto_utils.h"
11 return proto::enum
16 proto::EventType ToProtoEventType(CastLoggingEvent event) {
32 return proto::UNKNOWN;
H A Dproto_utils.h9 #include "media/cast/logging/proto/raw_events.pb.h"
15 // Converts |event| to a corresponding value in |media::cast::proto::EventType|.
16 media::cast::proto::EventType ToProtoEventType(CastLoggingEvent event);
/external/chromium_org/components/dom_distiller/core/
H A Dfake_distiller.cc51 scoped_ptr<DistilledArticleProto> proto(new DistilledArticleProto);
52 proto->add_pages()->set_url(url_.spec());
53 PostDistillerCallback(proto.Pass());
58 scoped_ptr<DistilledArticleProto> proto) {
62 PostDistillerCallback(proto.Pass());
72 scoped_ptr<DistilledArticleProto> proto) {
77 base::Passed(&proto)));
81 scoped_ptr<DistilledArticleProto> proto) {
86 article_callback_.Run(proto.Pass());
57 RunDistillerCallback( scoped_ptr<DistilledArticleProto> proto) argument
71 PostDistillerCallback( scoped_ptr<DistilledArticleProto> proto) argument
80 RunDistillerCallbackInternal( scoped_ptr<DistilledArticleProto> proto) argument
H A Ddistilled_content_store.cc23 const DistilledArticleProto& proto,
25 InjectContent(entry, proto);
65 const DistilledArticleProto& proto) {
66 cache_.Put(entry.entry_id(), proto);
67 AddUrlToIdMapping(entry, proto);
72 const DistilledArticleProto& proto) {
73 for (int i = 0; i < proto.pages_size(); i++) {
74 const DistilledPageProto& page = proto.pages(i);
82 const DistilledArticleProto& proto) {
83 for (int i = 0; i < proto
21 SaveContent( const ArticleEntry& entry, const DistilledArticleProto& proto, InMemoryContentStore::SaveCallback callback) argument
64 InjectContent(const ArticleEntry& entry, const DistilledArticleProto& proto) argument
70 AddUrlToIdMapping( const ArticleEntry& entry, const DistilledArticleProto& proto) argument
81 EraseUrlToIdMapping( const DistilledArticleProto& proto) argument
98 operator ()( const DistilledArticleProto& proto) argument
[all...]
/external/clang/test/Sema/
H A Dknr-def-call.c32 void proto(int);
33 void proto(x) function
39 proto(42.1); // expected-warning{{implicit conversion from 'double' to 'int' changes value from 42.1 to 42}}
40 (&proto)(42.1); // expected-warning{{implicit conversion from 'double' to 'int' changes value from 42.1 to 42}}
/external/chromium_org/third_party/protobuf/java/src/main/java/com/google/protobuf/
H A DDescriptors.java52 * a relevant {@code .proto} file. You can obtain it by calling
55 * imported {@code .proto} files.
58 * {@code google/protobuf/descriptor.proto}.
64 * Describes a {@code .proto} file, including everything defined within.
66 * file descriptors for all other imported {@code .proto} files
71 public FileDescriptorProto toProto() { return proto; }
74 public String getName() { return proto.getName(); }
77 * Get the proto package name. This is the package name given by the
78 * {@code package} statement in the {@code .proto} file, which differs
81 public String getPackage() { return proto
223 buildFrom(final FileDescriptorProto proto, final FileDescriptor[] dependencies) argument
338 private FileDescriptorProto proto; field in class:Descriptors.FileDescriptor
347 FileDescriptor(final FileDescriptorProto proto, final FileDescriptor[] dependencies, final DescriptorPool pool) argument
416 setProto(final FileDescriptorProto proto) argument
571 private DescriptorProto proto; field in class:Descriptors.Descriptor
580 Descriptor(final DescriptorProto proto, final FileDescriptor file, final Descriptor parent, final int index) argument
634 setProto(final DescriptorProto proto) argument
832 private FieldDescriptorProto proto; field in class:Descriptors.FieldDescriptor
911 FieldDescriptor(final FieldDescriptorProto proto, final FileDescriptor file, final Descriptor parent, final int index, final boolean isExtension) argument
1150 setProto(final FieldDescriptorProto proto) argument
1230 private EnumDescriptorProto proto; field in class:Descriptors.EnumDescriptor
1236 EnumDescriptor(final EnumDescriptorProto proto, final FileDescriptor file, final Descriptor parent, final int index) argument
1264 setProto(final EnumDescriptorProto proto) argument
1316 private EnumValueDescriptorProto proto; field in class:Descriptors.EnumValueDescriptor
1321 EnumValueDescriptor(final EnumValueDescriptorProto proto, final FileDescriptor file, final EnumDescriptor parent, final int index) argument
1338 setProto(final EnumValueDescriptorProto proto) argument
1392 private ServiceDescriptorProto proto; field in class:Descriptors.ServiceDescriptor
1397 ServiceDescriptor(final ServiceDescriptorProto proto, final FileDescriptor file, final int index) argument
1422 setProto(final ServiceDescriptorProto proto) argument
1473 private MethodDescriptorProto proto; field in class:Descriptors.MethodDescriptor
1482 MethodDescriptor(final MethodDescriptorProto proto, final FileDescriptor file, final ServiceDescriptor parent, final int index) argument
1518 setProto(final MethodDescriptorProto proto) argument
1571 private final Message proto; field in class:Descriptors.DescriptorValidationException
[all...]
/external/protobuf/java/src/main/java/com/google/protobuf/
H A DDescriptors.java51 * {@code google/protobuf/descriptor.proto}.
57 * Describes a {@code .proto} file, including everything defined within.
61 public FileDescriptorProto toProto() { return proto; }
64 public String getName() { return proto.getName(); }
67 * Get the proto package name. This is the package name given by the
68 * {@code package} statement in the {@code .proto} file, which differs
71 public String getPackage() { return proto.getPackage(); }
73 /** Get the {@code FileOptions}, defined in {@code descriptor.proto}. */
74 public FileOptions getOptions() { return proto.getOptions(); }
199 * @param proto Th
208 buildFrom(final FileDescriptorProto proto, final FileDescriptor[] dependencies) argument
323 private FileDescriptorProto proto; field in class:Descriptors.FileDescriptor
331 FileDescriptor(final FileDescriptorProto proto, final FileDescriptor[] dependencies, final DescriptorPool pool) argument
389 setProto(final FileDescriptorProto proto) argument
544 private DescriptorProto proto; field in class:Descriptors.Descriptor
553 Descriptor(final DescriptorProto proto, final FileDescriptor file, final Descriptor parent, final int index) argument
607 setProto(final DescriptorProto proto) argument
805 private FieldDescriptorProto proto; field in class:Descriptors.FieldDescriptor
884 FieldDescriptor(final FieldDescriptorProto proto, final FileDescriptor file, final Descriptor parent, final int index, final boolean isExtension) argument
1121 setProto(final FieldDescriptorProto proto) argument
1201 private EnumDescriptorProto proto; field in class:Descriptors.EnumDescriptor
1207 EnumDescriptor(final EnumDescriptorProto proto, final FileDescriptor file, final Descriptor parent, final int index) argument
1235 setProto(final EnumDescriptorProto proto) argument
1287 private EnumValueDescriptorProto proto; field in class:Descriptors.EnumValueDescriptor
1292 EnumValueDescriptor(final EnumValueDescriptorProto proto, final FileDescriptor file, final EnumDescriptor parent, final int index) argument
1309 setProto(final EnumValueDescriptorProto proto) argument
1363 private ServiceDescriptorProto proto; field in class:Descriptors.ServiceDescriptor
1368 ServiceDescriptor(final ServiceDescriptorProto proto, final FileDescriptor file, final int index) argument
1393 setProto(final ServiceDescriptorProto proto) argument
1444 private MethodDescriptorProto proto; field in class:Descriptors.MethodDescriptor
1453 MethodDescriptor(final MethodDescriptorProto proto, final FileDescriptor file, final ServiceDescriptor parent, final int index) argument
1487 setProto(final MethodDescriptorProto proto) argument
1540 private final Message proto; field in class:Descriptors.DescriptorValidationException
[all...]
/external/protobuf/python/google/protobuf/internal/
H A Dreflection_test.py114 proto = unittest_pb2.TestAllTypes(
119 self.assertEqual(24, proto.optional_int32)
120 self.assertEqual(54.321, proto.optional_double)
121 self.assertEqual('optional_string', proto.optional_string)
125 proto = unittest_pb2.TestAllTypes(
131 self.assertEquals([1, 2, 3, 4], list(proto.repeated_int32))
132 self.assertEquals([1.23, 54.321], list(proto.repeated_double))
133 self.assertEquals([True, False, False], list(proto.repeated_bool))
134 self.assertEquals(["optional_string"], list(proto.repeated_string))
138 proto
[all...]
/external/wpa_supplicant_8/wpa_supplicant/examples/
H A Dwpa-psk-tkip.conf8 proto=WPA
/external/chromium_org/gpu/command_buffer/service/
H A Dmemory_program_cache.cc48 void StoreShaderInfo(ShaderMapType type, ShaderProto *proto, argument
55 info = proto->add_uniforms();
58 info = proto->add_attribs();
61 info = proto->add_varyings();
75 void RetrieveShaderInfo(const ShaderInfoProto& proto, argument
78 proto.type(), proto.size(), proto.precision(),
79 proto.static_use(), proto
83 FillShaderProto(ShaderProto* proto, const char* sha, const Shader* shader) argument
91 RunShaderCallback(const ShaderCacheCallback& callback, GpuProgramProto* proto, std::string sha_string) argument
[all...]
/external/chromium_org/media/cast/logging/
H A Dencoding_event_subscriber.h13 #include "media/cast/logging/proto/raw_events.pb.h"
20 // Once the max number of packets has been reached, a new aggregated proto
23 // Number of events per proto recorded by the subscriber.
24 // Once the max number of events has been reached, a new aggregated proto
28 typedef std::vector<linked_ptr<media::cast::proto::AggregatedFrameEvent> >
30 typedef std::vector<linked_ptr<media::cast::proto::AggregatedPacketEvent> >
63 void GetEventsAndReset(media::cast::proto::LogMetadata* metadata,
69 linked_ptr<media::cast::proto::AggregatedFrameEvent> >
72 linked_ptr<media::cast::proto::AggregatedPacketEvent> >
83 const linked_ptr<media::cast::proto
[all...]
H A Dlog_deserializer.h13 #include "media/cast/logging/proto/raw_events.pb.h"
19 linked_ptr<media::cast::proto::AggregatedFrameEvent> >
22 linked_ptr<media::cast::proto::AggregatedPacketEvent> >
29 proto::LogMetadata metadata;
39 // |log_metadata|: This will be populated with deserialized LogMetadata proto.
/external/iptables/extensions/
H A Dlibxt_multiport.c66 proto_to_name(uint8_t proto) argument
68 switch (proto) {
85 parse_multi_ports(const char *portstring, uint16_t *ports, const char *proto) argument
97 ports[i] = xtables_parse_port(cp, proto);
107 const char *proto)
129 multiinfo->ports[i] = xtables_parse_port(cp, proto);
132 multiinfo->ports[++i] = xtables_parse_port(range, proto);
147 const char *proto; local
153 if ((proto = proto_to_name(pnum)) != NULL)
154 return proto;
105 parse_multi_ports_v1(const char *portstring, struct xt_multiport_v1 *multiinfo, const char *proto) argument
167 const char *proto; local
213 const char *proto; local
259 port_to_service(int port, uint8_t proto) argument
281 __multiport_print(const struct xt_entry_match *match, int numeric, uint16_t proto) argument
328 __multiport_print_v1(const struct xt_entry_match *match, int numeric, uint16_t proto) argument
382 __multiport_save(const struct xt_entry_match *match, uint16_t proto) argument
423 __multiport_save_v1(const struct xt_entry_match *match, uint16_t proto) argument
[all...]
/external/libsepol/src/
H A Dport_record.c13 int proto; member in struct:sepol_port
24 int proto; member in struct:sepol_port_key
29 int low, int high, int proto,
43 tmp_key->proto = proto;
52 int *low, int *high, int *proto)
57 *proto = key->proto;
68 (handle, port->low, port->high, port->proto, key_ptr) < 0) {
71 sepol_port_get_proto_str(port->proto),
28 sepol_port_key_create(sepol_handle_t * handle, int low, int high, int proto, sepol_port_key_t ** key_ptr) argument
[all...]
/external/google-tv-pairing-protocol/
H A DAndroid.mk9 $(call all-proto-files-under, proto)
/external/iproute2/ip/
H A Droutel21 proto=""
40 echo "$network $via $src $proto $scope $dev $table"
44 printf(format,"target","","gateway","source","proto","scope","dev","tbl");
54 proto=$4;
58 printf(format,network,mask,via,src,proto,scope,dev,table);
/external/kernel-headers/original/uapi/linux/
H A Dif_arcnet.h60 __u8 proto; /* protocol ID field - varies */ member in struct:arc_rfc1201
72 __u8 proto; /* ARC_P_RFC1051_ARP/RFC1051_IP */ member in struct:arc_rfc1051
83 __u8 proto; /* Always ARC_P_ETHER */ member in struct:arc_eth_encap
91 __u8 proto; member in struct:arc_cap

Completed in 746 milliseconds

1234567891011>>