Searched refs:string (Results 1 - 25 of 131) sorted by relevance

123456

/dalvik/libcore/sql/src/main/java/SQLite/
H A DException.java12 * @param string error message
15 public Exception(String string) { argument
16 super(string);
/dalvik/dx/src/com/android/dx/rop/cst/
H A DCstString.java26 /** {@code non-null;} the string value */
27 private final CstUtf8 string; field in class:CstString
32 * @param string {@code non-null;} the string value
34 public CstString(CstUtf8 string) { argument
35 if (string == null) {
36 throw new NullPointerException("string == null");
39 this.string = string;
45 * @param string {
47 CstString(String string) argument
[all...]
H A DCstUtf8.java28 * empty string
32 /** {@code non-null;} the UTF-8 value as a string */
33 private final String string; field in class:CstUtf8
39 * Converts a string into its Java-style UTF-8 form. Java-style UTF-8
43 * @param string {@code non-null;} the string to convert
46 public static byte[] stringToUtf8Bytes(String string) { argument
47 int len = string.length();
52 char c = string.charAt(i);
74 * Converts an array of UTF-8 bytes into a string
180 CstUtf8(String string) argument
[all...]
/dalvik/libcore/luni/src/main/java/java/util/
H A DStringTokenizer.java21 * The {@code StringTokenizer} class allows an application to break a string
45 * within the string to be tokenized. Some operations advance this current
48 * A token is returned by taking a substring of the string that was used to
106 private String string; field in class:StringTokenizer
115 * Constructs a new {@code StringTokenizer} for the parameter string using
119 * @param string
120 * the string to be tokenized.
122 public StringTokenizer(String string) { argument
123 this(string, " \t\n\r\f", false); //$NON-NLS-1$
127 * Constructs a new {@code StringTokenizer} for the parameter string usin
138 StringTokenizer(String string, String delimiters) argument
156 StringTokenizer(String string, String delimiters, boolean returnDelimiters) argument
[all...]
/dalvik/libcore/security/src/main/java/org/bouncycastle/jce/provider/
H A DAnnotatedException.java9 String string,
12 super(string);
18 String string)
20 this(string, null);
8 AnnotatedException( String string, Exception e) argument
17 AnnotatedException( String string) argument
/dalvik/libcore/security/src/main/java/org/bouncycastle/asn1/
H A DDEROctetString.java9 * @param string the octets making up the octet string.
12 byte[] string)
14 super(string);
27 out.writeEncoded(OCTET_STRING, string);
11 DEROctetString( byte[] string) argument
H A DDERBMPString.java12 String string; field in class:DERBMPString
59 * basic constructor - byte encoded string.
62 byte[] string)
64 char[] cs = new char[string.length / 2];
68 cs[i] = (char)((string[2 * i] << 8) | (string[2 * i + 1] & 0xff));
71 this.string = new String(cs);
78 String string)
80 this.string = string;
61 DERBMPString( byte[] string) argument
77 DERBMPString( String string) argument
[all...]
H A DDERPrintableString.java13 private final String string; field in class:DERPrintableString
17 * return a printable string from the passed in object.
59 * basic constructor - byte encoded string.
62 byte[] string)
64 char[] cs = new char[string.length];
68 cs[i] = (char)(string[i] & 0xff);
72 this.string = new String(cs).intern();
80 String string)
83 this.string = string
61 DERPrintableString( byte[] string) argument
79 DERPrintableString( String string) argument
[all...]
H A DDERGeneralString.java8 private String string; field in class:DERGeneralString
36 public DERGeneralString(byte[] string) argument
38 char[] cs = new char[string.length];
41 cs[i] = (char)(string[i] & 0xff);
43 this.string = new String(cs);
46 public DERGeneralString(String string) argument
48 this.string = string;
53 return string;
58 char[] cs = string
[all...]
H A DDERIA5String.java6 * DER IA5String object - this is an ascii string.
12 String string; field in class:DERIA5String
15 * return a IA5 string from the passed in object
60 byte[] string)
62 char[] cs = new char[string.length];
66 cs[i] = (char)(string[i] & 0xff);
69 this.string = new String(cs);
73 * basic constructor - with string.
76 String string)
78 this.string
59 DERIA5String( byte[] string) argument
75 DERIA5String( String string) argument
[all...]
H A DDERNumericString.java6 * DER NumericString object - this is an ascii string of characters {0,1,2,3,4,5,6,7,8,9, }.
12 String string; field in class:DERNumericString
15 * return a Numeric string from the passed in object
60 byte[] string)
62 char[] cs = new char[string.length];
66 cs[i] = (char)(string[i] & 0xff);
69 this.string = new String(cs);
73 * basic constructor - with string.
76 String string)
78 this.string
59 DERNumericString( byte[] string) argument
75 DERNumericString( String string) argument
[all...]
H A DDERT61String.java6 * DER T61String (also the teletex string)
12 String string; field in class:DERT61String
15 * return a T61 string from the passed in object.
60 byte[] string)
62 char[] cs = new char[string.length];
66 cs[i] = (char)(string[i] & 0xff);
69 this.string = new String(cs);
73 * basic constructor - with string.
76 String string)
78 this.string
59 DERT61String( byte[] string) argument
75 DERT61String( String string) argument
[all...]
H A DDERVisibleString.java12 String string; field in class:DERVisibleString
57 * basic constructor - byte encoded string.
60 byte[] string)
62 char[] cs = new char[string.length];
66 cs[i] = (char)(string[i] & 0xff);
69 this.string = new String(cs);
76 String string)
78 this.string = string;
83 return string;
59 DERVisibleString( byte[] string) argument
75 DERVisibleString( String string) argument
[all...]
H A DDERUTF8String.java14 String string; field in class:DERUTF8String
17 * return an UTF8 string from the passed in object.
62 * basic constructor - byte encoded string.
64 DERUTF8String(byte[] string) argument
66 this.string = Strings.fromUTF8ByteArray(string);
72 public DERUTF8String(String string) argument
74 this.string = string;
79 return string;
[all...]
H A DDERUniversalString.java14 private byte[] string; field in class:DERUniversalString
54 * basic constructor - byte encoded string.
57 byte[] string)
59 this.string = string;
77 byte[] string = bOut.toByteArray();
79 for (int i = 0; i != string.length; i++)
81 buf.append(table[(string[i] >>> 4) % 0xf]);
82 buf.append(table[string[i] & 0xf]);
90 return string;
56 DERUniversalString( byte[] string) argument
[all...]
H A DBERConstructedOctetString.java12 * convert a vector of octet strings into a single byte string
43 * @param string the octets making up the octet string.
46 byte[] string)
48 super(string);
73 return string;
77 * return the DER octets that make up this string.
95 while ((end + 1) < string.length)
97 if (string[end] == 0 && string[en
45 BERConstructedOctetString( byte[] string) argument
[all...]
/dalvik/libcore/xml/src/main/java/org/apache/xml/utils/
H A DXMLStringFactory.java30 * Create a new XMLString from a Java string.
33 * @param string Java String reference, which must be non-null.
37 public abstract XMLString newstr(String string); argument
43 * @param string FastStringBuffer reference, which must be non-null.
49 public abstract XMLString newstr(FastStringBuffer string, int start, argument
56 * @param string FastStringBuffer reference, which must be non-null.
62 public abstract XMLString newstr(char[] string, int start, argument
66 * Get a cheap representation of an empty string.
/dalvik/libcore/text/src/main/java/java/text/
H A DStringCharacterIterator.java25 String string; field in class:StringCharacterIterator
30 * Constructs a new {@code StringCharacterIterator} on the specified string.
31 * The begin and current indices are set to the beginning of the string, the
32 * end index is set to the length of the string.
35 * the source string to iterate over.
38 string = value;
40 end = string.length();
44 * Constructs a new {@code StringCharacterIterator} on the specified string
46 * to the beginning of the string, the end index is set to the length of the
47 * string
[all...]
/dalvik/libcore/luni/src/main/java/java/lang/
H A DByte.java72 * Constructs a new {@code Byte} from the specified string.
74 * @param string
75 * the string representation of a single byte value.
77 * if {@code string} can not be decoded into a byte value.
80 public Byte(String string) throws NumberFormatException { argument
81 this(parseByte(string));
112 * Parses the specified string and returns a {@code Byte} instance if the
113 * string can be decoded into a single byte value. The string may be an
117 * @param string
123 decode(String string) argument
184 parseByte(String string) argument
209 parseByte(String string, int radix) argument
253 valueOf(String string) argument
274 valueOf(String string, int radix) argument
[all...]
H A DShort.java64 * Constructs a new {@code Short} from the specified string.
66 * @param string
67 * the string representation of a short value.
69 * if {@code string} can not be decoded into a short value.
72 public Short(String string) throws NumberFormatException { argument
73 this(parseShort(string));
111 * Parses the specified string and returns a {@code Short} instance if the
112 * string can be decoded into a short value. The string may be an optional
116 * @param string
123 decode(String string) argument
184 parseShort(String string) argument
204 parseShort(String string, int radix) argument
253 valueOf(String string) argument
274 valueOf(String string, int radix) argument
[all...]
H A DInteger.java146 * Constructs a new {@code Integer} from the specified string.
148 * @param string
149 * the string representation of an integer value.
151 * if {@code string} can not be decoded into an integer value.
154 public Integer(String string) throws NumberFormatException { argument
155 this(parseInt(string));
183 * Parses the specified string and returns a {@code Integer} instance if the
184 * string can be decoded into an integer value. The string may be an
188 * @param string
195 decode(String string) argument
277 getInteger(String string) argument
306 getInteger(String string, int defaultValue) argument
335 getInteger(String string, Integer defaultValue) argument
381 parseInt(String string) argument
401 parseInt(String string, int radix) argument
425 parse(String string, int offset, int radix, boolean negative) argument
681 valueOf(String string) argument
702 valueOf(String string, int radix) argument
[all...]
H A DBoolean.java60 * {@code string}. If {@code string} is not {@code null} and is equal to
65 * @param string
66 * the string representing a boolean value.
68 public Boolean(String string) { argument
69 this(parseBoolean(string));
139 * Returns a string containing a concise, human-readable description of this
152 * {@code string}.
154 * @param string
156 * @return {@code true} if the system property named by {@code string}
161 getBoolean(String string) argument
202 valueOf(String string) argument
[all...]
/dalvik/dx/src/com/android/dx/dex/file/
H A DStringIdsSection.java35 * {@code non-null;} map from string constants to {@link
102 * @param string {@code non-null;} the string to intern, as a regular Java
104 * @return {@code non-null;} the interned string
106 public StringIdItem intern(String string) { argument
107 CstUtf8 utf8 = new CstUtf8(string);
114 * @param string {@code non-null;} the string to intern, as a {@link CstString}
115 * @return {@code non-null;} the interned string
117 public StringIdItem intern(CstString string) { argument
128 intern(CstUtf8 string) argument
138 intern(StringIdItem string) argument
173 indexOf(CstUtf8 string) argument
196 indexOf(CstString string) argument
[all...]
/dalvik/libcore/support/src/test/java/tests/support/
H A DSupport_Proxy_I2.java26 String string(String s) throws Support_Proxy_SubException, Error; method in interface:Support_Proxy_I2
/dalvik/libcore/xml/src/main/java/org/apache/xpath/objects/
H A DXMLStringFactoryImpl.java49 * Create a new XMLString from a Java string.
52 * @param string Java String reference, which must be non-null.
56 public XMLString newstr(String string) argument
58 return new XString(string);
80 * @param string FastStringBuffer reference, which must be non-null.
86 public XMLString newstr(char[] string, int start, int length) argument
88 return new XStringForChars(string, start, length);
92 * Get a cheap representation of an empty string.

Completed in 546 milliseconds

123456