Home | History | Annotate | Download | only in cintltst

Lines Matching refs:source

42 static UBool convertFromU( const UChar *source, int sourceLen,  const uint8_t *expect, int expectLen, 
44 static UBool convertToU( const uint8_t *source, int sourceLen, const UChar *expect, int expectLen,
47 static UBool testConvertFromU( const UChar *source, int sourceLen, const uint8_t *expect, int expectLen,
49 static UBool testConvertToU( const uint8_t *source, int sourcelen, const UChar *expect, int expectlen,
684 const char* source=(const char*)input1;
692 c=ucnv_getNextUChar(cnv, &source, source + INPUT_SIZE, &err);
1006 static UBool convertFromU( const UChar *source, int sourceLen, const uint8_t *expect, int expectLen,
1034 src=source;
1095 static UBool convertToU( const uint8_t *source, int sourceLen, const UChar *expect, int expectLen,
1127 src=(const char *)source;
1171 for(i=0; i<(src-(const char *)source); i++)
1172 log_info("0x%02X,", (unsigned char)source[i]);
1192 static UBool testConvertFromU( const UChar *source, int sourceLen, const uint8_t *expect, int expectLen,
1239 src = source;
1245 realSourceEnd = source + sourceLen;
1265 log_verbose("calling fromUnicode @ SOURCE:%08lx to %08lx TARGET: %08lx to %08lx, flush=%s\n", src,sourceLimit, targ,end, doFlush?"TRUE":"FALSE");
1354 printUSeqErr(source, sourceLen);
1364 static UBool testConvertToU( const uint8_t *source, int sourcelen, const UChar *expect, int expectlen,
1413 src = (const char *)source;
1450 doFlush, /* flush if we're at the end of hte source data */
1511 for(i=0; i<(src-(const char *)source); i++)
1512 log_err("%X,", (unsigned char)source[i]);
1797 const char *source, *sourceLimit;
1815 source=(const char *)bytes;
1816 sourceLimit=source+length;
1821 ucnv_toUnicode(cnv, &target, targetLimit, &source, sourceLimit, NULL, FALSE, &errorCode);
1822 if(U_FAILURE(errorCode) || source!=sourceLimit || target!=buffer) {
1824 cnvName, length, u_errorName(errorCode), (int)(sourceLimit-source), (int)(target-buffer));
1828 source=sourceLimit;
1830 ucnv_toUnicode(cnv, &target, targetLimit, &source, sourceLimit, NULL, TRUE, &errorCode);
1840 source=(const char *)bytes;
1842 ucnv_toUnicode(cnv, &target, targetLimit, &source, sourceLimit, NULL, TRUE, &errorCode);
1843 if(errorCode!=U_TRUNCATED_CHAR_FOUND || source!=sourceLimit || target!=buffer) {
1845 cnvName, length, u_errorName(errorCode), (int)(sourceLimit-source), (int)(target-buffer));