/external/chromium_org/sync/protocol/ |
D | BUILD.gn | 9 "app_notification_specifics.proto", 10 "app_setting_specifics.proto", 11 "app_specifics.proto", 12 "app_list_specifics.proto", 13 "article_specifics.proto", 14 "attachments.proto", 15 "autofill_specifics.proto", 16 "bookmark_specifics.proto", 17 "client_commands.proto", 18 "client_debug_info.proto", [all …]
|
D | proto_value_conversions.cc | 98 if (proto.has_##field()) { \ 99 value->Set(#field, fn(proto.field())); \ 102 value->Set(#field, MakeRepeatedValue(proto.field(), fn)) 104 value->Set(#field, MakeEnumValue(proto.field(), fn)) 119 base::StringValue>(proto.field(), \ 123 if (proto.has_##field() && \ 124 proto.field().has_enabled()) { \ 127 proto.field().enabled())); \ 142 const sync_pb::EncryptedData& proto) { in EncryptedDataToValue() argument 151 const sync_pb::AppNotificationSettings& proto) { in AppSettingsToValue() argument [all …]
|
/external/chromium_org/third_party/protobuf/python/google/protobuf/internal/ |
D | 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 …]
|
/external/protobuf/python/google/protobuf/internal/ |
D | 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 …]
|
/external/protobuf/java/src/main/java/com/google/protobuf/ |
D | Descriptors.java | 61 public FileDescriptorProto toProto() { return proto; } in toProto() 64 public String getName() { return proto.getName(); } in getName() 71 public String getPackage() { return proto.getPackage(); } in getPackage() 74 public FileOptions getOptions() { return proto.getOptions(); } in getOptions() 208 public static FileDescriptor buildFrom(final FileDescriptorProto proto, in buildFrom() argument 222 new FileDescriptor(proto, dependencies, pool); in buildFrom() 224 if (dependencies.length != proto.getDependencyCount()) { in buildFrom() 229 for (int i = 0; i < proto.getDependencyCount(); i++) { in buildFrom() 230 if (!dependencies[i].getName().equals(proto.getDependency(i))) { in buildFrom() 274 FileDescriptorProto proto; in internalBuildGeneratedFileFrom() local [all …]
|
/external/chromium_org/extensions/browser/api/cast_channel/ |
D | logger_util.cc | 13 : event_type(proto::EVENT_TYPE_UNKNOWN), in LastErrors() 14 challenge_reply_error_type(proto::CHALLENGE_REPLY_ERROR_NONE), in LastErrors() 22 proto::ErrorState ErrorStateToProto(ChannelError state) { in ErrorStateToProto() 25 return proto::CHANNEL_ERROR_NONE; in ErrorStateToProto() 27 return proto::CHANNEL_ERROR_CHANNEL_NOT_OPEN; in ErrorStateToProto() 29 return proto::CHANNEL_ERROR_AUTHENTICATION_ERROR; in ErrorStateToProto() 31 return proto::CHANNEL_ERROR_CONNECT_ERROR; in ErrorStateToProto() 33 return proto::CHANNEL_ERROR_SOCKET_ERROR; in ErrorStateToProto() 35 return proto::CHANNEL_ERROR_TRANSPORT_ERROR; in ErrorStateToProto() 37 return proto::CHANNEL_ERROR_INVALID_MESSAGE; in ErrorStateToProto() [all …]
|
D | cast_socket.cc | 86 connect_state_(proto::CONN_STATE_NONE), in CastSocket() 87 write_state_(proto::WRITE_STATE_NONE), in CastSocket() 88 read_state_(proto::READ_STATE_NONE), in CastSocket() 136 logger_->LogSocketEvent(channel_id_, proto::SSL_CERT_WHITELISTED); in CreateSslSocket() 164 logger_->LogSocketEvent(channel_id_, proto::SSL_INFO_OBTAINED); in ExtractPeerCert() 174 channel_id_, proto::DER_ENCODED_CERT_OBTAIN, result ? 1 : 0); in ExtractPeerCert() 189 channel_id_, proto::CONNECT_FAILED, "ReadyState not NONE"); in Connect() 196 SetConnectState(proto::CONN_STATE_TCP_CONNECT); in Connect() 222 logger_->LogSocketEvent(channel_id_, proto::CONNECT_TIMED_OUT); in OnConnectTimeout() 243 proto::ConnectionState state = connect_state_; in DoConnectLoop() [all …]
|
D | logger.cc | 19 using proto::AggregatedSocketEvent; 20 using proto::EventType; 21 using proto::Log; 22 using proto::SocketEvent; 28 proto::ChallengeReplyErrorType ChallegeReplyErrorToProto( in ChallegeReplyErrorToProto() 32 return proto::CHALLENGE_REPLY_ERROR_NONE; in ChallegeReplyErrorToProto() 34 return proto::CHALLENGE_REPLY_ERROR_PEER_CERT_EMPTY; in ChallegeReplyErrorToProto() 36 return proto::CHALLENGE_REPLY_ERROR_WRONG_PAYLOAD_TYPE; in ChallegeReplyErrorToProto() 38 return proto::CHALLENGE_REPLY_ERROR_NO_PAYLOAD; in ChallegeReplyErrorToProto() 40 return proto::CHALLENGE_REPLY_ERROR_PAYLOAD_PARSING_FAILED; in ChallegeReplyErrorToProto() [all …]
|
D | 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, 100 proto::AggregatedSocketEvent aggregated_socket_event; [all …]
|
/external/chromium_org/v8/test/webkit/ |
D | dictionary-prototype-caching.js | 30 var proto = {protoProp: "PASS", propToRemove: "foo"}; variable 31 var o = { __proto__: proto }; 33 delete proto.propToRemove; 40 delete proto.protoProp; 41 proto.fakeProtoProp = "FAIL"; 48 var proto = {a:1, b:"meh", c:2}; variable 49 var o = { __proto__: proto }; 51 delete proto.b; 52 proto.d = 3; 57 for (var i in proto) [all …]
|
/external/chromium_org/gpu/command_buffer/service/ |
D | memory_program_cache.cc | 48 void StoreShaderInfo(ShaderMapType type, ShaderProto *proto, in StoreShaderInfo() argument 55 info = proto->add_uniforms(); in StoreShaderInfo() 58 info = proto->add_attribs(); in StoreShaderInfo() 61 info = proto->add_varyings(); in StoreShaderInfo() 75 void RetrieveShaderInfo(const ShaderInfoProto& proto, in RetrieveShaderInfo() argument 78 proto.type(), proto.size(), proto.precision(), in RetrieveShaderInfo() 79 proto.static_use(), proto.name()); in RetrieveShaderInfo() 80 (*map)[proto.key()] = info; in RetrieveShaderInfo() 83 void FillShaderProto(ShaderProto* proto, const char* sha, in FillShaderProto() argument 85 proto->set_sha(sha, gpu::gles2::ProgramCache::kHashLength); in FillShaderProto() [all …]
|
/external/libsepol/src/ |
D | port_record.c | 13 int proto; member 24 int proto; member 29 int low, int high, int proto, in sepol_port_key_create() argument 43 tmp_key->proto = proto; in sepol_port_key_create() 52 int *low, int *high, int *proto) in hidden_def() 57 *proto = key->proto; in hidden_def() 68 (handle, port->low, port->high, port->proto, key_ptr) < 0) { in hidden_def() 71 sepol_port_get_proto_str(port->proto), in hidden_def() 89 (port->high == key->high) && (port->proto == key->proto)) in sepol_port_compare() 104 else if (port->proto < key->proto) in sepol_port_compare() [all …]
|
D | node_record.c | 22 int proto; member 38 int proto; member 45 const char *addr_str, int proto, char *addr_bytes) in node_parse_addr() argument 48 switch (proto) { in node_parse_addr() 82 "parse address", proto); in node_parse_addr() 93 int proto, char **addr, size_t * addr_sz) in node_alloc_addr() argument 99 switch (proto) { in node_alloc_addr() 116 ERR(handle, "unsupported protocol %u", proto); in node_alloc_addr() 130 sepol_node_get_proto_str(proto)); in node_alloc_addr() 139 char *addr_bytes, int proto, char *addr_str) in node_expand_addr() argument [all …]
|
D | ports.c | 11 static inline int sepol2ipproto(sepol_handle_t * handle, int proto) in sepol2ipproto() argument 14 switch (proto) { in sepol2ipproto() 20 ERR(handle, "unsupported protocol %u", proto); in sepol2ipproto() 25 static inline int ipproto2sepol(sepol_handle_t * handle, int proto) in ipproto2sepol() argument 28 switch (proto) { in ipproto2sepol() 34 ERR(handle, "invalid protocol %u " "found in policy", proto); in ipproto2sepol() 52 int proto = sepol_port_get_proto(data); in port_from_record() local 59 tmp_proto = sepol2ipproto(handle, proto); in port_from_record() 96 low, high, sepol_port_get_proto_str(proto)); in port_from_record() 105 int proto = port->u.port.protocol; in port_to_record() local [all …]
|
/external/chromium_org/third_party/skia/src/xml/ |
D | SkJSDisplayable.cpp | 103 static JSObject* _class##Init(JSContext *cx, JSObject *obj, JSObject *proto) { \ 104 JSObject *newProtoObj = JS_InitClass(cx, obj, proto, &gDisplayableClasses[SkType_##_class], \ 366 …JS::InitializeDisplayables(const SkBitmap& bitmap, JSContext *cx, JSObject *obj, JSObject *proto) { in InitializeDisplayables() argument 374 AddInit(cx, obj, proto); in InitializeDisplayables() 375 AddCircleInit(cx, obj, proto); in InitializeDisplayables() 376 AddOvalInit(cx, obj, proto); in InitializeDisplayables() 377 AddPathInit(cx, obj, proto); in InitializeDisplayables() 378 AddRectangleInit(cx, obj, proto); in InitializeDisplayables() 379 AddRoundRectInit(cx, obj, proto); in InitializeDisplayables() 381 ApplyInit(cx, obj, proto); in InitializeDisplayables() [all …]
|
/external/skia/src/xml/ |
D | SkJSDisplayable.cpp | 103 static JSObject* _class##Init(JSContext *cx, JSObject *obj, JSObject *proto) { \ 104 JSObject *newProtoObj = JS_InitClass(cx, obj, proto, &gDisplayableClasses[SkType_##_class], \ 366 …JS::InitializeDisplayables(const SkBitmap& bitmap, JSContext *cx, JSObject *obj, JSObject *proto) { in InitializeDisplayables() argument 374 AddInit(cx, obj, proto); in InitializeDisplayables() 375 AddCircleInit(cx, obj, proto); in InitializeDisplayables() 376 AddOvalInit(cx, obj, proto); in InitializeDisplayables() 377 AddPathInit(cx, obj, proto); in InitializeDisplayables() 378 AddRectangleInit(cx, obj, proto); in InitializeDisplayables() 379 AddRoundRectInit(cx, obj, proto); in InitializeDisplayables() 381 ApplyInit(cx, obj, proto); in InitializeDisplayables() [all …]
|
/external/chromium_org/v8/test/mjsunit/ |
D | fast-prototype.js | 48 function DoProtoMagic(proto, set__proto__) { argument 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/iptables/extensions/ |
D | libxt_multiport.c | 66 proto_to_name(uint8_t proto) in proto_to_name() argument 68 switch (proto) { in proto_to_name() 85 parse_multi_ports(const char *portstring, uint16_t *ports, const char *proto) in parse_multi_ports() argument 97 ports[i] = xtables_parse_port(cp, proto); in parse_multi_ports() 107 const char *proto) in parse_multi_ports_v1() argument 129 multiinfo->ports[i] = xtables_parse_port(cp, proto); in parse_multi_ports_v1() 132 multiinfo->ports[++i] = xtables_parse_port(range, proto); in parse_multi_ports_v1() 147 const char *proto; in check_proto() local 153 if ((proto = proto_to_name(pnum)) != NULL) in check_proto() 154 return proto; in check_proto() [all …]
|
/external/protobuf/src/google/protobuf/ |
D | descriptor.cc | 1338 void FileDescriptor::CopyTo(FileDescriptorProto* proto) const { in CopyTo() 1339 proto->set_name(name()); in CopyTo() 1340 if (!package().empty()) proto->set_package(package()); in CopyTo() 1343 proto->add_dependency(dependency(i)->name()); in CopyTo() 1347 message_type(i)->CopyTo(proto->add_message_type()); in CopyTo() 1350 enum_type(i)->CopyTo(proto->add_enum_type()); in CopyTo() 1353 service(i)->CopyTo(proto->add_service()); in CopyTo() 1356 extension(i)->CopyTo(proto->add_extension()); in CopyTo() 1360 proto->mutable_options()->CopyFrom(options()); in CopyTo() 1364 void Descriptor::CopyTo(DescriptorProto* proto) const { in CopyTo() [all …]
|
/external/chromium_org/components/ |
D | feedback.gypi | 48 # GN version: //components/feedback/proto 52 'feedback/proto/annotations.proto', 53 'feedback/proto/chrome.proto', 54 'feedback/proto/common.proto', 55 'feedback/proto/dom.proto', 56 'feedback/proto/extension.proto', 57 'feedback/proto/math.proto', 58 'feedback/proto/web.proto', 61 'proto_in_dir': 'feedback/proto', 62 'proto_out_dir': 'components/feedback/proto',
|
/external/chromium_org/content/browser/battery_status/ |
D | battery_status_manager_chromeos.cc | 56 const power_manager::PowerSupplyProperties& proto) const { in IsBatteryPresent() 57 return proto.battery_state() != in IsBatteryPresent() 62 const power_manager::PowerSupplyProperties& proto) const { in IsUsbChargerConnected() 63 return proto.external_power() == in IsUsbChargerConnected() 68 const power_manager::PowerSupplyProperties& proto) const { in IsBatteryCharging() 69 return proto.battery_state() != in IsBatteryCharging() 73 bool IsBatteryFull(const power_manager::PowerSupplyProperties& proto) const { in IsBatteryFull() 74 return proto.battery_state() == in IsBatteryFull() 79 const power_manager::PowerSupplyProperties& proto) const { in GetBatteryLevel() 81 return proto.battery_percent() / kMaxBatteryLevelProto; in GetBatteryLevel() [all …]
|
/external/chromium_org/third_party/protobuf/src/google/protobuf/ |
D | descriptor.cc | 1468 void FileDescriptor::CopyTo(FileDescriptorProto* proto) const { in CopyTo() 1469 proto->set_name(name()); in CopyTo() 1470 if (!package().empty()) proto->set_package(package()); in CopyTo() 1473 proto->add_dependency(dependency(i)->name()); in CopyTo() 1477 proto->add_public_dependency(public_dependencies_[i]); in CopyTo() 1481 proto->add_weak_dependency(weak_dependencies_[i]); in CopyTo() 1485 message_type(i)->CopyTo(proto->add_message_type()); in CopyTo() 1488 enum_type(i)->CopyTo(proto->add_enum_type()); in CopyTo() 1491 service(i)->CopyTo(proto->add_service()); in CopyTo() 1494 extension(i)->CopyTo(proto->add_extension()); in CopyTo() [all …]
|
/external/chromium_org/v8/test/mjsunit/regress/ |
D | regress-1217.js | 30 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.test("argle")); [all …]
|
/external/chromium_org/chrome/renderer/resources/extensions/ |
D | app_view.js | 84 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.createdCallback = function() { [all …]
|
/external/google-tv-pairing-protocol/cpp/tests/polo/wire/protobuf/ |
D | protobufwireadaptertest.cc | 127 Configuration proto; in TEST_F() local 128 proto.set_client_role(Options_RoleType_ROLE_TYPE_OUTPUT); in TEST_F() 129 proto.mutable_encoding()->set_type( in TEST_F() 131 proto.mutable_encoding()->set_symbol_length(64); in TEST_F() 135 outer.set_payload(proto.SerializeAsString()); in TEST_F() 152 ConfigurationAck proto; in TEST_F() local 156 outer.set_payload(proto.SerializeAsString()); in TEST_F() 170 Options proto; in TEST_F() local 171 proto.set_preferred_role(Options_RoleType_ROLE_TYPE_INPUT); in TEST_F() 172 Options_Encoding* encoding = proto.add_input_encodings(); in TEST_F() [all …]
|