Home
last modified time | relevance | path

Searched refs:as (Results 1 – 25 of 108) sorted by relevance

12345

/dalvik/libcore/security/src/main/java/org/bouncycastle/asn1/esf/
DCommitmentTypeQualifier.java58 ASN1Sequence as) in CommitmentTypeQualifier() argument
60 commitmentTypeIdentifier = (DERObjectIdentifier)as.getObjectAt(0); in CommitmentTypeQualifier()
62 if (as.size() > 1) in CommitmentTypeQualifier()
64 qualifier = as.getObjectAt(1); in CommitmentTypeQualifier()
68 public static CommitmentTypeQualifier getInstance(Object as) in getInstance() argument
70 if (as instanceof CommitmentTypeQualifier || as == null) in getInstance()
72 return (CommitmentTypeQualifier)as; in getInstance()
74 else if (as instanceof ASN1Sequence) in getInstance()
76 return new CommitmentTypeQualifier((ASN1Sequence)as); in getInstance()
/dalvik/libcore/security/src/main/java/org/bouncycastle/asn1/x509/
DPolicyQualifierInfo.java63 ASN1Sequence as) in PolicyQualifierInfo() argument
65 if (as.size() != 2) in PolicyQualifierInfo()
68 + as.size()); in PolicyQualifierInfo()
71 policyQualifierId = DERObjectIdentifier.getInstance(as.getObjectAt(0)); in PolicyQualifierInfo()
72 qualifier = as.getObjectAt(1); in PolicyQualifierInfo()
76 Object as) in getInstance() argument
78 if (as instanceof PolicyQualifierInfo) in getInstance()
80 return (PolicyQualifierInfo)as; in getInstance()
82 else if (as instanceof ASN1Sequence) in getInstance()
84 return new PolicyQualifierInfo((ASN1Sequence)as); in getInstance()
DUserNotice.java67 ASN1Sequence as) in UserNotice() argument
69 if (as.size() == 2) in UserNotice()
71 noticeRef = NoticeReference.getInstance(as.getObjectAt(0)); in UserNotice()
72 explicitText = DisplayText.getInstance(as.getObjectAt(1)); in UserNotice()
74 else if (as.size() == 1) in UserNotice()
76 if (as.getObjectAt(0).getDERObject() instanceof ASN1Sequence) in UserNotice()
78 noticeRef = NoticeReference.getInstance(as.getObjectAt(0)); in UserNotice()
82 explicitText = DisplayText.getInstance(as.getObjectAt(0)); in UserNotice()
87 throw new IllegalArgumentException("Bad sequence size: " + as.size()); in UserNotice()
DNoticeReference.java106 ASN1Sequence as) in NoticeReference() argument
108 if (as.size() != 2) in NoticeReference()
111 + as.size()); in NoticeReference()
114 organization = DisplayText.getInstance(as.getObjectAt(0)); in NoticeReference()
115 noticeNumbers = ASN1Sequence.getInstance(as.getObjectAt(1)); in NoticeReference()
119 Object as) in getInstance() argument
121 if (as instanceof NoticeReference) in getInstance()
123 return (NoticeReference)as; in getInstance()
125 else if (as instanceof ASN1Sequence) in getInstance()
127 return new NoticeReference((ASN1Sequence)as); in getInstance()
/dalvik/libcore/text/src/test/java/org/apache/harmony/text/tests/java/text/
DAttributedCharacterIteratorTest.java230 AttributedString as = new AttributedString("test"); in test_getRunLimitLSet() local
231 as.addAttribute(AttributedCharacterIterator.Attribute.LANGUAGE, "a", 2, in test_getRunLimitLSet()
233 AttributedCharacterIterator it = as.getIterator(); in test_getRunLimitLSet()
240 as = new AttributedString("test"); in test_getRunLimitLSet()
241 as.addAttribute(AttributedCharacterIterator.Attribute.LANGUAGE, null, in test_getRunLimitLSet()
243 it = as.getIterator(); in test_getRunLimitLSet()
259 AttributedString as = new AttributedString("test"); in test_getAllAttributeKeys() local
260 AttributedCharacterIterator it = as.getIterator(); in test_getAllAttributeKeys()
267 as.addAttribute(AttributedCharacterIterator.Attribute.LANGUAGE, in test_getAllAttributeKeys()
270 it = as.getIterator(); in test_getAllAttributeKeys()
[all …]
DAttributedStringTest.java360 AttributedString as = new AttributedString("test"); in test_addAttributeLjava_text_AttributedCharacterIterator$AttributeLjava_lang_ObjectII() local
361 as.addAttribute(AttributedCharacterIterator.Attribute.LANGUAGE, "a", 2, in test_addAttributeLjava_text_AttributedCharacterIterator$AttributeLjava_lang_ObjectII()
363 AttributedCharacterIterator it = as.getIterator(); in test_addAttributeLjava_text_AttributedCharacterIterator$AttributeLjava_lang_ObjectII()
367 as = new AttributedString("test"); in test_addAttributeLjava_text_AttributedCharacterIterator$AttributeLjava_lang_ObjectII()
368 as.addAttribute(AttributedCharacterIterator.Attribute.LANGUAGE, null, in test_addAttributeLjava_text_AttributedCharacterIterator$AttributeLjava_lang_ObjectII()
370 it = as.getIterator(); in test_addAttributeLjava_text_AttributedCharacterIterator$AttributeLjava_lang_ObjectII()
375 as = new AttributedString("test"); in test_addAttributeLjava_text_AttributedCharacterIterator$AttributeLjava_lang_ObjectII()
376 as.addAttribute(AttributedCharacterIterator.Attribute.LANGUAGE, in test_addAttributeLjava_text_AttributedCharacterIterator$AttributeLjava_lang_ObjectII()
384 as = new AttributedString("123", new WeakHashMap()); in test_addAttributeLjava_text_AttributedCharacterIterator$AttributeLjava_lang_ObjectII()
386 as.addAttribute(null, new TreeSet(), 0, 1); in test_addAttributeLjava_text_AttributedCharacterIterator$AttributeLjava_lang_ObjectII()
[all …]
/dalvik/libcore/luni/src/test/java/org/apache/harmony/luni/tests/java/util/
DAbstractSetTest.java66 AbstractSet as = new Mock_AbstractSet();
67 assertNotNull(as.hashCode());
98 AbstractSet as = new AbstractSet(){
124 as.removeAll(null);
132 as.removeAll(c);
138 as = new Mock_AbstractSet();
140 as.removeAll(c);
/dalvik/libcore/support/src/test/java/org/apache/harmony/xnet/tests/support/
DX509KeyManagerImpl.java140 public String chooseClientAlias(String[] as, Principal[] aprincipal, Socket socket) { in chooseClientAlias() argument
142 if (as == null || as.length == 0) { in chooseClientAlias()
146 if (as.length == 1 && as[0].equals(client)) { in chooseClientAlias()
184 public String chooseServerAlias(String as, Principal[] aprincipal, Socket socket) { in chooseServerAlias() argument
186 if (as == null || as.equals("")) { in chooseServerAlias()
190 if (as.equals(server) && socket != null) { in chooseServerAlias()
DmySSLSession.java163 String as[] = new String[vector.size()]; in getValueNames() local
164 vector.copyInto(as); in getValueNames()
165 return as; in getValueNames()
/dalvik/vm/mterp/armv6t2/
DOP_DOUBLE_TO_INT.S17 mov r2, #0x80000000 @ maxint, as a double (low word)
20 mvn r3, #0xbe000000 @ maxint, as a double (high word)
31 mov r3, #0xc1000000 @ minint, as a double (high word)
33 mov r2, #0 @ minint, as a double (low word)
DOP_DOUBLE_TO_LONG.S15 mov r3, #0x43000000 @ maxlong, as a double (high word)
17 mov r2, #0 @ maxlong, as a double (low word)
29 mov r3, #0xc3000000 @ minlong, as a double (high word)
31 mov r2, #0 @ minlong, as a double (low word)
/dalvik/vm/mterp/armv5te/
DOP_DOUBLE_TO_INT.S17 mov r2, #0x80000000 @ maxint, as a double (low word)
20 mvn r3, #0xbe000000 @ maxint, as a double (high word)
31 mov r3, #0xc1000000 @ minint, as a double (high word)
33 mov r2, #0 @ minint, as a double (low word)
DOP_DOUBLE_TO_LONG.S15 mov r3, #0x43000000 @ maxlong, as a double (high word)
17 mov r2, #0 @ maxlong, as a double (low word)
29 mov r3, #0xc3000000 @ minlong, as a double (high word)
31 mov r2, #0 @ minlong, as a double (low word)
/dalvik/libcore/support/src/test/java/tests/resources/
Dhyts_PropertiesTest.properties8 ! dshfjklahfjkldashgjl;as
14 b bb as,dn
/dalvik/dx/tests/032-bb-live-code/
Dinfo.txt2 includes as live code all code which could possibly be flowed
5 branch are checked for liveness as well.
/dalvik/dx/tests/051-dex-explicit-null/
Dinfo.txt2 assigning a reference variable to null works, as well as explicitly
/dalvik/
DREADME.txt2 as well as related tools, libraries, and tests.
8 Harmony project, and as such contains the standard Apache header
10 project, and as such contains the standard Android header comment.
13 code from Harmony are identified as indicated in the comment.
35 * "// END Harmony code" are copyrighted and licensed separately, as
DNOTICE23 and distribution as defined by Sections 1 through 9 of this document.
49 Object form, made available under the License, as indicated by a
56 represent, as a whole, an original work of authorship. For the purposes
73 designated in writing by the copyright owner as "Not a Contribution."
89 (except as stated in this section) patent license to make, have made,
100 as of the date such litigation is filed.
119 (d) If the Work includes a "NOTICE" text file as part of its
125 as part of the Derivative Works; within the Source form or
132 or as an addendum to the NOTICE text from the Work, provided
134 as modifying the License.
[all …]
/dalvik/libcore/luni-kernel/src/main/java/java/lang/reflect/
DAccessibleObject.java410 String as[] = c.getName().split("\\["); in appendGenericType() local
411 int len = as.length-1; in appendGenericType()
412 if (as[len].length() > 1){ in appendGenericType()
413 sb.append(as[len].substring(1, as[len].length()-1)); in appendGenericType()
415 char ch = as[len].charAt(0); in appendGenericType()
/dalvik/tests/058-enum-order/
Dinfo.txt1 Test that the ordering of enums is as expected.
/dalvik/tests/067-preemptive-unpark/
Dinfo.txt1 Test that Unsafe.unpark() operates as expected, in particular across a gc.
/dalvik/vm/native/
DREADME.txt19 also treat them as DalvikBridgeFunc, which takes two extra arguments.
21 JNI performance be deemed insufficient. The Bridge version is used as
23 not be used as we may drop support for it at some point.
/dalvik/libnativehelper/
DNOTICE23 and distribution as defined by Sections 1 through 9 of this document.
49 Object form, made available under the License, as indicated by a
56 represent, as a whole, an original work of authorship. For the purposes
73 designated in writing by the copyright owner as "Not a Contribution."
89 (except as stated in this section) patent license to make, have made,
100 as of the date such litigation is filed.
119 (d) If the Work includes a "NOTICE" text file as part of its
125 as part of the Derivative Works; within the Source form or
132 or as an addendum to the NOTICE text from the Work, provided
134 as modifying the License.
[all …]
/dalvik/tests/042-new-instance/
Dexpected.txt5 Cons LocalClass failed as expected
/dalvik/tests/002-sleep/
Dinfo.txt2 mostly meant as an easy thing to modify in order to test other things

12345