HomeSort by relevance Sort by last modified time
    Searched refs:utf (Results 26 - 50 of 238) sorted by null

12 3 4 5 6 7 8 910

  /cts/tests/tests/jni/libjnitest/
android_jni_cts_StaticNonce.c 212 const char *utf = (*env)->GetStringUTFChars(env, v, NULL); local
213 jboolean result = (strcmp("fuzzbot", utf) == 0);
215 (*env)->ReleaseStringUTFChars(env, v, utf);
259 const char *utf = (*env)->GetStringUTFChars(env, v6, NULL); local
260 result = (strncmp("six", utf, 3) == 0);
262 (*env)->ReleaseStringUTFChars(env, v6, utf);
  /external/skia/tools/skpbench/
skpbench.py 106 self._queue.put(Message(Message.READLINE, line.decode('utf-8').rstrip()))
148 for line in output.decode('utf-8').split('\n'):
  /external/skqp/tools/skpbench/
skpbench.py 106 self._queue.put(Message(Message.READLINE, line.decode('utf-8').rstrip()))
148 for line in output.decode('utf-8').split('\n'):
  /prebuilts/go/darwin-x86/src/net/http/
sniff_test.go 26 {"Empty", []byte{}, "text/plain; charset=utf-8"},
29 {"HTML document #1", []byte(`<HtMl><bOdY>blah blah blah</body></html>`), "text/html; charset=utf-8"},
30 {"HTML document #2", []byte(`<HTML></HTML>`), "text/html; charset=utf-8"},
31 {"HTML document #3 (leading whitespace)", []byte(` <!DOCTYPE HTML>...`), "text/html; charset=utf-8"},
32 {"HTML document #4 (leading CRLF)", []byte("\r\n<html>..."), "text/html; charset=utf-8"},
34 {"Plain text", []byte(`This is not HTML. It has ? though.`), "text/plain; charset=utf-8"},
36 {"XML", []byte("\n<?xml!"), "text/xml; charset=utf-8"},
103 // text/plain; charset=utf-8 for an empty body,
156 expected = "text/html; charset=utf-8"
sniff.go 73 &maskedSig{mask: []byte("\xFF\xFF\xFF\xFF\xFF"), pat: []byte("<?xml"), skipWS: true, ct: "text/xml; charset=utf-8"},
78 // UTF BOMs.
79 &maskedSig{mask: []byte("\xFF\xFF\x00\x00"), pat: []byte("\xFE\xFF\x00\x00"), ct: "text/plain; charset=utf-16be"},
80 &maskedSig{mask: []byte("\xFF\xFF\x00\x00"), pat: []byte("\xFF\xFE\x00\x00"), ct: "text/plain; charset=utf-16le"},
81 &maskedSig{mask: []byte("\xFF\xFF\xFF\x00"), pat: []byte("\xEF\xBB\xBF\x00"), ct: "text/plain; charset=utf-8"},
214 return "text/html; charset=utf-8"
260 return "text/plain; charset=utf-8"
  /prebuilts/go/linux-x86/src/net/http/
sniff_test.go 26 {"Empty", []byte{}, "text/plain; charset=utf-8"},
29 {"HTML document #1", []byte(`<HtMl><bOdY>blah blah blah</body></html>`), "text/html; charset=utf-8"},
30 {"HTML document #2", []byte(`<HTML></HTML>`), "text/html; charset=utf-8"},
31 {"HTML document #3 (leading whitespace)", []byte(` <!DOCTYPE HTML>...`), "text/html; charset=utf-8"},
32 {"HTML document #4 (leading CRLF)", []byte("\r\n<html>..."), "text/html; charset=utf-8"},
34 {"Plain text", []byte(`This is not HTML. It has ? though.`), "text/plain; charset=utf-8"},
36 {"XML", []byte("\n<?xml!"), "text/xml; charset=utf-8"},
103 // text/plain; charset=utf-8 for an empty body,
156 expected = "text/html; charset=utf-8"
sniff.go 73 &maskedSig{mask: []byte("\xFF\xFF\xFF\xFF\xFF"), pat: []byte("<?xml"), skipWS: true, ct: "text/xml; charset=utf-8"},
78 // UTF BOMs.
79 &maskedSig{mask: []byte("\xFF\xFF\x00\x00"), pat: []byte("\xFE\xFF\x00\x00"), ct: "text/plain; charset=utf-16be"},
80 &maskedSig{mask: []byte("\xFF\xFF\x00\x00"), pat: []byte("\xFF\xFE\x00\x00"), ct: "text/plain; charset=utf-16le"},
81 &maskedSig{mask: []byte("\xFF\xFF\xFF\x00"), pat: []byte("\xEF\xBB\xBF\x00"), ct: "text/plain; charset=utf-8"},
214 return "text/html; charset=utf-8"
260 return "text/plain; charset=utf-8"
  /prebuilts/jdk/jdk8/darwin-x86/jre/lib/
flavormap.properties 62 UTF8_STRING=text/plain;charset=UTF-8;eoln="\n";terminators=0
74 STRING=text/plain;charset=UTF-8;eoln="\n";terminators=0
81 HTML=text/html;charset=utf-8;eoln="\r\n";terminators=1
  /frameworks/base/tools/aapt2/xml/
XmlPullParser_test.cpp 36 R"(<?xml version="1.0" encoding="utf-8"?>
XmlDom_test.cpp 37 std::string input = R"(<?xml version="1.0" encoding="utf-8"?>
  /packages/apps/Camera2/tests/exiftool_parser/
parser.py 21 print """<?xml version="1.0" encoding="utf-8"?>"""
  /packages/apps/Settings/
wrap_alpha.py 41 xml.write("""<?xml version="1.0" encoding="utf-8"?>
  /external/pcre/dist2/src/
pcre2_substitute.c 231 BOOL utf = (code->overall_options & PCRE2_UTF) != 0; local
269 /* Check UTF replacement string if necessary. */
272 if (utf && (options & PCRE2_NO_UTF_CHECK) == 0)
304 if (utf) options |= PCRE2_NO_UTF_CHECK; /* Only need to check once */
332 /* Otherwise, in UTF mode, advance past any secondary code points. */
663 if (utf)
682 if (utf) chlen = PRIV(ord2utf)(ch, temp); else
765 if (utf)
784 if (utf) chlen = PRIV(ord2utf)(ch, temp); else
pcre2test.c 299 /* We need to be able to check input text for UTF-8 validity, whatever code
301 8-bit code units. So we include the UTF validity checking function for 8-bit
623 { "utf", MOD_PATP, MOD_OPT, PCRE2_UTF, PO(options) },
3805 BOOL utf = (FLD(compiled_code, overall_options) & PCRE2_UTF) != 0; local
4459 BOOL utf; local
5144 BOOL utf = (FLD(compiled_code, overall_options) & PCRE2_UTF) != 0; local
5541 BOOL utf; local
6585 PCHARSV(CASTFLD(void *, match_data, mark), 0, -1, utf, outfile); local
6702 PCHARSV(CASTFLD(void *, match_data, mark), 0, -1, utf, outfile); local
    [all...]
pcre2_intmodedep.h 228 /* There is a proposed future special "UTF-21" mode, in which only the lowest
229 21 bits of a 32-bit character are interpreted as UTF, with the remaining 11
243 /* When UTF encoding is being used, a character is no longer just a single
246 complicated ones for UTF characters. GETCHARLENTEST and other macros are not
247 used when UTF is not supported. To make sure they can never even appear when
248 UTF support is omitted, we don't even define them. */
273 #define MAYBE_UTF_MULTI /* UTF chars may use multiple code units */
275 /* The largest UTF code point that can be encoded as a single code unit. */
288 /* Returns TRUE, if the given value is not the first code unit of a UTF
293 /* Get the next UTF-8 character, not advancing the pointer. This is called whe
    [all...]
  /external/pcre/dist2/
RunTest 55 title1="Test 1: Main non-UTF, non-UCP functionality (compatible with Perl >= 5.10)"
58 title4A="Test 4: UTF"
60 title5A="Test 5: API, internals, and non-Perl stuff for UTF"
62 title6="Test 6: DFA matching main non-UTF, non-UCP functionality"
63 title7A="Test 7: DFA matching with UTF"
67 title10="Test 10: Specials for the 8-bit library with UTF-8 and UCP support"
69 title12="Test 12: Specials for the 16-bit and 32-bit libraries UTF and UCP support"
71 title14="Test 14: DFA specials for UTF and UCP support"
75 title18="Test 18: Tests of the POSIX interface, excluding UTF/UCP"
76 title19="Test 19: Tests of the POSIX interface with UTF/UCP
    [all...]
  /external/python/cpython3/Lib/test/test_email/
test_contentmanager.py 298 Content-Type: text/plain; charset="utf-8"
303 self.assertEqual(m.get_payload(decode=True).decode('utf-8'), content)
311 Content-Type: text/html; charset="utf-8"
316 self.assertEqual(m.get_payload(decode=True).decode('utf-8'), content)
329 self.assertEqual(m.get_payload(decode=True).decode('utf-8'), content)
337 Content-Type: text/plain; charset="utf-8"
341 """).encode('utf-8'))
342 self.assertEqual(m.get_payload(decode=True).decode('utf-8'), content)
352 Content-Type: text/plain; charset="utf-8"
358 """).encode('utf-8')
    [all...]
  /external/icu/icu4c/source/test/perf/collationperf/
Makefile.in 61 $(INVOKE) ./$(TARGET) -loop 200 -file $(top_srcdir)/extra/uconv/samples/utf8/utf-8-demo.txt -keygen -shifted
  /prebuilts/go/darwin-x86/src/mime/
type_plan9.go 31 ".t2": "text/test; charset=utf-8",
type_unix.go 61 ".t2": "text/test; charset=utf-8",
  /prebuilts/go/linux-x86/src/mime/
type_plan9.go 31 ".t2": "text/test; charset=utf-8",
type_unix.go 61 ".t2": "text/test; charset=utf-8",
  /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Demo/xml/
rss2html.py 18 <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
43 self._out = codecs.getwriter('utf-8')(out)
  /external/mesa3d/src/mesa/drivers/dri/common/
Android.mk 62 xgettext -L C --from-code utf-8 -o $@ $<
74 sed -i -e 's/charset=.*\\n/charset=UTF-8\\n/' $@; \
  /external/python/cpython2/Demo/xml/
rss2html.py 18 <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
43 self._out = codecs.getwriter('utf-8')(out)

Completed in 714 milliseconds

12 3 4 5 6 7 8 910