Home
last modified time | relevance | path

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

/third_party/icu/ohos_icu4j/src/main/java/ohos/global/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.java303 int sepIndex = dataPath.indexOf(File.pathSeparatorChar, pathStart);
305 if (sepIndex >= 0) {
306 pathLimit = sepIndex;
317 if (sepIndex < 0) {
320 pathStart = sepIndex + 1;
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
DIDNA2003.java267 int sepIndex=0; in convertIDNToASCII() local
270 sepIndex = getSeparatorIndex(srcArr,sepIndex,srcArr.length); in convertIDNToASCII()
271 String label = new String(srcArr,oldSepIndex,sepIndex-oldSepIndex); in convertIDNToASCII()
273 if(!(label.length()==0 && sepIndex==srcArr.length)){ in convertIDNToASCII()
277 if(sepIndex==srcArr.length){ in convertIDNToASCII()
282 sepIndex++; in convertIDNToASCII()
283 oldSepIndex = sepIndex; in convertIDNToASCII()
407 int sepIndex=0; in convertIDNToUnicode() local
410 sepIndex = getSeparatorIndex(srcArr,sepIndex,srcArr.length); in convertIDNToUnicode()
411 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;
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/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 …]
/third_party/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 …]
/third_party/node/lib/internal/
Dtls.js13 const sepIndex = part.indexOf('=');
14 if (sepIndex > 0) {
15 const key = part.slice(0, sepIndex);
16 const value = part.slice(sepIndex + 1);
/third_party/python/Lib/
Dgenericpath.py128 sepIndex = p.rfind(sep)
131 sepIndex = max(sepIndex, altsepIndex)
134 if dotIndex > sepIndex:
136 filenameIndex = sepIndex + 1