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

1234567891011>>

/external/chromium_org/extensions/browser/api/cast_channel/
H A Dlogger_util.cc13 : event_type(proto::EVENT_TYPE_UNKNOWN),
14 challenge_reply_error_type(proto::CHALLENGE_REPLY_ERROR_NONE),
22 proto::ErrorState ErrorStateToProto(ChannelError state) {
25 return proto::CHANNEL_ERROR_NONE;
27 return proto::CHANNEL_ERROR_CHANNEL_NOT_OPEN;
29 return proto::CHANNEL_ERROR_AUTHENTICATION_ERROR;
31 return proto::CHANNEL_ERROR_CONNECT_ERROR;
33 return proto::CHANNEL_ERROR_SOCKET_ERROR;
35 return proto::CHANNEL_ERROR_TRANSPORT_ERROR;
37 return proto
[all...]
H A Dlogger_util.h14 // Converts an IDL "ChannelError" to a proto enum "ErrorState".
15 proto::ErrorState ErrorStateToProto(ChannelError state);
17 // Converts an IDL "ReadyState" to a proto enum "ReadyState".
18 proto::ReadyState ReadyStateToProto(ReadyState state);
27 proto::EventType event_type;
30 proto::ChallengeReplyErrorType challenge_reply_error_type;
H A Dlogger.h47 void LogSocketEvent(int channel_id, proto::EventType event_type);
49 proto::EventType event_type,
54 proto::EventType event_type,
58 void LogSocketReadyState(int channel_id, proto::ReadyState new_state);
59 void LogSocketConnectState(int channel_id, proto::ConnectionState new_state);
60 void LogSocketReadState(int channel_id, proto::ReadState new_state);
61 void LogSocketWriteState(int channel_id, proto::WriteState new_state);
62 void LogSocketErrorState(int channel_id, proto::ErrorState new_state);
69 proto::EventType event_type,
73 // Assembles logs collected so far and return it as a serialized Log proto,
[all...]
/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/v8/test/mjsunit/
H A Dfast-prototype.js48 function DoProtoMagic(proto, set__proto__) {
50 (new Sub()).__proto__ = proto;
52 Sub.prototype = proto;
60 var proto = use_new ? new Super() : {};
63 assertTrue(%HasFastProperties(proto));
66 AddProps(proto);
68 assertFalse(%HasFastProperties(proto));
69 DoProtoMagic(proto, set__proto__);
71 assertTrue(%HasFastProperties(proto));
73 DoProtoMagic(proto, set__proto_
[all...]
/external/chromium_org/chrome/renderer/resources/extensions/
H A Dapp_view_deny.js15 var proto = Object.create(HTMLElement.prototype);
17 proto.createdCallback = function() {
22 DocumentNatives.RegisterElement('appview', {prototype: proto});
26 delete proto.createdCallback;
27 delete proto.attachedCallback;
28 delete proto.detachedCallback;
29 delete proto.attributeChangedCallback;
H A Dapp_view.js84 var proto = Object.create(HTMLObjectElement.prototype);
86 proto.createdCallback = function() {
92 proto.attachedCallback = function() {
99 prototype: proto});
101 delete proto.createdCallback;
102 delete proto.attachedCallback;
103 delete proto.detachedCallback;
104 delete proto.attributeChangedCallback;
108 var proto = Object.create(HTMLElement.prototype);
110 proto
[all...]
/external/chromium_org/extensions/renderer/resources/
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.attachedCallback;
27 delete proto.detachedCallback;
28 delete proto.attributeChangedCallback;
H A Dweb_view_experimental.js27 WebViewInternal.maybeRegisterExperimentalAPIs = function(proto) {
28 proto.captureVisibleRegion = function(spec, callback) {
/external/nanopb-c/generator/proto/
H A DMakefile3 %_pb2.py: %.proto
/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/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/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/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/chromium_org/third_party/cython/src/Cython/Utility/
H A DTestUtilityLoader.c1 ////////// TestUtilityLoader.proto //////////
8 ////////// OtherUtility.proto //////////
9 req {{loader}} proto
/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/content/browser/battery_status/
H A Dbattery_status_manager_chromeos.cc56 const power_manager::PowerSupplyProperties& proto) const {
57 return proto.battery_state() !=
62 const power_manager::PowerSupplyProperties& proto) const {
63 return proto.external_power() ==
68 const power_manager::PowerSupplyProperties& proto) const {
69 return proto.battery_state() !=
73 bool IsBatteryFull(const power_manager::PowerSupplyProperties& proto) const {
74 return proto.battery_state() ==
79 const power_manager::PowerSupplyProperties& proto) const {
81 return proto
[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...]
/external/chromium_org/sync/test/fake_server/
H A Dunique_client_entity.cc71 void UniqueClientEntity::SerializeAsProto(sync_pb::SyncEntity* proto) { argument
72 FakeServerEntity::SerializeBaseProtoFields(proto);
74 sync_pb::EntitySpecifics* specifics = proto->mutable_specifics();
77 proto->set_parent_id_string(GetParentId());
78 proto->set_client_defined_unique_tag(client_defined_unique_tag_);
79 proto->set_ctime(creation_time_);
80 proto->set_mtime(last_modified_time_);

Completed in 906 milliseconds

1234567891011>>