Searched refs:quote (Results 1 - 14 of 14) sorted by relevance

/libcore/luni/src/main/java/java/text/
H A DFormat.java180 boolean lastQuote = false, quote = false;
187 quote = !quote;
189 } else if (ch == stop && !quote) {
204 boolean quote = false;
208 quote = !quote;
210 if (!quote) {
H A DSimpleDateFormat.java91 * <tr> <td>{@code ''}</td> <td>single quote</td> <td>(Literal)</td> <td>{@code 'o''clock'}:o'clock</td> </tr>
264 boolean quote = false;
280 quote = !quote;
283 if (!quote
306 if (quote) {
307 throw new IllegalArgumentException("Unterminated quote");
516 boolean quote = false;
537 quote = !quote;
[all...]
H A DChoiceFormat.java465 boolean quote = (choiceFormats[i].indexOf('|') != -1);
466 if (quote) {
470 if (quote) {
H A DMessageFormat.java90 * Within a <i>String</i>, {@code "''"} represents a single quote. A
117 * apostrophe (single quote) character \u2019 (') for human-readable text, and
1164 boolean quote = false;
1169 quote = !quote;
1171 if (!quote) {
/libcore/json/src/main/java/org/json/
H A DJSONTokener.java185 * Returns the string up to but not including {@code quote}, unescaping any
186 * character escape sequences encountered along the way. The opening quote
187 * should have already been read. This consumes the closing quote, but does
190 * @param quote either ' or ".
194 public String nextString(char quote) throws JSONException { argument
207 if (c == quote) {
H A DJSONObject.java711 public static String quote(String data) { method in class:JSONObject
/libcore/luni/src/main/java/java/util/regex/
H A DPattern.java404 icuPattern = quote(pattern);
434 public static String quote(String string) { method in class:Pattern
/libcore/luni/src/main/java/java/io/
H A DStreamTokenizer.java138 * '/' is a comment character. Single quote '\'' and double quote '"'
139 * are string quote characters.
183 * <li>Single quote '\'' and double quote '"' are string quote characters.
541 * Specifies that the character {@code ch} shall be treated as a quote
545 * the character to be considered a quote character.
/libcore/xml/src/main/java/org/kxml2/io/
H A DKXmlParser.java657 int quote = peekCharacter();
659 if (quote == '"') {
661 } else if (quote == '\'') {
910 int quote = peekCharacter();
912 if (quote == '"' || quote == '\'') {
914 entityValue = readValue((char) quote, true, false, ValueContext.ENTITY_DECLARATION);
915 if (peekCharacter() == quote) {
1120 position++; // end quote
/libcore/json/src/test/java/org/json/
H A DJSONStringerTest.java227 assertEquals("\"" + escaped + "\"", JSONObject.quote(original));
H A DJSONObjectTest.java933 assertEquals("\"\"", JSONObject.quote(null));
/libcore/luni/src/test/java/org/apache/harmony/regex/tests/java/util/regex/
H A DPatternTest.java1386 assertEquals("quote was wrong for plain text", "\\Qtest\\E", p
1387 .quote("test"));
1388 assertEquals("quote was wrong for text with quote sign",
1389 "\\Q\\Qtest\\E", p.quote("\\Qtest"));
1390 assertEquals("quote was wrong for quotted text",
1391 "\\Q\\Qtest\\E\\\\E\\Q\\E", p.quote("\\Qtest\\E"));
/libcore/luni/src/test/java/tests/java/sql/
H A DDatabaseMetaDataTest.java1383 String quote = meta.getIdentifierQuoteString();
1389 String selectQuery = "SELECT " + quote + "fieLD1" + quote + " FROM "
/libcore/benchmarks/libs/
H A Dcaliper.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/google/caliper/ com/google/caliper/AllocationMeasurer ...

Completed in 692 milliseconds