/dalvik/libcore/support/src/test/java/org/apache/harmony/security/tests/support/acl/ |
AclImpl.java | 88 public synchronized Enumeration getPermissions(Principal principal) {
89 Enumeration enumeration2 = subtract(getGroupPositive(principal), getGroupNegative(principal));
90 Enumeration enumeration3 = subtract(getGroupNegative(principal), getGroupPositive(principal));
91 Enumeration enumeration = subtract(getIndividualPositive(principal), getIndividualNegative(principal));
local 92 Enumeration enumeration1 = subtract(getIndividualNegative(principal), getIndividualPositive(principal));
93 Enumeration enumeration4 = subtract(enumeration2, enumeration1);
94 Enumeration enumeration5 = union(enumeration, enumeration4);
95 enumeration = subtract(getIndividualPositive(principal), getIndividualNegative(principal)); 167 Enumeration enumeration = zeroSet.elements(); local 182 Enumeration enumeration = zeroSet.elements(); local 197 Enumeration enumeration = zeroSet.elements(); local 205 Enumeration enumeration = zeroSet.elements(); local [all...] |
OwnerImpl.java | 22 import java.util.Enumeration;
56 Enumeration enumeration = ownerGroup.members();
local 57 Object obj = enumeration.nextElement();
58 if(enumeration.hasMoreElements()) {
|
AclEntryImpl.java | 22 import java.util.Enumeration;
81 public Enumeration permissions() {
96 Enumeration enumeration = permissions();
local 98 if(!enumeration.hasMoreElements())
100 Permission permission = (Permission)enumeration.nextElement();
102 if(enumeration.hasMoreElements())
|
GroupImpl.java | 22 import java.util.Enumeration;
53 public Enumeration members() {
94 for(Enumeration enumeration = members(); enumeration.hasMoreElements();) {
96 Principal principal1 = (Principal)enumeration.nextElement();
|
/external/proguard/src/proguard/classfile/util/ |
InternalTypeEnumeration.java | 27 * An <code>InternalTypeEnumeration</code> provides an enumeration of all 70 * Returns whether the enumeration can provide more types from the method 170 * A main method for testing the type enumeration. 181 InternalTypeEnumeration enumeration = new InternalTypeEnumeration(descriptor); local 183 if (enumeration.firstIndex >= 0) 185 System.out.println(" Formal type parameters ["+enumeration.formalTypeParameters()+"]"); 188 while (enumeration.hasMoreTypes()) 190 System.out.println(" Type ["+enumeration.nextType()+"]"); 193 if (enumeration.lastIndex < descriptor.length()) 195 System.out.println(" Return type ["+enumeration.returnType()+"]") [all...] |
DescriptorClassEnumeration.java | 28 * A <code>DescriptorClassEnumeration</code> provides an enumeration of all 55 * is the number of class names that the enumeration will return. 77 * Returns whether the enumeration can provide more class names from the 211 * A main method for testing the class name enumeration. 222 DescriptorClassEnumeration enumeration = new DescriptorClassEnumeration(descriptor); local 223 System.out.println(" Fluff: ["+enumeration.nextFluff()+"]"); 224 while (enumeration.hasMoreClassNames()) 226 System.out.println(" Name: ["+enumeration.nextClassName()+"]"); 227 System.out.println(" Fluff: ["+enumeration.nextFluff()+"]");
|
ClassReferenceInitializer.java | 443 DescriptorClassEnumeration enumeration = local 446 enumeration.nextFluff(); 448 if (enumeration.hasMoreClassNames()) 450 return findClass(referencingClassName, enumeration.nextClassName()); 464 DescriptorClassEnumeration enumeration = local 467 int classCount = enumeration.classCount(); 476 String fluff = enumeration.nextFluff(); 477 String name = enumeration.nextClassName();
|
/frameworks/base/test-runner/src/android/test/ |
TestCaseUtil.java | 29 import java.util.Enumeration; 79 Enumeration enumeration = testSuite.tests(); local 80 while (enumeration.hasMoreElements()) { 81 Test childTest = (Test) enumeration.nextElement(); 144 Enumeration enumeration = testSuite.tests(); local 145 while (enumeration.hasMoreElements()) { 146 Test test = (Test) enumeration.nextElement();
|
/dalvik/libcore/xml/src/main/java/javax/xml/validation/ |
SecuritySupport.java | 31 import java.util.Enumeration; 114 static Enumeration getResources(final ClassLoader cl, 118 return (Enumeration) 121 Enumeration enumeration; 123 enumeration = ClassLoader.getSystemResources(name); 126 enumeration = cl.getResources(name); 128 return enumeration;
|
/dalvik/libcore/xml/src/main/java/javax/xml/xpath/ |
SecuritySupport.java | 31 import java.util.Enumeration; 114 static Enumeration getResources(final ClassLoader cl, 118 return (Enumeration) 121 Enumeration enumeration; 123 enumeration = ClassLoader.getSystemResources(name); 126 enumeration = cl.getResources(name); 128 return enumeration;
|
/dalvik/libcore/nio/src/main/java/java/nio/channels/spi/ |
SelectorProvider.java | 31 import java.util.Enumeration; 111 Enumeration<URL> enumeration = null; local 120 enumeration = classLoader.getResources(PROVIDER_IN_JAR_RESOURCE); 124 if (null == enumeration) { 128 while (enumeration.hasMoreElements()) { 135 (enumeration.nextElement()).openStream()),
|
/dalvik/libcore/support/src/test/java/org/apache/harmony/xnet/tests/support/ |
mySSLSession.java | 6 import java.util.Enumeration; 159 Enumeration enumeration = table.keys(); local 160 while (enumeration.hasMoreElements()) { 161 vector.addElement(enumeration.nextElement());
|
/dalvik/libcore/archive/src/test/java/org/apache/harmony/archive/tests/java/util/jar/ |
JarFileTest.java | 38 import java.util.Enumeration; 350 Enumeration<JarEntry> e = jarFile.entries(); 369 Enumeration<JarEntry> enumeration = jarFile.entries(); local 372 enumeration.hasMoreElements(); 378 enumeration = jarFile.entries(); 381 enumeration.nextElement(); 410 Enumeration<JarEntry> enumeration = jarFile.entries(); local 411 assertTrue(enumeration.hasMoreElements()) 453 Enumeration<JarEntry> enumeration = jarFile.entries(); local [all...] |
/frameworks/base/awt/java/beans/ |
FeatureDescriptor.java | 21 import java.util.Enumeration; 89 * @return An instance of {@link Enumeration}. 91 public Enumeration<String> attributeNames() { 93 return Collections.enumeration(new LinkedList<String>(values.keySet()));
|
/dalvik/libcore/luni-kernel/src/main/java/java/lang/ |
ThreadGroup.java | 413 * Copies into <param>enumeration</param> starting at 421 * @param enumeration array into which the elements will be copied 423 * @param enumerationIndex Indicates in which position of the enumeration 429 private int enumerateGeneric(Object[] enumeration, boolean recurse, int enumerationIndex, 440 if (enumerationIndex >= enumeration.length) { 443 enumeration[enumerationIndex++] = immediateCollection[i]; 451 if (enumerationIndex >= enumeration.length) { 454 enumerationIndex = childrenGroups[i].enumerateGeneric(enumeration, recurse,
|
/external/v8/test/mjsunit/ |
enumeration-order.js | 44 // Validate the enumeration order for object up to 100 named properties. 57 // Validate the enumeration order for object literals up to 100 named 66 // This enumeration order is not required by the specification, so
|
/dalvik/libcore/security/src/test/java/org/apache/harmony/security/tests/java/security/ |
PermissionCollectionTest.java | 60 public Enumeration elements() 62 return setCol == null ? null : Collections.enumeration(setCol);
|
/dalvik/libcore/security/src/main/java/java/security/ |
BasicPermissionCollection.java | 26 import java.util.Enumeration; 100 * Returns enumeration of contained elements. 103 public Enumeration<Permission> elements() { 104 return Collections.enumeration(items.values());
|
UnresolvedPermissionCollection.java | 28 import java.util.Enumeration; 85 public Enumeration elements() { 90 return Collections.enumeration(all);
|
/external/guava/src/com/google/common/collect/ |
Iterators.java | 30 import java.util.Enumeration; 905 * Adapts an {@code Enumeration} to the {@code Iterator} interface. 908 * {@code Enumeration} as an {@code Iterable} is impossible. However, the 913 final Enumeration<T> enumeration) { 914 checkNotNull(enumeration); 917 return enumeration.hasMoreElements(); 920 return enumeration.nextElement(); 926 * Adapts an {@code Iterator} to the {@code Enumeration} interface. 929 * Collections#enumeration} (if you have a {@link Collection}), o [all...] |
/dalvik/libcore/archive/src/test/java/org/apache/harmony/archive/tests/java/util/zip/ |
ZipFileTest.java | 36 import java.util.Enumeration; 262 // Test for method java.util.Enumeration java.util.zip.ZipFile.entries() 263 Enumeration<? extends ZipEntry> enumer = zfile.entries(); 271 Enumeration<? extends ZipEntry> enumeration = zfile.entries(); local 274 enumeration.nextElement(); 280 enumeration.hasMoreElements();
|
/dalvik/libcore/support/src/test/java/org/apache/harmony/security/tests/support/ |
TestKeyStoreSpi.java | 21 import java.util.Enumeration; 63 public Enumeration<String> engineAliases() { 64 return Collections.enumeration(aliases.keySet());
|
/external/emma/core/java12/com/vladium/util/exception/ |
ExceptionCommon.java | 15 import java.util.Enumeration; 466 /*private*/ static final Enumeration EMPTY_ENUMERATION = Collections.enumeration (Collections.EMPTY_SET); 474 public Enumeration getKeys ()
|
/dalvik/libcore/luni/src/main/java/java/util/ |
Collections.java | [all...] |
/dalvik/libcore/luni/src/main/java/java/net/ |
URLClassLoader.java | 39 import java.util.Enumeration; 661 * @return the enumeration of URLs which point to the specified resource. 666 public Enumeration<URL> findResources(final String name) throws IOException { 693 return Collections.enumeration(result); [all...] |