/external/ImageMagick/MagickCore/ |
token-private.h | 69 *utf8; local 74 utf8=(unsigned char *) NULL; 76 utf8=(unsigned char *) AcquireQuantumMemory(length+1UL,sizeof(*utf8)); 77 if (utf8 == (unsigned char *) NULL) 79 q=utf8; 92 return(utf8);
|
/external/ImageMagick/utilities/ |
magick.c | 184 **utf8; 192 utf8=NTArgvToUTF8(argc,argv); 193 status=MagickMain(argc,utf8); 195 utf8[i]=DestroyString(utf8[i]); 196 utf8=(char **) RelinquishMagickMemory(utf8); 182 **utf8; local
|
/external/libchrome/base/strings/ |
utf_string_conversions_unittest.cc | 53 std::ostringstream utf8; local 54 utf8 << WideToUTF8(kConvertRoundtripCases[i]); 56 wide << UTF8ToWide(utf8.str()); 73 const char* utf8; member in struct:base::UTF8ToWideCase 103 UTF8ToWide(convert_cases[i].utf8, 104 strlen(convert_cases[i].utf8), 129 const char* utf8; member in struct:base::WideToUTF8Case 149 std::string expected(test.utf8); 159 const char* utf8; member in struct:base::WideToUTF8Case 180 std::string expected(test.utf8); [all...] |
sys_string_conversions.h | 35 BASE_EXPORT std::wstring SysUTF8ToWide(const StringPiece& utf8); 65 BASE_EXPORT CFStringRef SysUTF8ToCFStringRef(const std::string& utf8); 69 BASE_EXPORT NSString* SysUTF8ToNSString(const std::string& utf8);
|
/prebuilts/go/darwin-x86/src/cmd/fix/ |
import_test.go | 65 "utf8" 76 "utf8" 118 "utf8" 128 "utf8" 140 "utf8" // c 148 "utf8" // c 160 "utf8" // c 168 "utf8" // c 174 Fn: deleteImportFn("utf8"), 180 "utf8" // [all...] |
/prebuilts/go/linux-x86/src/cmd/fix/ |
import_test.go | 65 "utf8" 76 "utf8" 118 "utf8" 128 "utf8" 140 "utf8" // c 148 "utf8" // c 160 "utf8" // c 168 "utf8" // c 174 Fn: deleteImportFn("utf8"), 180 "utf8" // [all...] |
/art/test/ti-agent/ |
ti_utf.h | 28 inline size_t CountModifiedUtf8Chars(const char* utf8, size_t byte_count) { 29 DCHECK_LE(byte_count, strlen(utf8)); 31 const char* end = utf8 + byte_count; 32 for (; utf8 < end; ++utf8) { 33 int ic = *utf8; 40 utf8++; 45 utf8++; 53 utf8++;
|
/external/vulkan-validation-layers/layers/ |
vk_layer_utils.cpp | 39 VK_LAYER_EXPORT VkStringErrorFlags vk_string_validate(const int max_length, const char *utf8) { 45 if (utf8[i] == 0) { 50 } else if ((utf8[i] >= 0xa) && (utf8[i] < 0x7f)) { 52 } else if ((utf8[i] & UTF8_ONE_BYTE_MASK) == UTF8_ONE_BYTE_CODE) { 54 } else if ((utf8[i] & UTF8_TWO_BYTE_MASK) == UTF8_TWO_BYTE_CODE) { 56 } else if ((utf8[i] & UTF8_THREE_BYTE_MASK) == UTF8_THREE_BYTE_CODE) { 68 if ((utf8[i] & UTF8_DATA_BYTE_MASK) != UTF8_DATA_BYTE_CODE) {
|
/prebuilts/go/darwin-x86/src/html/ |
entity_test.go | 9 "unicode/utf8" 17 if 1+len(k) < utf8.RuneLen(v) { 25 if 1+len(k) < utf8.RuneLen(v[0])+utf8.RuneLen(v[1]) {
|
/prebuilts/go/linux-x86/src/html/ |
entity_test.go | 9 "unicode/utf8" 17 if 1+len(k) < utf8.RuneLen(v) { 25 if 1+len(k) < utf8.RuneLen(v[0])+utf8.RuneLen(v[1]) {
|
/prebuilts/go/darwin-x86/src/bufio/ |
export_test.go | 9 "unicode/utf8" 17 if n < utf8.UTFMax || n > 1e9 {
|
/prebuilts/go/linux-x86/src/bufio/ |
export_test.go | 9 "unicode/utf8" 17 if n < utf8.UTFMax || n > 1e9 {
|
/external/webrtc/webrtc/system_wrappers/include/ |
utf_util_win.h | 24 inline std::wstring ToUtf16(const char* utf8, size_t len) { 25 int len16 = ::MultiByteToWideChar(CP_UTF8, 0, utf8, static_cast<int>(len), 28 ::MultiByteToWideChar(CP_UTF8, 0, utf8, static_cast<int>(len), ws.get(),
|
/external/libexif/test/nls/ |
test-codeset.c | 43 char *utf8; member in struct:__anon24799 83 const char *utf8 = testcases[i].utf8; local 119 utf8 123 return (my_streq(transl, utf8));
|
/libcore/ojluni/src/main/java/java/util/zip/ |
ZipCoder.java | 105 // assume invoked only if "this" is not utf8 109 if (utf8 == null) 110 utf8 = new ZipCoder(StandardCharsets.UTF_8); 111 return utf8.getBytes(s); 118 if (utf8 == null) 119 utf8 = new ZipCoder(StandardCharsets.UTF_8); 120 return utf8.toString(ba, len); 131 private ZipCoder utf8; field in class:ZipCoder
|
/prebuilts/go/darwin-x86/src/vendor/golang_org/x/text/unicode/norm/ |
input.go | 9 import "unicode/utf8" 43 for ; p < max && in.str[p] < utf8.RuneSelf; p++ { 46 for ; p < max && in.bytes[p] < utf8.RuneSelf; p++ { 54 for ; p < len(in.str) && !utf8.RuneStart(in.str[p]); p++ { 57 for ; p < len(in.bytes) && !utf8.RuneStart(in.bytes[p]); p++ { 100 r, size = utf8.DecodeRuneInString(in.str[p:]) 105 r, size = utf8.DecodeRune(in.bytes[p:])
|
/prebuilts/go/linux-x86/src/vendor/golang_org/x/text/unicode/norm/ |
input.go | 9 import "unicode/utf8" 43 for ; p < max && in.str[p] < utf8.RuneSelf; p++ { 46 for ; p < max && in.bytes[p] < utf8.RuneSelf; p++ { 54 for ; p < len(in.str) && !utf8.RuneStart(in.str[p]); p++ { 57 for ; p < len(in.bytes) && !utf8.RuneStart(in.bytes[p]); p++ { 100 r, size = utf8.DecodeRuneInString(in.str[p:]) 105 r, size = utf8.DecodeRune(in.bytes[p:])
|
/bionic/tests/ |
iconv_test.cpp | 37 // "For example, the following names should match: "UTF-8", "utf8", "u.t.f-008", ..." 39 ASSERT_NE(INVALID_ICONV_T, c = iconv_open("UTF-8", "utf8")); 54 const char* utf8 = "a??"; // U+0666 ? 0xd9 0xa6 // U+1100 ? 0xe1 0x84 0x80 local 60 char* in = const_cast<char*>(utf8); 80 const char* utf8 = "a??z"; // U+0666 ? 0xd9 0xa6 // U+1100 ? 0xe1 0x84 0x80 local 86 char* in = const_cast<char*>(utf8); 109 const char* utf8 = "a??z"; // U+0666 ? 0xd9 0xa6 // U+1100 ? 0xe1 0x84 0x80 local 115 char* in = const_cast<char*>(utf8); 137 const char* utf8 = "a??z"; // U+0666 ? 0xd9 0xa6 // U+1100 ? 0xe1 0x84 0x80 local 143 char* in = const_cast<char*>(utf8); 163 const char* utf8 = "a\\xd9z"; \/\/ 0xd9 is the first byte of the two-byte U+0666 ?. local 196 const char* utf8 = "a\\xd9"; \/\/ 0xd9 is the first byte of the two-byte U+0666 ?. local 223 const char* utf8 = "abc"; local 293 const char* utf8 = "$??"; \/\/ U+0024, U+20AC, U+10437. local [all...] |
/external/harfbuzz_ng/src/ |
hb-glib.cc | 253 gchar utf8[12]; 258 len = g_unichar_to_utf8 (a, utf8); 259 len += g_unichar_to_utf8 (b, utf8 + len); 260 normalized = g_utf8_normalize (utf8, len, G_NORMALIZE_NFC); 290 gchar utf8[6]; 295 len = g_unichar_to_utf8 (ab, utf8); 296 normalized = g_utf8_normalize (utf8, len, G_NORMALIZE_NFD); 348 gchar utf8[6]; 353 utf8_len = g_unichar_to_utf8 (u, utf8); 354 utf8_decomposed = g_utf8_normalize (utf8, utf8_len, G_NORMALIZE_NFKD) [all...] |
/external/turbine/java/com/google/turbine/bytecode/ |
AttributeWriter.java | 87 output.writeShort(pool.utf8(attribute.kind().signature())); 93 output.writeShort(pool.utf8(inner.innerName())); 99 output.writeShort(pool.utf8(attribute.kind().signature())); 108 output.writeShort(pool.utf8(attribute.kind().signature())); 110 output.writeShort(pool.utf8(attribute.signature)); 114 output.writeShort(pool.utf8(attribute.kind().signature())); 145 output.writeShort(pool.utf8(attribute.kind().signature())); 157 output.writeShort(pool.utf8(attribute.kind().signature())); 166 output.writeShort(pool.utf8(attribute.kind().signature())); 181 output.writeShort(pool.utf8(attribute.kind().signature())) [all...] |
/prebuilts/go/darwin-x86/test/ |
utf.go | 11 import "unicode/utf8" 28 r, w = utf8.DecodeRuneInString(s[i:len(s)]) 57 r, w = utf8.DecodeRune(a[i:L])
|
/prebuilts/go/linux-x86/test/ |
utf.go | 11 import "unicode/utf8" 28 r, w = utf8.DecodeRuneInString(s[i:len(s)]) 57 r, w = utf8.DecodeRune(a[i:L])
|
/external/gptfdisk/ |
gptpart.cc | 83 // convert name to utf32 then to utf8 84 string utf8 ; local 114 // then to utf8 116 utf8 += (char) uni ; 119 utf8 += (char) ( 0xc0 | ( uni >> 6 ) ) ; 120 utf8 += (char) ( 0x80 | ( uni & 0x3f ) ) ; 123 utf8 += (char) ( 0xe0 | ( uni >> 12 ) ) ; 124 utf8 += (char) ( 0x80 | ( ( uni >> 6 ) & 0x3f ) ) ; 125 utf8 += (char) ( 0x80 | ( uni & 0x3f ) ) ; 128 utf8 += (char) ( 0xf0 | ( uni >> 18 ) ) [all...] |
/dalvik/dexgen/src/com/android/dexgen/dex/file/ |
StringIdsSection.java | 107 CstUtf8 utf8 = new CstUtf8(string); local 108 return intern(new StringIdItem(utf8)); 118 CstUtf8 utf8 = string.getString(); local 119 return intern(new StringIdItem(utf8));
|
/external/icu/icu4c/as_is/ |
bomlist.py | 21 utf8=0 variable
|