/external/ImageMagick/MagickCore/ |
xml-tree.c | 324 *utf8; 326 utf8=ConvertLatin1ToUTF8((const unsigned char *) content); 327 if (utf8 == (unsigned char *) NULL) 329 for (p=utf8; *p != '\0'; p++) 337 base64=Base64Encode(utf8,strlen((char *) utf8),&length); 338 utf8=(unsigned char *) RelinquishMagickMemory(utf8); 353 for (p=utf8; *p != '\0'; p++) 418 utf8=(unsigned char *) RelinquishMagickMemory(utf8) 317 *utf8; local 1292 *utf8; local 1948 *utf8; local [all...] |
utility-private.h | 45 Windows UTF8 compatibility methods. 49 static inline wchar_t *create_wchar_path(const char *utf8) 57 count=MultiByteToWideChar(CP_UTF8,0,utf8,-1,NULL,0); 67 (void) FormatLocaleString(buffer,MagickPathExtent,"\\\\?\\%s",utf8); 85 count=MultiByteToWideChar(CP_UTF8,0,utf8,-1,wideChar,count);
|
nt-base.c | 177 *utf8; 185 utf8=(char *) AcquireQuantumMemory(count+1,sizeof(*utf8)); 186 if (utf8 == (char *) NULL) 188 count=WideCharToMultiByte(CP_UTF8,0,wideChar,-1,utf8,count,NULL,NULL); 191 utf8=DestroyString(utf8); 194 utf8[count]=0; 195 return(utf8); 486 **utf8; 174 *utf8; local 478 **utf8; local [all...] |
/frameworks/base/media/jni/ |
android_media_MediaScanner.cpp | 64 unsigned char utf8 = *(bytes++); local 66 switch (utf8 >> 4) { 90 utf8 = *(bytes++); 91 if ((utf8 & 0xc0) != 0x80) { 98 utf8 = *(bytes++); 99 if ((utf8 & 0xc0) != 0x80) {
|
/external/avahi/avahi-common/ |
Android.mk | 17 utf8.c \
|
/external/vulkan-validation-layers/layers/ |
vk_layer_utils.cpp | 580 VkStringErrorFlags vk_string_validate(const int max_length, const char *utf8) { 586 if (utf8[i] == 0) { 588 } else if ((utf8[i] >= 0x20) && (utf8[i] < 0x7f)) { 590 } else if ((utf8[i] & UTF8_ONE_BYTE_MASK) == UTF8_ONE_BYTE_CODE) { 592 } else if ((utf8[i] & UTF8_TWO_BYTE_MASK) == UTF8_TWO_BYTE_CODE) { 594 } else if ((utf8[i] & UTF8_THREE_BYTE_MASK) == UTF8_THREE_BYTE_CODE) { 606 if ((utf8[i] & UTF8_DATA_BYTE_MASK) != UTF8_DATA_BYTE_CODE) { [all...] |
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/anqp/ |
NAIRealmData.java | 32 boolean utf8 = (payload.get() & 1) == Constants.UTF8_INDICATOR; 34 String realm = Constants.getPrefixedString(payload, 1, utf8 ?
|
/prebuilts/go/darwin-x86/src/cmd/yacc/testdata/expr/ |
expr.y | 24 "unicode/utf8" 172 c, size := utf8.DecodeRune(x.line) 174 if c == utf8.RuneError && size == 1 { 175 log.Print("invalid utf8")
|
/prebuilts/go/linux-x86/src/cmd/yacc/testdata/expr/ |
expr.y | 24 "unicode/utf8" 172 c, size := utf8.DecodeRune(x.line) 174 if c == utf8.RuneError && size == 1 { 175 log.Print("invalid utf8")
|
/external/vboot_reference/cgpt/ |
cgpt_common.c | 421 /* Convert possibly unterminated UTF16 string to UTF8. 422 * Caller must prepare enough space for UTF8, which could be up to 426 * Code point UTF16 UTF8 440 uint8_t *utf8, unsigned int maxoutput) 447 if (!utf16 || !maxinput || !utf8 || !maxoutput) 484 utf8[s8idx++] = code_point & 0x7F; 487 utf8[s8idx++] = 0xC0 | (code_point >> 6); 488 utf8[s8idx++] = 0x80 | (code_point & 0x3F); 491 utf8[s8idx++] = 0xE0 | (code_point >> 12); 492 utf8[s8idx++] = 0x80 | ((code_point >> 6) & 0x3F) [all...] |
cgpt.h | 124 /* Convert possibly unterminated UTF16 string to UTF8. 125 * Caller must prepare enough space for UTF8, which could be up to 132 uint8_t *utf8, unsigned int maxoutput); 134 /* Convert null-terminated UTF8 string to UTF16. 135 * Caller must prepare enough space for UTF16, which is the byte length of UTF8 141 int UTF8ToUTF16(const uint8_t *utf8, uint16_t *utf16, unsigned int maxoutput);
|
/development/ndk/platforms/android-21/samples/native-codec/jni/ |
native-codec-jni.cpp | 218 const char *utf8 = env->GetStringUTFChars(filename, NULL); local 219 LOGV("opening %s", utf8); 220 int fd = open(utf8, O_RDONLY); 221 env->ReleaseStringUTFChars(filename, utf8);
|
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.apache.ant_1.7.1.v20090120-1145/lib/ |
ant-netrexx.jar | |
/external/google-breakpad/src/common/windows/ |
http_upload.h | 103 // Converts a UTF8 string to UTF16. 104 static wstring UTF8ToWide(const string &utf8); 106 // Converts a UTF16 string to UTF8.
|
http_upload.cc | 359 wstring HTTPUpload::UTF8ToWide(const string &utf8) { 360 if (utf8.length() == 0) { 365 int charcount = MultiByteToWideChar(CP_UTF8, 0, utf8.c_str(), -1, NULL, 0); 373 MultiByteToWideChar(CP_UTF8, 0, utf8.c_str(), -1, buf, charcount);
|
/external/icu/icu4c/source/test/intltest/ |
convtest.h | 45 const char *utf8; member in struct:ConversionCase
|
/external/okhttp/okio/okio/src/main/java/okio/ |
ByteString.java | 56 transient String utf8; // Lazily computed. field in class:ByteString 87 byteString.utf8 = s; 92 public String utf8() { method in class:ByteString 93 String result = utf8; 95 return result != null ? result : (utf8 = new String(data, Util.UTF_8));
|
/external/webrtc/webrtc/base/ |
win32.cc | 369 bool Utf8ToWindowsFilename(const std::string& utf8, std::wstring* filename) { 376 int wlen = ::MultiByteToWideChar(CP_UTF8, 0, utf8.c_str(), 377 static_cast<int>(utf8.length() + 1), NULL, 383 if (0 == ::MultiByteToWideChar(CP_UTF8, 0, utf8.c_str(), 384 static_cast<int>(utf8.length() + 1),
|
/external/icu/icu4c/source/common/ |
ucnvlat1.c | 21 #include "unicode/utf8.h" 323 UConverter *utf8; local 332 utf8=pToUArgs->converter; 339 c=(UChar32)utf8->toUnicodeStatus; 349 utf8->toUnicodeStatus=0; 350 utf8->toULength=0; 407 utf8->toUnicodeStatus=utf8->toUBytes[0]=b=*source++; 408 utf8->toULength=1; 409 utf8->mode=U8_COUNT_TRAIL_BYTES(b)+1 [all...] |
/cts/tests/tests/mediastress/jni/ |
native-media-jni.cpp | 320 const char *utf8 = env->GetStringUTFChars(fileUri, NULL); local 321 RETURN_ON_ASSERTION_FAILURE((NULL != utf8), env, clazz); 323 RETURN_ON_ASSERTION_FAILURE(strstr(utf8, "file:///") == utf8, env, clazz); 325 file = fopen(utf8 + 7, "rb"); 366 env->ReleaseStringUTFChars(fileUri, utf8);
|
/external/javassist/src/main/javassist/bytecode/ |
ClassFileWriter.java | 557 int utf8 = addUtf8Info(jvmname); local 559 output.writeShort(utf8); 654 int utf8 = addUtf8Info(str); local 656 output.writeShort(utf8); 718 public int addUtf8Info(String utf8) { 720 output.writeUTF(utf8);
|
/external/skia/src/sfnt/ |
SkOTTable_name.cpp | 33 static void SkStringFromUTF16BE(const uint16_t* utf16be, size_t length, SkString& utf8) { 36 utf8.reset(); 40 utf8.appendUnichar(SkUTF16BE_NextUnichar(&utf16be)); 68 static void SkStringFromMacRoman(const uint8_t* macRoman, size_t length, SkString& utf8) { 69 utf8.reset(); 71 utf8.appendUnichar(macRoman[i] < 0x80 ? macRoman[i]
|
/development/ndk/platforms/android-9/samples/native-audio/jni/ |
native-audio-jni.c | 277 const char *utf8 = (*env)->GetStringUTFChars(env, uri, NULL); local 278 assert(NULL != utf8); 282 SLDataLocator_URI loc_uri = {SL_DATALOCATOR_URI, (SLchar *) utf8}; 301 (*env)->ReleaseStringUTFChars(env, uri, utf8); 573 const char *utf8 = (*env)->GetStringUTFChars(env, filename, NULL); local 574 assert(NULL != utf8); 579 AAsset* asset = AAssetManager_open(mgr, utf8, AASSET_MODE_UNKNOWN); 582 (*env)->ReleaseStringUTFChars(env, filename, utf8);
|
/external/icu/icu4c/source/test/perf/collationperf/ |
Makefile.in | 58 $(INVOKE) ./$(TARGET) -loop 200 -file $(top_srcdir)/extra/uconv/samples/utf8/utf-8-demo.txt -keygen -shifted
|
/external/expat/lib/ |
xmltok.c | 1302 char utf8[256][4]; member in struct:unknown_encoding 1349 const char *utf8; local [all...] |