/external/webrtc/webrtc/base/ |
win32.h | 49 inline std::wstring ToUtf16(const char* utf8, size_t len) { 50 int len16 = ::MultiByteToWideChar(CP_UTF8, 0, utf8, static_cast<int>(len), 53 ::MultiByteToWideChar(CP_UTF8, 0, utf8, static_cast<int>(len), ws, len16); 84 // Convert a Utf8 path representation to a non-length-limited Unicode pathname. 85 bool Utf8ToWindowsFilename(const std::string& utf8, std::wstring* filename);
|
/prebuilts/go/darwin-x86/test/ |
alias.go | 15 "unicode/utf8" 32 utf8.RuneStart(x) // ERROR "byte"
|
/prebuilts/go/linux-x86/test/ |
alias.go | 15 "unicode/utf8" 32 utf8.RuneStart(x) // ERROR "byte"
|
/external/icu/icu4c/source/test/perf/utrie2perf/ |
utrie2perf.sh | 8 # export LD_LIBRARY_PATH=/home/mscherer/svn.icu/utf8-dev/lib:/home/mscherer/svn.icu/utf8-dev/tools/ctestfw 13 PERF=~/svn.icu/utf8-dev/test/perf/utrie2perf/utrie2perf
|
utrie2perf.cpp | 29 // Left over from when icu/branches/markus/utf8 could use both old UTrie 51 utf8(NULL), utf8Length(0), countInputCodePoints(0) { 62 // Preflight the UTF-8 length and allocate utf8. 65 utf8=(char *)malloc(utf8Length); 66 if(utf8!=NULL) { 68 u_strToUTF8(utf8, utf8Length, NULL, buffer, bufferLen, &status); 89 char *utf8; member in class:UTrie2PerfTest 166 UBool isFCD=unorm_checkFCDUTF8((const uint8_t *)testcase.utf8, testcase.utf8Length, NULL);
|
/external/libchrome/base/strings/ |
utf_string_conversions.h | 29 BASE_EXPORT std::wstring UTF8ToWide(StringPiece utf8); 39 BASE_EXPORT string16 UTF8ToUTF16(StringPiece utf8);
|
sys_string_conversions_posix.cc | 21 std::wstring SysUTF8ToWide(const StringPiece& utf8) { 25 UTF8ToWide(utf8.data(), utf8.size(), &out);
|
/external/oj-libjdwp/src/share/npt/ |
utf.h | 52 (struct UtfInst *ui, jbyte *utf8, 58 (struct UtfInst *ui, jbyte *utf8, int len,
|
npt.h | 63 (struct UtfInst *utf, jbyte *utf8, int len, 69 (struct UtfInst *utf, jbyte *utf8, int len,
|
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/framed/ |
Header.java | 54 return String.format("%s: %s", name.utf8(), value.utf8());
|
/external/v8/samples/ |
hello-world.cc | 50 // Convert the result to an UTF8 string and print it. 51 String::Utf8Value utf8(result); 52 printf("%s\n", *utf8);
|
/external/okhttp/okio/okio/src/test/java/okio/ |
ByteStringTest.java | 42 assertEquals("llo, Worl", byteString.utf8()); 72 @Test public void utf8() throws Exception { method in class:ByteStringTest 76 assertEquals(byteString.utf8(), bronzeHorseman); 197 assertEquals("", ByteString.decodeBase64("====").utf8()); 198 assertEquals("\u0000\u0000\u0000", ByteString.decodeBase64("AAAA====").utf8()); 202 assertEquals("", ByteString.decodeBase64("").utf8()); 214 + "N1cCBpbiB0aGUgcG93ZXIuLi4=").utf8()); 220 assertEquals("\u0000\u0000\u0000", ByteString.decodeBase64(" AA AA ").utf8()); 221 assertEquals("\u0000\u0000\u0000", ByteString.decodeBase64(" AA A\r\nA ").utf8()); 222 assertEquals("\u0000\u0000\u0000", ByteString.decodeBase64("AA AA").utf8()); [all...] |
/external/turbine/java/com/google/turbine/bytecode/ |
ClassReader.java | 100 String name = constantPool.utf8(attributeNameIndex); 134 signature = constantPool.utf8(reader.u2()); 151 String innerName = innerNameIndex != 0 ? constantPool.utf8(innerNameIndex) : null; 191 String annotationType = constantPool.utf8(typeIndex); 207 String key = constantPool.utf8(elementNameIndex); 240 String typeName = constantPool.utf8(typeNameIndex); 244 String constName = constantPool.utf8(constNameIndex); 254 String className = constantPool.utf8(classInfoIndex); 288 String name = constantPool.utf8(nameIndex); 290 String desc = constantPool.utf8(descriptorIndex) [all...] |
ConstantPoolReader.java | 109 return utf8(nameIndex); 113 public String utf8(int index) { method in class:ConstantPoolReader 139 return new Const.StringValue(utf8(reader.readUnsignedShort()));
|
ClassWriter.java | 63 output.writeShort(pool.utf8(method.name())); 64 output.writeShort(pool.utf8(method.descriptor())); 71 output.writeShort(pool.utf8(field.name())); 72 output.writeShort(pool.utf8(field.descriptor())); 106 case UTF8:
|
/external/icu/icu4c/source/test/perf/unisetperf/ |
unisetperf.cpp | 53 utf8(NULL), utf8Length(0), countInputCodePoints(0), spanCount(0) { 69 // Preflight the UTF-8 length and allocate utf8. 72 utf8=(char *)malloc(utf8Length); 73 if(utf8!=NULL) { 75 u_strToUTF8(utf8, utf8Length, NULL, buffer, bufferLen, &status); 124 char *utf8; member in class:UnicodeSetPerformanceTest 319 char utf8[4]; local 328 U8_APPEND_UNSAFE(utf8, length, c); 329 if(testcase.set.spanUTF8(utf8, length, USET_SPAN_CONTAINED)>0) { 343 const char *s=testcase.utf8; 365 char utf8[4]; local [all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Parser/ |
tokenizer.c | 390 PyObject* utf8 = NULL;
406 utf8 = buf;
408 if (utf8 == NULL) {
409 utf8 = PyUnicode_AsUTF8String(buf);
411 if (utf8 == NULL)
414 str = PyString_AsString(utf8);
415 utf8len = PyString_GET_SIZE(utf8);
419 Py_DECREF(utf8);
426 Py_DECREF(utf8);
590 PyObject *utf8;
local 648 PyObject* utf8 = NULL; local 770 PyObject *enc, *sysstdin, *decoded, *utf8; local [all...] |
/prebuilts/go/darwin-x86/src/strings/ |
builder.go | 8 "unicode/utf8" 100 if r < utf8.RuneSelf { 105 if cap(b.buf)-l < utf8.UTFMax { 106 b.grow(utf8.UTFMax) 108 n := utf8.EncodeRune(b.buf[l:l+utf8.UTFMax], r)
|
/prebuilts/go/linux-x86/src/strings/ |
builder.go | 8 "unicode/utf8" 100 if r < utf8.RuneSelf { 105 if cap(b.buf)-l < utf8.UTFMax { 106 b.grow(utf8.UTFMax) 108 n := utf8.EncodeRune(b.buf[l:l+utf8.UTFMax], r)
|
/external/libxkbcommon/xkbcommon/src/compose/ |
table.c | 57 darray_init(table->utf8); 62 root.u.leaf.utf8 = 0; 66 darray_append(table->utf8, '\0'); 85 darray_free(table->utf8);
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/sysroot/usr/include/pulse/ |
pulseaudio.h | 41 #include <pulse/utf8.h> 55 * operation.h,\ref volume.h, \ref xmalloc.h, \ref utf8.h, \ref
|
/system/core/adb/sysdeps/win32/ |
stat.cpp | 26 #include <android-base/utf8.h>
|
/prebuilts/go/darwin-x86/src/encoding/json/ |
fold_test.go | 11 "unicode/utf8" 89 if r >= utf8.RuneSelf { 101 buf1 = buf1[:1+utf8.EncodeRune(buf1[1:bufSize], r)] 102 buf2 = buf2[:1+utf8.EncodeRune(buf2[1:bufSize], r2)]
|
/prebuilts/go/linux-x86/src/encoding/json/ |
fold_test.go | 11 "unicode/utf8" 89 if r >= utf8.RuneSelf { 101 buf1 = buf1[:1+utf8.EncodeRune(buf1[1:bufSize], r)] 102 buf2 = buf2[:1+utf8.EncodeRune(buf2[1:bufSize], r2)]
|
/external/pcre/dist2/ |
perltest.sh | 4 # them the same. The Perl code has to have "use utf8" and "require Encode" at 5 # the start when running UTF-8 tests, but *not* for non-utf8 tests. (The 6 # "require" would actually be OK for non-utf8-tests, but is not always 10 # Perl script to Perl through a pipe. If the first argument is "-utf8", a 21 if [ $# -gt 0 -a "$1" = "-utf8" ] ; then 22 prefix="use utf8; require Encode;" 59 if ($utf8) 148 $utf8 = $mod =~ s/utf,?//; 278 # It seems that $REGMARK is not marked as UTF-8 even when use utf8 is 285 $xx = Encode::decode_utf8($xx) if $utf8; [all...] |