/external/sepolicy/tools/ |
insertkeys.py | 185 self._out.write(' %s="%s"' % (name, saxutils.escape(key))) 187 self._out.write(' %s="%s"' % (name, saxutils.escape(value))) 203 self._out.write(saxutils.escape(content))
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ctypes/ |
util.py | 106 expr = r'[^\(\)\s]*lib%s\.[^\(\)\s]*' % re.escape(name) 184 ename = re.escape(name) 244 expr = r'\s+(lib%s\.[^\s]+)\s+\(%s' % (re.escape(name), abi_type)
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/ctypes/ |
util.py | 106 expr = r'[^\(\)\s]*lib%s\.[^\(\)\s]*' % re.escape(name) 184 ename = re.escape(name) 244 expr = r'\s+(lib%s\.[^\s]+)\s+\(%s' % (re.escape(name), abi_type)
|
/external/chromium_org/third_party/jinja2/ |
utils.py | 21 '|'.join(map(re.escape, ('(', '<', '<'))), 22 '|'.join(map(re.escape, ('.', ',', ')', '>', '\n', '>'))) 122 be specified either in dotted notation (``xml.sax.saxutils.escape``) 123 or with a colon as object delimiter (``xml.sax.saxutils:escape``). 200 words = _word_split_re.split(text_type(escape(text))) 276 return Markup(u'\n'.join(u'<p>%s</p>' % escape(x) for x in result)) 520 from markupsafe import Markup, escape, soft_unicode namespace
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ |
cgitb.py | 111 strong(pydoc.html.escape(str(etype))), 122 link = '<a href="file://%s">%s</a>' % (file, pydoc.html.escape(file)) 173 exception = ['<p>%s: %s' % (strong(pydoc.html.escape(str(etype))), 174 pydoc.html.escape(str(evalue)))] 190 ''' % pydoc.html.escape(
|
cgi.py | 63 "print_environ_usage", "escape"] 930 escape("".join(list[:-1])), 931 escape(list[-1]), 943 print "<DT>", escape(key), "<DD>", escape(environ[key]) 957 print "<DT>" + escape(key) + ":", 959 print "<i>" + escape(repr(type(value))) + "</i>" 960 print "<DD>" + escape(repr(value)) 1030 def escape(s, quote=None): function [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/ |
cgitb.py | 111 strong(pydoc.html.escape(str(etype))), 122 link = '<a href="file://%s">%s</a>' % (file, pydoc.html.escape(file)) 173 exception = ['<p>%s: %s' % (strong(pydoc.html.escape(str(etype))), 174 pydoc.html.escape(str(evalue)))] 190 ''' % pydoc.html.escape(
|
cgi.py | 63 "print_environ_usage", "escape"] 930 escape("".join(list[:-1])), 931 escape(list[-1]), 943 print "<DT>", escape(key), "<DD>", escape(environ[key]) 957 print "<DT>" + escape(key) + ":", 959 print "<i>" + escape(repr(type(value))) + "</i>" 960 print "<DD>" + escape(repr(value)) 1030 def escape(s, quote=None): function [all...] |
/external/harfbuzz_ng/test/shaping/ |
hb_test_tools.py | 17 def escape (s): return s member in class:ColorFormatter.Null 33 def escape (s): return s member in class:ColorFormatter.ANSI 45 def escape (s): return cgi.escape (s) member in class:ColorFormatter.HTML 89 oo = [o + self.formatter.escape (l[2:]) for o in oo] 96 oo[i] += self.formatter.escape (l[2:]) 109 yield self.formatter.escape (l).replace ('\n', self.formatter.newline ())
|
/external/chromium_org/chrome/common/extensions/docs/examples/apps/hello-python/oauth2/ |
__init__.py | 79 params.append('%s="%s"' % (k, escape(v))) 84 def escape(s): function 85 """Escape a URL including any /.""" 313 stringy_params = ((k, escape(str(v))) for k, v in oauth_params) 717 escape(request.method), 718 escape(request.normalized_url), 719 escape(request.get_normalized_parameters()), 722 key = '%s&' % escape(consumer.secret) 724 key += escape(token.secret) 751 sig = '%s&' % escape(consumer.secret [all...] |
/external/pcre/dist/ |
pcre_compile.c | 144 on. Zero means further processing is needed (for things like \x), or the escape 358 general substitute of a Unicode property escape (\p or \P). However, for some 457 "invalid escape sequence in character class\0" 1002 int escape = 0; local 4402 int escape; local [all...] |
/external/chromium_org/third_party/libxml/src/ |
xmlsave.c | 89 xmlCharEncodingOutputFunc escape; /* used for element content */ member in struct:_xmlSaveCtxt 195 * Take a block of UTF-8 chars in and escape them. Used when there is no 333 if ((ctxt->encoding == NULL) && (ctxt->escape == NULL)) 334 ctxt->escape = xmlEscapeEntities; 395 ret->escape = NULL; 795 xmlOutputBufferWriteEscape(buf, cur->content, ctxt->escape); 902 xmlOutputBufferWriteEscape(buf, cur->content, ctxt->escape); 941 xmlCharEncodingOutputFunc oldescape = ctxt->escape; 1013 if (ctxt->escape == xmlEscapeEntities) 1014 ctxt->escape = NULL [all...] |
/external/openssl/ssl/ |
s2_pkt.c | 202 s->s2->escape=0; 214 /* security >s2->escape */ 215 s->s2->escape=((p[0] & SEC_ESC_BIT))?1:0; 555 * padding or if we have to set the escape bit. */ 557 (!s->s2->escape)) 569 else if ((bs <= 1) && (!s->s2->escape)) 578 /* If s->s2->escape is not set, then 583 if (s->s2->escape) 629 if (s->s2->escape) pp[0]|=SEC_ESC_BIT;
|
/cts/tests/tests/net/src/android/net/cts/ |
UrlQuerySanitizerTest.java | 165 String escape = "Joe"; local 166 assertEquals(escape, uqs.unescape(escape));
|
/external/antlr/antlr-3.4/runtime/Python/ |
xmlrunner.py | 17 from xml.sax.saxutils import escape namespace 74 text = escape(str(error[1])) 80 stream.write(escape(tb_stream.getvalue()))
|
/external/apache-xml/src/main/java/org/apache/xml/serializer/ |
ToXMLSAXHandler.java | 102 public boolean setEscaping(boolean escape) throws SAXException 105 m_escapeSetting = escape; 107 if (escape) {
|
/external/chromium_org/components/test/data/password_manager/ |
environment.py | 13 from xml.sax.saxutils import escape namespace 380 successful, escape(error))) 404 successful, escape(error)))
|
/external/chromium_org/net/tools/dump_cache/ |
url_to_filename_encoder_unittest.cc | 87 const char escape = UrlToFilenameEncoder::kEscapeChar; local 88 base::snprintf(escaped, sizeof(escaped), "%c%02X%c", escape, ch, escape); 148 ","; // The escape char has to be escaped 335 // check that one backslash, plus the escape ",-", and the ending , got added.
|
/external/chromium_org/tools/gyp/pylib/gyp/generator/ |
eclipse.py | 20 from xml.sax.saxutils import escape namespace 276 (escape(key), escape(defines[key])))
|
/cts/tools/dasm/src/dasm/ |
Scanner.java | 184 throw new DasmError("Invalid '\\u' escape sequence"); 193 throw new DasmError("Only '\\u' escape sequence allowed in names"); 196 throw new DasmError("Left over '\\u' escape sequence"); 419 throw new DasmError("Incorrect backslash escape sequence");
|
/external/antlr/antlr-3.4/tool/src/main/java/org/antlr/codegen/ |
Target.java | 155 * to escape '\u000A' so that it doesn't get converted to \n by 221 // people know how to escape characters correctly. However 222 // we catch anything that does not need an escape in Java (which 224 // the escape. The C target does this for instance. 237 sb.append('\\'); // Pass the escape through 240 // Remove the escape by virtue of not adding it here 253 // We need to escape " in Java 300 if ( c!='\'' && // don't escape single quotes in strings for java
|
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/performance_tests/ |
perftest.py | 249 re.compile(re.escape("""main frame - has 1 onunload handler(s)""")), 250 re.compile(re.escape("""frame "<!--framePath //<!--frame0-->-->" - has 1 onunload handler(s)""")), 251 re.compile(re.escape("""frame "<!--framePath //<!--frame0-->/<!--frame0-->-->" - has 1 onunload handler(s)""")), 253 re.compile(re.escape("""Blocked access to external URL http://www.whatwg.org/specs/web-apps/current-work/""")),
|
/external/chromium_org/third_party/icu/source/samples/numfmt/ |
util.cpp | 44 UnicodeString escape(const UnicodeString &source) { function
|
/external/chromium_org/third_party/protobuf/src/google/protobuf/io/ |
tokenizer.cc | 53 // escape sequence at line 5, column 45", you get error messages like 59 // "\\\\[abfnrtv?\"'\\\\0-7]|" // normal escape 60 // "\\\\x[0-9a-fA-F])*\"|" // hex escape 144 CHARACTER_CLASS(Escape, c == 'a' || c == 'b' || c == 'f' || c == 'n' || 174 // We expect escape sequences to have been validated separately. 359 // An escape sequence. 361 if (TryConsumeOne<Escape>()) { 362 // Valid escape sequence. 369 AddError("Expected hex digits for escape sequence."); 377 AddError("Expected four hex digits for \\u escape sequence.") [all...] |
/external/chromium_org/tools/grit/grit/format/ |
android_xml.py | 140 value = xml.sax.saxutils.escape(value, {"'": "\\'", '"': '\\"'})
|