/prebuilts/go/darwin-x86/test/interface/ |
pointer.go | 7 // Test that interface{M()} = *interface{M()} produces a compiler error. 12 type Inst interface { 35 var x Inst = AddInst(new(Start)) // ERROR "pointer to interface" 37 var y *Inst = new(Start) // ERROR "pointer to interface|incompatible type"
|
/prebuilts/go/linux-x86/test/fixedbugs/ |
bug201.go | 23 var i interface{} = new(T1) 33 var i interface{} = MyInt(0) 34 _, ok1 := i.(interface { 37 _, ok2 := i.(interface { 40 _, ok3 := i.(interface {
|
bug251.go | 9 type I1 interface { // GC_ERROR "invalid recursive type" 13 // being emitted against the underlying interface type 15 I2 // ERROR "loop|interface|duplicate method m" 18 type I2 interface { 19 I1 // GCCGO_ERROR "loop|interface"
|
issue18595.go | 9 // a given compile-time interface type and underlying concrete type. 14 type I interface { 17 type J interface { 33 var j interface { 47 i2 := (I)((interface {
|
/prebuilts/go/linux-x86/test/interface/ |
pointer.go | 7 // Test that interface{M()} = *interface{M()} produces a compiler error. 12 type Inst interface { 35 var x Inst = AddInst(new(Start)) // ERROR "pointer to interface" 37 var y *Inst = new(Start) // ERROR "pointer to interface|incompatible type"
|
/external/iproute2/examples/ |
dhcp-client-script | 121 # args: $1 = interface 141 # args: $1 = interface 269 # args: $1 = interface 280 # args: $1 = interface 345 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 ]; the [all...] |
/external/libusb-compat/examples/ |
testlibusb.c | 23 void print_altsetting(struct usb_interface_descriptor *interface) 27 printf(" bInterfaceNumber: %d\n", interface->bInterfaceNumber); 28 printf(" bAlternateSetting: %d\n", interface->bAlternateSetting); 29 printf(" bNumEndpoints: %d\n", interface->bNumEndpoints); 30 printf(" bInterfaceClass: %d\n", interface->bInterfaceClass); 31 printf(" bInterfaceSubClass: %d\n", interface->bInterfaceSubClass); 32 printf(" bInterfaceProtocol: %d\n", interface->bInterfaceProtocol); 33 printf(" iInterface: %d\n", interface->iInterface); 35 for (i = 0; i < interface->bNumEndpoints; i++) 36 print_endpoint(&interface->endpoint[i]) [all...] |
/prebuilts/go/darwin-x86/doc/progs/ |
json3.go | 17 var f interface{} 26 expected := map[string]interface{}{ 29 "Parents": []interface{}{ 39 f = map[string]interface{}{ 42 "Parents": []interface{}{ 50 m := f.(map[string]interface{}) 58 case []interface{}:
|
interface.go | 23 // Reader is the interface that wraps the basic Read method. 24 type Reader interface { 28 // Writer is the interface that wraps the basic Write method. 29 type Writer interface { 44 func typeAssertions() (interface{}, error) { // OMIT 55 var empty interface{}
|
/prebuilts/go/linux-x86/doc/progs/ |
json3.go | 17 var f interface{} 26 expected := map[string]interface{}{ 29 "Parents": []interface{}{ 39 f = map[string]interface{}{ 42 "Parents": []interface{}{ 50 m := f.(map[string]interface{}) 58 case []interface{}:
|
interface.go | 23 // Reader is the interface that wraps the basic Read method. 24 type Reader interface { 28 // Writer is the interface that wraps the basic Write method. 29 type Writer interface { 44 func typeAssertions() (interface{}, error) { // OMIT 55 var empty interface{}
|
/system/core/fastboot/ |
usb_osx.cpp | 64 IOUSBInterfaceInterface190 **interface; member in struct:usb_handle 91 IOUSBInterfaceInterface190 **interface = NULL; local 105 ERR("Couldn't create a device interface iterator: (%08x)\n", kr); 126 // Now create the interface interface for the interface 130 (LPVOID*) &interface); 135 if (result || !interface) { 136 ERR("Couldn't create interface interface: (%08x)\n" [all...] |
/system/netd/server/ |
RouteController.cpp | 140 uint32_t RouteController::getRouteTableForInterfaceLocked(const char* interface) { 141 uint32_t index = if_nametoindex(interface); 144 sInterfaceToTable[interface] = index; 147 // If the interface goes away if_nametoindex() will return 0 but we still need to know 149 auto iter = sInterfaceToTable.find(interface); 151 ALOGE("cannot find interface %s", interface); 157 uint32_t RouteController::getIfIndex(const char* interface) { 160 auto iter = sInterfaceToTable.find(interface); 162 ALOGE("getIfIndex: cannot find interface %s", interface) 668 const char *interface = DummyNetwork::INTERFACE_NAME; local [all...] |
InterfaceController.cpp | 109 // Run @fn on each interface as well as 'default' in the path @dirname. 144 const char *family, const char *which, const char *interface, const char *parameter) { 149 !isInterfaceName(interface) || 155 return StringPrintf("%s/%s/%s/%s/%s", proc_net_path, family, which, interface, parameter); 247 // When sending traffic via a given interface use only addresses configured 248 // on that interface as possible source addresses. 252 int InterfaceController::setEnableIPv6(const char *interface, const int on) { 253 if (!isIfaceName(interface)) { 259 // addresses and routes and disables IPv6 on the interface. 261 return writeValueToPath(ipv6_proc_path, interface, "disable_ipv6", disable_ipv6) [all...] |
/external/google-breakpad/src/common/mac/ |
GTMLogger.h | 209 @interface GTMLogger : NSObject { 309 @interface GTMLogger (GTMLoggerMacroHelpers) 370 @interface NSFileHandle (GTMFileHandleLogWriter) <GTMLogWriter> 387 @interface NSArray (GTMArrayCompositeLogWriter) <GTMLogWriter> 391 // This category adapts the GTMLogger interface so that it can be used as a log 398 @interface GTMLogger (GTMLoggerLogWriter) <GTMLogWriter> 420 @interface GTMLogBasicFormatter : NSObject <GTMLogFormatter> 432 @interface GTMLogStandardFormatter : GTMLogBasicFormatter { 457 @interface GTMLogLevelFilter : NSObject <GTMLogFilter> 463 @interface GTMLogNoFilter : NSObject <GTMLogFilter [all...] |
/system/tools/aidl/ |
generate_cpp.cpp | 211 string ClassName(const AidlInterface& interface, ClassNames type) { 212 string c_name = interface.GetName(); 224 case ClassNames::INTERFACE: 233 string BuildHeaderGuard(const AidlInterface& interface, 235 string class_name = ClassName(interface, header_type); 243 interface.GetPackage().c_str(), 255 const AidlInterface& interface, 257 const string i_name = ClassName(interface, ClassNames::INTERFACE); 258 const string bp_name = ClassName(interface, ClassNames::CLIENT) [all...] |
/prebuilts/go/darwin-x86/src/crypto/aes/ |
modes_test.go | 17 type testInterface interface { 21 // testBlock implements the cipher.Block interface and any *Able 41 // testAEAD implements the cipher.AEAD interface. 50 // Test the gcmAble interface is detected correctly by the cipher package. 54 t.Fatalf("testBlock does not implement the gcmAble interface") 61 t.Fatalf("cipher.NewGCM did not use gcmAble interface") 65 // testBlockMode implements the cipher.BlockMode interface. 72 // Test the cbcEncAble interface is detected correctly by the cipher package. 76 t.Fatalf("testBlock does not implement the cbcEncAble interface") 80 t.Fatalf("cipher.NewCBCEncrypter did not use cbcEncAble interface") [all...] |
/prebuilts/go/linux-x86/src/crypto/aes/ |
modes_test.go | 17 type testInterface interface { 21 // testBlock implements the cipher.Block interface and any *Able 41 // testAEAD implements the cipher.AEAD interface. 50 // Test the gcmAble interface is detected correctly by the cipher package. 54 t.Fatalf("testBlock does not implement the gcmAble interface") 61 t.Fatalf("cipher.NewGCM did not use gcmAble interface") 65 // testBlockMode implements the cipher.BlockMode interface. 72 // Test the cbcEncAble interface is detected correctly by the cipher package. 76 t.Fatalf("testBlock does not implement the cbcEncAble interface") 80 t.Fatalf("cipher.NewCBCEncrypter did not use cbcEncAble interface") [all...] |
/external/antlr/antlr-3.4/runtime/ObjC/Framework/examples/simplecTreeParser/ |
SimpleCParser.h | 25 #pragma mark Cyclic DFA interface start DFA2 26 @interface DFA2 : ANTLRDFA { 30 @end /* end of DFA2 interface */ 32 #pragma mark Cyclic DFA interface end DFA2 66 @interface SimpleCParser_program_return :ANTLRParserRuleReturnScope { /* returnScopeInterface line 1838 */ 80 @end /* end of returnScopeInterface interface */ 85 @interface SimpleCParser_declaration_return :ANTLRParserRuleReturnScope { /* returnScopeInterface line 1838 */ 99 @end /* end of returnScopeInterface interface */ 104 @interface SimpleCParser_variable_return :ANTLRParserRuleReturnScope { /* returnScopeInterface line 1838 */ 118 @end /* end of returnScopeInterface interface */ [all...] |
/external/antlr/antlr-3.4/runtime/ObjC/Framework/examples/simplecTreeParser/output1/ |
SimpleCParser.h | 12 #pragma mark Cyclic DFA interface start DFA2 13 @interface DFA2 : ANTLRDFA { 17 @end /* end of DFA2 interface */ 19 #pragma mark Cyclic DFA interface end DFA2 48 @interface SimpleCParser_program_return :ANTLRParserRuleReturnScope { // line 1672 61 @end /* end of returnScopeInterface interface */ 62 @interface SimpleCParser_declaration_return :ANTLRParserRuleReturnScope { // line 1672 75 @end /* end of returnScopeInterface interface */ 76 @interface SimpleCParser_variable_return :ANTLRParserRuleReturnScope { // line 1672 89 @end /* end of returnScopeInterface interface */ [all...] |
/external/autotest/server/ |
site_linux_router.py | 15 from autotest_lib.client.common_lib.cros.network import interface 25 ['ssid', 'interface', 'dev_type']) 28 'interface', 'config_dict', 144 @return string IP of WiFi interface. 259 # Figure out the correct 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 [all...] |
/external/clang/test/Analysis/Inputs/ |
system-header-simulator-for-nullability.h | 28 @interface 32 @interface NSString : NSObject<NSCopying> 39 @interface NSSystemClass : NSObject
|
/external/clang/test/SemaObjCXX/Inputs/ |
nullability-consistency-7.h | 17 @interface A 31 @interface B : A 34 @interface C : A
|
/hardware/qcom/display/msm8996/sdm/include/core/ |
core_interface.h | 31 @brief Interface file for core of the display subsystem. 47 /*! @brief Display manager interface version. 61 @warning It is assumed that client upgrades or downgrades display core interface all at once 103 /*! @brief Display core interface. 106 to create/destroy different display devices. This interface is created during display core 114 /*! @brief Method to create and get handle to display core interface. 117 different display devices only through a valid interface handle obtained using this method. An 119 This interface shall be called only once. 124 @param[out] interface \link CoreInterface \endlink 132 BufferSyncHandler *buffer_sync_handler, CoreInterface **interface, [all...] |
/system/bt/btcore/src/ |
hal_util.cc | 34 int hal_util_load_bt_library(const bt_interface_t** interface) { 59 *interface = itf; 63 *interface = NULL;
|