Home
last modified time | relevance | path

Searched refs:interface (Results 1 – 25 of 3889) sorted by relevance

12345678910>>...156

/external/libmojo/mojo/public/tools/bindings/generators/js_templates/
Dinterface_definition.tmpl1 {%- for method in interface.methods %}
2 var k{{interface.name}}_{{method.name}}_Name = {{method.ordinal}};
5 function {{interface.name}}Ptr(handleOrPtrInfo) {
6 this.ptr = new bindings.InterfacePtrController({{interface.name}},
10 function {{interface.name}}Proxy(receiver) {
14 {%- for method in interface.methods %}
15 {{interface.name}}Ptr.prototype.{{method.name|stylize_method}} = function() {
16 return {{interface.name}}Proxy.prototype.{{method.name|stylize_method}}
20 {{interface.name}}Proxy.prototype.{{method.name|stylize_method}} = function(
25 var params = new {{interface.name}}_{{method.name}}_Params();
[all …]
Dmodule_definition.tmpl24 {%- for interface in interfaces -%}
41 {%- for interface in interfaces %}
42 exports.{{interface.name}} = {{interface.name}};
43 exports.{{interface.name}}Ptr = {{interface.name}}Ptr;
45 {%- if interface.client in interfaces|map(attribute='name') %}
46 exports.{{interface.name}}.client = {{interface.client}};
47 {%- elif interface.client in imported_interfaces %}
48 exports.{{interface.name}}.client = {{imported_interfaces[interface.client]}};
/external/protobuf/objectivec/
DGPBDictionary_PackagePrivate.h86 @interface GPBUInt32UInt32Dictionary () <GPBDictionaryInternalsProtocol> { in GPBUInt32UInt32Dictionary()
92 @interface GPBUInt32Int32Dictionary () <GPBDictionaryInternalsProtocol> { in GPBUInt32Int32Dictionary()
98 @interface GPBUInt32UInt64Dictionary () <GPBDictionaryInternalsProtocol> { in GPBUInt32UInt64Dictionary()
104 @interface GPBUInt32Int64Dictionary () <GPBDictionaryInternalsProtocol> { in GPBUInt32Int64Dictionary()
110 @interface GPBUInt32BoolDictionary () <GPBDictionaryInternalsProtocol> { in GPBUInt32BoolDictionary()
116 @interface GPBUInt32FloatDictionary () <GPBDictionaryInternalsProtocol> { in GPBUInt32FloatDictionary()
122 @interface GPBUInt32DoubleDictionary () <GPBDictionaryInternalsProtocol> { in GPBUInt32DoubleDictionary()
128 @interface GPBUInt32EnumDictionary () <GPBDictionaryInternalsProtocol> { in GPBUInt32EnumDictionary()
137 @interface GPBUInt32ObjectDictionary () <GPBDictionaryInternalsProtocol> { in GPBUInt32ObjectDictionary()
149 @interface GPBInt32UInt32Dictionary () <GPBDictionaryInternalsProtocol> { in GPBInt32UInt32Dictionary()
[all …]
/external/clang/test/SemaObjC/
Dcategory-1.m3 @interface MyClass1 @end
8 @interface MyClass1 (Category1) <p1> // expected-warning {{cannot find protocol definition for 'p1…
11 @interface MyClass1 (Category1) // expected-warning {{duplicate definition of category 'Category1'…
14 @interface MyClass1 (Category3)
17 @interface MyClass1 (Category4) @end // expected-note {{previous definition is here}}
18 @interface MyClass1 (Category5) @end
19 @interface MyClass1 (Category6) @end
20 @interface MyClass1 (Category7) @end // expected-note {{previous definition is here}}
21 @interface MyClass1 (Category8) @end // expected-note {{previous definition is here}}
24 @interface MyClass1 (Category4) @end // expected-warning {{duplicate definition of category 'Catego…
[all …]
Dinvalid-objc-decls-1.m3 @interface Super @end
4 Super s1; // expected-error{{interface type cannot be statically allocated}}
6 extern Super e1; // expected-error{{interface type cannot be statically allocated}}
9 Super s1; // expected-error{{interface type cannot be statically allocated}}
14 @interface INTF
16 Super ivar1; // expected-error{{interface type cannot be statically allocated}}
21 Super objField; // expected-error{{interface type cannot be statically allocated}}
24 @interface MyIntf
26 Super<P1> ivar1; // expected-error{{interface type cannot be statically allocated}}
30 Super foo( // expected-error{{interface type 'Super' cannot be returned by value; did you forget * …
[all …]
Dattr-designated-init.m6 …GNATED_INITIALIZER; // expected-error {{only applies to init methods of interface or class extensi…
9 -(id)init NS_DESIGNATED_INITIALIZER; // expected-error {{only applies to init methods of interface
13 @interface I1
14 …GNATED_INITIALIZER; // expected-error {{only applies to init methods of interface or class extensi…
16 +(id)init NS_DESIGNATED_INITIALIZER; // expected-error {{only applies to init methods of interface
19 @interface I1(cat)
20 -(id)init2 NS_DESIGNATED_INITIALIZER; // expected-error {{only applies to init methods of interface
23 @interface I1()
29 …LIZER { return 0; } // expected-error {{only applies to init methods of interface or class extensi…
32 …LIZER { return 0; } // expected-error {{only applies to init methods of interface or class extensi…
[all …]
Dproperty-category-4.m3 @interface IDELogNavigator
9 @interface IDELogNavigator (CAT)
22 @interface NSArray
31 @interface NSArray(Additions) <MyCountable>
42 @interface NSArray1 <NSProtocol>
45 @interface NSArray1(Additions) <MyCountable>
52 @interface Super <NSProtocol>
55 @interface NSArray2 : Super @end
57 @interface NSArray2(Additions) <MyCountable>
64 @interface Super1 <NSProtocol>
[all …]
Dproperty-atomic-redecl.m3 @interface A
7 @interface AtomicInheritanceSuper
11 @interface AtomicInheritanceSuper()
15 @interface AtomicInheritanceSub : AtomicInheritanceSuper
20 @interface AtomicInheritanceSuper2
24 @interface AtomicInheritanceSub2 : AtomicInheritanceSuper2
28 @interface ReadonlyAtomic
32 @interface ReadonlyAtomic ()
37 @interface AtomicInheritanceSuper3
41 @interface AtomicInheritanceSuper3()
[all …]
Dclass-def-test-1.m5 @interface SUPER <SUPER> @end // expected-warning {{cannot find protocol definition for 'SUPER'}}
9 @interface INTF @end // expected-error {{redefinition of 'INTF' as different kind of symbol}}
11 @interface OBJECT @end // expected-note {{previous definition is here}}
13 @interface INTF1 : OBJECT @end // expected-note {{previous definition is here}}
15 @interface INTF1 : OBJECT @end // expected-error {{duplicate interface definition for class 'INTF1'…
20 @interface INTF2 : OBJECT2 @end // expected-error {{redefinition of 'OBJECT2' as different kind of …
26 @interface INTF3 : PROTO @end // expected-error {{cannot find interface declaration for 'PROTO', su…
29 @interface NSObject @end
31 @interface XCElementUnit : TD_NSObject {}
35 @interface SomeClassSub : SomeClassSup // expected-error{{cannot find interface declaration for 'So…
/external/wayland/src/
Dscanner.c160 struct interface { struct
230 struct interface *interface; member
542 static struct interface *
545 struct interface *interface; in create_interface() local
547 interface = xzalloc(sizeof *interface); in create_interface()
548 interface->loc = loc; in create_interface()
549 interface->name = xstrdup(name); in create_interface()
550 interface->uppercase_name = uppercase_dup(name); in create_interface()
551 interface->version = version; in create_interface()
552 interface->since = 1; in create_interface()
[all …]
/external/autotest/server/
Dsite_linux_router.py15 from autotest_lib.client.common_lib.cros.network import interface
261 interface = self.get_wlanif(configuration.frequency, 'managed')
263 interface = self.get_wlanif(
265 phy_name = self.iw_runner.get_interface(interface).phy
267 conf_file = self.HOSTAPD_CONF_FILE_PATTERN % interface
268 log_file = self.HOSTAPD_LOG_FILE_PATTERN % interface
269 stderr_log_file = self.HOSTAPD_STDERR_LOG_FILE_PATTERN % interface
270 control_interface = self.HOSTAPD_CONTROL_INTERFACE_PATTERN % interface
272 interface, control_interface,
283 interface, phy_name, configuration.channel)
[all …]
/external/libmojo/mojo/public/tools/bindings/generators/cpp_templates/
Dinterface_declaration.tmpl2 class {{interface.name}}Proxy;
5 class {{interface.name}}Stub;
7 class {{interface.name}}RequestValidator;
8 {%- if interface|has_callbacks %}
9 class {{interface.name}}ResponseValidator;
12 class {{export_attribute}} {{interface.name}}
13 : public {{interface.name}}InterfaceBase {
16 static constexpr uint32_t Version_ = {{interface.version}};
17 …static constexpr bool PassesAssociatedKinds_ = {% if interface|passes_associated_kinds %}true{% el…
18 …static constexpr bool HasSyncMethods_ = {% if interface|has_sync_methods %}true{% else %}false{% e…
[all …]
/external/iproute2/examples/
Ddhcp-client-script345 ifconfig $interface:dhcp down
346 ifconfig $interface:dhcp1 down
347 if [ -d /proc/sys/net/ipv4/conf/$interface ]; then
348 ifconfig $interface:dhcp 10.10.10.10 netmask 255.255.255.255
349 ifconfig $interface:dhcp down
350 if [ -d /proc/sys/net/ipv4/conf/$interface ]; then
351 LOG The interface $interface already configured.
354 ifconfig $interface:dhcp up
363 if DAD "$interface" "$check_ip_address" ; then
372 … DelINETAddr "$interface" "$alias_ip_address" "$alias_subnet_mask" "$alias_broadcast_address" dhcp1
[all …]
/external/dhcpcd-6.8.2/
Dif.h97 int if_setflag(struct interface *ifp, short flag);
100 struct interface *if_find(struct if_head *, const char *);
101 struct interface *if_findindex(struct if_head *, unsigned int);
103 void if_free(struct interface *);
107 int if_carrier(struct interface *);
112 int if_conf(struct interface *);
113 int if_init(struct interface *);
114 int if_getssid(struct interface *);
131 int if_openrawsocket(struct interface *, uint16_t);
132 ssize_t if_sendrawpacket(const struct interface *,
[all …]
/external/libmojo/mojo/public/tools/bindings/generators/java_templates/
Dinterface_definition.tmpl22 interface {{method|interface_response_name}} extends org.chromium.mojo.bindings.Callbacks.Callback{…
53 {%- macro manager_class(interface, fully_qualified=False) -%}
54 …d %}org.chromium.mojo.bindings.Interface.{% endif %}Manager<{{interface|name}}, {{interface|name}}…
57 {%- macro manager_def(interface) -%}
58 public static final {{manager_class(interface, True)}} MANAGER =
59 new {{manager_class(interface, True)}}() {
62 return "{{namespace|replace(".","::")}}::{{interface.name}}";
66 return {{interface.version}};
74 public Stub buildStub(org.chromium.mojo.system.Core core, {{interface|name}} impl) {
78 public {{interface|name}}[] buildArray(int size) {
[all …]
/external/mesa3d/src/gallium/drivers/ilo/core/
Dilo_state_compute.c144 const struct ilo_state_compute_interface_info *interface) in compute_interface_get_gen6_read_end() argument
146 const int per_thread_read = (interface->curbe_read_length + 31) / 32; in compute_interface_get_gen6_read_end()
148 (interface->cross_thread_curbe_read_length + 31) / 32; in compute_interface_get_gen6_read_end()
152 assert(interface->curbe_read_offset % 32 == 0); in compute_interface_get_gen6_read_end()
172 return interface->curbe_read_offset / 32 + cross_thread_read + in compute_interface_get_gen6_read_end()
173 per_thread_read * interface->thread_group_size; in compute_interface_get_gen6_read_end()
330 const struct ilo_state_compute_interface_info *interface) in compute_interface_get_gen6_sampler_count() argument
333 return (interface->sampler_count <= 12) ? in compute_interface_get_gen6_sampler_count()
334 (interface->sampler_count + 3) / 4 : 4; in compute_interface_get_gen6_sampler_count()
339 const struct ilo_state_compute_interface_info *interface) in compute_interface_get_gen6_surface_count() argument
[all …]
/external/clang/test/ASTMerge/Inputs/
Dinterface2.m2 @interface I1 {
8 @interface I2 : I1 {
14 @interface I3 {
21 @interface I4 : I1 {
26 @interface I5
32 @interface I6
37 @interface I7
43 @interface I8
61 @interface I9 <P0>
71 // Forward-declared interface
[all …]
Dinterface1.m2 @interface I1 {
8 @interface I2 : I1 {
14 @interface I3 {
21 @interface I4 : I2 {
26 @interface I5
32 @interface I6
38 @interface I7
44 @interface I8
62 @interface I9 <P0>
74 @interface I12
[all …]
/external/syslinux/gpxe/src/include/gpxe/
Dinterface.h15 struct interface { struct
24 struct interface *dest; argument
39 static inline __attribute__ (( always_inline )) struct interface *
40 intf_get ( struct interface *intf ) { in intf_get()
51 intf_put ( struct interface *intf ) { in intf_put()
55 extern void plug ( struct interface *intf, struct interface *dest );
56 extern void plug_plug ( struct interface *a, struct interface *b );
/external/autotest/client/common_lib/cros/network/
Diw_runner.py257 def add_interface(self, phy, interface, interface_type): argument
267 (self._command_iw, phy, interface, interface_type))
270 def disconnect_station(self, interface): argument
277 self._run('%s dev %s disconnect' % (self._command_iw, interface))
313 def get_link_value(self, interface, iw_link_key): argument
324 result = self._run('%s dev %s link' % (self._command_iw, interface),
340 def get_station_dump(self, interface): argument
356 (self._command_iw, interface))
368 interface_name=interface,
378 def get_operating_mode(self, interface): argument
[all …]
/external/antlr/antlr-3.4/runtime/ObjC/Framework/examples/simplecTreeParser/output1/
DSimpleCParser.h12 #pragma mark Cyclic DFA interface start DFA2
13 @interface DFA2 : ANTLRDFA {
19 #pragma mark Cyclic DFA interface end DFA2
48 @interface SimpleCParser_program_return :ANTLRParserRuleReturnScope { // line 1672
62 @interface SimpleCParser_declaration_return :ANTLRParserRuleReturnScope { // line 1672
76 @interface SimpleCParser_variable_return :ANTLRParserRuleReturnScope { // line 1672
90 @interface SimpleCParser_declarator_return :ANTLRParserRuleReturnScope { // line 1672
104 @interface SimpleCParser_functionHeader_return :ANTLRParserRuleReturnScope { // line 1672
118 @interface SimpleCParser_formalParameter_return :ANTLRParserRuleReturnScope { // line 1672
132 @interface SimpleCParser_type_return :ANTLRParserRuleReturnScope { // line 1672
[all …]
/external/clang/test/ARCMT/
Dobjcmt-subscripting-literals.m.result11 @interface NSObject
18 @interface NSString : NSObject
23 @interface NSArray : NSObject
27 @interface NSArray (NSExtendedArray)
31 @interface NSArray (NSArrayCreation)
43 @interface NSMutableArray : NSArray
47 @interface NSMutableArray (NSExtendedMutableArray)
51 @interface NSDictionary : NSObject
55 @interface NSDictionary (NSExtendedDictionary)
59 @interface NSDictionary (NSDictionaryCreation)
[all …]
Dobjcmt-instancetype-2.m.result12 @interface NSMutableString
15 @interface NSString @end
18 @interface NSString (NSStringDeprecated)
30 @interface NSURL
37 @interface NSError
42 @interface NSMutableString (NSMutableStringExtensionMethods)
46 @interface NSMutableData
51 @interface NSMutableDictionary @end
53 @interface NSMutableDictionary (NSSharedKeySetDictionary)
57 @interface NSProtocolChecker
[all …]
Dobjcmt-instancetype-2.m12 @interface NSMutableString
15 @interface NSString @end
18 @interface NSString (NSStringDeprecated)
30 @interface NSURL
37 @interface NSError
42 @interface NSMutableString (NSMutableStringExtensionMethods)
46 @interface NSMutableData
51 @interface NSMutableDictionary @end
53 @interface NSMutableDictionary (NSSharedKeySetDictionary)
57 @interface NSProtocolChecker
[all …]
/external/dhcpcd-6.8.2/dhcpcd-hooks/
D10-mtu1 # Configure the MTU for the interface
9 if [ -w /sys/class/net/$interface/mtu ]; then
10 echo "$mtu" >/sys/class/net/$interface/mtu
12 ifconfig "$interface" mtu "$mtu"
16 if [ "$reason" = PREINIT -a -e "$mtu_dir/$interface" ]; then
17 rm "$mtu_dir/$interface"
24 if [ ! -e "$mtu_dir/$interface" ]; then
26 echo "$ifmtu" > "$mtu_dir/$interface"
30 elif [ -e "$mtu_dir/$interface" ]; then
33 mtu=$(cat "$mtu_dir/$interface")
[all …]

12345678910>>...156