Searched refs:srcArr (Results 1 – 4 of 4) sorted by relevance
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/impl/ |
D | IDNA2003.java | 266 char[] srcArr = src.toCharArray(); 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() 406 char[] srcArr = src.toCharArray(); in convertIDNToUnicode() local 411 sepIndex = getSeparatorIndex(srcArr,sepIndex,srcArr.length); in convertIDNToUnicode() 412 String label = new String(srcArr,oldSepIndex,sepIndex-oldSepIndex); in convertIDNToUnicode() 413 if(label.length()==0 && sepIndex!=srcArr.length ){ in convertIDNToUnicode() 418 if(sepIndex==srcArr.length){ in convertIDNToUnicode() [all …]
|
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/ |
D | IDNA2003.java | 265 char[] srcArr = src.toCharArray(); 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() 405 char[] srcArr = src.toCharArray(); in convertIDNToUnicode() local 410 sepIndex = getSeparatorIndex(srcArr,sepIndex,srcArr.length); in convertIDNToUnicode() 411 String label = new String(srcArr,oldSepIndex,sepIndex-oldSepIndex); in convertIDNToUnicode() 412 if(label.length()==0 && sepIndex!=srcArr.length ){ in convertIDNToUnicode() 417 if(sepIndex==srcArr.length){ in convertIDNToUnicode() [all …]
|
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/stringprep/ |
D | IDNAReference.java | 248 char[] srcArr = src.toCharArray(); 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() 357 char[] srcArr = src.toCharArray(); in convertIDNToUnicode() local 362 sepIndex = getSeparatorIndex(srcArr,sepIndex,srcArr.length); in convertIDNToUnicode() 363 String label = new String(srcArr,oldSepIndex,sepIndex-oldSepIndex); in convertIDNToUnicode() 364 if(label.length()==0 && sepIndex!=srcArr.length ){ in convertIDNToUnicode() 369 if(sepIndex==srcArr.length){ in convertIDNToUnicode()
|
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/stringprep/ |
D | IDNAReference.java | 245 char[] srcArr = src.toCharArray(); 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() 354 char[] srcArr = src.toCharArray(); in convertIDNToUnicode() local 359 sepIndex = getSeparatorIndex(srcArr,sepIndex,srcArr.length); in convertIDNToUnicode() 360 String label = new String(srcArr,oldSepIndex,sepIndex-oldSepIndex); in convertIDNToUnicode() 361 if(label.length()==0 && sepIndex!=srcArr.length ){ in convertIDNToUnicode() 366 if(sepIndex==srcArr.length){ in convertIDNToUnicode()
|