/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/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/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/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/ojluni/src/main/java/javax/crypto/ |
H A D | EncryptedPrivateKeyInfo.java | 399 private static void checkTag(DerValue val, byte tag, String valName) argument 401 if (val.getTag() != tag) { 402 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 | 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());
|
/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 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...] |
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 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...] |
/libcore/ojluni/src/main/java/java/text/ |
H A D | SimpleDateFormat.java | 770 * TAG_QUOTE_ASCII_CHAR is a special tag and has an ASCII 871 int tag; 872 if ((tag = DateFormatSymbols.patternChars.indexOf(c)) == -1) { 876 if (lastTag == -1 || lastTag == tag) { 877 lastTag = tag; 882 lastTag = tag; 902 * Encodes the given tag and length and puts encoded char(s) into buffer. 904 private static void encode(int tag, int length, StringBuilder buffer) { argument 905 if (tag == PATTERN_ISO_ZONE && length >= 4) { 909 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
|