Home
last modified time | relevance | path

Searched refs:quote (Results 1 – 14 of 14) 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/ojluni/src/main/java/sun/net/spi/
DDefaultProxySelector.java43 import static java.util.regex.Pattern.quote;
403 regex = ".*" + quote(disjunct.substring(1)); in disjunctToRegex()
405 regex = quote(disjunct.substring(0, disjunct.length() - 1)) + ".*"; in disjunctToRegex()
407 regex = quote(disjunct); in disjunctToRegex()
/libcore/json/src/main/java/org/json/
DJSONTokener.java198 public String nextString(char quote) throws JSONException { in nextString() argument
211 if (c == quote) { in nextString()
DJSONObject.java773 @NonNull public static String quote(@Nullable String data) { in quote() method in JSONObject
/libcore/xml/src/main/java/com/android/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.java1320 public static String quote(String s) { in quote() method in Pattern
1420 icuPattern = quote(pattern); in compile()
/libcore/ojluni/annotations/sdk/nullability/java/util/regex/
DPattern.annotated.java54 @libcore.util.NonNull public static java.lang.String quote(@libcore.util.NonNull java.lang.String s… in quote() method in Pattern
/libcore/ojluni/src/main/java/java/net/
DURI.java1833 sb.append(quote(userInfo, L_USERINFO, H_USERINFO));
1863 sb.append(quote(doquote,
1867 sb.append(quote(authority,
1899 sb.append(quote(doquote, L_URIC, H_URIC)); in appendSchemeSpecificPart()
1902 sb.append(quote(opaquePart, L_URIC, H_URIC)); in appendSchemeSpecificPart()
1907 sb.append(quote(path, L_PATH, H_PATH)); in appendSchemeSpecificPart()
1910 sb.append(quote(query, L_URIC, H_URIC)); in appendSchemeSpecificPart()
1918 sb.append(quote(fragment, L_URIC, H_URIC)); in appendFragment()
2719 private static String quote(String s, long lowMask, long highMask) { in quote() method
/libcore/ojluni/annotations/hiddenapi/sun/net/www/
DParseUtil.java120 private static java.lang.String quote(java.lang.String s, long lowMask, long highMask) { in quote() method in ParseUtil
/libcore/json/src/test/java/libcore/org/json/
DJSONStringerTest.java232 assertEquals("\"" + escaped + "\"", JSONObject.quote(original)); in assertEscapedAllWays()
DJSONObjectTest.java946 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/ojluni/annotations/hiddenapi/java/net/
DURI.java364 private static java.lang.String quote(java.lang.String s, long lowMask, long highMask) { in quote() method in URI
/libcore/luni/src/test/java/org/apache/harmony/regex/tests/java/util/regex/
DPatternTest.java1699 .quote("test")); in test_quoteLjava_lang_String()
1701 "\\Q\\Qtest\\E", p.quote("\\Qtest")); in test_quoteLjava_lang_String()
1703 "\\Q\\Qtest\\E\\\\E\\Q\\E", p.quote("\\Qtest\\E")); in test_quoteLjava_lang_String()