/art/runtime/ |
utils.cc | 38 #include "utf-inl.h" 312 std::string PrintableString(const char* utf) { 315 const char* p = utf; 453 // We have a surrogate pair resulting from a valid 4 byte UTF sequence. 463 // We've encountered a one, two or three byte UTF-8 sequence. The 464 // three byte UTF-8 sequence could be one half of a surrogate pair. 506 /* Return whether the pointed-at modified-UTF-8 encoded character is 508 * the consumed character. This will consume two encoded UTF-16 code
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Lib/json/ |
__init__.py | 118 encoding='utf-8',
124 encoding='utf-8', default=None, sort_keys=False, **kw):
161 ``encoding`` is the character encoding for str instances, default is UTF-8.
178 encoding == 'utf-8' and default is None and not sort_keys and not kw):
195 encoding='utf-8', default=None, sort_keys=False, **kw):
225 ``encoding`` is the character encoding for str instances, default is UTF-8.
242 encoding == 'utf-8' and default is None and not sort_keys and not kw):
263 than utf-8 (e.g. latin-1), then an appropriate ``encoding`` name must
299 other than utf-8 (e.g. latin-1) then an appropriate ``encoding`` name
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/json/ |
__init__.py | 118 encoding='utf-8',
124 encoding='utf-8', default=None, **kw):
156 ``encoding`` is the character encoding for str instances, default is UTF-8.
170 encoding == 'utf-8' and default is None and not kw):
187 encoding='utf-8', default=None, **kw):
216 ``encoding`` is the character encoding for str instances, default is UTF-8.
230 encoding == 'utf-8' and default is None and not kw):
251 than utf-8 (e.g. latin-1), then an appropriate ``encoding`` name must
287 other than utf-8 (e.g. latin-1) then an appropriate ``encoding`` name
|
/external/pcre/dist2/src/ |
pcre2_internal.h | 236 /* This is an unsigned int value that no UTF character can ever have, as 241 /* This is the largest valid UTF/Unicode code point. */ 245 /* Compile-time positive error numbers (all except UTF errors, which are 266 /* ---------------- Basic UTF-8 macros ---------------- */ 268 /* These UTF-8 macros are always defined because they are used in pcre2test for 272 /* Tests whether a UTF-8 code point needs extra bytes to decode. */ 282 /* Base macro to pick up the remaining bytes of a UTF-8 character, not 304 /* Base macro to pick up the remaining bytes of a UTF-8 character, advancing 338 /* Base macro to pick up the remaining bytes of a UTF-8 character, not 502 &(NLBLOCK->nllen), utf)) \ [all...] |
pcre2grep.c | 220 static BOOL utf = FALSE; variable 401 { OP_NODATA, 'u', NULL, "utf", "use UTF mode" }, 428 /* UTF-8 tables - used only when the newline setting is "any". */ [all...] |
/prebuilts/gdb/darwin-x86/lib/python2.7/json/ |
__init__.py | 118 encoding='utf-8', 124 encoding='utf-8', default=None, sort_keys=False, **kw): 161 ``encoding`` is the character encoding for str instances, default is UTF-8. 178 encoding == 'utf-8' and default is None and not sort_keys and not kw): 195 encoding='utf-8', default=None, sort_keys=False, **kw): 225 ``encoding`` is the character encoding for str instances, default is UTF-8. 242 encoding == 'utf-8' and default is None and not sort_keys and not kw): 263 than utf-8 (e.g. latin-1), then an appropriate ``encoding`` name must 299 other than utf-8 (e.g. latin-1) then an appropriate ``encoding`` name
|
/prebuilts/gdb/linux-x86/lib/python2.7/json/ |
__init__.py | 118 encoding='utf-8', 124 encoding='utf-8', default=None, sort_keys=False, **kw): 161 ``encoding`` is the character encoding for str instances, default is UTF-8. 178 encoding == 'utf-8' and default is None and not sort_keys and not kw): 195 encoding='utf-8', default=None, sort_keys=False, **kw): 225 ``encoding`` is the character encoding for str instances, default is UTF-8. 242 encoding == 'utf-8' and default is None and not sort_keys and not kw): 263 than utf-8 (e.g. latin-1), then an appropriate ``encoding`` name must 299 other than utf-8 (e.g. latin-1) then an appropriate ``encoding`` name
|
/prebuilts/go/darwin-x86/src/compress/gzip/ |
gzip_test.go | 108 t.Fatalf("write utf-8: got %q, want %q", s, string(latin1)) 127 {"invalid UTF-8 also \xffails", false},
|
/prebuilts/go/darwin-x86/src/net/http/cgi/ |
child.go | 200 r.header.Add("Content-Type", "text/html; charset=utf-8")
|
/prebuilts/go/darwin-x86/src/net/mail/ |
message.go | 236 return mime.BEncoding.Encode("utf-8", a.Name) + " " + s 238 return mime.QEncoding.Encode("utf-8", a.Name) + " " + s 442 return "", fmt.Errorf("mail: invalid utf-8 in quoted-string: %q", p.s) 489 return "", fmt.Errorf("mail: invalid utf-8 in address: %q", p.s) 617 // isMultibyte reports whether r is a multi-byte UTF-8 character
|
/prebuilts/go/linux-x86/src/compress/gzip/ |
gzip_test.go | 108 t.Fatalf("write utf-8: got %q, want %q", s, string(latin1)) 127 {"invalid UTF-8 also \xffails", false},
|
/prebuilts/go/linux-x86/src/net/http/cgi/ |
child.go | 200 r.header.Add("Content-Type", "text/html; charset=utf-8")
|
/prebuilts/go/linux-x86/src/net/mail/ |
message.go | 236 return mime.BEncoding.Encode("utf-8", a.Name) + " " + s 238 return mime.QEncoding.Encode("utf-8", a.Name) + " " + s 442 return "", fmt.Errorf("mail: invalid utf-8 in quoted-string: %q", p.s) 489 return "", fmt.Errorf("mail: invalid utf-8 in address: %q", p.s) 617 // isMultibyte reports whether r is a multi-byte UTF-8 character
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/json/ |
__init__.py | 118 encoding='utf-8', 124 encoding='utf-8', default=None, sort_keys=False, **kw): 161 ``encoding`` is the character encoding for str instances, default is UTF-8. 178 encoding == 'utf-8' and default is None and not sort_keys and not kw): 195 encoding='utf-8', default=None, sort_keys=False, **kw): 225 ``encoding`` is the character encoding for str instances, default is UTF-8. 242 encoding == 'utf-8' and default is None and not sort_keys and not kw): 263 than utf-8 (e.g. latin-1), then an appropriate ``encoding`` name must 299 other than utf-8 (e.g. latin-1) then an appropriate ``encoding`` name
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/json/ |
__init__.py | 118 encoding='utf-8', 124 encoding='utf-8', default=None, sort_keys=False, **kw): 161 ``encoding`` is the character encoding for str instances, default is UTF-8. 178 encoding == 'utf-8' and default is None and not sort_keys and not kw): 195 encoding='utf-8', default=None, sort_keys=False, **kw): 225 ``encoding`` is the character encoding for str instances, default is UTF-8. 242 encoding == 'utf-8' and default is None and not sort_keys and not kw): 263 than utf-8 (e.g. latin-1), then an appropriate ``encoding`` name must 299 other than utf-8 (e.g. latin-1) then an appropriate ``encoding`` name
|
/art/runtime/mirror/ |
string.h | 134 static String* AllocFromModifiedUtf8(Thread* self, const char* utf) 157 // Compare UTF-16 code point values not in a locale-sensitive manner 165 // Create a modified UTF-8 encoded std::string from a java/lang/String object.
|
/cts/tests/tests/jni/libjnitest/ |
macroized_tests.c | 1204 const char *utf = CALL(GetStringUTFChars, result, NULL); local 1206 if (strcmp(utf, "muffins") == 0) { 1209 msg = failure("unexpected string: %s", utf); 1212 CALL(ReleaseStringUTFChars, result, utf); [all...] |
/external/markdown/ |
test-markdown.py | 72 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 163 def test_directory(self, dir, measure_time=False, safe_mode=False, encoding="utf-8", output_format='xhtml1') : 212 self.html_diff_file.write(self.diffs_buffer.decode("utf-8")) 252 expected_lines = [x.encode("utf-8") for x in smart_split(expected_output)] 253 actual_lines = [x.encode("utf-8") for x in smart_split(actual_output)]
|
/prebuilts/go/darwin-x86/src/mime/ |
encodedword.go | 74 maxContentLen = maxEncodedWordLen - len("=?UTF-8?q?") - len("?=") 82 // If the charset is not UTF-8 or if the content is short, do not bother 113 // We only split encoded-words when the charset is UTF-8. 179 return strings.EqualFold(charset, "UTF-8") 188 // charset into UTF-8. 189 // Charsets are always lower-case. utf-8, iso-8859-1 and us-ascii charsets 209 // split word "UTF-8?q?ascii" into "UTF-8", 'q', and "ascii" 319 case strings.EqualFold("utf-8", charset):
|
/prebuilts/go/darwin-x86/src/net/textproto/ |
reader_test.go | 347 Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3 353 var serverHeaders = strings.Replace(`Content-Type: text/html; charset=utf-8
|
/prebuilts/go/linux-x86/src/mime/ |
encodedword.go | 74 maxContentLen = maxEncodedWordLen - len("=?UTF-8?q?") - len("?=") 82 // If the charset is not UTF-8 or if the content is short, do not bother 113 // We only split encoded-words when the charset is UTF-8. 179 return strings.EqualFold(charset, "UTF-8") 188 // charset into UTF-8. 189 // Charsets are always lower-case. utf-8, iso-8859-1 and us-ascii charsets 209 // split word "UTF-8?q?ascii" into "UTF-8", 'q', and "ascii" 319 case strings.EqualFold("utf-8", charset):
|
/prebuilts/go/linux-x86/src/net/textproto/ |
reader_test.go | 347 Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3 353 var serverHeaders = strings.Replace(`Content-Type: text/html; charset=utf-8
|
/prebuilts/go/darwin-x86/src/net/http/ |
requestwrite_test.go | 47 "Accept-Charset": {"ISO-8859-1,utf-8;q=0.7,*;q=0.7"}, 64 "Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7\r\n" + 74 "Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7\r\n" +
|
/prebuilts/go/linux-x86/src/net/http/ |
requestwrite_test.go | 47 "Accept-Charset": {"ISO-8859-1,utf-8;q=0.7,*;q=0.7"}, 64 "Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7\r\n" + 74 "Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7\r\n" +
|
/external/svox/pico/lib/ |
picotok.c | 217 utf8char0c utf; member in struct:tok_subobj 437 tok->utf[tok->utfpos] = ch; 446 tok->utf[tok->utfpos] = 0; [all...] |