Home
last modified time | relevance | path

Searched refs:UTF8 (Results 1 - 25 of 82) sorted by relevance

1234

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/lib/Support/
H A DConvertUTFWrapper.cpp21 char *&ResultPtr, const UTF8 *&ErrorPtr) { in ConvertUTF8toWide()
26 const UTF8 *Pos = reinterpret_cast<const UTF8*>(Source.begin()); in ConvertUTF8toWide()
27 if (!isLegalUTF8String(&Pos, reinterpret_cast<const UTF8*>(Source.end()))) { in ConvertUTF8toWide()
35 const UTF8 *sourceStart = (const UTF8*)Source.data(); in ConvertUTF8toWide()
48 const UTF8 *sourceStart = (const UTF8*)Source.data(); in ConvertUTF8toWide()
69 UTF8 *TargetStart = reinterpret_cast<UTF8 *>(ResultPt in ConvertCodePointToUTF8()
[all...]
H A DConvertUTF.cpp42 Jan 2004: updated switches in from-UTF8 conversions.
89 * Magic values subtracted from a buffer value during UTF8 conversion.
103 static const UTF8 firstByteMark[7] = { 0x00, 0x00, 0xC0, 0xE0, 0xF0, 0xF8, 0xFC };
223 UTF8** targetStart, UTF8* targetEnd, ConversionFlags flags) { in ConvertUTF16toUTF8()
226 UTF8* target = *targetStart; in ConvertUTF16toUTF8()
277 case 4: *--target = (UTF8)((ch | byteMark) & byteMask); ch >>= 6; in ConvertUTF16toUTF8()
278 case 3: *--target = (UTF8)((ch | byteMark) & byteMask); ch >>= 6; in ConvertUTF16toUTF8()
279 case 2: *--target = (UTF8)((ch | byteMark) & byteMask); ch >>= 6; in ConvertUTF16toUTF8()
280 case 1: *--target = (UTF8)(c in ConvertUTF16toUTF8()
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Support/
H A DConvertUTFWrapper.cpp20 char *&ResultPtr, const UTF8 *&ErrorPtr) { in ConvertUTF8toWide()
25 const UTF8 *Pos = reinterpret_cast<const UTF8*>(Source.begin()); in ConvertUTF8toWide()
26 if (!isLegalUTF8String(&Pos, reinterpret_cast<const UTF8*>(Source.end()))) { in ConvertUTF8toWide()
34 const UTF8 *sourceStart = (const UTF8*)Source.data(); in ConvertUTF8toWide()
47 const UTF8 *sourceStart = (const UTF8*)Source.data(); in ConvertUTF8toWide()
68 UTF8 *TargetStart = reinterpret_cast<UTF8 *>(ResultPt in ConvertCodePointToUTF8()
[all...]
H A DConvertUTF.cpp41 Jan 2004: updated switches in from-UTF8 conversions.
115 * Magic values subtracted from a buffer value during UTF8 conversion.
129 static const UTF8 firstByteMark[7] = { 0x00, 0x00, 0xC0, 0xE0, 0xF0, 0xF8, 0xFC };
249 UTF8** targetStart, UTF8* targetEnd, ConversionFlags flags) { in ConvertUTF16toUTF8()
252 UTF8* target = *targetStart; in ConvertUTF16toUTF8()
303 case 4: *--target = (UTF8)((ch | byteMark) & byteMask); ch >>= 6; in ConvertUTF16toUTF8()
304 case 3: *--target = (UTF8)((ch | byteMark) & byteMask); ch >>= 6; in ConvertUTF16toUTF8()
305 case 2: *--target = (UTF8)((ch | byteMark) & byteMask); ch >>= 6; in ConvertUTF16toUTF8()
306 case 1: *--target = (UTF8)(c in ConvertUTF16toUTF8()
[all...]
H A DDJB.cpp23 const UTF8 *const Begin8Const = in chopOneUTF32()
24 reinterpret_cast<const UTF8 *>(Buffer.begin()); in chopOneUTF32()
25 const UTF8 *Begin8 = Begin8Const; in chopOneUTF32()
31 ConvertUTF8toUTF32(&Begin8, reinterpret_cast<const UTF8 *>(Buffer.end()), in chopOneUTF32()
37 static StringRef toUTF8(UTF32 C, MutableArrayRef<UTF8> Storage) { in toUTF8()
39 UTF8 *Begin8 = Storage.begin(); in toUTF8()
75 std::array<UTF8, UNI_MAX_UTF8_BYTES_PER_CODE_POINT> Storage; in caseFoldingDjbHash()
H A DJSON.cpp537 const UTF8 *Data = reinterpret_cast<const UTF8 *>(S.data()), *Rest = Data; in isUTF8()
549 const UTF8 *In8 = reinterpret_cast<const UTF8 *>(S.data()); in fixUTF8()
556 UTF8 *Out8 = reinterpret_cast<UTF8 *>(&Res[0]); in fixUTF8()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/include/llvm/Support/
H A DConvertUTF.h111 typedef unsigned char UTF8; /* typically 8 bits */ typedef
139 const UTF8** sourceStart, const UTF8* sourceEnd,
143 * Convert a partial UTF8 sequence to UTF32. If the sequence ends in an
147 const UTF8** sourceStart, const UTF8* sourceEnd,
151 * Convert a partial UTF8 sequence to UTF32. If the sequence ends in an
155 const UTF8** sourceStart, const UTF8* sourceEnd,
160 UTF8** targetStar
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Support/
H A DConvertUTF.h111 typedef unsigned char UTF8; /* typically 8 bits */ typedef
139 const UTF8** sourceStart, const UTF8* sourceEnd,
143 * Convert a partial UTF8 sequence to UTF32. If the sequence ends in an
147 const UTF8** sourceStart, const UTF8* sourceEnd,
151 * Convert a partial UTF8 sequence to UTF32. If the sequence ends in an
155 const UTF8** sourceStart, const UTF8* sourceEnd,
160 UTF8** targetStar
[all...]
/third_party/icu/icu4c/source/common/
H A Dunisetspan.h43 UTF8 = 4, enumerator
51 FWD_UTF8_CONTAINED = FWD | UTF8 | CONTAINED,
52 FWD_UTF8_NOT_CONTAINED = FWD | UTF8 | NOT_CONTAINED,
55 BACK_UTF8_CONTAINED = BACK | UTF8 | CONTAINED,
56 BACK_UTF8_NOT_CONTAINED = BACK | UTF8 | NOT_CONTAINED
H A Dustr_imp.h124 class UTF8 { class
126 UTF8() = delete; // all static
/third_party/node/deps/icu-small/source/common/
H A Dunisetspan.h43 UTF8 = 4, enumerator
51 FWD_UTF8_CONTAINED = FWD | UTF8 | CONTAINED,
52 FWD_UTF8_NOT_CONTAINED = FWD | UTF8 | NOT_CONTAINED,
55 BACK_UTF8_CONTAINED = BACK | UTF8 | CONTAINED,
56 BACK_UTF8_NOT_CONTAINED = BACK | UTF8 | NOT_CONTAINED
H A Dustr_imp.h124 class UTF8 { class
126 UTF8() = delete; // all static
/third_party/skia/third_party/externals/icu/source/common/
H A Dunisetspan.h43 UTF8 = 4, enumerator
51 FWD_UTF8_CONTAINED = FWD | UTF8 | CONTAINED,
52 FWD_UTF8_NOT_CONTAINED = FWD | UTF8 | NOT_CONTAINED,
55 BACK_UTF8_CONTAINED = BACK | UTF8 | CONTAINED,
56 BACK_UTF8_NOT_CONTAINED = BACK | UTF8 | NOT_CONTAINED
H A Dustr_imp.h124 class UTF8 { class
126 UTF8() = delete; // all static
/third_party/icu/icu4j/main/classes/charset/src/com/ibm/icu/charset/
H A DCharsetUTF8.java77 bytesExpected = UTF8.countBytes(ch); in decodeLoop()
103 if (!UTF8.isValidTrail(char32, ch, bytesSoFar, bytesExpected) in decodeLoop()
104 && !(isCESU8 && bytesSoFar == 1 && char32 == 0xd && UTF8.isTrail(ch))) { in decodeLoop()
152 while (UTF8.isSingle(ch = sourceArray[sourceIndex++])) { in decodeLoop()
166 bytesExpected = UTF8.countBytes(ch); in decodeLoop()
199 bytesExpected = UTF8.countBytes(ch); in decodeLoop()
225 if (!UTF8.isValidTrail(char32, ch, bytesSoFar, bytesExpected) in decodeLoop()
226 && !(isCESU8 && bytesSoFar == 1 && char32 == 0xd && UTF8.isTrail(ch))) { in decodeLoop()
278 while (UTF8.isSingle(ch = source.get(sourceIndex++))) { in decodeLoop()
292 bytesExpected = UTF8 in decodeLoop()
[all...]
/third_party/icu/icu4j/tools/misc/src/com/ibm/icu/dev/tool/translit/
H A Dvarsub.bat32 # -n Afterwards, run native2ascii -encoding UTF8
33 # -nr Afterwards, run native2ascii -encoding UTF8 -reverse
79 `native2ascii -encoding UTF8 $N2Aoption $OUT $OUT.native2ascii`;
H A DdumpICUrules.bat24 # in icu/data, from ICU4J UTF8 transliterator data files, in
356 # Open file, write UTF8 marker, close it, and reopen in text mode
358 binmode OUT; # Must do this so we can write our UTF8 marker
359 print OUT pack("C3", 0xEF, 0xBB, 0xBF); # Write UTF8 marker
372 binmode IN; # IN is a UTF8 file
375 my $BOM = pack("C3", 239, 187, 191); # a UTF8 byte order mark
/third_party/node/src/api/
H A Dencoding.cc27 return UTF8; in ParseEncoding()
37 return UTF8; in ParseEncoding()
39 return UTF8; in ParseEncoding()
/third_party/node/src/
H A Dstring_decoder.cc33 if (encoding == UTF8) { in MakeString()
73 if (Encoding() == UTF8 || in DecodeData()
85 if (Encoding() == UTF8) { in DecodeData()
145 if (Encoding() == UTF8 && data[nread - 1] & 0x80) { in DecodeData()
160 // at all. Either way, this is invalid UTF8 and we can just in DecodeData()
315 ADD_TO_ENCODINGS_ARRAY(UTF8, "utf8"); in InitializeStringDecoder()
H A Dnode_file.cc963 AsyncCall(env, req_wrap_async, args, "access", UTF8, AfterNoArgs, in Access()
988 AsyncCall(env, req_wrap_async, args, "close", UTF8, AfterNoArgs, in Close()
1130 AsyncCall(env, req_wrap_async, args, "stat", UTF8, AfterStat, in Stat()
1163 AsyncCall(env, req_wrap_async, args, "lstat", UTF8, AfterStat, in LStat()
1196 AsyncCall(env, req_wrap_async, args, "fstat", UTF8, AfterStat, in FStat()
1233 UTF8, in StatFs()
1280 UTF8, AfterNoArgs, uv_fs_symlink, *target, *path, flags); in Symlink()
1312 AsyncDestCall(env, req_wrap_async, args, "link", *dest, dest.length(), UTF8, in Link()
1334 const enum encoding encoding = ParseEncoding(isolate, args[1], UTF8); in ReadLink()
1390 new_path.length(), UTF8, AfterNoArg in Rename()
[all...]
/third_party/skia/tools/sk_app/unix/
H A DWindow_unix.cpp328 Atom UTF8 = XInternAtom(fDisplay, "UTF8_STRING", 0), in handleEvent() local
346 if (fClipboardText.empty() || xsr->target != UTF8 || xsr->property == None) { in handleEvent()
353 XChangeProperty(fDisplay, xsr->requestor, xsr->property, UTF8, /*format=*/8, in handleEvent()
463 Atom UTF8 = XInternAtom(fDisplay, "UTF8_STRING", 0), in getClipboardText() local
467 // Ask for a UTF8 copy of the CLIPBOARD... in getClipboardText()
469 XConvertSelection(fDisplay, CLIPBOARD, UTF8, XSEL_DATA, fWindow, CurrentTime); in getClipboardText()
488 if (type == UTF8) { in getClipboardText()
/third_party/cups-filters/filter/
H A Dtexttopdf.c38 #ifdef CUPS_1_4 /* CUPS 1.4.x or newer: only UTF8 is supported */
39 int UTF8 = 1; /* Use UTF-8 encoding? */ variable
433 UTF8 = 0; in WriteProlog()
619 UTF8 = 1; in WriteProlog()
894 if (UTF8) { in write_line()
910 if (UTF8) { in write_line()
937 if (UTF8) { in write_line()
966 const unsigned char *utf8; /* UTF8 text */ in make_wide()
977 if (*utf8 < 0xc0 || !UTF8) in make_wide()
1106 if (UTF8) { in write_font_str()
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Object/
H A DWindowsResource.cpp190 std::string UTF8; in makeDuplicateResourceError() local
191 if (!convertUTF16LEToUTF8String(Entry.getTypeString(), UTF8)) in makeDuplicateResourceError()
192 UTF8 = "(failed conversion from UTF16)"; in makeDuplicateResourceError()
193 OS << '\"' << UTF8 << '\"'; in makeDuplicateResourceError() local
199 std::string UTF8; in makeDuplicateResourceError() local
200 if (!convertUTF16LEToUTF8String(Entry.getNameString(), UTF8)) in makeDuplicateResourceError()
201 UTF8 = "(failed conversion from UTF16)"; in makeDuplicateResourceError()
202 OS << '\"' << UTF8 << '\"'; in makeDuplicateResourceError() local
216 std::string UTF8; in printStringOrID() local
217 if (!convertUTF16LEToUTF8String(S.String, UTF8)) in printStringOrID()
219 OS << '\\"' << UTF8 << '\\"'; printStringOrID() local
[all...]
/third_party/skia/modules/skshaper/src/
H A DSkShaper_primitive.cpp205 int glyphCount = font.CountText(utf8, utf8Bytes, RSDrawing::TextEncoding::UTF8); in shape()
216 font.TextToGlyphs(utf8, utf8Bytes, RSDrawing::TextEncoding::UTF8, glyphs.get(), glyphCount); in shape()
242 { font.MeasureText(utf8, bytesVisible, RSDrawing::TextEncoding::UTF8), 0 }, in shape()
/third_party/protobuf/csharp/src/Google.Protobuf/
H A DByteString.cs268 return CopyFrom(text, Encoding.UTF8); in CopyFromUtf8()
303 return ToString(Encoding.UTF8); in ToStringUtf8()

Completed in 17 milliseconds

1234