Searched refs:tag (Results 1 - 25 of 43) sorted by relevance

12

/dalvik/libcore/security/src/main/java/org/bouncycastle/asn1/x509/
H A DGeneralName.java54 int tag; field in class:GeneralName
60 this.tag = 4;
64 * @deprecated this constructor seems the wrong way round! Use GeneralName(tag, name).
67 DERObject name, int tag)
70 this.tag = tag;
101 int tag,
105 this.tag = tag;
109 * Create a General name for the given tag fro
66 GeneralName( DERObject name, int tag) argument
100 GeneralName( int tag, ASN1Encodable name) argument
114 GeneralName( int tag, String name) argument
[all...]
/dalvik/libcore/security/src/main/java/org/bouncycastle/asn1/
H A DDERUnknownTag.java6 * We insert one of these when we find a tag we don't recognise.
11 int tag; field in class:DERUnknownTag
15 * @param tag the tag value.
19 int tag,
22 this.tag = tag;
28 return tag;
40 out.writeEncoded(tag, data);
53 if (tag !
18 DERUnknownTag( int tag, byte[] data) argument
[all...]
H A DDERApplicationSpecific.java12 private int tag; field in class:DERApplicationSpecific
16 int tag,
19 this.tag = tag;
24 int tag,
28 this.tag = tag | DERTags.CONSTRUCTED;
40 return (tag & DERTags.CONSTRUCTED) != 0;
50 return tag & 0x1F;
64 out.writeEncoded(DERTags.APPLICATION | tag, octet
15 DERApplicationSpecific( int tag, byte[] octets) argument
23 DERApplicationSpecific( int tag, DEREncodable object) argument
[all...]
H A DBERInputStream.java87 int tag = read();
88 if (tag == -1)
97 switch (tag)
135 // with tagged object tag number is bottom 5 bits
137 if ((tag & TAGGED) != 0)
139 if ((tag & 0x1f) == 0x1f)
141 throw new IOException("unsupported high tag encountered");
147 if ((tag & CONSTRUCTED) == 0)
151 return new BERTaggedObject(false, tag & 0x1f, new DEROctetString(bytes));
159 if (dObj == END_OF_STREAM) // empty tag!
[all...]
H A DDERInputStream.java97 * build an object given its tag and a byte stream to construct it
101 int tag,
105 switch (tag)
187 // with tagged object tag number is bottom 5 bits
189 if ((tag & TAGGED) != 0)
191 if ((tag & 0x1f) == 0x1f)
193 throw new IOException("unsupported high tag encountered");
196 if (bytes.length == 0) // empty tag!
198 if ((tag & CONSTRUCTED) == 0)
201 return new DERTaggedObject(false, tag
100 buildObject( int tag, byte[] bytes) argument
[all...]
H A DASN1InputStream.java152 * build an object given its tag and a byte stream to construct it
156 int tag,
161 if ((tag & APPLICATION) != 0)
163 return new DERApplicationSpecific(tag, bytes);
166 switch (tag)
243 // with tagged object tag number is bottom 5 bits
246 if ((tag & TAGGED) != 0)
248 if (bytes.length == 0) // empty tag!
250 if ((tag & CONSTRUCTED) == 0)
265 if ((tag
155 buildObject( int tag, int tagNo, byte[] bytes) argument
501 readTagNumber(int tag) argument
[all...]
H A DDEROutputStream.java44 int tag,
48 write(tag);
43 writeEncoded( int tag, byte[] bytes) argument
/dalvik/libcore/dalvik/src/main/java/dalvik/system/
H A DDalvikLogHandler.java27 * 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
/dalvik/libcore/security/src/main/java/org/apache/harmony/security/asn1/
H A DDerInputStream.java56 int tag = super.next();
64 return tag;
77 if (tag == ASN1Constants.TAG_C_BITSTRING) {
109 if (tag == ASN1Constants.TAG_C_OCTETSTRING) {
147 if (tag == type.constrId) {
158 if (tag == ASN1Constants.TAG_C_UTCTIME) {
176 if (tag == ASN1Constants.TAG_C_GENERALIZEDTIME) {
H A DASN1Implicit.java57 * with context-specific tag class and specified tag number.
59 * @param tagNumber - ASN.1 tag number
70 * @param tagClass - ASN.1 tag class.
71 * @param tagNumber - ASN.1 tag number
128 if (!checkTag(in.tag)) {
132 Integer.toHexString(in.tag) }));
136 if (id == in.tag) {
137 in.tag = type.id;
139 in.tag
[all...]
H A DBerInputStream.java158 * Current decoded tag
160 public int tag; field in class:BerInputStream
173 * Current decoded tag offset
184 * Initializes tag, length, tagOffset and contentOffset variables
186 * @return next decoded tag
193 // read tag
194 tag = read();
225 return tag;
243 // tag length long_form content
254 if (tag
[all...]
H A DASN1Explicit.java45 * with context-specific tag class and specified tag number.
47 * @param tagNumber - ASN.1 tag number
58 * @param tagClass - ASN.1 tag class.
59 * @param tagNumber - ASN.1 tag number
76 if (constrId != in.tag) {
80 Integer.toHexString(in.tag) }));
H A DASN1OpenType.java56 if (attr == null || (!attr.type.checkTag(in.tag))) {
/dalvik/libcore/security/src/main/java/org/apache/harmony/security/x501/
H A DAttributeValue.java43 private int tag = -1; field in class:AttributeValue
71 tag = in.tag;
73 if (DirectoryString.ASN1.checkTag(tag)) {
90 public AttributeValue(String rawString, byte[] encoded, int tag) { argument
95 this.tag = tag;
107 if (tag == -1) {
109 tag = ASN1StringType.PRINTABLESTRING.id;
111 tag
[all...]
/dalvik/docs/
H A Dprettify.css10 .tag { color: #008; }
24 .tag { color: #006; font-weight: bold; }
/dalvik/vm/
H A DMisc.h65 * If "tag" is NULL the default tag ("dalvikvm") will be used.
68 void dvmPrintHexDumpEx(int priority, const char* tag, const void* vaddr,
82 INLINE void dvmPrintHexDumpDbg(const void* vaddr, size_t length,const char* tag) argument
85 dvmPrintHexDumpEx(ANDROID_LOG_VERBOSE, (tag != NULL) ? tag : LOG_TAG,
106 const char* tag; member in struct:DebugOutputTarget::__anon47::__anon48
118 const char* tag);
H A DStdioConverter.c50 static bool readAndLog(int fd, BufferedData* data, const char* tag);
230 static bool readAndLog(int fd, BufferedData* data, const char* tag) argument
241 tag, fd, want, (int)actual, strerror(errno));
244 //LOGI("read %s: %d at %d\n", tag, actual, data->count);
259 LOG(LOG_INFO, tag, "%s", start);
269 LOG(LOG_INFO, tag, "%s!", start);
H A DCommon.h140 #define LOG_PRI(priority, tag, ...) do { \
/dalvik/libcore/luni-kernel/src/main/java/org/apache/harmony/lang/annotation/
H A DAnnotationMember.java92 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...]
/dalvik/libcore/security/src/main/java/org/apache/harmony/security/x509/
H A DGeneralName.java121 // the tag of the name type
122 private int tag; field in class:GeneralName
131 * Makes the GeneralName object from the tag type and corresponding
144 * @param tag is an integer which value corresponds to the name type.
145 * @param name is a name value corresponding to the tag.
148 public GeneralName(int tag, String name) throws IOException { argument
152 this.tag = tag;
153 switch (tag) {
157 throw new IOException( Messages.getString("security.180", tag )); //
250 GeneralName(int tag, byte[] name) argument
[all...]
H A DNameConstraints.java143 int tag = name.getTag();
144 if (permitted_names[tag] == null) {
145 permitted_names[tag] = new ArrayList();
147 permitted_names[tag].add(name);
157 int tag = name.getTag();
158 if (excluded_names[tag] == null) {
159 excluded_names[tag] = new ArrayList();
161 excluded_names[tag].add(name);
/dalvik/libcore/security/src/main/java/java/security/cert/
H A DX509CertSelector.java675 int tag = ((Integer) name.get(0)).intValue();
678 addSubjectAlternativeName(tag, (String) value);
680 addSubjectAlternativeName(tag, (byte[]) value);
690 * @param tag
697 public void addSubjectAlternativeName(int tag, String name) argument
699 GeneralName alt_name = new GeneralName(tag, name);
704 if (subjectAltNames[tag] == null) {
705 subjectAltNames[tag] = new ArrayList();
707 subjectAltNames[tag].add(alt_name);
713 * @param tag
720 addSubjectAlternativeName(int tag, byte[] name) argument
[all...]
/dalvik/libcore/x-net/src/main/java/javax/net/ssl/
H A DSSLSocketFactory.java94 private static void log(String tag, String msg) { argument
95 Logger.getLogger(tag).info(msg);
/dalvik/libcore/xml/src/main/java/org/apache/xml/serializer/
H A Doutput_html.properties44 {http\u003a//xml.apache.org/xalan}omit-meta-tag=no
/dalvik/vm/hprof/
H A DHprofOutput.c138 headBuf[0] = rec->tag;
165 hprofStartNewRecord(hprof_context_t *ctx, u1 tag, u4 time) argument
178 rec->tag = tag;

Completed in 369 milliseconds

12