Home
last modified time | relevance | path

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

/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/stringprep/
DIDNAReference.java22 private static final int ACE_PREFIX_LENGTH = 4; field in IDNAReference
44 if(src.length() < ACE_PREFIX_LENGTH){ in startsWithPrefix()
47 for(int i=0; i<ACE_PREFIX_LENGTH;i++){ in startsWithPrefix()
219 dest.append(ACE_PREFIX,0,ACE_PREFIX_LENGTH); in convertToASCII()
317 String temp = processOut.substring(ACE_PREFIX_LENGTH, processOut.length()); in convertToUnicode()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/stringprep/
DIDNAReference.java21 private static final int ACE_PREFIX_LENGTH = 4; field in IDNAReference
43 if(src.length() < ACE_PREFIX_LENGTH){ in startsWithPrefix()
46 for(int i=0; i<ACE_PREFIX_LENGTH;i++){ in startsWithPrefix()
218 dest.append(ACE_PREFIX,0,ACE_PREFIX_LENGTH); in convertToASCII()
316 String temp = processOut.substring(ACE_PREFIX_LENGTH, processOut.length()); in convertToUnicode()
/external/icu/icu4c/source/common/
Duidna.cpp32 #define ACE_PREFIX_LENGTH 4 macro
60 if(srcLength < ACE_PREFIX_LENGTH){ in startsWithPrefix()
64 for(int8_t i=0; i< ACE_PREFIX_LENGTH; i++){ in startsWithPrefix()
358 reqLength = b2Len+ACE_PREFIX_LENGTH; in _internal_toASCII()
365 uprv_memcpy(dest,ACE_PREFIX,ACE_PREFIX_LENGTH * U_SIZEOF_UCHAR); in _internal_toASCII()
367 uprv_memcpy(dest+ACE_PREFIX_LENGTH, b2, b2Len * U_SIZEOF_UCHAR); in _internal_toASCII()
491 b1Prime = b1 + ACE_PREFIX_LENGTH; in _internal_toUnicode()
492 b1PrimeLen = b1Len - ACE_PREFIX_LENGTH; in _internal_toUnicode()
/external/icu/icu4c/source/test/intltest/
Didnaref.cpp32 #define ACE_PREFIX_LENGTH 4 macro
50 if(srcLength < ACE_PREFIX_LENGTH){ in startsWithPrefix()
54 for(int8_t i=0; i< ACE_PREFIX_LENGTH; i++){ in startsWithPrefix()
376 reqLength = b2Len+ACE_PREFIX_LENGTH; in idnaref_toASCII()
383 uprv_memcpy(dest,ACE_PREFIX,ACE_PREFIX_LENGTH * U_SIZEOF_UCHAR); in idnaref_toASCII()
385 uprv_memcpy(dest+ACE_PREFIX_LENGTH, b2, b2Len * U_SIZEOF_UCHAR); in idnaref_toASCII()
524 b1Prime = b1 + ACE_PREFIX_LENGTH; in idnaref_toUnicode()
525 b1PrimeLen = b1Len - ACE_PREFIX_LENGTH; in idnaref_toUnicode()