Searched refs:utf8Length (Results 1 - 13 of 13) sorted by relevance

/macosx-10.10.1/ICU-531.30/icuSources/test/perf/utrie2perf/
H A Dutrie2perf.cpp49 utf8(NULL), utf8Length(0), countInputCodePoints(0) {
61 u_strToUTF8(NULL, 0, &utf8Length, buffer, bufferLen, &status);
63 utf8=(char *)malloc(utf8Length);
66 u_strToUTF8(utf8, utf8Length, NULL, buffer, bufferLen, &status);
75 (long)countInputCodePoints, (long)bufferLen, (long)utf8Length,
76 (double)utf8Length/countInputCodePoints);
88 int32_t utf8Length; member in class:UTrie2PerfTest
164 UBool isFCD=unorm_checkFCDUTF8((const uint8_t *)testcase.utf8, testcase.utf8Length, NULL);
/macosx-10.10.1/ICU-531.30/icuSources/test/perf/unisetperf/
H A Dunisetperf.cpp50 utf8(NULL), utf8Length(0), countInputCodePoints(0), spanCount(0) {
67 u_strToUTF8(NULL, 0, &utf8Length, buffer, bufferLen, &status);
69 utf8=(char *)malloc(utf8Length);
72 u_strToUTF8(utf8, utf8Length, NULL, buffer, bufferLen, &status);
81 (long)countInputCodePoints, (long)bufferLen, (long)utf8Length, (long)spanCount,
82 (double)countInputCodePoints/spanCount, (double)bufferLen/spanCount, (double)utf8Length/spanCount,
83 (double)utf8Length/countInputCodePoints);
122 int32_t utf8Length; member in class:UnicodeSetPerformanceTest
341 int32_t length=testcase.utf8Length;
387 int32_t length=testcase.utf8Length;
[all...]
/macosx-10.10.1/ICU-531.30/icuSources/test/intltest/
H A Dconvtest.h46 int32_t utf8Length; member in struct:ConversionCase
H A Dconvtest.cpp1173 utf8Limit=source+cc.utf8Length;
1406 u_strToUTF8(utf8, LENGTHOF(utf8), &cc.utf8Length,
1413 cc.utf8Length=-1;
1465 if(cc.utf8Length>=0) {
/macosx-10.10.1/Security-57031.1.35/Security/utilities/src/
H A DSecCFWrappers.c39 void CFStringPerformWithCStringAndLength(CFStringRef inStr, void(^operation)(const char *utf8String, size_t utf8Length)) { argument
H A DSecCFWrappers.h321 void CFStringPerformWithCStringAndLength(CFStringRef inStr, void(^operation)(const char *utf8Str, size_t utf8Length));
376 CFStringPerformWithCStringAndLength(inStr, ^(const char *utf8Str, size_t utf8Length) {
377 fwrite(utf8Str, 1, utf8Length, file);
/macosx-10.10.1/Security-57031.1.35/Security/utilities/utilities/
H A DSecCFWrappers.c39 void CFStringPerformWithCStringAndLength(CFStringRef inStr, void(^operation)(const char *utf8String, size_t utf8Length)) { argument
H A DSecCFWrappers.h321 void CFStringPerformWithCStringAndLength(CFStringRef inStr, void(^operation)(const char *utf8Str, size_t utf8Length));
376 CFStringPerformWithCStringAndLength(inStr, ^(const char *utf8Str, size_t utf8Length) {
377 fwrite(utf8Str, 1, utf8Length, file);
/macosx-10.10.1/ICU-531.30/icuSources/test/perf/utfperf/
H A Dutfperf.cpp39 static int32_t utf8Length, encodedLength, outputLength, countInputCodePoints; variable
89 u_strToUTF8(utf8, (int32_t)sizeof(utf8), &utf8Length, buffer, bufferLen, &status);
268 input8(utf8), input8Length(utf8Length) {
/macosx-10.10.1/ICU-531.30/icuSources/common/
H A Dunisetspan.cpp207 utf8Length(0),
244 utf8Length+=length8;
269 allocSize=stringsLength*(4+1+1+1+1)+utf8Length;
274 allocSize+=stringsLength*4+utf8Length;
329 int32_t length8=appendUTF8(s16, length16, s8, utf8Length-utf8Count);
367 int32_t length8=appendUTF8(s16, length16, s8, utf8Length-utf8Count);
395 utf8Length(otherStringSpan.utf8Length),
407 int32_t allocSize=stringsLength*(4+1+1+1+1)+utf8Length;
H A Dunisetspan.h125 int32_t utf8Length; member in class:UnicodeSetStringSpan
/macosx-10.10.1/ICU-531.30/icuSources/test/cintltst/
H A Dccapitst.c2499 int32_t utf8Length; local
2531 utf8Length=charUTF8Length+length;
2540 &source, utf8+utf8Length,
2565 int32_t utf8Length, expectLength; local
2581 utf8Length=charUTF8Length;
2588 memcpy(utf8+utf8Length, badUTF8[i], length);
2589 utf8Length+=length;
2591 memcpy(utf8+utf8Length, charUTF8, charUTF8Length);
2592 utf8Length+=charUTF8Length;
2603 utf8, utf8Length,
[all...]
/macosx-10.10.1/msdosfs-209.1.1/userfs_plugin/
H A Dmsdosfs.c900 static errno_t utf8_to_unistr255(const uint8_t *utf8, size_t utf8Length, struct unistr255 *unicode) argument
906 for (i = 0; i < utf8Length; ++i)
916 if (utf8Length - i >= 2 && (utf8[i+1] & 0xC0) == 0x80)
929 if (utf8Length - i >= 3 && (utf8[i+1] & 0xC0) == 0x80 && (utf8[i+2] & 0xC0) == 0x80)
946 if (utf8Length - i >= 4 && (utf8[i+1] & 0xC0) == 0x80 && (utf8[i+2] & 0xC0) == 0x80 && (utf8[i+3] & 0xC0) == 0x80)

Completed in 117 milliseconds