Home
last modified time | relevance | path

Searched refs:mappingData (Results 1 – 7 of 7) sorted by relevance

/external/icu/icu4c/source/test/intltest/
Dtestidn.cpp71 static const uint16_t *mappingData = NULL; variable
97 mappingData = profile->mappingData; in testData()
360 length = mappingData[index++]; in compareMapping()
384 if(mappingData[index+i] != (uint16_t)mapping[i]){ in compareMapping()
385 …d not get the expected result. Expected: 0x%04X Got: 0x%04X \n", mapping[i], mappingData[index+i]); in compareMapping()
390 if(mappingData[index+i] != lead || in compareMapping()
391 mappingData[index+i+1] != trail){ in compareMapping()
392 … Expected: 0x%04X 0x%04X Got: 0x%04X 0x%04X", lead, trail, mappingData[index+i], mappingData[inde… in compareMapping()
/external/icu/icu4c/source/test/cintltst/
Dsprpdata.c158 const uint16_t* mappingData = data->mappingData; in compareMapping() local
185 length = mappingData[idx++]; in compareMapping()
208 if(mappingData[idx+i] != (uint16_t)mapping[i]){ in compareMapping()
209 …Did not get the expected result. Expected: 0x%04X Got: 0x%04X \n", mapping[i], mappingData[idx+i]); in compareMapping()
214 if(mappingData[idx+i] != lead || in compareMapping()
215 mappingData[idx+i+1] != trail){ in compareMapping()
216 …Expected: 0x%04X 0x%04X Got: 0x%04X 0x%04X\n", lead, trail, mappingData[idx+i], mappingData[idx+i… in compareMapping()
/external/icu/icu4c/source/tools/gensprep/
Dstore.c155 static uint16_t* mappingData= NULL; variable
258 mappingData = (uint16_t*) uprv_calloc(mappingDataCapacity, U_SIZEOF_UCHAR); in storeMappingData()
328 mappingData[currentIndex++] = (uint16_t) mappingLength; in storeMappingData()
331 u_memmove(mappingData+currentIndex, value->mapping, value->length); in storeMappingData()
603 udata_writeBlock(pData, mappingData, indexes[_SPREP_INDEX_MAPPING_DATA_SIZE]); in generateData()
635 uprv_free(mappingData); in cleanUpData()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DStringPrep.java229 private char[] mappingData; field in StringPrep
286 mappingData = reader.read(indexes[INDEX_MAPPING_DATA_SIZE]/2); in StringPrep()
425 length = mappingData[index++]; in map()
428 dest.append(mappingData,index,length); in map()
/external/icu/android_icu4j/src/main/java/android/icu/text/
DStringPrep.java217 private char[] mappingData; field in StringPrep
273 mappingData = reader.read(indexes[INDEX_MAPPING_DATA_SIZE]/2); in StringPrep()
412 length = mappingData[index++]; in map()
415 dest.append(mappingData,index,length); in map()
/external/icu/icu4c/source/common/
Dsprpimpl.h91 const uint16_t* mappingData; member
Dusprep.cpp273 …profile->mappingData=(uint16_t *)((uint8_t *)(p+_SPREP_INDEX_TOP)+profile->indexes[_SPREP_INDEX_TR… in loadData()
561 length = profile->mappingData[index++]; in usprep_map()
568 dest[destIndex] = profile->mappingData[index+i]; in usprep_map()