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.cpp702 int32_t b1Len, labelLen; in idnaref_IDNToASCII() local
725 labelLen = getNextSeparator(labelStart, -1, prep, &delimiter, &done, status); in idnaref_IDNToASCII()
727 if(!(labelLen==0 && done)){// make sure this is not a root label separator. in idnaref_IDNToASCII()
729 b1Len = idnaref_toASCII(labelStart, labelLen, b1, b1Capacity, in idnaref_IDNToASCII()
743 b1Len = idnaref_toASCII(labelStart, labelLen, b1, b1Len, in idnaref_IDNToASCII()
777 labelLen = getNextSeparator(labelStart, remainingLen, prep, &delimiter, &done, status); in idnaref_IDNToASCII()
779 b1Len = idnaref_toASCII(labelStart, labelLen, b1, b1Capacity, in idnaref_IDNToASCII()
793 b1Len = idnaref_toASCII(labelStart, labelLen, b1, b1Len, in idnaref_IDNToASCII()
858 int32_t b1Len, labelLen; in idnaref_IDNToUnicode() local
879 labelLen = getNextSeparator(labelStart, -1, prep, &delimiter, &done, status); in idnaref_IDNToUnicode()
[all …]
Dtestidna.cpp877 int32_t labelLen=0;
885 labelLen = getNextSeperator(start,srcLen,&limit);
887 labelLen=getNextSeperator(start,srcLen-labelLen,&limit);
888 int32_t destLen = u_strToPunycode(dest,destCapacity,start,labelLen,caseFlags, &status);
/external/icu/icu4c/source/common/
Duidna.cpp698 int32_t labelLen = 0, labelReqLength = 0; in uidna_IDNToASCII() local
704 labelLen = getNextSeparator(labelStart,remainingLen, &delimiter,&done); in uidna_IDNToASCII()
706 if(!(labelLen==0 && done)){// make sure this is not a root label separator. in uidna_IDNToASCII()
708 labelReqLength = _internal_toASCII( labelStart, labelLen, in uidna_IDNToASCII()
791 int32_t labelLen = 0, labelReqLength = 0; in uidna_IDNToUnicode() local
796 labelLen = getNextSeparator(labelStart,remainingLen, &delimiter,&done); in uidna_IDNToUnicode()
809 labelReqLength = _internal_toUnicode(labelStart, labelLen, in uidna_IDNToUnicode()
840 *currentDest++ = *(labelStart + labelLen); in uidna_IDNToUnicode()