HomeSort by relevance Sort by last modified time
    Searched refs:utf8 (Results 201 - 225 of 624) sorted by null

1 2 3 4 5 6 7 891011>>

  /external/libtextclassifier/util/utf8/
unicodetext.cc 17 #include "util/utf8/unicodetext.h"
23 #include "util/strings/utf8.h"
122 UnicodeText& UnicodeText::AppendUTF8(const char* utf8, int len) {
123 repr_.append(utf8, len);
  /external/okhttp/okio/okio/src/main/java/okio/
SegmentedByteString.java 84 @Override public String utf8() { method in class:SegmentedByteString
85 return toByteString().utf8();
  /external/okhttp/okio/okio/src/test/java/okio/
SegmentSharingTest.java 79 assertEquals(xs + ys + zs, snapshot.utf8());
151 assertEquals("xxxx", snapshot.utf8());
  /frameworks/base/tools/aapt2/format/
Archive.cpp 26 #include "android-base/utf8.h"
65 file_ = {::android::base::utf8::fopen(full_path.c_str(), "wb"), fclose};
130 file_ = {::android::base::utf8::fopen(path.to_string().c_str(), "w+b"), fclose};
  /prebuilts/go/darwin-x86/src/bytes/
buffer_test.go 13 "unicode/utf8"
305 b := make([]byte, utf8.UTFMax*NRune)
309 size := utf8.EncodeRune(b[n:], r)
326 p := make([]byte, utf8.UTFMax)
329 size := utf8.EncodeRune(p, r)
600 b.SetBytes(int64(n * utf8.RuneLen(r)))
601 buf := NewBuffer(make([]byte, n*utf8.UTFMax))
  /prebuilts/go/linux-x86/src/bytes/
buffer_test.go 13 "unicode/utf8"
305 b := make([]byte, utf8.UTFMax*NRune)
309 size := utf8.EncodeRune(b[n:], r)
326 p := make([]byte, utf8.UTFMax)
329 size := utf8.EncodeRune(p, r)
600 b.SetBytes(int64(n * utf8.RuneLen(r)))
601 buf := NewBuffer(make([]byte, n*utf8.UTFMax))
  /external/libvncserver/client_examples/
gtkvncviewer.c 543 gchar *utf8; local
546 utf8 = g_convert_with_fallback (buf, strlen (buf), "UTF-8",
549 if (utf8) {
550 label = gtk_label_new (utf8);
551 g_free (utf8);
  /prebuilts/go/darwin-x86/src/text/scanner/
scanner.go 23 "unicode/utf8"
109 const bufLen = 1024 // at least utf8.UTFMax
182 s.srcBuf[0] = utf8.RuneSelf // sentinel
217 if ch >= utf8.RuneSelf {
219 for s.srcPos+utf8.UTFMax > s.srcEnd && !utf8.FullRune(s.srcBuf[s.srcPos:s.srcEnd]) {
239 s.srcBuf[s.srcEnd] = utf8.RuneSelf // sentinel
261 if ch >= utf8.RuneSelf {
263 ch, width = utf8.DecodeRune(s.srcBuf[s.srcPos:s.srcEnd])
264 if ch == utf8.RuneError && width == 1
    [all...]
  /prebuilts/go/linux-x86/src/text/scanner/
scanner.go 23 "unicode/utf8"
109 const bufLen = 1024 // at least utf8.UTFMax
182 s.srcBuf[0] = utf8.RuneSelf // sentinel
217 if ch >= utf8.RuneSelf {
219 for s.srcPos+utf8.UTFMax > s.srcEnd && !utf8.FullRune(s.srcBuf[s.srcPos:s.srcEnd]) {
239 s.srcBuf[s.srcEnd] = utf8.RuneSelf // sentinel
261 if ch >= utf8.RuneSelf {
263 ch, width = utf8.DecodeRune(s.srcBuf[s.srcPos:s.srcEnd])
264 if ch == utf8.RuneError && width == 1
    [all...]
  /prebuilts/go/darwin-x86/src/html/template/
js.go 13 "unicode/utf8"
180 first, _ := utf8.DecodeRune(b)
181 last, _ := utf8.DecodeLastRune(b)
193 rune, n := utf8.DecodeRune(b[i:])
252 r, w = utf8.DecodeRuneInString(s[i:])
  /prebuilts/go/darwin-x86/src/regexp/
regexp.go 75 "unicode/utf8"
202 regexp.prefixRune, _ = utf8.DecodeRuneInString(regexp.prefix)
297 if c < utf8.RuneSelf {
300 return utf8.DecodeRuneInString(i.str[pos:])
322 if r1 >= utf8.RuneSelf {
323 r1, _ = utf8.DecodeLastRuneInString(i.str[:pos])
329 if r2 >= utf8.RuneSelf {
330 r2, _ = utf8.DecodeRuneInString(i.str[pos:])
344 if c < utf8.RuneSelf {
347 return utf8.DecodeRune(i.str[pos:]
    [all...]
  /prebuilts/go/linux-x86/src/html/template/
js.go 13 "unicode/utf8"
180 first, _ := utf8.DecodeRune(b)
181 last, _ := utf8.DecodeLastRune(b)
193 rune, n := utf8.DecodeRune(b[i:])
252 r, w = utf8.DecodeRuneInString(s[i:])
  /prebuilts/go/linux-x86/src/regexp/
regexp.go 75 "unicode/utf8"
202 regexp.prefixRune, _ = utf8.DecodeRuneInString(regexp.prefix)
297 if c < utf8.RuneSelf {
300 return utf8.DecodeRuneInString(i.str[pos:])
322 if r1 >= utf8.RuneSelf {
323 r1, _ = utf8.DecodeLastRuneInString(i.str[:pos])
329 if r2 >= utf8.RuneSelf {
330 r2, _ = utf8.DecodeRuneInString(i.str[pos:])
344 if c < utf8.RuneSelf {
347 return utf8.DecodeRune(i.str[pos:]
    [all...]
  /prebuilts/go/darwin-x86/src/bufio/
bufio.go 14 "unicode/utf8"
272 for b.r+utf8.UTFMax > b.w && !utf8.FullRune(b.buf[b.r:b.w]) && b.err == nil && b.w-b.r < len(b.buf) {
280 if r >= utf8.RuneSelf {
281 r, size = utf8.DecodeRune(b.buf[b.r:b.w])
639 if r < utf8.RuneSelf {
650 if n < utf8.UTFMax {
655 if n < utf8.UTFMax {
660 size = utf8.EncodeRune(b.buf[b.n:], r)
  /prebuilts/go/linux-x86/src/bufio/
bufio.go 14 "unicode/utf8"
272 for b.r+utf8.UTFMax > b.w && !utf8.FullRune(b.buf[b.r:b.w]) && b.err == nil && b.w-b.r < len(b.buf) {
280 if r >= utf8.RuneSelf {
281 r, size = utf8.DecodeRune(b.buf[b.r:b.w])
639 if r < utf8.RuneSelf {
650 if n < utf8.UTFMax {
655 if n < utf8.UTFMax {
660 size = utf8.EncodeRune(b.buf[b.n:], r)
  /art/runtime/
reference_table.cc 196 std::string utf8(s->ToModifiedUtf8());
198 StringAppendF(&extras, " \"%s\"", utf8.c_str());
200 StringAppendF(&extras, " \"%.16s... (%d chars)", utf8.c_str(), s->GetLength());
  /external/icu/icu4c/source/common/
unistr.cpp 445 UnicodeString UnicodeString::fromUTF8(StringPiece utf8) {
447 result.setToUTF8(utf8);
976 char *utf8 = sink.GetAppendBuffer(length16 < capacity ? length16 : capacity, local
982 u_strToUTF8WithSub(utf8, capacity, &length8,
988 utf8 = (char *)uprv_malloc(length8);
989 if(utf8 != NULL) {
992 u_strToUTF8WithSub(utf8, length8, &length8,
1002 sink.Append(utf8, length8);
1006 uprv_free(utf8);
    [all...]
  /external/skia/samplecode/
SampleAll.cpp 142 char utf8[] = "utf8" "\xe2\x80\xa6"; local
260 canvas->drawText(utf8, sizeof(utf8) - 1, x, y, paint);
  /external/skia/tools/debugger/
SkObjectParser.cpp 380 SkAutoSTMalloc<0x100, char> utf8(sizeNeeded);
381 SkUTF16_ToUTF8((uint16_t*)text, SkToS32(byteLength / 2), utf8);
382 decodedText->append(utf8, sizeNeeded);
  /external/skqp/samplecode/
SampleAll.cpp 142 char utf8[] = "utf8" "\xe2\x80\xa6"; local
260 canvas->drawText(utf8, sizeof(utf8) - 1, x, y, paint);
  /external/skqp/tools/debugger/
SkObjectParser.cpp 383 SkAutoSTMalloc<0x100, char> utf8(sizeNeeded);
384 SkUTF16_ToUTF8((uint16_t*)text, SkToS32(byteLength / 2), utf8);
385 decodedText->append(utf8, sizeNeeded);
  /prebuilts/go/darwin-x86/src/vendor/golang_org/x/text/unicode/norm/
iter.go 11 "unicode/utf8"
136 if i.rb.src.bytes[p] < utf8.RuneSelf {
153 if i.rb.src.str[p] < utf8.RuneSelf {
188 for j = 1; j < len(d) && !utf8.RuneStart(d[j]); j++ {
237 } else if i.rb.src._byte(i.p) < utf8.RuneSelf {
393 } else if i.rb.src._byte(i.p) < utf8.RuneSelf {
  /prebuilts/go/linux-x86/src/vendor/golang_org/x/text/unicode/norm/
iter.go 11 "unicode/utf8"
136 if i.rb.src.bytes[p] < utf8.RuneSelf {
153 if i.rb.src.str[p] < utf8.RuneSelf {
188 for j = 1; j < len(d) && !utf8.RuneStart(d[j]); j++ {
237 } else if i.rb.src._byte(i.p) < utf8.RuneSelf {
393 } else if i.rb.src._byte(i.p) < utf8.RuneSelf {
  /external/icu/icu4c/source/test/cintltst/
ccapitst.c 27 #include "unicode/utf8.h"
486 someConverters[2] = ucnv_open("utf8", &err);
2249 utf8[]={ local
2522 char utf8[16]; local
2588 char utf8[600], expect[600]; local
2766 utf8[]={ local
    [all...]
  /external/harfbuzz_ng/util/
view-cairo.cc 122 l.utf8, l.utf8_len,

Completed in 619 milliseconds

1 2 3 4 5 6 7 891011>>