HomeSort by relevance Sort by last modified time
    Searched full:utf8 (Results 101 - 125 of 1524) sorted by null

1 2 3 45 6 7 8 91011>>

  /external/llvm/include/llvm/Support/
ConvertUTF.h 103 typedef unsigned char UTF8; /* typically 8 bits */
136 const UTF8** sourceStart, const UTF8* sourceEnd,
140 * Convert a partial UTF8 sequence to UTF32. If the sequence ends in an
144 const UTF8** sourceStart, const UTF8* sourceEnd,
148 * Convert a partial UTF8 sequence to UTF32. If the sequence ends in an
152 const UTF8** sourceStart, const UTF8* sourceEnd,
157 UTF8** targetStart, UTF8* targetEnd, ConversionFlags flags)
    [all...]
  /external/chromium_org/third_party/skia/include/core/
SkUtils.h 52 inline int SkUTF8_CountUTF8Bytes(const char utf8[]) {
53 SkASSERT(utf8);
54 return SkUTF8_LeadByteToCount(*(const uint8_t*)utf8);
57 int SkUTF8_CountUnichars(const char utf8[]);
58 int SkUTF8_CountUnichars(const char utf8[], size_t byteLength);
59 SkUnichar SkUTF8_ToUnichar(const char utf8[]);
64 into a utf8 sequence. Will be 1..kMaxBytesInUTF8Sequence,
67 size_t SkUTF8_FromUnichar(SkUnichar uni, char utf8[] = NULL);
83 char utf8[] = NULL);
  /external/qemu/telephony/
sms.h 19 /* convert a quoted message text into a utf8 string. Note: you can use 'str' as the destination buffer
20 * with the current implementation. always return the number of utf8 bytes corresponding to the original
21 * message string, even if utf8 is NULL and utf8len is 0
23 extern int sms_utf8_from_message_str( const char* str, int strlen, unsigned char* utf8, int utf8len );
27 extern int sms_utf8_to_message_str( const unsigned char* utf8, int utf8len, char* str, int strlen );
64 extern SmsPDU* smspdu_create_deliver_utf8( const unsigned char* utf8,
100 /* get the message embedded in a SMS PDU as a utf8 byte array, returns the length of the message in bytes */
102 extern int smspdu_get_text_message( SmsPDU pdu, unsigned char* utf8, int utf8len );
114 extern int sms_receiver_get_text_message( SmsReceiver rec, int index, unsigned char* utf8, int utf8len );
gsm.c 360 utf8_skip( cbytes_t utf8,
364 cbytes_t p = utf8;
412 utf8_write( bytes_t utf8, int offset, int v )
418 if (utf8)
419 utf8[offset] = (byte_t) v;
422 if (utf8) {
423 utf8[offset+0] = (byte_t)( 0xc0 | (v >> 6) );
424 utf8[offset+1] = (byte_t)( 0x80 | (v & 0x3f) );
428 if (utf8) {
429 utf8[offset+0] = (byte_t)( 0xe0 | (v >> 12) )
    [all...]
  /external/skia/include/core/
SkUtils.h 52 inline int SkUTF8_CountUTF8Bytes(const char utf8[]) {
53 SkASSERT(utf8);
54 return SkUTF8_LeadByteToCount(*(const uint8_t*)utf8);
57 int SkUTF8_CountUnichars(const char utf8[]);
58 int SkUTF8_CountUnichars(const char utf8[], size_t byteLength);
59 SkUnichar SkUTF8_ToUnichar(const char utf8[]);
64 into a utf8 sequence. Will be 1..kMaxBytesInUTF8Sequence,
67 size_t SkUTF8_FromUnichar(SkUnichar uni, char utf8[] = NULL);
83 char utf8[] = NULL);
  /external/llvm/lib/Support/
ConvertUTFWrapper.cpp 18 char *&ResultPtr, const UTF8 *&ErrorPtr) {
23 const UTF8 *Pos = reinterpret_cast<const UTF8*>(Source.begin());
24 if (!isLegalUTF8String(&Pos, reinterpret_cast<const UTF8*>(Source.end()))) {
32 const UTF8 *sourceStart = (const UTF8*)Source.data();
45 const UTF8 *sourceStart = (const UTF8*)Source.data();
66 UTF8 *TargetStart = reinterpret_cast<UTF8 *>(ResultPtr)
    [all...]
  /dalvik/dx/tests/003-magic-version-access/
expected.txt 36 0001: utf8{"Small"}
37 0002: utf8{"java/lang/Object"}
57 0001: utf8{"Small"}
58 0002: utf8{"java/lang/Object"}
78 0001: utf8{"Small"}
79 0002: utf8{"java/lang/Object"}
99 0001: utf8{"Small"}
100 0002: utf8{"java/lang/Object"}
120 0001: utf8{"Small"}
121 0002: utf8{"java/lang/Object"
    [all...]
  /external/chromium_org/content/renderer/media/
cache_util.cc 43 response.httpHeaderField("etag").utf8(),
44 response.httpHeaderField("Last-Modified").utf8(),
45 response.httpHeaderField("Date").utf8())) {
50 response.httpHeaderField("cache-control").utf8();
76 if (Time::FromString(response.httpHeaderField("Date").utf8().data(), &date) &&
77 Time::FromString(response.httpHeaderField("Expires").utf8().data(),
media_stream_constraints_util.cc 51 *value = value_str.utf8();
65 return ConvertStringToBoolean(value_str.utf8(), value);
78 return base::StringToInt(value_str.utf8(), value);
90 return base::StringToDouble(value_str.utf8(), value);
103 return ConvertStringToBoolean(value_str.utf8(), value);
116 return base::StringToInt(value_str.utf8(), value);
129 return base::StringToDouble(value_str.utf8(), value);
  /external/chromium_org/third_party/WebKit/Source/web/tests/
WebSelectorTest.cpp 44 EXPECT_EQ("h1, h2[style=\"foobar\"] span", canonicalizeSelector("h1,h2[style='foobar'] span").utf8());
45 EXPECT_EQ("h1, h2[style=\"foobar\"] span", canonicalizeSelector("h1, h2[style=\"foobar\"] span").utf8());
50 EXPECT_EQ("", canonicalizeSelector("h1..h2").utf8());
51 EXPECT_EQ("", canonicalizeSelector("h1..h2", WebSelectorTypeCompound).utf8());
56 EXPECT_EQ("", canonicalizeSelector("h1 span,h2", WebSelectorTypeCompound).utf8());
57 EXPECT_EQ("h1, h2[style=\"foobar\"].cls", canonicalizeSelector("h1,h2[style=\"foobar\"].cls", WebSelectorTypeCompound).utf8());
  /external/okhttp/okio/src/test/java/okio/
ByteStringTest.java 59 @Test public void utf8() throws Exception { method in class:ByteStringTest
63 assertEquals(byteString.utf8(), bronzeHorseman);
115 assertEquals("", ByteString.decodeBase64("====").utf8());
116 assertEquals("\u0000\u0000\u0000", ByteString.decodeBase64("AAAA====").utf8());
120 assertEquals("", ByteString.decodeBase64("").utf8());
128 + "N1cCBpbiB0aGUgcG93ZXIuLi4=").utf8());
132 assertEquals("\u0000\u0000\u0000", ByteString.decodeBase64(" AA AA ").utf8());
133 assertEquals("\u0000\u0000\u0000", ByteString.decodeBase64(" AA A\r\nA ").utf8());
134 assertEquals("\u0000\u0000\u0000", ByteString.decodeBase64("AA AA").utf8());
135 assertEquals("\u0000\u0000\u0000", ByteString.decodeBase64(" AA AA ").utf8());
    [all...]
  /external/chromium_org/base/third_party/icu/
README.chromium 7 UTF8/16/32 conversions. Components are copied from utf.h utf8.h utf16.h and
  /dalvik/dx/tests/007-no-superclass/
expected.txt 9 0001: utf8{"java/lang/Object"}
  /external/chromium_org/third_party/webrtc/base/
iosfilesystem.mm 22 // Return a new[]'d |char*| copy of the UTF8 representation of |s|.
25 const char* utf8 = [s UTF8String];
26 size_t len = strlen(utf8) + 1;
31 strcpy(copy, utf8);
  /external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/boxes/ultraviolet/
AssetInformationBox.java 20 import com.coremedia.iso.Utf8;
38 return Utf8.utf8StringLengthInBytes(apid) + 9;
45 byteBuffer.put(Utf8.convert(profileVersion), 0, 4);
46 byteBuffer.put(Utf8.convert(apid));
  /libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/charset/
UTF8CharsetTest.java 31 super(arg0, "UTF-8", new String[] { "UTF8" }, true, true);
59 byte utf8[] = s.getBytes("UTF-8");
60 assertEquals(s, new String(utf8, 0, utf8.length, "UTF-8"));
  /external/chromium_org/content/child/indexed_db/
webidbfactory_impl.cc 29 database_identifier.utf8());
45 database_identifier.utf8());
54 name, callbacks, database_identifier.utf8());
  /external/chromium_org/third_party/icu/source/test/perf/utrie2perf/
utrie2perf.sh 5 # export LD_LIBRARY_PATH=/home/mscherer/svn.icu/utf8-dev/lib:/home/mscherer/svn.icu/utf8-dev/tools/ctestfw
10 PERF=~/svn.icu/utf8-dev/test/perf/utrie2perf/utrie2perf
  /external/chromium_org/third_party/libphonenumber/src/phonenumbers/
normalize_utf8.h 38 char utf8[4]; local
39 int len = it.get_utf8(utf8);
40 normalized.append(utf8, len);
  /external/icu/icu4c/source/test/perf/utrie2perf/
utrie2perf.sh 5 # export LD_LIBRARY_PATH=/home/mscherer/svn.icu/utf8-dev/lib:/home/mscherer/svn.icu/utf8-dev/tools/ctestfw
10 PERF=~/svn.icu/utf8-dev/test/perf/utrie2perf/utrie2perf
  /external/mp4parser/isoparser/src/main/java/com/coremedia/iso/boxes/vodafone/
CoverUriBox.java 20 import com.coremedia.iso.Utf8;
46 return Utf8.utf8StringLengthInBytes(coverUri) + 5;
58 byteBuffer.put(Utf8.convert(coverUri));
LyricsUriBox.java 20 import com.coremedia.iso.Utf8;
47 return Utf8.utf8StringLengthInBytes(lyricsUri) + 5;
59 byteBuffer.put(Utf8.convert(lyricsUri));
  /external/chromium_org/ppapi/tests/
test_var.cc 107 // utf8???? (japanese for "is not utf8") in shift-jis encoding.
108 static const char kSjisString[] = "utf8\x82\xb6\x82\xe1\x82\xc8\x82\xa2";
111 return "Non-UTF8 string was permitted erroneously.";
151 // From UTF8 string -> PP_Var.
152 // Chinese for "I am utf8."
157 return "Unable to convert valid utf8 to var.";
159 // Since we're already here, test PP_Var back to UTF8 string.
165 return "Unable to convert utf8 string back from var.";
175 // From UTF8 string with embedded nulls -> PP_Var
    [all...]
  /external/xmp_toolkit/XMPCore/src/com/adobe/xmp/impl/
Latin1Converter.java 38 * A converter that processes a byte buffer containing a mix of UTF8 and Latin-1/Cp1252 chars.
46 * In the case, UTF-8 is detected, it assumes wrong UTF8 chars to be a sequence of
74 // expected UTF8 bytesto come
94 // start of UTF8 sequence
106 // invalid UTF8 start char, assume to be Latin-1
107 byte[] utf8 = convertToUTF8((byte) b);
108 out.append(utf8);
115 // valid UTF8 char, add to readAheadBuffer
129 // invalid UTF8 char:
130 // 1. convert first of seq to UTF8
    [all...]
  /external/chromium_org/third_party/re2/re2/testing/
exhaustive3_test.cc 28 // Returns UTF8 for Rune r
29 static string UTF8(Rune r) {
35 // Returns a vector of "interesting" UTF8 characters.
48 v.push_back(UTF8(i));
53 v.push_back(UTF8(256 + j));
56 v.push_back(UTF8(i + j));
60 v.push_back(UTF8(Runemax + j));

Completed in 542 milliseconds

1 2 3 45 6 7 8 91011>>