Lines Matching refs:mapping
37 compareMapping(UStringPrepProfile* data, uint32_t codepoint, uint32_t* mapping, int32_t mapLength,
50 uint32_t mapping[40];
79 /* parse the mapping string */
80 length=u_parseCodePoints(map, mapping, sizeof(mapping)/4, pErrorCode);
82 /* compare the mapping */
83 compareMapping(data, code,mapping, length,USPREP_MAP);
116 * Initial value stored in the mapping table
147 compareMapping(UStringPrepProfile* data, uint32_t codepoint, uint32_t* mapping,int32_t mapLength,
192 if(mapping[j] > 0xFFFF){
205 if(mapping[i] <= 0xFFFF){
206 if(mappingData[idx+i] != (uint16_t)mapping[i]){
207 log_err("Did not get the expected result. Expected: 0x%04X Got: 0x%04X \n", mapping[i], mappingData[idx+i]);
210 UChar lead = U16_LEAD(mapping[i]);
211 UChar trail = U16_TRAIL(mapping[i]);
219 if(retType!=USPREP_DELETE && (codepoint-delta) != (uint16_t)mapping[0]){
220 log_err("Did not get the expected result. Expected: 0x%04X Got: 0x%04X \n", mapping[0],(codepoint-delta));