Searched defs:quote (Results 1 - 25 of 25) sorted by relevance

/openjdk7/jaxp/src/com/sun/org/apache/xerces/internal/impl/
H A DXML11EntityScanner.java940 * before the quote character due to reaching the end of the input
949 * @param quote The quote character that signifies the end of the
960 public int scanLiteral(int quote, XMLString content) argument
1037 if (c == quote || c == '%' || !XML11Char.isXML11Content(c)
1048 if ((c == quote && !fCurrentEntity.literal)
1065 if (c == quote && fCurrentEntity.literal) {
H A DXMLEntityScanner.java1044 * before the quote character due to reaching the end of the input
1053 * @param quote The quote character that signifies the end of the
1064 public int scanLiteral(int quote, XMLString content) argument
1067 System.out.print("(scanLiteral, '"+(char)quote+"': ");
1168 if ((c == quote &&
1197 if (c == quote && fCurrentEntity.literal) {
1204 System.out.print(")scanLiteral, '"+(char)quote+"': ");
/openjdk7/jdk/src/share/classes/java/awt/datatransfer/
H A DMimeTypeParameterList.java166 // find the next unescqped quote
182 // eat the quote
290 buffer.append(quote((String)parameters.get(key)));
339 * A routine that knows how and when to quote and escape the given value.
341 private static String quote(String value) { method in class:MimeTypeParameterList
344 // check to see if we actually have to quote this thing
353 // add the initial quote
365 // add the closing quote
/openjdk7/jaxws/src/share/jaf_classes/javax/activation/
H A DMimeTypeParameterList.java139 // find the next unescaped quote
157 // eat the quote
253 buffer.append(quote((String)parameters.get(key)));
280 * A routine that knows how and when to quote and escape the given value.
282 private static String quote(String value) { method in class:MimeTypeParameterList
285 // check to see if we actually have to quote this thing
295 // add the initial quote
306 // add the closing quote
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/messaging/saaj/packaging/mime/internet/
H A DParameterList.java199 String value = quote((String)e.getValue());
228 private String quote(String value) { method in class:ParameterList
229 return MimeUtility.quote(value, HeaderTokenizer.MIME);
H A DMimeUtility.java838 * A utility method to quote a word, if the word contains any
853 public static String quote(String word, String specials) { method in class:MimeUtility
858 * quote the entire string if necessary.
864 // need to escape them and then quote the whole string
/openjdk7/langtools/src/share/classes/com/sun/tools/javac/util/
H A DConvert.java219 public static String quote(String s) { method in class:Convert
222 buf.append(quote(s.charAt(i)));
231 public static String quote(char ch) { method in class:Convert
/openjdk7/jaxp/src/com/sun/xml/internal/stream/
H A DXMLEntityReader.java199 * before the quote character due to reaching the end of the input
208 * @param quote The quote character that signifies the end of the
219 public abstract int scanLiteral(int quote, XMLString content) argument
/openjdk7/jdk/src/share/classes/com/sun/tools/jdi/
H A DAbstractLauncher.java62 String[] tokenizeCommand(String command, char quote) { argument
63 String quoteStr = String.valueOf(quote); // easier to deal with
66 * Tokenize the command, respecting the given quote character.
69 quote + " \t\r\n\f",
113 * An unclosed quote at the end of the command. Do an
114 * implicit end quote.
/openjdk7/jdk/src/share/classes/java/beans/
H A DXMLEncoder.java470 writeln("<?xml version=" + quote("1.0") +
471 " encoding=" + quote(this.charset) + "?>");
473 writeln("<java version=" + quote(System.getProperty("java.version")) +
474 " class=" + quote(XMLDecoder.class.getName()) + ">");
540 private String quote(String s) { method in class:XMLEncoder
619 writeln("<object class=" + quote(f.getDeclaringClass().getName()) +
620 " field=" + quote(f.getName()) + "/>");
652 writeln("<object idref=" + quote(d.name) + "/>");
655 outputXML("void", " idref=" + quote(d.name), value);
726 attributes = attributes + " class=" + quote(((Clas
[all...]
/openjdk7/jdk/src/share/classes/javax/management/modelmbean/
H A DDescriptorSupport.java1098 valueString = quote(svalue);
1147 * stupid, we're obliged to quote apparently innocuous characters like
1149 * and only quote " plus either \ or & (depending on the quote syntax).
1151 private static String quote(String s) { method in class:DescriptorSupport
1218 final String quotedValueString = quote(value.toString());
1227 * containing quote characters). If vvv begins and ends with parentheses,
/openjdk7/hotspot/src/share/vm/services/
H A DdiagnosticFramework.cpp83 char quote = _buffer[_cursor]; local
87 if (_buffer[_cursor] == quote && _buffer[_cursor - 1] != '\\') {
91 if (_buffer[_cursor] != quote) {
101 // if the argument was quoted, we need to step past the last quote here
114 char quote = _buffer[_cursor]; local
118 if (_buffer[_cursor] == quote && _buffer[_cursor - 1] != '\\') {
122 if (_buffer[_cursor] != quote) {
132 // if the value was quoted, we need to step past the last quote here
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/codemodel/internal/
H A DJExpr.java223 public static String quotify(char quote, String s) { argument
226 sb.append(quote);
231 if((quote=='"' && c=='\'') || (quote=='\'' && c=='"')) {
258 sb.append(quote);
/openjdk7/jdk/src/solaris/native/java/util/
H A DTimeZone_md.c465 char quote = '\0'; local
481 quote = c;
490 if (c == quote) {
491 quote = '\0';
494 if (c == ' ' && quote == '\0') {
498 if (quote != '\0') {
/openjdk7/jdk/src/share/classes/sun/net/www/
H A DParseUtil.java302 // Most of the code are just copy and paste, except that quote()
356 * because we must not quote a literal IPv6 address
370 sb.append(quote(doquote, L_URIC, H_URIC));
373 sb.append(quote(opaquePart, L_URIC, H_URIC));
378 sb.append(quote(path, L_PATH, H_PATH));
381 sb.append(quote(query, L_URIC, H_URIC));
395 sb.append(quote(userInfo, L_USERINFO, H_USERINFO));
422 sb.append(quote(doquote,
427 sb.append(quote(authority,
437 sb.append(quote(fragmen
444 private static String quote(String s, long lowMask, long highMask) { method in class:ParseUtil
[all...]
/openjdk7/jaxp/src/com/sun/org/apache/bcel/internal/classfile/
H A DUtility.java1143 boolean quote) {
1153 buf.append((quote? "\"" : "") + obj[i].toString() + (quote? "\"" : ""));
1142 printArray(Object[] obj, boolean braces, boolean quote) argument
/openjdk7/hotspot/agent/src/share/classes/sun/jvm/hotspot/
H A DCommandProcessor.java111 int quote = cmd.indexOf('"');
113 if (quote != -1) {
115 if (quote != -1) {
116 int endquote = cmd.indexOf('"', quote + 1);
121 String before = cmd.substring(0, quote).trim();
122 String quoted = cmd.substring(quote + 1, endquote);
131 quote = cmd.indexOf('"');
252 void quote(String s) { method in class:CommandProcessor
264 quote(type.getName());
267 quote(typ
[all...]
/openjdk7/jdk/src/share/classes/javax/management/
H A DObjectName.java83 * equals, colon, or quote.</p>
91 * <p>A <em>quoted value</em> consists of a quote (<code>"</code>),
93 * another quote. Within the string of characters, the backslash
104 * <li>A quote. The two characters represent a quote, and that quote
106 * quote must be present for the quoted value to be valid.</li>
112 * <p>A quote may not appear inside a quoted value except immediately
902 MalformedObjectNameException("Invalid quote");
917 // We have an escaped quote
1831 public static String quote(String s) { method in class:ObjectName
[all...]
/openjdk7/langtools/src/share/classes/com/sun/tools/doclets/internal/toolkit/util/
H A DUtil.java555 public static String quote(String filepath) { method in class:Util
/openjdk7/langtools/src/share/classes/com/sun/tools/javap/
H A DClassWriter.java724 private String esc(char c, char quote) { argument
725 if (32 <= c && c <= 126 && c != quote)
/openjdk7/jdk/src/share/demo/jvmti/hprof/
H A Dhprof_check.c772 char *quote; local
774 quote = "";
782 quote = "\"";
791 check_printf(" val=%s", quote);
796 check_printf(" %s", quote);
807 check_printf("%s\n", quote);
/openjdk7/jdk/src/share/classes/java/net/
H A DURI.java296 * <li><p> To <i>quote</i> characters that are otherwise illegal in a
314 * <li><p><a name="quote"></a> An illegal character is <i>quoted</i> simply by
344 * <code>multi-argument constructors</code>} quote illegal characters as
625 * categories is <a href="#quote">quoted</a>. </p></li>
709 * (<tt>'@'</tt>), is <a href="#quote">quoted</a>. </p></li>
801 * is <a href="#quote">quoted</a>. </p></li>
1818 sb.append(quote(userInfo, L_USERINFO, H_USERINFO));
1848 sb.append(quote(doquote,
1852 sb.append(quote(authority,
1870 * because we must not quote
2655 private static String quote(String s, long lowMask, long highMask) { method in class:URI
[all...]
/openjdk7/jdk/src/share/classes/java/util/regex/
H A DPattern.java363 * constructs, as defined in the table above, as well as to quote characters
1276 public static String quote(String s) { method in class:Pattern
/openjdk7/hotspot/src/share/vm/runtime/
H A Darguments.cpp2873 int quote = *rd; // matching quote to look for local
2874 rd++; // don't copy open quote
2875 while (*rd != quote) { // include everything (even spaces) up until quote
2878 "Unmatched quote in %s\n", name);
2883 rd++; // don't copy close quote
/openjdk7/jdk/test/tools/pack200/pack200-verifier/src/xmlkit/
H A DXMLKit.java245 * void XMLKit.writeToken(String, char quote, Writer)
4087 public static void writeToken(String val, char quote, Writer w) throws IOException { argument
4089 boolean canUseCData = (quote != '"' && quote != '\'');
4093 if ((ch == '<' || ch == '&' || ch == '>' || ch == quote)
4094 || (quote == ' ' && isWhitespace(ch))) {

Completed in 161 milliseconds