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

12345

/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 /** non-null; the string value */
27 private final CstUtf8 string; field in class:CstString
32 * @param string 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 no
47 CstString(String string) argument
[all...]
H A DCstUtf8.java28 * empty string
32 /** 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 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.java34 * The {@code StringTokenizer} class allows an application to break a string
61 * within the string to be tokenized. Some operations advance this current
65 * A token is returned by taking a substring of the string that was used to
130 private String string; field in class:StringTokenizer
139 * Constructs a new {@code StringTokenizer} for the parameter string using
143 * @param string
144 * the string to be tokenized.
147 public StringTokenizer(String string) { argument
148 this(string, " \t\n\r\f", false); //$NON-NLS-1$
152 * Constructs a new {@code StringTokenizer} for the parameter string usin
164 StringTokenizer(String string, String delimiters) argument
183 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/text/src/main/java/java/text/
H A DStringCharacterIterator.java27 String string; field in class:StringCharacterIterator
32 * Constructs a new {@code StringCharacterIterator} on the specified string.
33 * The begin and current indices are set to the beginning of the string, the
34 * end index is set to the length of the string.
37 * the source string to iterate over.
41 string = value;
43 end = string.length();
47 * Constructs a new {@code StringCharacterIterator} on the specified string
49 * to the beginning of the string, the end index is set to the length of the
50 * string
[all...]
/dalvik/dx/src/com/android/dx/dex/file/
H A DStringIdsSection.java35 * non-null; map from string constants to {@link
102 * @param string non-null; the string to intern, as a regular Java
104 * @return non-null; the interned string
106 public StringIdItem intern(String string) { argument
107 CstUtf8 utf8 = new CstUtf8(string);
114 * @param string non-null; the string to intern, as a {@link CstString}
115 * @return 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
H A DSupport_Proxy_I1.java27 String string(String s) throws Support_Proxy_ParentException, LinkageError; method in interface:Support_Proxy_I1
/dalvik/libcore/luni/src/main/java/java/lang/
H A DInteger.java88 * Constructs a new {@code Integer} from the specified string.
90 * @param string
91 * the string representation of an integer value.
93 * if {@code string} can not be decoded into an integer value.
97 public Integer(String string) throws NumberFormatException { argument
98 this(parseInt(string));
124 * Parses the specified string and returns a {@code Integer} instance if the
125 * string can be decoded into an integer value. The string may be an
129 * @param string
137 decode(String string) argument
224 getInteger(String string) argument
254 getInteger(String string, int defaultValue) argument
284 getInteger(String string, Integer defaultValue) argument
332 parseInt(String string) argument
353 parseInt(String string, int radix) argument
377 parse(String string, int offset, int radix, boolean negative) argument
589 valueOf(String string) argument
611 valueOf(String string, int radix) argument
[all...]
H A DLong.java88 * Constructs a new {@code Long} from the specified string.
90 * @param string
91 * the string representation of a long value.
93 * if {@code string} can not be decoded into a long value.
97 public Long(String string) throws NumberFormatException { argument
98 this(parseLong(string));
124 * Parses the specified string and returns a {@code Long} instance if the
125 * string can be decoded into a long value. The string may be an optional
129 * @param string
136 decode(String string) argument
214 getLong(String string) argument
244 getLong(String string, long defaultValue) argument
274 getLong(String string, Long defaultValue) argument
322 parseLong(String string) argument
343 parseLong(String string, int radix) argument
361 parse(String string, int offset, int radix, boolean negative) argument
569 valueOf(String string) argument
591 valueOf(String string, int radix) argument
[all...]
H A DBoolean.java67 * {@code string}. If {@code string} is not {@code null} and is equal to
72 * @param string
73 * the string representing a boolean value.
76 public Boolean(String string) { argument
77 this(parseBoolean(string));
159 * Returns a string containing a concise, human-readable description of this
173 * {@code string}.
175 * @param string
177 * @return {@code true} if the system property named by {@code string}
183 getBoolean(String string) argument
226 valueOf(String string) argument
[all...]
H A DByte.java84 * Constructs a new {@code Byte} from the specified string.
86 * @param string
87 * the string representation of a single byte value.
89 * if {@code string} can not be decoded into a byte value.
93 public Byte(String string) throws NumberFormatException { argument
94 this(parseByte(string));
126 * Parses the specified string and returns a {@code Byte} instance if the
127 * string can be decoded into a single byte value. The string may be an
131 * @param string
138 decode(String string) argument
201 parseByte(String string) argument
227 parseByte(String string, int radix) argument
273 valueOf(String string) argument
295 valueOf(String string, int radix) argument
[all...]
H A DShort.java72 * Constructs a new {@code Short} from the specified string.
74 * @param string
75 * the string representation of a short value.
77 * if {@code string} can not be decoded into a short value.
81 public Short(String string) throws NumberFormatException { argument
82 this(parseShort(string));
119 * Parses the specified string and returns a {@code Short} instance if the
120 * string can be decoded into a short value. The string may be an optional
124 * @param string
132 decode(String string) argument
195 parseShort(String string) argument
216 parseShort(String string, int radix) argument
268 valueOf(String string) argument
290 valueOf(String string, int radix) argument
[all...]

Completed in 3948 milliseconds

12345