Home
last modified time | relevance | path

Searched refs:quote (Results 1 – 10 of 10) sorted by relevance

/libcore/ojluni/src/main/java/sun/net/www/
DParseUtil.java370 sb.append(quote(doquote, L_URIC, H_URIC)); in appendSchemeSpecificPart()
373 sb.append(quote(opaquePart, L_URIC, H_URIC)); in appendSchemeSpecificPart()
378 sb.append(quote(path, L_PATH, H_PATH)); in appendSchemeSpecificPart()
381 sb.append(quote(query, L_URIC, H_URIC)); in appendSchemeSpecificPart()
395 sb.append(quote(userInfo, L_USERINFO, H_USERINFO)); in appendAuthority()
422 sb.append(quote(doquote, in appendAuthority()
427 sb.append(quote(authority, in appendAuthority()
437 sb.append(quote(fragment, L_URIC, H_URIC)); in appendFragment()
444 private static String quote(String s, long lowMask, long highMask) { in quote() method in ParseUtil
/libcore/json/src/main/java/org/json/
DJSONTokener.java192 public String nextString(char quote) throws JSONException { in nextString() argument
205 if (c == quote) { in nextString()
DJSONObject.java759 public static String quote(String data) { in quote() method in JSONObject
/libcore/xml/src/main/java/org/kxml2/io/
DKXmlParser.java664 int quote = peekCharacter(); in readQuotedId() local
666 if (quote == '"') { in readQuotedId()
668 } else if (quote == '\'') { in readQuotedId()
917 int quote = peekCharacter(); in readEntityDeclaration() local
919 if (quote == '"' || quote == '\'') { in readEntityDeclaration()
921 entityValue = readValue((char) quote, true, false, ValueContext.ENTITY_DECLARATION); in readEntityDeclaration()
922 if (peekCharacter() == quote) { in readEntityDeclaration()
/libcore/ojluni/src/main/java/java/util/regex/
DPattern.java1278 public static String quote(String s) { in quote() method in Pattern
1334 icuPattern = quote(pattern); in compile()
/libcore/ojluni/src/main/java/java/net/
DURI.java1812 sb.append(quote(userInfo, L_USERINFO, H_USERINFO));
1842 sb.append(quote(doquote,
1846 sb.append(quote(authority,
1878 sb.append(quote(doquote, L_URIC, H_URIC)); in appendSchemeSpecificPart()
1881 sb.append(quote(opaquePart, L_URIC, H_URIC)); in appendSchemeSpecificPart()
1886 sb.append(quote(path, L_PATH, H_PATH)); in appendSchemeSpecificPart()
1889 sb.append(quote(query, L_URIC, H_URIC)); in appendSchemeSpecificPart()
1897 sb.append(quote(fragment, L_URIC, H_URIC)); in appendFragment()
2681 private static String quote(String s, long lowMask, long highMask) { in quote() method
/libcore/json/src/test/java/org/json/
DJSONStringerTest.java227 assertEquals("\"" + escaped + "\"", JSONObject.quote(original)); in assertEscapedAllWays()
DJSONObjectTest.java934 assertEquals("\"\"", JSONObject.quote(null)); in testQuoteNull()
/libcore/luni/src/test/java/tests/java/sql/
DDatabaseMetaDataTest.java1383 String quote = meta.getIdentifierQuoteString(); in test_storesMixedCaseQuotedIdentifiers() local
1389 String selectQuery = "SELECT " + quote + "fieLD1" + quote + " FROM " in test_storesMixedCaseQuotedIdentifiers()
/libcore/luni/src/test/java/org/apache/harmony/regex/tests/java/util/regex/
DPatternTest.java1387 .quote("test")); in test_quoteLjava_lang_String()
1389 "\\Q\\Qtest\\E", p.quote("\\Qtest")); in test_quoteLjava_lang_String()
1391 "\\Q\\Qtest\\E\\\\E\\Q\\E", p.quote("\\Qtest\\E")); in test_quoteLjava_lang_String()