/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/io/ |
H A D | DropBox.java | 47 public void addData(String tag, byte[] data, int flags); argument 48 public void addText(String tag, String data); argument 56 public void addData(String tag, byte[] data, int flags) { argument 57 System.out.println(tag + ": " + Base64.encode(data)); 60 public void addText(String tag, String data) { argument 61 System.out.println(tag + ": " + data); 65 public static void addData(String tag, byte[] data, int flags) { argument 66 getReporter().addData(tag, data, flags); 69 public static void addText(String tag, String data) { argument 70 getReporter().addText(tag, dat [all...] |
/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);
|
/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/luni/src/test/java/libcore/dalvik/system/ |
H A D | SocketTaggingTest.java | 55 public void tag(FileDescriptor socketDescriptor) throws SocketException { method in class:SocketTaggingTest.RecordingSocketTagger 65 // we used to tag with and make sure they describe the same file. This helps test
|
/libcore/ojluni/src/main/java/javax/crypto/ |
H A D | EncryptedPrivateKeyInfo.java | 419 private static void checkTag(DerValue val, byte tag, String valName) argument 421 if (val.getTag() != tag) { 422 throw new IOException("invalid key encoding - wrong tag for " +
|
/libcore/ojluni/src/main/java/sun/security/pkcs/ |
H A D | PKCS9Attributes.java | 55 * The DER encoding of this attribute set. The tag byte must be 190 // save the DER encoding with its proper tag byte. 231 * DerOutputStream, tagged with the given implicit tag. 233 * @param tag the implicit tag to use in the DER encoding. 238 public void encode(byte tag, OutputStream out) throws IOException { argument 239 out.write(tag);
|
H A D | PKCS9Attribute.java | 511 Byte tag; 513 tag = new Byte(elems[i].tag); 515 if (indexOf(tag, PKCS9_VALUE_TAGS[index], 0) == -1) 516 throwTagException(tag); 852 * Throw an exception when the tag on a value encoding is 856 private void throwTagException(Byte tag) argument 864 msg.append(") has wrong tag: "); 865 msg.append(tag.toString());
|
/libcore/dalvik/src/main/java/dalvik/system/profiler/ |
H A D | BinaryHprof.java | 79 public final byte tag; field in class:BinaryHprof.Tag 91 private Tag(int tag, int size) { argument 92 this.tag = (byte) tag; 109 BYTE_TO_TAG.put(v.tag, v); 113 public static Tag get(byte tag) { argument 114 return BYTE_TO_TAG.get(tag);
|
/libcore/ojluni/src/main/java/sun/security/provider/ |
H A D | X509Factory.java | 606 * @param tag Tag already read (-1 mean not read) 607 * @returns The current tag, used to check EOC in indefinite-length BER 611 ByteArrayOutputStream bout, int tag) throws IOException { 613 if (tag == -1) { // Not read before the call, read now 614 tag = is.read(); 615 if (tag == -1) { 616 throw new IOException("BER/DER tag info absent"); 618 if ((tag & 0x1f) == 0x1f) { 619 throw new IOException("Multi octets tag not supported"); 621 bout.write(tag); 610 readBERInternal(InputStream is, ByteArrayOutputStream bout, int tag) argument [all...] |
/libcore/ojluni/src/main/java/sun/security/util/ |
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 168 throw new IOException("DER input, Integer tag error"); 180 throw new IOException("DER input, Integer tag error"); 194 throw new IOException("DER input, Integer tag error"); 206 throw new IOException("DER input, Enumerated tag error"); 296 tag = (byte)buffer.read(); 297 if (tag != DerValue.tag_Sequence) 298 throw new IOException("Sequence tag error"); 329 tag [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 | 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 76 * The original encoded form of the whole value (tag, length, and value) 171 * Returns true if the tag class is UNIVERSAL. 173 public boolean isUniversal() { return ((tag & 0x0c0) == 0x000); } 176 * Returns true if the tag class is APPLICATION. 178 public boolean isApplication() { return ((tag & 0x0c0) == 0x040); } 181 * Returns true iff the CONTEXT SPECIFIC bit is set in the type tag. 184 public boolean isContextSpecific() { return ((tag 241 DerValue(byte tag, byte[] data) argument 944 resetTag(byte tag) argument [all...] |
/libcore/ojluni/src/main/java/java/text/ |
H A D | SimpleDateFormat.java | 723 * TAG_QUOTE_ASCII_CHAR is a special tag and has an ASCII 824 int tag; 825 if ((tag = DateFormatSymbols.patternChars.indexOf(c)) == -1) { 829 if (lastTag == -1 || lastTag == tag) { 830 lastTag = tag; 835 lastTag = tag; 855 * Encodes the given tag and length and puts encoded char(s) into buffer. 857 private static final void encode(int tag, int length, StringBuilder buffer) { argument 858 if (tag == PATTERN_ISO_ZONE && length >= 4) { 862 buffer.append((char)(tag << [all...] |
/libcore/benchmarks/src/benchmarks/regression/ |
H A D | R.java | 2297 public static final int tag = 0; field in class:R
|