Home
last modified time | relevance | path

Searched refs:labelLen (Results 1 – 4 of 4) sorted by relevance

/external/mesa3d/src/mesa/main/
Dobjectlabel.c95 int labelLen = 0; in copy_label() local
108 labelLen = strlen(src); in copy_label()
112 *length = labelLen; in copy_label()
118 if (bufSize <= labelLen) in copy_label()
119 labelLen = bufSize - 1; in copy_label()
121 memcpy(dst, src, labelLen); in copy_label()
124 dst[labelLen] = '\0'; in copy_label()
128 *length = labelLen; in copy_label()
/external/icu/icu4c/source/test/intltest/
Didnaref.cpp713 int32_t b1Len, labelLen; in idnaref_IDNToASCII() local
736 labelLen = getNextSeparator(labelStart, -1, prep, &delimiter, &done, status); in idnaref_IDNToASCII()
738 if(!(labelLen==0 && done)){// make sure this is not a root label separator. in idnaref_IDNToASCII()
740 b1Len = idnaref_toASCII(labelStart, labelLen, b1, b1Capacity, in idnaref_IDNToASCII()
754 b1Len = idnaref_toASCII(labelStart, labelLen, b1, b1Len, in idnaref_IDNToASCII()
788 labelLen = getNextSeparator(labelStart, remainingLen, prep, &delimiter, &done, status); in idnaref_IDNToASCII()
790 b1Len = idnaref_toASCII(labelStart, labelLen, b1, b1Capacity, in idnaref_IDNToASCII()
804 b1Len = idnaref_toASCII(labelStart, labelLen, b1, b1Len, in idnaref_IDNToASCII()
869 int32_t b1Len, labelLen; in idnaref_IDNToUnicode() local
890 labelLen = getNextSeparator(labelStart, -1, prep, &delimiter, &done, status); in idnaref_IDNToUnicode()
[all …]
Dtestidna.cpp882 int32_t labelLen=0;
890 labelLen = getNextSeperator(start,srcLen,&limit);
892 labelLen=getNextSeperator(start,srcLen-labelLen,&limit);
893 int32_t destLen = u_strToPunycode(dest,destCapacity,start,labelLen,caseFlags, &status);
/external/icu/icu4c/source/common/
Duidna.cpp697 int32_t labelLen = 0, labelReqLength = 0; in uidna_IDNToASCII() local
703 labelLen = getNextSeparator(labelStart,remainingLen, &delimiter,&done); in uidna_IDNToASCII()
705 if(!(labelLen==0 && done)){// make sure this is not a root label separator. in uidna_IDNToASCII()
707 labelReqLength = _internal_toASCII( labelStart, labelLen, in uidna_IDNToASCII()
790 int32_t labelLen = 0, labelReqLength = 0; in uidna_IDNToUnicode() local
795 labelLen = getNextSeparator(labelStart,remainingLen, &delimiter,&done); in uidna_IDNToUnicode()
808 labelReqLength = _internal_toUnicode(labelStart, labelLen, in uidna_IDNToUnicode()
839 *currentDest++ = *(labelStart + labelLen); in uidna_IDNToUnicode()