• Home
  • Raw
  • Download

Lines Matching refs:src16

103 static const UChar src16[] = {  variable
152 u_strToUTF32(u32Target, 0, &u32DestLen, src16, UPRV_LENGTHOF(src16),&err); in Test_strToUTF32()
161 u_strToUTF32(u32Target, UPRV_LENGTHOF(src32)+1, &u32DestLen, src16, UPRV_LENGTHOF(src16),&err); in Test_strToUTF32()
185 u_strToUTF32(NULL,0, &u32DestLen, src16, -1,&err); in Test_strToUTF32()
194 u_strToUTF32(u32Target, UPRV_LENGTHOF(src32), &u32DestLen, src16, -1,&err); in Test_strToUTF32()
332 if(err != U_BUFFER_OVERFLOW_ERROR || uDestLen != UPRV_LENGTHOF(src16)) { in Test_strFromUTF32()
335 (long)uDestLen, (long)UPRV_LENGTHOF(src16), u_errorName(err)); in Test_strFromUTF32()
340 u_strFromUTF32(uTarget, UPRV_LENGTHOF(src16)+1,&uDestLen,src32,UPRV_LENGTHOF(src32),&err); in Test_strFromUTF32()
341 if(err != U_ZERO_ERROR || uDestLen != UPRV_LENGTHOF(src16)) { in Test_strFromUTF32()
344 (long)uDestLen, (long)UPRV_LENGTHOF(src16), u_errorName(err)); in Test_strFromUTF32()
355 if(uTarget[i] != src16[i]){ in Test_strFromUTF32()
356 …trFromUTF32(with length) failed expected: %04X got: %04X at index: %i \n", src16[i] ,uTarget[i],i); in Test_strFromUTF32()
366 if(err != U_BUFFER_OVERFLOW_ERROR || uDestLen != UPRV_LENGTHOF(src16)-1) { in Test_strFromUTF32()
369 (long)uDestLen, (long)UPRV_LENGTHOF(src16)-1, u_errorName(err)); in Test_strFromUTF32()
374 u_strFromUTF32(uTarget, UPRV_LENGTHOF(src16),&uDestLen,src32,-1,&err); in Test_strFromUTF32()
375 if(err != U_ZERO_ERROR || uDestLen != UPRV_LENGTHOF(src16)-1) { in Test_strFromUTF32()
378 (long)uDestLen, (long)UPRV_LENGTHOF(src16)-1, u_errorName(err)); in Test_strFromUTF32()
383 if(uTarget[i] != src16[i]){ in Test_strFromUTF32()
384 …e("u_strFromUTF32(with NUL-termination) failed expected: %04X got: %04X \n", src16[i] ,uTarget[i]); in Test_strFromUTF32()
514 const UChar* uSrc = src16; in Test_UChar_UTF8_API()
515 int32_t uSrcLen = sizeof(src16)/2; in Test_UChar_UTF8_API()
589 if(uTarget[i] != src16[i]){ in Test_UChar_UTF8_API()
590 …e("u_strFromUTF8() failed expected: \\u%04X got: \\u%04X at index: %i \n", src16[i] ,uTarget[i],i); in Test_UChar_UTF8_API()
659 if(uTarget[i] != src16[i]){ in Test_UChar_UTF8_API()
660 …e("u_strFromUTF8() failed expected: \\u%04X got: \\u%04X at index: %i \n", src16[i] ,uTarget[i],i); in Test_UChar_UTF8_API()