/external/icu/icu4c/source/common/ |
D | unisetspan.cpp | 170 int32_t length8=0; in getUTF8Length() local 171 u_strToUTF8(NULL, 0, &length8, s, length, &errorCode); in getUTF8Length() 173 return length8; in getUTF8Length() 185 int32_t length8=0; in appendUTF8() local 186 u_strToUTF8((char *)t, capacity, &length8, s, length, &errorCode); in appendUTF8() 188 return length8; in appendUTF8() 245 int32_t length8=getUTF8Length(s16, length16); in UnicodeSetStringSpan() local 246 utf8Length+=length8; in UnicodeSetStringSpan() 247 if(length8>maxLength8) { in UnicodeSetStringSpan() 248 maxLength8=length8; in UnicodeSetStringSpan() [all …]
|
D | unistr.cpp | 930 int32_t length8; in toUTF8() local 932 u_strToUTF8WithSub(target, capacity, &length8, in toUTF8() 937 return length8; in toUTF8() 979 int32_t length8 = 0; in toUTF8() local 981 u_strToUTF8WithSub(utf8, capacity, &length8, in toUTF8() 987 utf8 = (char *)uprv_malloc(length8); in toUTF8() 991 u_strToUTF8WithSub(utf8, length8, &length8, in toUTF8() 1001 sink.Append(utf8, length8); in toUTF8()
|
D | ucnv.cpp | 483 int32_t cloneSize, length8; in ucnv_setSubstString() local 489 length8 = ucnv_fromUChars(clone, chars, (int32_t)sizeof(chars), s, length, err); in ucnv_setSubstString() 523 length8 = length * U_SIZEOF_UCHAR; in ucnv_setSubstString() 530 if (length8 > UCNV_MAX_SUBCHAR_LEN) { in ucnv_setSubstString() 545 if (length8 == 0) { in ucnv_setSubstString() 548 uprv_memcpy(cnv->subChars, subChars, length8); in ucnv_setSubstString() 550 cnv->subCharLen = (int8_t)length8; in ucnv_setSubstString()
|
/external/icu/icu4c/source/test/cintltst/ |
D | ucnvseltst.c | 450 int32_t length8, length16; in TestSelector() local 452 s = text_nextString(&text, &length8); in TestSelector() 458 s, length8, in TestSelector() 462 s, length8, in TestSelector() 467 verifyResult(ucnvsel_selectForUTF8(sel_rt, s, length8, &status), manual_rt); in TestSelector() 468 verifyResult(ucnvsel_selectForUTF8(sel_fb, s, length8, &status), manual_fb); in TestSelector() 473 u_strFromUTF8(utf16, UPRV_LENGTHOF(utf16), &length16, s, length8, &status); in TestSelector()
|
D | creststn.c | 2935 int32_t length16, length8, i16, i8; in tres_getString() local 2956 length8 = (int32_t)sizeof(buffer8); in tres_getString() 2958 s8 = ures_getUTF8StringByIndex(resB, idx, p8, &length8, forceCopy, status); in tres_getString() 2960 s8 = ures_getUTF8StringByKey(resB, key, p8, &length8, forceCopy, status); in tres_getString() 2962 s8 = ures_getUTF8String(resB, p8, &length8, forceCopy, status); in tres_getString() 2970 p8 = (char *)malloc(++length8); in tres_getString() 2975 s8 = ures_getUTF8StringByIndex(resB, idx, p8, &length8, forceCopy, status); in tres_getString() 2977 s8 = ures_getUTF8StringByKey(resB, key, p8, &length8, forceCopy, status); in tres_getString() 2979 s8 = ures_getUTF8String(resB, p8, &length8, forceCopy, status); in tres_getString() 2996 if((p8 != buffer8 || length8 < (int32_t)sizeof(buffer8)) && s8[length8] != 0) { in tres_getString() [all …]
|
/external/icu/icu4c/source/test/intltest/ |
D | usettest.cpp | 2356 int32_t length8=0; in appendUTF8() local 2357 u_strToUTF8(t, capacity, &length8, s, length, &errorCode); in appendUTF8() 2359 return length8; in appendUTF8() 2382 int32_t length8, utf8Count=0; in UnicodeSetWithStrings() local 2389 utf8Lengths[stringsLength]=length8= in UnicodeSetWithStrings() 2392 if(length8==0) { in UnicodeSetWithStrings() 2395 s8+=length8; in UnicodeSetWithStrings() 2701 int32_t length8; in containsSpanUTF8() local 2703 while((s8=iter.nextUTF8(length8))!=NULL) { in containsSpanUTF8() 2704 if(length8!=0 && length8<=(length-start) && 0==memcmp(s+start, s8, length8)) { in containsSpanUTF8() [all …]
|
D | ustrtest.cpp | 253 int32_t length8=from16.extract(0, 0x7fffffff, buffer, (uint32_t)sizeof(buffer)); in TestBasicManipulation() local 254 if(length8!=((int32_t)sizeof(utf8)-1) || 0!=uprv_memcmp(buffer, utf8, sizeof(utf8))) { in TestBasicManipulation() 257 length8=from16.extract(1, 2, buffer, (uint32_t)sizeof(buffer)); in TestBasicManipulation() 258 if(length8!=4 || buffer[length8]!=0 || 0!=uprv_memcmp(buffer, utf8+1, length8)) { in TestBasicManipulation()
|
/external/llvm-project/llvm/test/CodeGen/X86/ |
D | memcmp-minsize.ll | 257 define i32 @length8(i8* %X, i8* %Y) nounwind minsize { 258 ; X86-LABEL: length8: 268 ; X64-LABEL: length8:
|
D | memcmp-optsize.ll | 333 define i32 @length8(i8* %X, i8* %Y) nounwind optsize { 334 ; X86-LABEL: length8: 362 ; X64-LABEL: length8:
|
D | memcmp-pgso.ll | 333 define i32 @length8(i8* %X, i8* %Y) nounwind !prof !14 { 334 ; X86-LABEL: length8: 362 ; X64-LABEL: length8:
|
D | memcmp.ll | 766 define i32 @length8(i8* %X, i8* %Y) nounwind { 767 ; X86-LABEL: length8: 795 ; X64-LABEL: length8:
|
D | memcmp-more-load-pairs.ll | 720 define i32 @length8(i8* %X, i8* %Y) nounwind { 721 ; X86-LABEL: length8: 749 ; X64-LABEL: length8:
|
/external/icu/icu4c/source/test/perf/collperf2/ |
D | collperf2.cpp | 1367 int32_t length8; in getData8FromData16() local 1368 u_strToUTF8(NULL, 0, &length8, s16, length16, &status); in getData8FromData16() 1374 int32_t capacity8 = length8 + 1; // plus terminal NULL in getData8FromData16()
|