Home
last modified time | relevance | path

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

/third_party/icu/icu4c/source/test/cintltst/
Dsprpdata.c161 const uint16_t* mappingData = data->mappingData; in compareMapping() local
188 length = mappingData[idx++]; in compareMapping()
211 if(mappingData[idx+i] != (uint16_t)mapping[i]){ in compareMapping()
212 …Did not get the expected result. Expected: 0x%04X Got: 0x%04X \n", mapping[i], mappingData[idx+i]); in compareMapping()
217 if(mappingData[idx+i] != lead || in compareMapping()
218 mappingData[idx+i+1] != trail){ in compareMapping()
219 …Expected: 0x%04X 0x%04X Got: 0x%04X 0x%04X\n", lead, trail, mappingData[idx+i], mappingData[idx+i… in compareMapping()
/third_party/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()
/third_party/skia/third_party/externals/icu/source/tools/gensprep/
Dstore.c156 static uint16_t* mappingData= NULL; variable
259 mappingData = (uint16_t*) uprv_calloc(mappingDataCapacity, U_SIZEOF_UCHAR); in storeMappingData()
329 mappingData[currentIndex++] = (uint16_t) mappingLength; in storeMappingData()
332 u_memmove(mappingData+currentIndex, value->mapping, value->length); in storeMappingData()
606 udata_writeBlock(pData, mappingData, indexes[_SPREP_INDEX_MAPPING_DATA_SIZE]); in generateData()
638 uprv_free(mappingData); in cleanUpData()
/third_party/icu/icu4c/source/tools/gensprep/
Dstore.c157 static uint16_t* mappingData= NULL; variable
260 mappingData = (uint16_t*) uprv_calloc(mappingDataCapacity, U_SIZEOF_UCHAR); in storeMappingData()
330 mappingData[currentIndex++] = (uint16_t) mappingLength; in storeMappingData()
333 u_memmove(mappingData+currentIndex, value->mapping, value->length); in storeMappingData()
607 udata_writeBlock(pData, mappingData, indexes[_SPREP_INDEX_MAPPING_DATA_SIZE]); in generateData()
639 uprv_free(mappingData); in cleanUpData()
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/text/
DStringPrep.java214 private char[] mappingData; field in StringPrep
270 mappingData = reader.read(indexes[INDEX_MAPPING_DATA_SIZE]/2); in StringPrep()
408 length = mappingData[index++]; in map()
411 dest.append(mappingData,index,length); in map()
/third_party/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()
/third_party/skia/third_party/externals/icu/source/common/
Dsprpimpl.h91 const uint16_t* mappingData; member
Dusprep.cpp272 …profile->mappingData=(uint16_t *)((uint8_t *)(p+_SPREP_INDEX_TOP)+profile->indexes[_SPREP_INDEX_TR… in loadData()
560 length = profile->mappingData[index++]; in usprep_map()
567 dest[destIndex] = profile->mappingData[index+i]; in usprep_map()
/third_party/node/deps/icu-small/source/common/
Dsprpimpl.h91 const uint16_t* mappingData; member
Dusprep.cpp272 …profile->mappingData=(uint16_t *)((uint8_t *)(p+_SPREP_INDEX_TOP)+profile->indexes[_SPREP_INDEX_TR… in loadData()
560 length = profile->mappingData[index++]; in usprep_map()
567 dest[destIndex] = profile->mappingData[index+i]; in usprep_map()
/third_party/icu/icu4c/source/common/
Dsprpimpl.h91 const uint16_t* mappingData; member
Dusprep.cpp272 …profile->mappingData=(uint16_t *)((uint8_t *)(p+_SPREP_INDEX_TOP)+profile->indexes[_SPREP_INDEX_TR… in loadData()
560 length = profile->mappingData[index++]; in usprep_map()
567 dest[destIndex] = profile->mappingData[index+i]; in usprep_map()