Home
last modified time | relevance | path

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

12345678910>>...21

/external/apache-http/src/org/apache/http/message/
DBasicHeaderValueFormatter.java103 final boolean quote, in formatElements() argument
107 return formatter.formatElements(null, elems, quote).toString(); in formatElements()
114 final boolean quote) { in formatElements() argument
131 formatHeaderElement(buffer, elems[i], quote); in formatElements()
172 boolean quote, in formatHeaderElement() argument
176 return formatter.formatHeaderElement(null, elem, quote).toString(); in formatHeaderElement()
183 final boolean quote) { in formatHeaderElement() argument
200 doFormatValue(buffer, value, quote); in formatHeaderElement()
207 formatNameValuePair(buffer, elem.getParameter(i), quote); in formatHeaderElement()
260 final boolean quote, in formatParameters() argument
[all …]
DHeaderValueFormatter.java82 boolean quote) in formatElements() argument
101 boolean quote) in formatHeaderElement() argument
123 boolean quote) in formatParameters() argument
142 boolean quote) in formatNameValuePair() argument
/external/python/uritemplates/uritemplate/
Dvariable.py152 '%s=%s' % (name, quote(v, safe)) for v in value
155 value = ','.join(quote(v, safe) for v in value)
165 quote(k, safe), quote(v, safe)
171 quote(k, safe), quote(v, safe)
178 return '%s=%s' % (name, quote(value, safe))
200 quote(v, safe) for v in value if value is not None
213 quote(k, safe), quote(v, safe)
219 return quote(value, safe)
238 name, quote(v, safe)
243 value = ','.join(quote(v, safe) for v in value)
[all …]
/external/autotest/client/cros/multimedia/
Darc_resource.py127 pipes.quote(self._MICROPHONE_PACKAGE),
128 pipes.quote(permission)))
133 arc.adb_shell('am start -W %s' % pipes.quote(self._MICROPHONE_ACTIVITY))
143 'am force-stop %s' % pipes.quote(self._MICROPHONE_PACKAGE))
154 arc.adb_cmd('pull %s %s' % (pipes.quote(self._MICROPHONE_RECORD_PATH),
155 pipes.quote(dest_path)))
160 arc.adb_shell('rm %s' % pipes.quote(self._MICROPHONE_RECORD_PATH))
194 arc.adb_cmd('push %s %s' % (pipes.quote(file_path),
195 pipes.quote(dest_path)))
229 pipes.quote(self._PLAYMUSIC_PACKAGE),
[all …]
/external/jacoco/org.jacoco.core.test/src/org/jacoco/core/runtime/
DCommandLineSupportTest.java27 assertEquals("aBc", CommandLineSupport.quote("aBc")); in testQuote1()
32 assertEquals("\"a c\"", CommandLineSupport.quote("a c")); in testQuote2()
37 assertEquals("\"a\\\"c\"", CommandLineSupport.quote("a\"c")); in testQuote3()
42 assertEquals("\" xy \"", CommandLineSupport.quote(" xy ")); in testQuote4()
47 assertEquals("a\\\\b", CommandLineSupport.quote("a\\b")); in testQuote5()
52 assertEquals("", CommandLineSupport.quote(Arrays.<String> asList())); in testQuoteList1()
57 assertEquals("a", CommandLineSupport.quote(Arrays.asList("a"))); in testQuoteList2()
63 CommandLineSupport.quote(Arrays.asList("a", "b", "c"))); in testQuoteList3()
69 CommandLineSupport.quote(Arrays.asList("a", "b b", "c"))); in testQuoteList4()
/external/icu/icu4c/source/test/intltest/
Dtokiter.cpp73 UChar quote = 0; in nextToken() local
77 quote = c; in nextToken()
94 } else if ((quote != 0 && c == quote) || in nextToken()
95 (quote == 0 && PatternProps::isWhiteSpace(c))) { in nextToken()
98 } else if (quote == 0 && c == '#') { in nextToken()
105 if (quote != 0) { in nextToken()
/external/icu/android_icu4j/src/main/java/android/icu/impl/data/
DTokenIterator.java120 char quote = 0; in nextToken() local
124 quote = c; in nextToken()
148 } else if ((quote != 0 && c == quote) || in nextToken()
149 (quote == 0 && PatternProps.isWhiteSpace(c))) { in nextToken()
151 } else if (quote == 0 && c == '#') { in nextToken()
158 if (quote != 0) { in nextToken()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/data/
DTokenIterator.java118 char quote = 0; in nextToken() local
122 quote = c; in nextToken()
146 } else if ((quote != 0 && c == quote) || in nextToken()
147 (quote == 0 && PatternProps.isWhiteSpace(c))) { in nextToken()
149 } else if (quote == 0 && c == '#') { in nextToken()
156 if (quote != 0) { in nextToken()
/external/v8/src/ast/
Dprettyprinter.h60 void PrintLiteral(Handle<Object> value, bool quote);
61 void PrintLiteral(const AstRawString* value, bool quote);
95 void PrintLiteral(const AstRawString* value, bool quote);
96 void PrintLiteral(const AstConsString* value, bool quote);
97 void PrintLiteral(Literal* literal, bool quote);
106 void PrintLiteralIndented(const char* info, Literal* literal, bool quote);
108 bool quote);
110 bool quote);
/external/pcre/dist2/testdata/
Dtestinput923 " (?: # opening quote...
24 [^\\\x80-\xff\n\015"] # Anything except backslash and quote
27 )* " # closing quote
37 " (?: # opening quote...
38 [^\\\x80-\xff\n\015"] # Anything except backslash and quote
41 )* " # closing quote
74 " (?: # opening quote...
75 [^\\\x80-\xff\n\015"] # Anything except backslash and quote
78 )* " # closing quote
86 " (?: # opening quote...
[all …]
/external/libcxx/test/std/strings/string.view/string.view.nonmem/
Dquoted.pass.cpp80 std::string quote ( const char *p, char delim='"', char escape='\\' ) { in quote() function
144 std::wstring quote ( const wchar_t *p, wchar_t delim='"', wchar_t escape='\\' ) { in quote() function
180 assert ( quote ( "Hi", '!' ) == "!Hi!" ); in main()
181 assert ( quote ( "Hi!", '!' ) == R"(!Hi\!!)" ); in main()
187 assert ( quote ( L"Hi", '!' ) == L"!Hi!" ); in main()
188 assert ( quote ( L"Hi!", '!' ) == LR"(!Hi\!!)" ); in main()
195 assert ( quote ( "" ) == "\"\"" ); in main()
196 assert ( quote ( L"" ) == L"\"\"" ); in main()
197 assert ( quote ( "a" ) == "\"a\"" ); in main()
198 assert ( quote ( L"a" ) == L"\"a\"" ); in main()
/external/autotest/client/common_lib/cros/
Darc.py57 utils.system('adb keygen ' + pipes.quote(key_path))
145 _android_shell('chown shell ' + pipes.quote(_ANDROID_ADB_KEYS_PATH))
146 _android_shell('restorecon ' + pipes.quote(_ANDROID_ADB_KEYS_PATH))
209 pipes.quote(package), pipes.quote(permission)))
227 output = adb_cmd('shell %s' % pipes.quote(cmd), **kwargs)
374 output = adb_shell('pgrep -c -f %s' % pipes.quote(process_name))
384 pipes.quote(filename))).find("FileExists") >= 0
393 adb_cmd('pull %s %s' % (pipes.quote(filename),
394 pipes.quote(tmpfile.name)))
411 adb_cmd('push %s %s' % (pipes.quote(tmpfile.name),
[all …]
/external/libcxx/test/std/input.output/iostream.format/quoted.manip/
Dquoted.pass.cpp90 std::basic_string<CharT, Traits> quote ( const CharT *p, char delim='"', char escape='\\' ) { in quote() function
145 assert ( quote ( "Hi", '!' ) == "!Hi!" ); in main()
146 assert ( quote ( "Hi!", '!' ) == R"(!Hi\!!)" ); in main()
152 assert ( quote ( L"Hi", '!' ) == L"!Hi!" ); in main()
153 assert ( quote ( L"Hi!", '!' ) == LR"(!Hi\!!)" ); in main()
160 assert ( quote ( "" ) == "\"\"" ); in main()
161 assert ( quote ( L"" ) == L"\"\"" ); in main()
162 assert ( quote ( "a" ) == "\"a\"" ); in main()
163 assert ( quote ( L"a" ) == L"\"a\"" ); in main()
/external/ImageMagick/MagickWand/
Dscript-token.c357 quote, in GetScriptToken() local
375 quote='\0'; in GetScriptToken()
415 quote=c; in GetScriptToken()
418 if (c == quote) in GetScriptToken()
421 quote='\0'; in GetScriptToken()
432 if ( state==IN_QUOTE && quote == '\'' ) { in GetScriptToken()
442 if (quote != '"') in GetScriptToken()
455 if (c != quote && c != '\\') in GetScriptToken()
/external/clang/test/Modules/Inputs/macro-ambiguity/
Dmodule.modulemap2 header "Inputs/macro-ambiguity/a/quote/a_quote.h"
7 header "Inputs/macro-ambiguity/b/quote/b_quote.h"
12 header "Inputs/macro-ambiguity/c/quote/c_quote.h"
17 header "Inputs/macro-ambiguity/d/quote/d_quote.h"
22 textual header "Inputs/macro-ambiguity/e/quote/e_quote.h"
/external/oj-libjdwp/src/share/classes/com/sun/tools/jdi/
DSunCommandLineLauncher.java151 String quote = argument(ARG_QUOTE, arguments).value(); in launch() local
155 if (quote.length() > 1) { in launch()
205 exePath = quote + exePath + quote; in launch()
213 xrun = quote + xrun + quote; in launch()
223 vm = launch(tokenizeCommand(command, quote.charAt(0)), address, listenKey, in launch()
/external/skqp/infra/bots/recipe_modules/build/
Dchromecast.py41 quote = lambda x: '"%s"' % x function
43 'cc': quote(toolchain_dir.join('usr', 'bin', 'clang-3.9.elf')),
44 'cxx': quote(toolchain_dir.join('usr', 'bin', 'clang++-3.9.elf')),
45 'ar': quote(toolchain_dir.join('bin','armv7a-cros-linux-gnueabi-ar')),
46 'target_cpu': quote(target_arch),
/external/skia/infra/bots/recipe_modules/build/
Dchromecast.py41 quote = lambda x: '"%s"' % x function
43 'cc': quote(toolchain_dir.join('usr', 'bin', 'clang-3.9.elf')),
44 'cxx': quote(toolchain_dir.join('usr', 'bin', 'clang++-3.9.elf')),
45 'ar': quote(toolchain_dir.join('bin','armv7a-cros-linux-gnueabi-ar')),
46 'target_cpu': quote(target_arch),
/external/cldr/tools/java/org/unicode/cldr/icu/
DIcuTextWriter.java175 boolean quote = !IcuData.isIntRbPath(rbPath); in appendValues()
180 if (quote) { in appendValues()
186 appendValue(value, quote, out); in appendValues()
197 appendValue(part, quote, out).println(); in appendValues()
204 appendArray(pad, firstArray, quote, isSequence, out); in appendValues()
212 appendArray(pad, valueArray, quote, isSequence, out); in appendValues()
217 appendArray(pad + TAB, valueArray, quote, isSequence, out); in appendValues()
248 boolean quote, boolean isSequence, PrintWriter out) { in appendArray() argument
251 appendValue(quoteInside(value), quote, out); in appendArray() local
260 private static PrintWriter appendValue(String value, boolean quote, PrintWriter out) { in appendValue() argument
[all …]
/external/tensorflow/tensorflow/core/lib/strings/
Dproto_text_util.cc41 const char quote = scanner->Peek(); in ProtoParseStringLiteralFromScanner() local
42 if (quote != '\'' && quote != '"') return false; in ProtoParseStringLiteralFromScanner()
47 .ScanEscapedUntil(quote) in ProtoParseStringLiteralFromScanner()
/external/python/cpython3/Lib/
Dpipes.py65 from shlex import quote
221 cmd = 'OUT=' + quote(outf) + '; ' + cmd
223 cmd = 'IN=' + quote(inf) + '; ' + cmd
225 cmd = cmd + ' <' + quote(inf)
227 cmd = cmd + ' >' + quote(outf)
243 rmcmd = rmcmd + ' ' + quote(file)
244 trapcmd = 'trap ' + quote(rmcmd + '; exit') + ' 1 2 3 13 14 15'
/external/strace/tests/
Dprint_quoted_string.c13 print_quoted_string_ex(const char *instr, bool quote, const char *escape_chars) in print_quoted_string_ex() argument
15 print_quoted_memory_ex(instr, strlen(instr), quote, escape_chars); in print_quoted_string_ex()
73 bool quote, const char *escape_chars) in print_quoted_memory_ex() argument
78 if (quote) in print_quoted_memory_ex()
118 if (quote) in print_quoted_memory_ex()
/external/strace/tests-mx32/
Dprint_quoted_string.c13 print_quoted_string_ex(const char *instr, bool quote, const char *escape_chars) in print_quoted_string_ex() argument
15 print_quoted_memory_ex(instr, strlen(instr), quote, escape_chars); in print_quoted_string_ex()
73 bool quote, const char *escape_chars) in print_quoted_memory_ex() argument
78 if (quote) in print_quoted_memory_ex()
118 if (quote) in print_quoted_memory_ex()
/external/strace/tests-m32/
Dprint_quoted_string.c13 print_quoted_string_ex(const char *instr, bool quote, const char *escape_chars) in print_quoted_string_ex() argument
15 print_quoted_memory_ex(instr, strlen(instr), quote, escape_chars); in print_quoted_string_ex()
73 bool quote, const char *escape_chars) in print_quoted_memory_ex() argument
78 if (quote) in print_quoted_memory_ex()
118 if (quote) in print_quoted_memory_ex()
/external/tensorflow/tensorflow/lite/testing/
Dgenerate_examples_report.py48 s = cgi.escape(repr(x), quote=True)
79 fp.write(json.dumps([[cgi.escape(x[1]["tf_log"], quote=True),
80 cgi.escape(x[1]["toco_log"], quote=True)]
103 fp.write("<th>%s</th>\n" % cgi.escape(p, quote=True))
110 fp.write(" <td>%s</td>\n" % cgi.escape(repr(params[p]), quote=True))

12345678910>>...21