Home
last modified time | relevance | path

Searched refs:sepIndex (Results 1 – 8 of 8) sorted by relevance

/external/icu/android_icu4j/src/main/java/android/icu/impl/
DIDNA2003.java269 int sepIndex=0; in convertIDNToASCII() local
272 sepIndex = getSeparatorIndex(srcArr,sepIndex,srcArr.length); in convertIDNToASCII()
273 String label = new String(srcArr,oldSepIndex,sepIndex-oldSepIndex); in convertIDNToASCII()
275 if(!(label.length()==0 && sepIndex==srcArr.length)){ in convertIDNToASCII()
279 if(sepIndex==srcArr.length){ in convertIDNToASCII()
284 sepIndex++; in convertIDNToASCII()
285 oldSepIndex = sepIndex; in convertIDNToASCII()
409 int sepIndex=0; in convertIDNToUnicode() local
412 sepIndex = getSeparatorIndex(srcArr,sepIndex,srcArr.length); in convertIDNToUnicode()
413 String label = new String(srcArr,oldSepIndex,sepIndex-oldSepIndex); in convertIDNToUnicode()
[all …]
DICUBinary.java303 int sepIndex = dataPath.indexOf(File.pathSeparatorChar, pathStart);
305 if (sepIndex >= 0) {
306 pathLimit = sepIndex;
317 if (sepIndex < 0) {
320 pathStart = sepIndex + 1;
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
DIDNA2003.java268 int sepIndex=0; in convertIDNToASCII() local
271 sepIndex = getSeparatorIndex(srcArr,sepIndex,srcArr.length); in convertIDNToASCII()
272 String label = new String(srcArr,oldSepIndex,sepIndex-oldSepIndex); in convertIDNToASCII()
274 if(!(label.length()==0 && sepIndex==srcArr.length)){ in convertIDNToASCII()
278 if(sepIndex==srcArr.length){ in convertIDNToASCII()
283 sepIndex++; in convertIDNToASCII()
284 oldSepIndex = sepIndex; in convertIDNToASCII()
408 int sepIndex=0; in convertIDNToUnicode() local
411 sepIndex = getSeparatorIndex(srcArr,sepIndex,srcArr.length); in convertIDNToUnicode()
412 String label = new String(srcArr,oldSepIndex,sepIndex-oldSepIndex); in convertIDNToUnicode()
[all …]
DICUBinary.java299 int sepIndex = dataPath.indexOf(File.pathSeparatorChar, pathStart);
301 if (sepIndex >= 0) {
302 pathLimit = sepIndex;
313 if (sepIndex < 0) {
316 pathStart = sepIndex + 1;
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/stringprep/
DIDNAReference.java250 int sepIndex=0; in convertIDNToASCII() local
253 sepIndex = getSeparatorIndex(srcArr,sepIndex,srcArr.length); in convertIDNToASCII()
254 String label = new String(srcArr,oldSepIndex,sepIndex-oldSepIndex); in convertIDNToASCII()
256 if(!(label.length()==0 && sepIndex==srcArr.length)){ in convertIDNToASCII()
260 if(sepIndex==srcArr.length){ in convertIDNToASCII()
264 sepIndex++; in convertIDNToASCII()
265 oldSepIndex = sepIndex; in convertIDNToASCII()
359 int sepIndex=0; in convertIDNToUnicode() local
362 sepIndex = getSeparatorIndex(srcArr,sepIndex,srcArr.length); in convertIDNToUnicode()
363 String label = new String(srcArr,oldSepIndex,sepIndex-oldSepIndex); in convertIDNToUnicode()
[all …]
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/stringprep/
DIDNAReference.java247 int sepIndex=0; in convertIDNToASCII() local
250 sepIndex = getSeparatorIndex(srcArr,sepIndex,srcArr.length); in convertIDNToASCII()
251 String label = new String(srcArr,oldSepIndex,sepIndex-oldSepIndex); in convertIDNToASCII()
253 if(!(label.length()==0 && sepIndex==srcArr.length)){ in convertIDNToASCII()
257 if(sepIndex==srcArr.length){ in convertIDNToASCII()
261 sepIndex++; in convertIDNToASCII()
262 oldSepIndex = sepIndex; in convertIDNToASCII()
356 int sepIndex=0; in convertIDNToUnicode() local
359 sepIndex = getSeparatorIndex(srcArr,sepIndex,srcArr.length); in convertIDNToUnicode()
360 String label = new String(srcArr,oldSepIndex,sepIndex-oldSepIndex); in convertIDNToUnicode()
[all …]
/external/python/cpython2/Lib/
Dgenericpath.py99 sepIndex = p.rfind(sep)
102 sepIndex = max(sepIndex, altsepIndex)
105 if dotIndex > sepIndex:
107 filenameIndex = sepIndex + 1
/external/python/cpython3/Lib/
Dgenericpath.py124 sepIndex = p.rfind(sep)
127 sepIndex = max(sepIndex, altsepIndex)
130 if dotIndex > sepIndex:
132 filenameIndex = sepIndex + 1