Lines Matching refs:cp
140 UChar32 cp;
160 cp=cnv->fromUChar32;
163 sourceIndex= cp==0 ? 0 : -1;
175 if(cp!=0 && targetCapacity>0) {
265 cp=c;
266 if(!U_IS_SURROGATE(cp)) {
268 } else if(U_IS_SURROGATE_LEAD(cp)) {
275 cp=U16_GET_SUPPLEMENTARY(cp, trail);
284 cnv->fromUChar32=cp;
292 *pErrorCode= U_IS_SURROGATE(cp) ? U_ILLEGAL_CHAR_FOUND : U_INVALID_CHAR_FOUND;
293 cnv->fromUChar32=cp;