/libcore/luni/src/main/java/libcore/io/ |
H A D | DropBox.java | 49 public void addData(String tag, byte[] data, int flags); argument 50 public void addText(String tag, String data); argument 58 public void addData(String tag, byte[] data, int flags) { argument 59 System.out.println(tag + ": " + Base64.getEncoder().encodeToString(data)); 62 public void addText(String tag, String data) { argument 63 System.out.println(tag + ": " + data); 67 public static void addData(String tag, byte[] data, int flags) { argument 68 getReporter().addData(tag, data, flags); 71 public static void addText(String tag, String data) { argument 72 getReporter().addText(tag, dat [all...] |
/libcore/ojluni/src/main/java/sun/security/util/ |
H A D | DerValue.java | 57 /** The tag class types */ 63 /** The DER tag of the value; one of the tag_ constants. */ 64 public byte tag; field in class:DerValue 77 * The original encoded form of the whole value (tag, length, and value) 173 * Returns true if the tag class is UNIVERSAL. 175 public boolean isUniversal() { return ((tag & 0x0c0) == 0x000); } 178 * Returns true if the tag class is APPLICATION. 180 public boolean isApplication() { return ((tag & 0x0c0) == 0x040); } 183 * Returns true iff the CONTEXT SPECIFIC bit is set in the type tag. 186 public boolean isContextSpecific() { return ((tag 243 DerValue(byte tag, byte[] data) argument 950 resetTag(byte tag) argument [all...] |
H A D | DerOutputStream.java | 71 * { tag, length, data } used by all DER values. 73 * @param tag the DER value tag for the data, such as 77 public void write(byte tag, byte[] buf) throws IOException { argument 78 write(tag); 88 * @param tag the DER value tag for the data, such as 92 public void write(byte tag, DerOutputStream out) throws IOException { argument 93 write(tag); 103 * @param tag th 115 writeImplicit(byte tag, DerOutputStream value) argument 337 putOrderedSetOf(byte tag, DerEncoder[] set) argument 351 putOrderedSet(byte tag, DerEncoder[] set) argument 373 putOrderedSet(byte tag, DerEncoder[] set, Comparator<byte[]> order) argument 487 putTime(Date d, byte tag) argument [all...] |
H A D | DerIndefLenConverter.java | 35 * This assumes that the basic data structure is "tag, length, value" 59 private boolean isEOC(int tag) { argument 60 return (((tag & TAG_MASK) == 0x00) && // EOC 61 ((tag & FORM_MASK) == 0x00) && // primitive 62 ((tag & CLASS_MASK) == 0x00)); // universal 89 * Parse the tag and if it is an end-of-contents tag then 111 "indefinite-length tag"); 121 // and subtract the indefinite-length tag (1 byte) and 129 * Write the tag an [all...] |
H A D | DerInputStream.java | 69 /** The DER tag of the value; one of the tag_ constants. */ 70 public byte tag; field in class:DerInputStream 193 throw new IOException("DER input, Integer tag error"); 205 throw new IOException("DER input, Integer tag error"); 219 throw new IOException("DER input, Integer tag error"); 231 throw new IOException("DER input, Enumerated tag error"); 331 tag = (byte)buffer.read(); 332 if (tag != DerValue.tag_Sequence) 333 throw new IOException("Sequence tag error"); 365 tag [all...] |
/libcore/dalvik/src/main/java/dalvik/system/ |
H A D | DalvikLogHandler.java | 27 * objects to be allocated for log handling. It also includes a short tag, which 41 * @param tag the short (23 characters or fewer) logger tag identifying 44 void publish(Logger source, String tag, Level level, String message); argument
|
H A D | SocketTagger.java | 32 @Override public void tag(FileDescriptor socketDescriptor) throws SocketException {} 41 public abstract void tag(FileDescriptor socketDescriptor) throws SocketException; method in class:SocketTagger 53 public final void tag(Socket socket) throws SocketException { method in class:SocketTagger 55 tag(socket.getFileDescriptor$()); 65 public final void tag(DatagramSocket socket) throws SocketException { method in class:SocketTagger 67 tag(socket.getFileDescriptor$());
|
/libcore/ojluni/src/main/native/ |
H A D | socket_tagger_util.cpp | 32 jmethodID tag = env->GetMethodID(JniConstants::socketTaggerClass, local 33 "tag", "(Ljava/io/FileDescriptor;)V"); 36 env->CallVoidMethod(socketTagger, tag, fileDescriptor);
|
/libcore/luni/src/main/java/libcore/reflect/ |
H A D | AnnotationMember.java | 92 protected final char tag; field in class:AnnotationMember 112 tag = ERROR; 114 tag = ARRAY; 116 tag = OTHER; 168 if (tag == ARRAY) { 200 if (name.equals(that.name) && tag == that.tag) { 201 if (tag == ARRAY) { 203 } else if (tag == ERROR) { 261 if (tag [all...] |
/libcore/ojluni/src/main/java/sun/util/locale/ |
H A D | LocaleMatcher.java | 66 for (String tag : filteredTags) { 67 filteredLocales.add(Locale.forLanguageTag(tag)); 120 for (String tag : tags) { 121 tag = tag.toLowerCase(); 122 if (tag.startsWith(range)) { 124 if ((tag.length() == len || tag.charAt(len) == '-') 125 && !list.contains(tag)) { 126 list.add(tag); [all...] |
H A D | LanguageTag.java | 100 //{"tag", "preferred"}, 140 * / privateuse ; private use tag 190 // Check if the tag is grandfathered 199 LanguageTag tag = new LanguageTag(); 202 if (tag.parseLanguage(itr, sts)) { 203 tag.parseExtlangs(itr, sts); 204 tag.parseScript(itr, sts); 205 tag.parseRegion(itr, sts); 206 tag.parseVariants(itr, sts); 207 tag [all...] |
/libcore/ojluni/src/main/java/java/security/ |
H A D | PKCS12Attribute.java | 262 if (attrValueSet[i].tag == DerValue.tag_OctetString) { 267 } else if (attrValueSet[i].tag == DerValue.tag_ObjectId) { 269 } else if (attrValueSet[i].tag == DerValue.tag_GeneralizedTime) { 271 } else if (attrValueSet[i].tag == DerValue.tag_UtcTime) { 273 } else if (attrValueSet[i].tag == DerValue.tag_Integer) { 275 } else if (attrValueSet[i].tag == DerValue.tag_Boolean) {
|
/libcore/ojluni/src/main/java/sun/security/provider/certpath/ |
H A D | OCSPResponse.java | 96 * (excluding the tag and length fields) 199 if (der.tag != DerValue.tag_Sequence) { 201 "expected ASN.1 SEQUENCE tag."); 231 "of OCSP response: expected ASN.1 context specific tag 0."); 234 if (tmp.tag != DerValue.tag_Sequence) { 236 "of OCSP response: expected ASN.1 SEQUENCE tag."); 269 if (responseData.tag != DerValue.tag_Sequence) { 271 "element of OCSP response: expected ASN.1 SEQUENCE tag."); 292 short tag = (byte)(seq.tag [all...] |
H A D | X509CertificatePair.java | 226 if (val.tag != DerValue.tag_Sequence) { 228 ("Sequence tag missing for X509CertificatePair"); 233 short tag = (byte) (opt.tag & 0x01f); 234 switch (tag) {
|
/libcore/ojluni/src/main/java/sun/security/timestamp/ |
H A D | TimestampToken.java | 137 if (tstInfo.tag != DerValue.tag_Sequence) { 160 if (d.tag == DerValue.tag_Integer) { // must be the nonce
|
/libcore/ojluni/src/main/java/sun/security/x509/ |
H A D | UniqueIdentity.java | 76 * @param tag the tag the value is encoded under. 94 * @param tag enocode it under the following tag. 97 public void encode(DerOutputStream out, byte tag) throws IOException { argument 101 out.write(tag);
|
H A D | CertificateValidity.java | 72 if (derVal.tag != DerValue.tag_Sequence) { 74 "starting sequence tag missing."); 85 if (seq[0].tag == DerValue.tag_UtcTime) { 87 } else if (seq[0].tag == DerValue.tag_GeneralizedTime) { 93 if (seq[1].tag == DerValue.tag_UtcTime) { 95 } else if (seq[1].tag == DerValue.tag_GeneralizedTime) {
|
H A D | CertificatePolicyMap.java | 60 if (val.tag != DerValue.tag_Sequence) {
|
H A D | GeneralName.java | 87 short tag = (byte)(encName.tag & 0x1f); 90 // IMPLICIT tag. 91 switch (tag) { 165 throw new IOException("Unrecognized GeneralName tag, (" 166 + tag +")"); 239 // explicit, constructed form since underlying tag is CHOICE
|
H A D | BasicConstraintsExtension.java | 130 if (val.tag != DerValue.tag_Sequence) { 139 if (opt.tag != DerValue.tag_Boolean) { 154 if (opt.tag != DerValue.tag_Integer) {
|
H A D | GeneralNames.java | 57 if (derVal.tag != DerValue.tag_Sequence) {
|
H A D | KeyIdentifier.java | 70 * value of the BIT STRING subjectPublicKey (excluding the tag, 86 if (algAndKey.tag != DerValue.tag_Sequence)
|
H A D | PolicyInformation.java | 103 if (val.tag != DerValue.tag_Sequence) { 110 if (opt.tag != DerValue.tag_Sequence)
|
/libcore/ojluni/src/main/java/java/security/cert/ |
H A D | PolicyQualifierInfo.java | 104 if (val.tag != DerValue.tag_Sequence)
|
/libcore/ojluni/src/main/java/sun/security/pkcs/ |
H A D | PKCS9Attribute.java | 512 Byte tag; 514 tag = new Byte(elems[i].tag); 516 if (indexOf(tag, PKCS9_VALUE_TAGS[index], 0) == -1) 517 throwTagException(tag); 853 * Throw an exception when the tag on a value encoding is 857 private void throwTagException(Byte tag) argument 865 msg.append(") has wrong tag: "); 866 msg.append(tag.toString());
|