Lines Matching refs:src32
68 static const UChar32 src32[]={
153 if(err != U_BUFFER_OVERFLOW_ERROR || u32DestLen != UPRV_LENGTHOF(src32)) {
156 (long)u32DestLen, (long)UPRV_LENGTHOF(src32), u_errorName(err));
161 u_strToUTF32(u32Target, UPRV_LENGTHOF(src32)+1, &u32DestLen, src16, UPRV_LENGTHOF(src16),&err);
162 if(err != U_ZERO_ERROR || u32DestLen != UPRV_LENGTHOF(src32)) {
165 (long)u32DestLen, (long)UPRV_LENGTHOF(src32), u_errorName(err));
174 for(i=0; i< UPRV_LENGTHOF(src32); i++){
175 if(u32Target[i] != src32[i]){
176 log_verbose("u_strToUTF32(with length) failed expected: %04X got: %04X at index: %i \n", src32[i], u32Target[i],i);
186 if(err != U_BUFFER_OVERFLOW_ERROR || u32DestLen != UPRV_LENGTHOF(src32)-1) {
189 (long)u32DestLen, (long)UPRV_LENGTHOF(src32)-1, u_errorName(err));
194 u_strToUTF32(u32Target, UPRV_LENGTHOF(src32), &u32DestLen, src16, -1,&err);
195 if(err != U_ZERO_ERROR || u32DestLen != UPRV_LENGTHOF(src32)-1) {
198 (long)u32DestLen, (long)UPRV_LENGTHOF(src32)-1, u_errorName(err));
202 for(i=0; i< UPRV_LENGTHOF(src32); i++){
203 if(u32Target[i] != src32[i]){
204 log_verbose("u_strToUTF32(NUL-termination) failed expected: %04X got: %04X \n", src32[i], u32Target[i]);
331 u_strFromUTF32(uTarget,0,&uDestLen,src32,UPRV_LENGTHOF(src32),&err);
340 u_strFromUTF32(uTarget, UPRV_LENGTHOF(src16)+1,&uDestLen,src32,UPRV_LENGTHOF(src32),&err);
365 u_strFromUTF32(NULL,0,&uDestLen,src32,-1,&err);
374 u_strFromUTF32(uTarget, UPRV_LENGTHOF(src16),&uDestLen,src32,-1,&err);