Lines Matching refs:u8Target
516 char* u8Target = u8Temp;
526 u_strToUTF8(u8Target,u8TargetLength, &u8DestLen, uSrc, uSrcLen,&err);
529 u8Target = (char*) malloc (sizeof(uint8_t) * (u8DestLen+1));
532 u8Target[u8TargetLength] = (char)0xfe;
534 u_strToUTF8(u8Target,u8TargetLength, &u8DestLen, uSrc, uSrcLen,&err);
535 if(U_FAILURE(err) || u8DestLen != u8TargetLength || u8Target[u8TargetLength] != (char)0xfe){
546 printf("0x%04X, ",u8Target[i]);
552 if(u8Target[i] != src8[i]){
553 log_verbose("u_strToUTF8() failed expected: %04X got: %04X \n", src8[i], u8Target[i]);
560 u8Src = u8Target;
598 free(u8Target);
611 u8Target = (char*) malloc (sizeof(uint8_t) * (u8DestLen+1));
614 u_strToUTF8(u8Target,u8TargetLength, &u8DestLen, uSrc, uSrcLen,&err);
622 printf("0x%04X, ",u8Target[i]);
628 if(u8Target[i] != src8[i]){
629 log_verbose("u_strToUTF8() failed expected: %04X got: %04X \n", src8[i], u8Target[i]);
636 u8Src = u8Target;
668 free(u8Target);