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

12 3 4 5 6 7 8 91011

  /packages/apps/Settings/
wrap_alpha.py 41 xml.write("""<?xml version="1.0" encoding="utf-8"?>
  /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"},
132 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"},
199 return "text/html; charset=utf-8"
245 return "text/plain; charset=utf-8"
fs_test.go 472 get("0", []string{"text/plain; charset=utf-8"})
488 want := "text/css; charset=utf-8"
777 wantContentType: "text/css; charset=utf-8",
782 wantContentType: "text/html; charset=utf-8",
829 wantContentType: "text/css; charset=utf-8",
838 wantContentType: "text/css; charset=utf-8",
849 wantContentType: "text/css; charset=utf-8",
860 wantContentType: "text/css; charset=utf-8",
869 wantContentType: "text/plain; charset=utf-8",
882 wantContentType: "text/css; charset=utf-8"
    [all...]
  /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"},
132 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"},
199 return "text/html; charset=utf-8"
245 return "text/plain; charset=utf-8"
  /test/vts/proto/
VtsReportMessage_pb2.py     [all...]
  /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...]
pcre2_compile.c 179 /* This bit (which is greater than any UTF value) is used to indicate that a
199 UTF-8 mode. */
239 /* This is the "abnormal" case, for EBCDIC systems not running in UTF-8 mode. */
284 in UTF-8 mode. It runs from '0' to 'z'. */
334 /* This is the "abnormal" table for EBCDIC systems without UTF-8 support.
379 string is built from string macros so that it works in UTF-8 mode on EBCDIC
630 /* This is a table of start-of-pattern options such as (*UTF) and settings such
632 compatibility, (*UTFn) is supported in the relevant libraries, but (*UTF) is
1827 BOOL utf = (options & PCRE2_UTF) != 0; local
2993 BOOL utf = (options & PCRE2_UTF) != 0; local
3231 BOOL utf = (options & PCRE2_UTF) != 0; local
3893 BOOL utf = (options & PCRE2_UTF) != 0; local
3899 BOOL utf = FALSE; local
8315 BOOL utf; \/* Set TRUE for UTF mode *\/ local
    [all...]
pcre2_dfa_match.c 396 BOOL utf = (mb->poptions & PCRE2_UTF) != 0; local
398 BOOL utf = FALSE; local
454 if (utf)
658 if (utf) { GETCHARLEN(d, (code + coptable[codevalue]), dlen); } else
3127 BOOL utf, anchored, startline, firstline; local
    [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/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/darwin-x86/src/net/http/httptest/
example_test.go 34 // text/html; 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",
  /prebuilts/go/linux-x86/src/net/http/httptest/
example_test.go 34 // text/html; 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)
  /prebuilts/go/darwin-x86/src/net/mail/
message_test.go 134 2: {string([]byte{0xed, 0xa0, 0x80}) + " <micro@example.net>", "invalid utf-8 in address"},
135 3: {"\"" + string([]byte{0xed, 0xa0, 0x80}) + "\" <half-surrogate@example.com>", "invalid utf-8 in quoted-string"},
136 4: {"\"\\" + string([]byte{0x80}) + "\" <escaped-invalid-unicode@example.net>", "invalid utf-8 in quoted-string"},
228 // RFC 2047 "Q"-encoded UTF-8 address.
230 `=?utf-8?q?J=C3=B6rg_Doe?= <joerg@example.com>`,
258 // Custom example of RFC 2047 "B"-encoded UTF-8 address.
260 `=?UTF-8?B?SsO2cmc=?= <joerg@example.com>`,
298 // RFC 6532 3.2.2, local address parts allow UTF-8
308 // RFC 6532 3.2.4, domains parts allow UTF-8
458 // Custom example of RFC 2047 "B"-encoded UTF-8 address
    [all...]
  /prebuilts/go/linux-x86/src/net/mail/
message_test.go 134 2: {string([]byte{0xed, 0xa0, 0x80}) + " <micro@example.net>", "invalid utf-8 in address"},
135 3: {"\"" + string([]byte{0xed, 0xa0, 0x80}) + "\" <half-surrogate@example.com>", "invalid utf-8 in quoted-string"},
136 4: {"\"\\" + string([]byte{0x80}) + "\" <escaped-invalid-unicode@example.net>", "invalid utf-8 in quoted-string"},
228 // RFC 2047 "Q"-encoded UTF-8 address.
230 `=?utf-8?q?J=C3=B6rg_Doe?= <joerg@example.com>`,
258 // Custom example of RFC 2047 "B"-encoded UTF-8 address.
260 `=?UTF-8?B?SsO2cmc=?= <joerg@example.com>`,
298 // RFC 6532 3.2.2, local address parts allow UTF-8
308 // RFC 6532 3.2.4, domains parts allow UTF-8
458 // Custom example of RFC 2047 "B"-encoded UTF-8 address
    [all...]
  /prebuilts/go/darwin-x86/src/net/http/pprof/
pprof.go 78 w.Header().Set("Content-Type", "text/plain; charset=utf-8")
108 w.Header().Set("Content-Type", "text/plain; charset=utf-8")
132 w.Header().Set("Content-Type", "text/plain; charset=utf-8")
145 w.Header().Set("Content-Type", "text/plain; charset=utf-8")
197 w.Header().Set("Content-Type", "text/plain; charset=utf-8")
  /prebuilts/go/linux-x86/src/net/http/pprof/
pprof.go 78 w.Header().Set("Content-Type", "text/plain; charset=utf-8")
108 w.Header().Set("Content-Type", "text/plain; charset=utf-8")
132 w.Header().Set("Content-Type", "text/plain; charset=utf-8")
145 w.Header().Set("Content-Type", "text/plain; charset=utf-8")
197 w.Header().Set("Content-Type", "text/plain; charset=utf-8")

Completed in 333 milliseconds

12 3 4 5 6 7 8 91011