Home
last modified time | relevance | path

Searched refs:interfaces (Results 1 – 25 of 791) sorted by relevance

12345678910>>...32

/external/wpa_supplicant_8/hostapd/
Dmain.c243 hostapd_interface_init(struct hapd_interfaces *interfaces, in hostapd_interface_init() argument
250 iface = hostapd_init(interfaces, config_fname); in hostapd_interface_init()
253 iface->interfaces = interfaces; in hostapd_interface_init()
299 struct hapd_interfaces *interfaces = signal_ctx; in handle_reload() local
302 hostapd_for_each_interface(interfaces, handle_reload_iface, NULL); in handle_reload()
313 static int hostapd_global_init(struct hapd_interfaces *interfaces, in hostapd_global_init() argument
335 eloop_register_signal(SIGHUP, handle_reload, interfaces); in hostapd_global_init()
336 eloop_register_signal(SIGUSR1, handle_dump_state, interfaces); in hostapd_global_init()
338 eloop_register_signal_terminate(handle_term, interfaces); in hostapd_global_init()
475 static int hostapd_get_global_ctrl_iface(struct hapd_interfaces *interfaces, in hostapd_get_global_ctrl_iface() argument
[all …]
/external/selinux/sepolgen/tests/
Dtest_interfaces.py22 import sepolgen.interfaces as interfaces namespace
29 p = interfaces.Param()
40 ret = interfaces.av_extract_params(av, params)
45 ret = interfaces.av_extract_params(av, params)
55 ret = interfaces.av_extract_params(av, params)
65 ret = interfaces.av_extract_params(av, params)
75 ret = interfaces.av_extract_params(av, params)
202 i = interfaces.InterfaceSet()
205 self.assertEquals(len(i.interfaces), 1)
206 for key, interface in i.interfaces.items():
[all …]
/external/javassist/src/main/javassist/bytecode/analysis/
DMultiType.java49 private Map interfaces; field in MultiType
55 public MultiType(Map interfaces) { in MultiType() argument
56 this(interfaces, null); in MultiType()
59 public MultiType(Map interfaces, Type potentialClass) { in MultiType() argument
61 this.interfaces = interfaces; in MultiType()
132 interfaces = map; in isAssignableTo()
151 source.interfaces = interfaces; in propogateState()
177 Iterator iter = type.interfaces.values().iterator(); in getAllMultiInterfaces()
256 if (merged.size() != interfaces.size()) { in merge()
261 if (! interfaces.containsKey(iter.next())) in merge()
[all …]
DType.java453 Map interfaces = findCommonInterfaces(type); in mergeClasses() local
454 if (interfaces.size() == 1) in mergeClasses()
455 return new Type((CtClass) interfaces.values().iterator().next()); in mergeClasses()
456 if (interfaces.size() > 1) in mergeClasses()
457 return new MultiType(interfaces); in mergeClasses()
508 CtClass[] interfaces; in findCommonInterfaces() local
510 interfaces = intf.getInterfaces(); in findCommonInterfaces()
515 for (int c = 0; c < interfaces.length; c++) in findCommonInterfaces()
516 alterMap.remove(interfaces[c].getName()); in findCommonInterfaces()
530 CtClass[] interfaces = clazz.getInterfaces(); in getAllInterfaces() local
[all …]
/external/proguard/src/proguard/classfile/editor/
DClassEditor.java55 int[] interfaces = targetClass.u2interfaces; in addInterface() local
58 if (interfaces.length <= interfacesCount) in addInterface()
61 System.arraycopy(interfaces, 0, in addInterface()
64 interfaces = targetClass.u2interfaces; in addInterface()
73 interfaces[targetClass.u2interfacesCount++] = interfaceConstantIndex; in addInterface()
82 int[] interfaces = targetClass.u2interfaces; in removeInterface() local
87 System.arraycopy(interfaces, interfaceIndex+1, in removeInterface()
88 interfaces, interfaceIndex, in removeInterface()
92 interfaces[--targetClass.u2interfacesCount] = 0; in removeInterface()
103 int[] interfaces = targetClass.u2interfaces; in findInterfaceIndex() local
[all …]
DInterfacesEditor.java74 int[] interfaces = targetClass.u2interfaces; in deleteInterface() local
79 interfaces[index] = interfaces[index + 1]; in deleteInterface()
83 interfaces[interfacesCount] = 0; in deleteInterface()
97 int[] interfaces = targetClass.u2interfaces; in findInterfaceIndex() local
101 if (interfaces[index] == interfaceConstantIndex) in findInterfaceIndex()
/external/mockito/cglib-and-asm/src/org/mockito/asm/tree/
DClassNode.java83 public List interfaces; field in ClassNode
143 this.interfaces = new ArrayList(); in ClassNode()
159 final String[] interfaces) in visit() argument
166 if (interfaces != null) { in visit()
167 this.interfaces.addAll(Arrays.asList(interfaces)); in visit()
238 String[] interfaces = new String[this.interfaces.size()]; in accept() local
239 this.interfaces.toArray(interfaces); in accept()
240 cv.visit(version, access, name, signature, superName, interfaces); in accept()
/external/dexmaker/src/dx/java/com/android/dx/dex/file/
DClassDefItem.java59 private TypeListItem interfaces; field in ClassDefItem
89 CstType superclass, TypeList interfaces, CstString sourceFile) { in ClassDefItem() argument
99 if (interfaces == null) { in ClassDefItem()
106 this.interfaces = in ClassDefItem()
107 (interfaces.size() == 0) ? null : new TypeListItem(interfaces); in ClassDefItem()
152 if (interfaces != null) { in addContents()
153 interfaces = typeLists.intern(interfaces); in addContents()
177 int interOff = OffsettedItem.getAbsoluteOffsetOr0(interfaces); in writeTo()
196 TypeList list = interfaces.getList(); in writeTo()
255 if (interfaces == null) { in getInterfaces()
[all …]
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/immutable/
DImmutableClassDef.java55 @Nonnull protected final ImmutableSet<String> interfaces; field in ImmutableClassDef
66 @Nullable Collection<String> interfaces, in ImmutableClassDef() argument
81 … this.interfaces = interfaces==null ? ImmutableSet.<String>of() : ImmutableSet.copyOf(interfaces); in ImmutableClassDef()
93 @Nullable Collection<String> interfaces, in ImmutableClassDef() argument
103 … this.interfaces = interfaces==null ? ImmutableSet.<String>of() : ImmutableSet.copyOf(interfaces); in ImmutableClassDef()
115 @Nullable ImmutableSet<String> interfaces, in ImmutableClassDef() argument
125 this.interfaces = ImmutableUtils.nullToEmptySet(interfaces); in ImmutableClassDef()
154 @Nonnull @Override public ImmutableSet<String> getInterfaces() { return interfaces; } in getInterfaces()
/external/wpa_supplicant_8/src/ap/
Dhostapd.c53 int hostapd_for_each_interface(struct hapd_interfaces *interfaces, in hostapd_for_each_interface() argument
60 for (i = 0; i < interfaces->count; i++) { in hostapd_for_each_interface()
61 ret = cb(interfaces->iface[i], ctx); in hostapd_for_each_interface()
166 if (iface->interfaces == NULL || in hostapd_reload_config()
167 iface->interfaces->config_read_cb == NULL) in hostapd_reload_config()
169 newconf = iface->interfaces->config_read_cb(iface->config_fname); in hostapd_reload_config()
350 if (hapd->iface->interfaces && in hostapd_cleanup()
351 hapd->iface->interfaces->ctrl_iface_deinit) in hostapd_cleanup()
352 hapd->iface->interfaces->ctrl_iface_deinit(hapd); in hostapd_cleanup()
1188 if (!hapd->iface->interfaces || in start_ctrl_iface_bss()
[all …]
/external/dhcpcd/dhcpcd-hooks/
D20-resolv.conf14 local interfaces= header= search= srvs= servers= x=
17 interfaces=$(list_interfaces "$resolv_conf_dir")
20 if [ -n "$interfaces" ]; then
22 for x in ${interfaces}; do
28 key_get_value "domain " ${interfaces})
30 key_get_value "search " ${interfaces})
42 key_get_value "nameserver " ${interfaces})
D50-ntp.conf25 local interfaces= header= srvs= servers= x=
28 interfaces=$(list_interfaces "$ntp_conf_dir")
30 if [ -n "$interfaces" ]; then
32 for x in ${interfaces}; do
38 key_get_value "server " $interfaces)
/external/iputils/
Drdisc.c155 static struct interface *interfaces; variable
611 ap->ira_addr = interfaces[i].localaddr.s_addr; in advertise()
612 ap->ira_preference = htonl(interfaces[i].preference); in advertise()
621 &interfaces[i]); in advertise()
624 &interfaces[i]); in advertise()
626 struct interface *ifp = &interfaces[i]; in advertise()
1002 if ((interfaces[i].flags & (IFF_BROADCAST|IFF_POINTOPOINT)) == 0) in sendbcast()
1004 cc = sendbcastif(s, packet, packetlen, &interfaces[i]); in sendbcast()
1044 if ((interfaces[i].flags & (IFF_BROADCAST|IFF_POINTOPOINT|IFF_MULTICAST)) == 0) in sendmcast()
1046 cc = sendmcastif(s, packet, packetlen, sin, &interfaces[i]); in sendmcast()
[all …]
/external/javassist/src/main/javassist/bytecode/
DClassFile.java39 int[] interfaces; field in ClassFile
132 interfaces = null; in ClassFile()
193 if (interfaces != null) { in compact0()
194 int n = interfaces.length; in compact0()
196 interfaces[i] in compact0()
197 = cp.addClassInfo(constPool.getClassInfo(interfaces[i])); in compact0()
504 if (interfaces == null) in getInterfaces()
507 int n = interfaces.length; in getInterfaces()
510 list[i] = constPool.getClassInfo(interfaces[i]); in getInterfaces()
529 interfaces = new int[n]; in setInterfaces()
[all …]
/external/javassist/src/main/javassist/util/proxy/
DProxyObjectOutputStream.java51 Class[] interfaces = cl.getInterfaces(); in writeClassDescriptor() local
56 writeInt(interfaces.length - 1); in writeClassDescriptor()
57 for (int i = 0; i < interfaces.length; i++) { in writeClassDescriptor()
58 Class interfaze = interfaces[i]; in writeClassDescriptor()
60 name = interfaces[i].getName(); in writeClassDescriptor()
DSerializedProxy.java33 private String[] interfaces; field in SerializedProxy
43 interfaces = new String[n - 1]; in SerializedProxy()
48 interfaces[i] = name; in SerializedProxy()
75 int n = interfaces.length;
78 infs[i] = loadClass(interfaces[i]);
DProxyFactory.java154 private Class[] interfaces; field in ProxyFactory
335 interfaces = null; in ProxyFactory()
366 interfaces = ifs; in setInterfaces()
376 public Class[] getInterfaces() { return interfaces; } in getInterfaces()
439 …public String getKey(Class superClass, Class[] interfaces, byte[] signature, boolean useWriteRepla… in getKey() argument
446 for (int i = 0; i < interfaces.length; i++) { in getKey()
447 sbuf.append(interfaces[i].getName()); in getKey()
465 String key = getKey(superClass, interfaces, signature, factoryWriteReplace); in createClass2()
594 else if (interfaces != null && interfaces.length > 0) in getClassLoader0()
595 loader = interfaces[0].getClassLoader(); in getClassLoader0()
[all …]
/external/mockito/cglib-and-asm/src/org/mockito/cglib/proxy/
DEnhancer.java124 String[] interfaces, in newInstance() argument
132 private Class[] interfaces; field in Enhancer
181 public void setInterfaces(Class[] interfaces) { in setInterfaces() argument
182 this.interfaces = interfaces; in setInterfaces()
357 if (interfaces != null) { in validate()
358 for (int i = 0; i < interfaces.length; i++) { in validate()
359 if (interfaces[i] == null) { in validate()
362 if (!interfaces[i].isInterface()) { in validate()
363 throw new IllegalStateException(interfaces[i] + " is not an interface"); in validate()
373 } else if (interfaces != null) { in createHelper()
[all …]
/external/wpa_supplicant_8/wpa_supplicant/dbus/
Ddbus_new_introspect.c20 struct interfaces { struct
27 static struct interfaces * add_interface(struct dl_list *list, in add_interface() argument
30 struct interfaces *iface; in add_interface()
32 dl_list_for_each(iface, list, struct interfaces, list) { in add_interface()
37 iface = os_zalloc(sizeof(struct interfaces)); in add_interface()
100 struct interfaces *iface; in extract_interfaces_methods()
115 struct interfaces *iface; in extract_interfaces_signals()
130 struct interfaces *iface; in extract_interfaces_properties()
161 struct interfaces *iface, *n; in add_interfaces()
163 dl_list_for_each_safe(iface, n, list, struct interfaces, list) { in add_interfaces()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/util/
DECUtil.java28 import org.bouncycastle.jce.interfaces.ECPrivateKey;
29 import org.bouncycastle.jce.interfaces.ECPublicKey;
133 else if (key instanceof java.security.interfaces.ECPublicKey) in generatePublicKeyParameter()
135 java.security.interfaces.ECPublicKey pubKey = (java.security.interfaces.ECPublicKey)key; in generatePublicKeyParameter()
155 if (publicKey instanceof java.security.interfaces.ECPublicKey) in generatePublicKeyParameter()
187 else if (key instanceof java.security.interfaces.ECPrivateKey) in generatePrivateKeyParameter()
189 … java.security.interfaces.ECPrivateKey privKey = (java.security.interfaces.ECPrivateKey)key; in generatePrivateKeyParameter()
209 if (privateKey instanceof java.security.interfaces.ECPrivateKey) in generatePrivateKeyParameter()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/rsa/
DKeyFactorySpi.java8 import java.security.interfaces.RSAPrivateCrtKey;
9 import java.security.interfaces.RSAPublicKey;
42 …isAssignableFrom(RSAPrivateKeySpec.class) && key instanceof java.security.interfaces.RSAPrivateKey) in engineGetKeySpec()
44 java.security.interfaces.RSAPrivateKey k = (java.security.interfaces.RSAPrivateKey)key; in engineGetKeySpec()
75 else if (key instanceof java.security.interfaces.RSAPrivateKey) in engineTranslateKey()
77 return new BCRSAPrivateKey((java.security.interfaces.RSAPrivateKey)key); in engineTranslateKey()
/external/javassist/src/main/javassist/
DCtArray.java38 private CtClass[] interfaces = null; field in CtArray
51 if (interfaces == null) { in getInterfaces()
55 interfaces = new CtClass[intfs.length]; in getInterfaces()
57 interfaces[i] = pool.get(intfs[i].getName()); in getInterfaces()
60 return interfaces; in getInterfaces()
/external/proguard/src/proguard/evaluation/value/
DTypedReferenceValue.java350 boolean interfaces) in findCommonClass() argument
354 class1.hierarchyAccept(!interfaces, in findCommonClass()
355 !interfaces, in findCommonClass()
356 interfaces, in findCommonClass()
363 if (interfaces) in findCommonClass()
375 class2.hierarchyAccept(!interfaces, in findCommonClass()
376 !interfaces, in findCommonClass()
377 interfaces, in findCommonClass()
384 if (interfaces) in findCommonClass()
396 …lize this ["+class1.getName()+"] with other ["+class2.getName()+"] (interfaces = "+interfaces+")"); in findCommonClass()
[all …]
/external/smali/dexlib2/src/test/java/org/jf/dexlib2/analysis/
DTestUtils.java43 …lassDef makeClassDef(@Nonnull String classType, @Nullable String superType, String... interfaces) { in makeClassDef() argument
44 return new ImmutableClassDef(classType, 0, superType, ImmutableSet.copyOf(interfaces), in makeClassDef()
48 public static ClassDef makeInterfaceDef(@Nonnull String classType, String... interfaces) { in makeInterfaceDef() argument
50 ImmutableSet.copyOf(interfaces), null, null, null, null, null, null); in makeInterfaceDef()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/dsa/
DKeyFactorySpi.java8 import java.security.interfaces.DSAPrivateKey;
9 import java.security.interfaces.DSAPublicKey;
38 …isAssignableFrom(DSAPrivateKeySpec.class) && key instanceof java.security.interfaces.DSAPrivateKey) in engineGetKeySpec()
40 java.security.interfaces.DSAPrivateKey k = (java.security.interfaces.DSAPrivateKey)key; in engineGetKeySpec()

12345678910>>...32