/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 | 931 int32_t length8; in toUTF8() local 933 u_strToUTF8WithSub(target, capacity, &length8, in toUTF8() 938 return length8; in toUTF8() 980 int32_t length8 = 0; in toUTF8() local 982 u_strToUTF8WithSub(utf8, capacity, &length8, in toUTF8() 988 utf8 = (char *)uprv_malloc(length8); in toUTF8() 992 u_strToUTF8WithSub(utf8, length8, &length8, in toUTF8() 1002 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 | 2879 int32_t length16, length8, i16, i8; in tres_getString() local 2900 length8 = (int32_t)sizeof(buffer8); in tres_getString() 2902 s8 = ures_getUTF8StringByIndex(resB, idx, p8, &length8, forceCopy, status); in tres_getString() 2904 s8 = ures_getUTF8StringByKey(resB, key, p8, &length8, forceCopy, status); in tres_getString() 2906 s8 = ures_getUTF8String(resB, p8, &length8, forceCopy, status); in tres_getString() 2914 p8 = (char *)malloc(++length8); in tres_getString() 2919 s8 = ures_getUTF8StringByIndex(resB, idx, p8, &length8, forceCopy, status); in tres_getString() 2921 s8 = ures_getUTF8StringByKey(resB, key, p8, &length8, forceCopy, status); in tres_getString() 2923 s8 = ures_getUTF8String(resB, p8, &length8, forceCopy, status); in tres_getString() 2940 if((p8 != buffer8 || length8 < sizeof(buffer8)) && s8[length8] != 0) { in tres_getString() [all …]
|
/external/icu/icu4c/source/test/intltest/ |
D | usettest.cpp | 2350 int32_t length8=0; in appendUTF8() local 2351 u_strToUTF8(t, capacity, &length8, s, length, &errorCode); in appendUTF8() 2353 return length8; in appendUTF8() 2376 int32_t length8, utf8Count=0; in UnicodeSetWithStrings() local 2383 utf8Lengths[stringsLength]=length8= in UnicodeSetWithStrings() 2386 if(length8==0) { in UnicodeSetWithStrings() 2389 s8+=length8; in UnicodeSetWithStrings() 2695 int32_t length8; in containsSpanUTF8() local 2697 while((s8=iter.nextUTF8(length8))!=NULL) { in containsSpanUTF8() 2698 if(length8!=0 && length8<=(length-start) && 0==memcmp(s+start, s8, length8)) { in containsSpanUTF8() [all …]
|
D | ustrtest.cpp | 250 int32_t length8=from16.extract(0, 0x7fffffff, buffer, (uint32_t)sizeof(buffer)); in TestBasicManipulation() local 251 if(length8!=((int32_t)sizeof(utf8)-1) || 0!=uprv_memcmp(buffer, utf8, sizeof(utf8))) { in TestBasicManipulation() 254 length8=from16.extract(1, 2, buffer, (uint32_t)sizeof(buffer)); in TestBasicManipulation() 255 if(length8!=4 || buffer[length8]!=0 || 0!=uprv_memcmp(buffer, utf8+1, length8)) { in TestBasicManipulation()
|
/external/swiftshader/third_party/llvm-7.0/llvm/test/CodeGen/X86/ |
D | memcmp-minsize.ll | 256 define i32 @length8(i8* %X, i8* %Y) nounwind minsize { 257 ; X86-LABEL: length8: 267 ; X64-LABEL: length8:
|
D | memcmp-optsize.ll | 331 define i32 @length8(i8* %X, i8* %Y) nounwind optsize { 332 ; X86-LABEL: length8: 360 ; X64-LABEL: length8:
|
D | memcmp.ll | 362 define i32 @length8(i8* %X, i8* %Y) nounwind { 363 ; X86-LABEL: length8: 391 ; 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()
|
/external/syzkaller/sys/test/ |
D | test.txt | 220 test$length8(a0 ptr[in, syz_length_complex_struct])
|