Home
last modified time | relevance | path

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

12345678910>>...134

/external/dbus-binding-generator/chromeos-dbus-bindings/
Dxml_interface_parser_unittest.cc79 const Interface& interface = interfaces.back(); in TEST_F() local
81 EXPECT_EQ(kInterfaceName, interface.name); in TEST_F()
82 EXPECT_EQ("/org/chromium/Test", interface.path); in TEST_F()
83 ASSERT_EQ(2u, interface.methods.size()); in TEST_F()
84 ASSERT_EQ(1u, interface.signals.size()); in TEST_F()
87 EXPECT_EQ(kScanMethod, interface.methods[0].name); in TEST_F()
88 EXPECT_EQ(Interface::Method::Kind::kAsync, interface.methods[0].kind); in TEST_F()
89 EXPECT_FALSE(interface.methods[0].is_const); in TEST_F()
90 EXPECT_TRUE(interface.methods[0].include_dbus_message); in TEST_F()
91 ASSERT_EQ(1u, interface.methods[0].input_arguments.size()); in TEST_F()
[all …]
Dproxy_generator_unittest.cc930 LOG(FATAL) << "Creating properties for unsupported interface "
1271 LOG(FATAL) << "Creating properties for unsupported interface "
1315 Interface interface; in TEST_F() local
1316 interface.name = "org.chromium.TestInterface"; in TEST_F()
1317 interface.path = "/org/chromium/Test"; in TEST_F()
1318 interface.methods.emplace_back( in TEST_F()
1324 interface.methods.emplace_back( in TEST_F()
1328 interface.methods.emplace_back( in TEST_F()
1332 interface.methods.emplace_back("ExperimentNumberSix"); in TEST_F()
1333 interface.signals.emplace_back("Closer"); in TEST_F()
[all …]
Dadaptor_generator.cc33 for (const auto& interface : interfaces) { in GenerateAdaptors() local
34 text.AddLine(StringPrintf("// - %s", interface.name.c_str())); in GenerateAdaptors()
51 for (const auto& interface : interfaces) in GenerateAdaptors() local
52 GenerateInterfaceAdaptor(interface, &text); in GenerateAdaptors()
61 const Interface& interface, in GenerateInterfaceAdaptor() argument
63 NameParser parser{interface.name}; in GenerateInterfaceAdaptor()
74 text->AddComments(interface.doc_string); in GenerateInterfaceAdaptor()
79 AddInterfaceMethods(interface, text); in GenerateInterfaceAdaptor()
90 AddRegisterWithDBusObject(itf_name, interface, text); in GenerateInterfaceAdaptor()
91 AddSendSignalMethods(interface, text); in GenerateInterfaceAdaptor()
[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 …]
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…
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 …]
/external/avahi/avahi-python/avahi-discover/
Davahi-discover.py74 (name,interface,protocol,stype,domain) = self.treemodel.get(iter,1,2,3,4,5)
79 …self.server.ResolveService( int(interface), int(protocol), name, stype, domain, avahi.PROTO_UNSPEC…
88 def siocgifname(self, interface): argument
89 if interface <= 0:
92 return self.server.GetNetworkInterfaceNameByIndex(interface)
94 def get_interface_name(self, interface, protocol): argument
95 if interface == avahi.IF_UNSPEC and protocol == avahi.PROTO_UNSPEC:
98 return str(self.siocgifname(interface)) + " " + str(self.protoname(protocol))
100 …def service_resolved(self, interface, protocol, name, stype, domain, host, aprotocol, address, por… argument
101 …or service '%s' of type '%s' in domain '%s' on %i.%i:" % (name, stype, domain, interface, protocol)
[all …]
/external/autotest/client/site_tests/security_DbusMap/
Dbaseline.nobody6 "interface": "fi.w1.wpa_supplicant1",
16 "interface": "fi.w1.wpa_supplicant1.BSS",
24 "interface": "fi.w1.wpa_supplicant1.Interface",
45 "interface": "org.chromium.Cashew",
58 "interface": "org.freedesktop.DBus.Introspectable",
71 "interface": "org.chromium.CrosDisks",
96 "interface": "org.freedesktop.DBus.Introspectable",
104 "interface": "org.freedesktop.DBus.Properties",
119 "interface": "org.chromium.CryptohomeInterface",
133 "interface": "org.chromium.LibCrosServiceInterface",
[all …]
Dbaseline6 "interface": "fi.w1.wpa_supplicant1",
26 "interface": "fi.w1.wpa_supplicant1.BSS",
45 "interface": "fi.w1.wpa_supplicant1.Interface",
89 "interface": "org.freedesktop.DBus.Introspectable",
97 "interface": "org.freedesktop.DBus.Properties",
112 "interface": "org.chromium.Cashew",
125 "interface": "org.freedesktop.DBus.Introspectable",
138 "interface": "org.chromium.CrosDisks",
163 "interface": "org.freedesktop.DBus.Introspectable",
171 "interface": "org.freedesktop.DBus.Properties",
[all …]
Dbaseline.chronos6 "interface": "fi.w1.wpa_supplicant1",
22 "interface": "fi.w1.wpa_supplicant1.BSS",
41 "interface": "fi.w1.wpa_supplicant1.Interface",
74 "interface": "org.freedesktop.DBus.Properties",
89 "interface": "org.chromium.Cashew",
102 "interface": "org.freedesktop.DBus.Introspectable",
115 "interface": "org.chromium.CrosDisks",
140 "interface": "org.freedesktop.DBus.Introspectable",
148 "interface": "org.freedesktop.DBus.Properties",
163 "interface": "org.chromium.CryptohomeInterface",
[all …]
/external/autotest/server/
Dsite_linux_router.py15 from autotest_lib.client.common_lib.cros.network import interface
254 interface = self.get_wlanif(configuration.frequency, 'managed')
256 interface = self.get_wlanif(
259 conf_file = self.HOSTAPD_CONF_FILE_PATTERN % interface
260 log_file = self.HOSTAPD_LOG_FILE_PATTERN % interface
261 stderr_log_file = self.HOSTAPD_STDERR_LOG_FILE_PATTERN % interface
262 control_interface = self.HOSTAPD_CONTROL_INTERFACE_PATTERN % interface
264 interface, control_interface,
275 interface, self.iw_runner.get_interface(interface).phy,
286 interface,
[all …]
/external/lldb/scripts/
Dlldb.swig118 /* Python interface files with docstrings. */
119 %include "./Python/interface/SBAddress.i"
120 %include "./Python/interface/SBBlock.i"
121 %include "./Python/interface/SBBreakpoint.i"
122 %include "./Python/interface/SBBreakpointLocation.i"
123 %include "./Python/interface/SBBroadcaster.i"
124 %include "./Python/interface/SBCommandInterpreter.i"
125 %include "./Python/interface/SBCommandReturnObject.i"
126 %include "./Python/interface/SBCommunication.i"
127 %include "./Python/interface/SBCompileUnit.i"
[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/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 …]
Dcategory1.m1 @interface I1
5 @interface I1 (Cat1)
10 @interface I1 ()
15 @interface I1 (Cat2)
19 @interface I2
23 @interface I2 ()
28 @interface I2 (Cat3)
35 @interface I2 (Cat4)
42 @interface I2 (Cat6)
/external/libchrome/dbus/
Ddbus_statistics.cc25 const std::string& interface, in Stat()
28 interface(interface), in Stat()
35 std::string interface; member
44 if (interface != other.interface) in Compare()
45 return interface < other.interface; in Compare()
84 const std::string& interface, in AddStat() argument
92 Stat* stat = GetStat(service, interface, method, true); in AddStat()
107 const std::string& interface, in GetStat() argument
111 scoped_ptr<Stat> stat(new Stat(service, interface, method)); in GetStat()
152 const std::string& interface, in AddSentMethodCall() argument
[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 …]
/external/autotest/client/deps/glbench/src/
Dcontexttest.cc34 GLInterface* interface = g_main_gl_interface.get(); in TestFunc() local
35 CHECK(interface); in TestFunc()
36 GLContext main_context = interface->GetMainContext(); in TestFunc()
37 GLContext new_context = interface->CreateContext(); in TestFunc()
42 interface->MakeCurrent(new_context); in TestFunc()
44 interface->MakeCurrent(main_context); in TestFunc()
49 interface->MakeCurrent(IsEven(i) ? new_context : main_context); in TestFunc()
52 interface->MakeCurrent(main_context); in TestFunc()
53 interface->DeleteContext(new_context); in TestFunc()
/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/avahi/avahi-core/
Dbrowse.c46 AvahiIfIndex interface; member
60 static void lookup_handle_cname(AvahiSRBLookup *l, AvahiIfIndex interface, AvahiProtocol protocol, …
61 static void lookup_drop_cname(AvahiSRBLookup *l, AvahiIfIndex interface, AvahiProtocol protocol, Av…
84 AvahiIfIndex interface, in lookup_new() argument
92 assert(AVAHI_IF_VALID(interface)); in lookup_new()
104 l->interface = interface; in lookup_new()
160 AvahiIfIndex interface, in lookup_find() argument
171 if ((l->interface == AVAHI_IF_UNSPEC || l->interface == interface) && in lookup_find()
172 (l->interface == AVAHI_PROTO_UNSPEC || l->protocol == protocol) && in lookup_find()
251 AvahiIfIndex interface, in lookup_multicast_callback() argument
[all …]

12345678910>>...134