/external/autotest/server/site_tests/platform_CrashStateful/ |
platform_CrashStateful.py | 71 We use the kernel crash testing interface to immediately reboot the 75 interface = "/sys/kernel/debug/provoke-crash/DIRECT" 76 cmd = 'echo PANIC > %s' % interface 77 if not self.client.run('ls %s' % interface, 79 interface = "/proc/breakme" 80 cmd = 'echo panic > %s' % interface
|
/external/clang/test/SemaObjCXX/Inputs/ |
nullability-pragmas-1.h | 2 @interface NSError 6 @interface A 52 @interface A(Pragmas1) 83 @interface AA : A { 99 @interface A(OutsidePragmas1)
|
/external/flatbuffers/tests/MyGame/Example/ |
MonsterStorage_grpc.go | 15 type MonsterStorageClient interface{ 48 type MonsterStorage_RetrieveClient interface { 64 type MonsterStorageServer interface { 73 func _MonsterStorage_Store_Handler(srv interface{}, ctx context.Context, 74 dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 83 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 90 func _MonsterStorage_Retrieve_Handler(srv interface{}, stream grpc.ServerStream) error { 96 type MonsterStorage_RetrieveServer interface { [all...] |
/prebuilts/go/darwin-x86/test/fixedbugs/ |
issue15528.go | 27 // Test correct construction of static empty interface values 29 x interface{} 46 {(interface{})(io.Writer((*os.File)(nil))), "*os.File <nil>"}, 55 type Strunger interface { 60 // Test correct construction of static non-empty interface values 74 // Test correct handling of direct interface values 77 iptr interface{} = &one 79 f interface{} = func() { clos++ } 80 deep interface{} = [1]struct{ a *[2]byte }{{a: &[2]byte{'z', 'w'}}} 81 ch interface{} = make(chan bool, 1 [all...] |
/prebuilts/go/linux-x86/test/fixedbugs/ |
issue15528.go | 27 // Test correct construction of static empty interface values 29 x interface{} 46 {(interface{})(io.Writer((*os.File)(nil))), "*os.File <nil>"}, 55 type Strunger interface { 60 // Test correct construction of static non-empty interface values 74 // Test correct handling of direct interface values 77 iptr interface{} = &one 79 f interface{} = func() { clos++ } 80 deep interface{} = [1]struct{ a *[2]byte }{{a: &[2]byte{'z', 'w'}}} 81 ch interface{} = make(chan bool, 1 [all...] |
/system/tools/aidl/ |
type_cpp.cpp | 176 BinderType(const AidlInterface& interface, const std::string& src_file_name) 177 : BinderType(interface, src_file_name, 178 new BinderType(interface, src_file_name, kNoNullableType, 188 BinderType(const AidlInterface& interface, 192 interface.GetPackage(), interface.GetName(), 193 {GetCppHeader(interface)}, GetCppName(interface), 195 src_file_name, interface.GetLine()), 196 write_cast_(GetRawCppName(interface) + "::asBinder") { [all...] |
/external/selinux/python/sepolgen/tests/ |
test_interfaces.py | 83 interface(`files_search_usr',` 103 interface(`files_list_usr',` 120 interface(`files_exec_usr_files',` 134 interface(`foo',` 144 interface(`foo',` 152 interface(`map', ` 162 interface(`hard_map', ` 206 for key, interface in i.interfaces.items(): 207 self.assertEqual(key, interface.name) 209 self.assertEqual(len(interface.access), 2 [all...] |
/build/blueprint/proptools/ |
typeequal_test.go | 23 in1 interface{} 24 in2 interface{} 94 // Matching embedded interface to pointer to struct 95 in1: &struct{ S interface{} }{S: &struct{ S1 string }{}}, 96 in2: &struct{ S interface{} }{S: &struct{ S1 string }{}}, 100 // Mismatching embedded interface to pointer to struct 101 in1: &struct{ S interface{} }{S: &struct{ S1 string }{}}, 102 in2: &struct{ S interface{} }{S: &struct{ S2 string }{}}, 106 // Matching embedded nil interface to pointer to struct 107 in1: &struct{ S interface{} }{}, [all...] |
/external/libmojo/mojo/public/tools/bindings/pylib/mojom/generate/ |
translate.py | 121 |scope| is a tuple that looks like (namespace, struct/interface), referring 179 struct/interface), referring to the location where the type is 244 importable_kinds = (mojom.Struct, mojom.Union, mojom.Enum, mojom.Interface) 362 def _Parameter(module, parsed_param, interface): 367 union: {mojom.Interface} Interface this parameter belongs to. 376 (module.namespace, interface.name)) 383 def _Method(module, parsed_method, interface): 388 interface: {mojom.Interface} Interface this method belongs to [all...] |
/external/wpa_supplicant_8/wpa_supplicant/dbus/ |
dbus_new_helpers.c | 2 * WPA Supplicant / dbus-based control interface 25 const char *interface, void *user_data, DBusError *error) 31 /* Only return properties for the requested D-Bus interface */ 32 if (os_strncmp(dsc->dbus_interface, interface, 72 * @interface: interface name which properties will be returned 77 * of those, which are readable and which interface matches interface 81 static DBusMessage * get_all_properties(DBusMessage *message, char *interface, 100 interface, obj_dsc->user_data, &error)) 285 char *interface; local [all...] |
/system/libvintf/include/vintf/ |
HalGroup.h | 104 // Apply func to instances of package@expectVersion::interface/*. 108 const std::string& interface, 111 [&func, &interface](const InstanceType& e) { 112 if (e.interface() == interface) { 120 // If interface is empty, returns all instances of package@version; 121 // else return all instances of package@version::interface. 124 const std::string& interface = "") const { 130 if (interface.empty()) { 133 (void)forEachInstanceOfInterface(package, expectVersion, interface, mapToVector) [all...] |
/system/netd/server/ |
NetworkController.h | 98 unsigned getNetworkForInterface(const char* interface) const; 106 int addInterfaceToNetwork(unsigned netId, const char* interface) WARN_UNUSED_RESULT; 107 int removeInterfaceFromNetwork(unsigned netId, const char* interface) WARN_UNUSED_RESULT; 121 // Routes are added to tables determined by the interface, so only |interface| is actually used. 122 // |netId| is given only to sanity check that the interface has the correct netId. 123 int addRoute(unsigned netId, const char* interface, const char* destination, 125 int removeRoute(unsigned netId, const char* interface, const char* destination, 128 // Notes that the specified address has appeared on the specified interface. 130 // Notes that the specified address has been removed from the specified interface [all...] |
/prebuilts/go/darwin-x86/src/hash/ |
hash.go | 10 // Hash is the common interface implemented by all hash functions. 26 type Hash interface { 27 // Write (via the embedded io.Writer interface) adds more data to the running hash. 48 // Hash32 is the common interface implemented by all 32-bit hash functions. 49 type Hash32 interface { 54 // Hash64 is the common interface implemented by all 64-bit hash functions. 55 type Hash64 interface {
|
/prebuilts/go/linux-x86/src/hash/ |
hash.go | 10 // Hash is the common interface implemented by all hash functions. 26 type Hash interface { 27 // Write (via the embedded io.Writer interface) adds more data to the running hash. 48 // Hash32 is the common interface implemented by all 32-bit hash functions. 49 type Hash32 interface { 54 // Hash64 is the common interface implemented by all 64-bit hash functions. 55 type Hash64 interface {
|
/external/wayland/src/ |
wayland-client.c | 71 char *interface; member in struct:wl_global 93 * the interface's errors enumeration. */ 95 /* interface (protocol) in which the error occurred */ 96 const struct wl_interface *interface; member in struct:wl_display::__anon43677 169 * \param intf protocol interface 203 display->protocol_error.interface = intf; 328 proxy_create(struct wl_proxy *factory, const struct wl_interface *interface, 338 proxy->object.interface = interface; 349 /** Create a proxy object with a given interface 807 const struct wl_interface *interface; local [all...] |
/external/v8/src/inspector/ |
debugger_script_externs.js | 119 /** @interface */ 129 /** @interface */ 183 /** @interface */ 196 /** @interface */ 227 /** @interface */ 237 * @interface 247 * @interface 286 * @interface 302 * @interface 317 * @interface [all...] |
/prebuilts/go/darwin-x86/src/net/ |
interface_plan9.go | 14 // interface. 15 func interfaceTable(ifindex int) ([]Interface, error) { 21 ifcs := make([]Interface, n) 36 return []Interface{*ifc}, nil 39 func readInterface(i int) (*Interface, error) { 40 ifc := &Interface{ 42 Name: netdir + "/ipifc/" + itoa(i), // Name is the full path to the interface path in plan9 54 return nil, errors.New("invalid interface status file: " + ifcstat) 59 return nil, errors.New("invalid interface status file: " + ifcstat) 67 return nil, errors.New("invalid status file of interface: " + ifcstat [all...] |
/prebuilts/go/linux-x86/src/net/ |
interface_plan9.go | 14 // interface. 15 func interfaceTable(ifindex int) ([]Interface, error) { 21 ifcs := make([]Interface, n) 36 return []Interface{*ifc}, nil 39 func readInterface(i int) (*Interface, error) { 40 ifc := &Interface{ 42 Name: netdir + "/ipifc/" + itoa(i), // Name is the full path to the interface path in plan9 54 return nil, errors.New("invalid interface status file: " + ifcstat) 59 return nil, errors.New("invalid interface status file: " + ifcstat) 67 return nil, errors.New("invalid status file of interface: " + ifcstat [all...] |
/build/soong/android/ |
defaults.go | 34 defaultableProperties []interface{} 41 func (d *DefaultableModuleBase) setProperties(props []interface{}) { 45 type Defaultable interface { 47 setProperties([]interface{}) 51 type DefaultableModule interface { 66 defaultProperties []interface{} 69 type Defaults interface { 72 properties() []interface{} 79 func (d *DefaultsModuleBase) properties() []interface{} {
|
/external/dhcpcd-6.8.2/ |
dhcpcd-run-hooks.in | 13 ifname="$interface$ifsuffix${ifclass+.}$ifclass" 40 # List interface config files in a directory. 167 rm -f "$1-pre.$interface" 168 cat "$1" > "$1-pre.$interface" 176 [ -f "$1-pre.$interface" ] || return 1 177 cat "$1-pre.$interface" > "$1" 178 rm -f "$1-pre.$interface" 192 err|error) echo "$interface: $*" >&2;; 193 *) echo "$interface: $*";; 196 logger -i -p daemon."$lvl" -t dhcpcd-run-hooks "$interface: $* [all...] |
/external/libusb/libusb/os/ |
darwin_usb.c | 103 return "no async port has been opened for interface"; 177 /* current interface */ 182 usbi_dbg ("converting ep address 0x%02x to pipeRef and interface", ep); 198 usbi_dbg ("pipe %d on interface %d matches", *pipep, iface); 669 /* Setup the Interface Request */ 682 /* done with the interface iterator */ [all...] |
/prebuilts/go/darwin-x86/src/runtime/ |
error.go | 9 // The Error interface identifies a run time error. 10 type Error interface { 25 missingMethod string // one method needed by Interface, missing from Concrete 33 inter = "interface" 36 return "interface conversion: " + inter + " is nil, not " + e.assertedString 39 return "interface conversion: " + inter + " is " + e.concreteString + 42 return "interface conversion: " + e.concreteString + " is not " + e.assertedString + 66 type stringer interface { 70 func typestring(x interface{}) string { 76 func printany(i interface{}) { [all...] |
/prebuilts/go/linux-x86/src/runtime/ |
error.go | 9 // The Error interface identifies a run time error. 10 type Error interface { 25 missingMethod string // one method needed by Interface, missing from Concrete 33 inter = "interface" 36 return "interface conversion: " + inter + " is nil, not " + e.assertedString 39 return "interface conversion: " + inter + " is " + e.concreteString + 42 return "interface conversion: " + e.concreteString + " is not " + e.assertedString + 66 type stringer interface { 70 func typestring(x interface{}) string { 76 func printany(i interface{}) { [all...] |
/prebuilts/go/darwin-x86/src/go/internal/gcimporter/testdata/ |
exports.go | 50 T12 interface{} 51 T13 interface { 55 T14 interface { 65 T20 func(...interface{}) 86 func F5(a, b, c int, u, v, w struct{ x, y T1 }, more ...interface{}) (p, q, r chan<- T10)
|
/prebuilts/go/darwin-x86/src/vendor/golang_org/x/net/route/ |
sys_netbsd.go | 14 // SysType implements the SysType method of Sys interface. 17 // Sys implements the Sys method of Message interface. 28 Type int // interface type 32 // SysType implements the SysType method of Sys interface. 35 // Sys implements the Sys method of Message interface.
|