• Home
  • Raw
  • Download

Lines Matching refs:pErrorCode

313 haveAliasData(UErrorCode *pErrorCode) {  in haveAliasData()  argument
314 umtx_initOnce(gAliasDataInitOnce, &initAliasData, *pErrorCode); in haveAliasData()
315 return U_SUCCESS(*pErrorCode); in haveAliasData()
319 isAlias(const char *alias, UErrorCode *pErrorCode) { in isAlias() argument
321 *pErrorCode=U_ILLEGAL_ARGUMENT_ERROR; in isAlias()
552 findConverter(const char *alias, UBool *containsOption, UErrorCode *pErrorCode) { in findConverter() argument
561 *pErrorCode = U_BUFFER_OVERFLOW_ERROR; in findConverter()
599 *pErrorCode = U_AMBIGUOUS_ALIAS_WARNING; in findConverter()
645 findTaggedAliasListsOffset(const char *alias, const char *standard, UErrorCode *pErrorCode) { in findTaggedAliasListsOffset() argument
655 *pErrorCode = myErr; in findTaggedAliasListsOffset()
696 findTaggedConverterNum(const char *alias, const char *standard, UErrorCode *pErrorCode) { in findTaggedConverterNum() argument
706 *pErrorCode = myErr; in findTaggedConverterNum()
738 ucnv_io_getConverterName(const char *alias, UBool *containsOption, UErrorCode *pErrorCode) { in ucnv_io_getConverterName() argument
754 if(haveAliasData(pErrorCode) && isAlias(aliasTmp, pErrorCode)) { in ucnv_io_getConverterName()
755 uint32_t convNum = findConverter(aliasTmp, containsOption, pErrorCode); in ucnv_io_getConverterName()
837 UErrorCode *pErrorCode) in ucnv_openStandardNames() argument
840 if (haveAliasData(pErrorCode) && isAlias(convName, pErrorCode)) { in ucnv_openStandardNames()
841 uint32_t listOffset = findTaggedAliasListsOffset(convName, standard, pErrorCode); in ucnv_openStandardNames()
851 *pErrorCode = U_MEMORY_ALLOCATION_ERROR; in ucnv_openStandardNames()
857 *pErrorCode = U_MEMORY_ALLOCATION_ERROR; in ucnv_openStandardNames()
871 ucnv_io_countAliases(const char *alias, UErrorCode *pErrorCode) { in ucnv_io_countAliases() argument
872 if(haveAliasData(pErrorCode) && isAlias(alias, pErrorCode)) { in ucnv_io_countAliases()
873 uint32_t convNum = findConverter(alias, NULL, pErrorCode); in ucnv_io_countAliases()
889 ucnv_io_getAliases(const char *alias, uint16_t start, const char **aliases, UErrorCode *pErrorCode)… in ucnv_io_getAliases() argument
890 if(haveAliasData(pErrorCode) && isAlias(alias, pErrorCode)) { in ucnv_io_getAliases()
892 uint32_t convNum = findConverter(alias, NULL, pErrorCode); in ucnv_io_getAliases()
914 ucnv_io_getAlias(const char *alias, uint16_t n, UErrorCode *pErrorCode) { in ucnv_io_getAlias() argument
915 if(haveAliasData(pErrorCode) && isAlias(alias, pErrorCode)) { in ucnv_io_getAlias()
916 uint32_t convNum = findConverter(alias, NULL, pErrorCode); in ucnv_io_getAlias()
929 *pErrorCode = U_INDEX_OUTOFBOUNDS_ERROR; in ucnv_io_getAlias()
939 ucnv_io_countStandards(UErrorCode *pErrorCode) { in ucnv_io_countStandards() argument
940 if (haveAliasData(pErrorCode)) { in ucnv_io_countStandards()
949 ucnv_getStandard(uint16_t n, UErrorCode *pErrorCode) { in ucnv_getStandard() argument
950 if (haveAliasData(pErrorCode)) { in ucnv_getStandard()
954 *pErrorCode = U_INDEX_OUTOFBOUNDS_ERROR; in ucnv_getStandard()
961 ucnv_getStandardName(const char *alias, const char *standard, UErrorCode *pErrorCode) { in ucnv_getStandardName() argument
962 if (haveAliasData(pErrorCode) && isAlias(alias, pErrorCode)) { in ucnv_getStandardName()
963 uint32_t listOffset = findTaggedAliasListsOffset(alias, standard, pErrorCode); in ucnv_getStandardName()
981 ucnv_countAliases(const char *alias, UErrorCode *pErrorCode) in ucnv_countAliases() argument
983 return ucnv_io_countAliases(alias, pErrorCode); in ucnv_countAliases()
988 ucnv_getAlias(const char *alias, uint16_t n, UErrorCode *pErrorCode) in ucnv_getAlias() argument
990 return ucnv_io_getAlias(alias, n, pErrorCode); in ucnv_getAlias()
994 ucnv_getAliases(const char *alias, const char **aliases, UErrorCode *pErrorCode) in ucnv_getAliases() argument
996 ucnv_io_getAliases(alias, 0, aliases, pErrorCode); in ucnv_getAliases()
1007 ucnv_getCanonicalName(const char *alias, const char *standard, UErrorCode *pErrorCode) { in ucnv_getCanonicalName() argument
1008 if (haveAliasData(pErrorCode) && isAlias(alias, pErrorCode)) { in ucnv_getCanonicalName()
1009 uint32_t convNum = findTaggedConverterNum(alias, standard, pErrorCode); in ucnv_getCanonicalName()
1064 ucnv_openAllNames(UErrorCode *pErrorCode) { in ucnv_openAllNames() argument
1066 if (haveAliasData(pErrorCode)) { in ucnv_openAllNames()
1071 *pErrorCode = U_MEMORY_ALLOCATION_ERROR; in ucnv_openAllNames()
1077 *pErrorCode = U_MEMORY_ALLOCATION_ERROR; in ucnv_openAllNames()
1088 ucnv_io_countKnownConverters(UErrorCode *pErrorCode) { in ucnv_io_countKnownConverters() argument
1089 if (haveAliasData(pErrorCode)) { in ucnv_io_countKnownConverters()
1140 UErrorCode *pErrorCode) { in ucnv_swapAliases() argument
1155 headerSize=udata_swapDataHeader(ds, inData, length, outData, pErrorCode); in ucnv_swapAliases()
1156 if(pErrorCode==NULL || U_FAILURE(*pErrorCode)) { in ucnv_swapAliases()
1173 *pErrorCode=U_UNSUPPORTED_ERROR; in ucnv_swapAliases()
1181 *pErrorCode=U_INDEX_OUTOFBOUNDS_ERROR; in ucnv_swapAliases()
1191 *pErrorCode=U_INVALID_FORMAT_ERROR; in ucnv_swapAliases()
1219 *pErrorCode=U_INDEX_OUTOFBOUNDS_ERROR; in ucnv_swapAliases()
1226 ds->swapArray32(ds, inTable, 4*(1+tocLength), outTable, pErrorCode); in ucnv_swapAliases()
1230 outTable+offsets[stringTableIndex], pErrorCode); in ucnv_swapAliases()
1231 if(U_FAILURE(*pErrorCode)) { in ucnv_swapAliases()
1242 pErrorCode); in ucnv_swapAliases()
1257 *pErrorCode=U_MEMORY_ALLOCATION_ERROR; in ucnv_swapAliases()
1291 FALSE, pErrorCode); in ucnv_swapAliases()
1293 if(U_SUCCESS(*pErrorCode)) { in ucnv_swapAliases()
1298 ds->swapArray16(ds, p+oldIndex, 2, q+i, pErrorCode); in ucnv_swapAliases()
1299 ds->swapArray16(ds, p2+oldIndex, 2, q2+i, pErrorCode); in ucnv_swapAliases()
1311 ds->swapArray16(ds, p+oldIndex, 2, r+i, pErrorCode); in ucnv_swapAliases()
1317 ds->swapArray16(ds, p2+oldIndex, 2, r+i, pErrorCode); in ucnv_swapAliases()
1327 if(U_FAILURE(*pErrorCode)) { in ucnv_swapAliases()
1338 pErrorCode); in ucnv_swapAliases()
1343 pErrorCode); in ucnv_swapAliases()