/external/chromium_org/extensions/browser/api/cast_channel/ |
logger_util.cc | 13 : 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::CHANNEL_ERROR_INVALID_MESSAGE [all...] |
logger_util.h | 14 // 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;
|
logger.h | 47 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...] |
logger.cc | 19 using proto::AggregatedSocketEvent; 20 using proto::EventType; 21 using proto::Log; 22 using proto::SocketEvent; 28 proto::ChallengeReplyErrorType ChallegeReplyErrorToProto( 32 return proto::CHALLENGE_REPLY_ERROR_NONE; 34 return proto::CHALLENGE_REPLY_ERROR_PEER_CERT_EMPTY; 36 return proto::CHALLENGE_REPLY_ERROR_WRONG_PAYLOAD_TYPE; 38 return proto::CHALLENGE_REPLY_ERROR_NO_PAYLOAD; 40 return proto::CHALLENGE_REPLY_ERROR_PAYLOAD_PARSING_FAILED [all...] |
/external/nanopb-c/generator/proto/ |
Makefile | 3 %_pb2.py: %.proto
|
/external/chromium_org/third_party/protobuf/python/google/protobuf/internal/ |
reflection_test.py | 114 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 = unittest_pb2.TestAllTypes [all...] |
/bionic/libc/dns/net/ |
getservbyport.c | 33 getservbyport(int port, const char *proto) 37 if (rs == NULL || proto == NULL) { 47 if ( s->s_port == port && !strcmp( s->s_proto, proto ) )
|
getservbyname.c | 34 getservbyname(const char *name, const char *proto) 38 if (rs == NULL || proto == NULL || name == NULL) { 48 if ( !strcmp( s->s_name, name ) && !strcmp( s->s_proto, proto ) )
|
/external/chromium_org/media/cast/logging/proto/ |
proto_utils.cc | 5 #include "media/cast/logging/proto/proto_utils.h" 11 return proto::enum 16 proto::EventType ToProtoEventType(CastLoggingEvent event) { 32 return proto::UNKNOWN;
|
proto_utils.h | 9 #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/ |
knr-def-call.c | 32 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/ |
fake_distiller.cc | 51 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());
|
distilled_content_store.cc | 23 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.pages_size(); i++) [all...] |
/external/protobuf/java/src/main/java/com/google/protobuf/ |
Descriptors.java | 51 * {@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 The protocol message form of the FileDescriptor 274 FileDescriptorProto proto; local 323 private FileDescriptorProto proto; field in class:Descriptors.FileDescriptor 544 private DescriptorProto proto; field in class:Descriptors.Descriptor 805 private FieldDescriptorProto proto; field in class:Descriptors.FieldDescriptor 1201 private EnumDescriptorProto proto; field in class:Descriptors.EnumDescriptor 1287 private EnumValueDescriptorProto proto; field in class:Descriptors.EnumValueDescriptor 1363 private ServiceDescriptorProto proto; field in class:Descriptors.ServiceDescriptor 1444 private MethodDescriptorProto proto; field in class:Descriptors.MethodDescriptor 1540 private final Message proto; field in class:Descriptors.DescriptorValidationException [all...] |
/external/protobuf/python/google/protobuf/internal/ |
reflection_test.py | 114 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 = unittest_pb2.TestAllTypes [all...] |
/development/host/windows/usb/api/ |
adb_api_private_defines.h | 38 AdbInstanceEnumEntry(const AdbInstanceEnumEntry& proto) {
39 Set(proto.device_name().c_str(), proto.class_id(), proto.flags());
54 AdbInstanceEnumEntry& operator=(const AdbInstanceEnumEntry& proto) {
55 Set(proto.device_name().c_str(), proto.class_id(), proto.flags());
|
/external/chromium_org/third_party/cython/src/Cython/Utility/ |
TestUtilityLoader.c | 1 ////////// TestUtilityLoader.proto ////////// 8 ////////// OtherUtility.proto ////////// 9 req {{loader}} proto
|
/external/wpa_supplicant_8/wpa_supplicant/examples/ |
wpa-psk-tkip.conf | 8 proto=WPA
|
/external/chromium_org/gpu/command_buffer/service/ |
memory_program_cache.cc | 48 void StoreShaderInfo(ShaderMapType type, ShaderProto *proto, 55 info = proto->add_uniforms(); 58 info = proto->add_attribs(); 61 info = proto->add_varyings(); 75 void RetrieveShaderInfo(const ShaderInfoProto& proto, 78 proto.type(), proto.size(), proto.precision(), 79 proto.static_use(), proto.name()) [all...] |
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.6/sysroot/usr/include/sys/ |
cdefs.h | 177 # define __REDIRECT(name, proto, alias) name proto __asm__ (__ASMNAME (#alias)) 179 # define __REDIRECT_NTH(name, proto, alias) \ 180 name proto __THROW __asm__ (__ASMNAME (#alias)) 182 # define __REDIRECT_NTH(name, proto, alias) \ 183 name proto __asm__ (__ASMNAME (#alias)) __THROW 191 # define __REDIRECT(name, proto, alias) name proto; \ 358 # define __LDBL_REDIR1(name, proto, alias) __REDIRECT (name, proto, alias [all...] |
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.8/sysroot/usr/include/sys/ |
cdefs.h | 177 # define __REDIRECT(name, proto, alias) name proto __asm__ (__ASMNAME (#alias)) 179 # define __REDIRECT_NTH(name, proto, alias) \ 180 name proto __THROW __asm__ (__ASMNAME (#alias)) 182 # define __REDIRECT_NTH(name, proto, alias) \ 183 name proto __asm__ (__ASMNAME (#alias)) __THROW 191 # define __REDIRECT(name, proto, alias) name proto; \ 358 # define __LDBL_REDIR1(name, proto, alias) __REDIRECT (name, proto, alias [all...] |
/external/chromium_org/content/browser/battery_status/ |
battery_status_manager_chromeos.cc | 56 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.battery_percent() / kMaxBatteryLevelProto [all...] |
/external/chromium_org/media/cast/logging/ |
encoding_event_subscriber.h | 13 #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::AggregatedFrameEvent> [all...] |
/external/chromium_org/sync/test/fake_server/ |
unique_client_entity.cc | 71 void UniqueClientEntity::SerializeAsProto(sync_pb::SyncEntity* proto) { 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_);
|
/dalvik/libdex/ |
DexProto.h | 121 * Return the utf-8 encoded descriptor string from the proto of a MethodId. 126 DexProto proto; local 128 dexProtoSetFromMethodId(&proto, pDexFile, pMethodId); 129 return dexProtoGetMethodDescriptor(&proto, pCache); 134 * proto of a MethodId. The returned pointer must be free()ed by the 140 DexProto proto; local 142 dexProtoSetFromMethodId(&proto, pDexFile, pMethodId); 143 return dexProtoCopyMethodDescriptor(&proto); 188 int dexProtoCompareToDescriptor(const DexProto* proto, const char* descriptor); 195 int dexProtoCompareToParameterDescriptors(const DexProto* proto, 203 const DexProto* proto; member in struct:DexParameterIterator [all...] |