Lines Matching refs:pErrorCode
311 haveAliasData(UErrorCode *pErrorCode) {
312 umtx_initOnce(gAliasDataInitOnce, &initAliasData, *pErrorCode);
313 return U_SUCCESS(*pErrorCode);
317 isAlias(const char *alias, UErrorCode *pErrorCode) {
319 *pErrorCode=U_ILLEGAL_ARGUMENT_ERROR;
549 findConverter(const char *alias, UBool *containsOption, UErrorCode *pErrorCode) {
558 *pErrorCode = U_BUFFER_OVERFLOW_ERROR;
596 *pErrorCode = U_AMBIGUOUS_ALIAS_WARNING;
642 findTaggedAliasListsOffset(const char *alias, const char *standard, UErrorCode *pErrorCode) {
652 *pErrorCode = myErr;
693 findTaggedConverterNum(const char *alias, const char *standard, UErrorCode *pErrorCode) {
703 *pErrorCode = myErr;
737 ucnv_io_getConverterName(const char *alias, UBool *containsOption, UErrorCode *pErrorCode) {
753 if(haveAliasData(pErrorCode) && isAlias(aliasTmp, pErrorCode)) {
754 uint32_t convNum = findConverter(aliasTmp, containsOption, pErrorCode);
768 ucnv_io_countStandardAliases(UEnumeration *enumerator, UErrorCode * /*pErrorCode*/) {
782 UErrorCode * /*pErrorCode*/)
807 ucnv_io_resetStandardAliases(UEnumeration *enumerator, UErrorCode * /*pErrorCode*/) {
831 UErrorCode *pErrorCode)
834 if (haveAliasData(pErrorCode) && isAlias(convName, pErrorCode)) {
835 uint32_t listOffset = findTaggedAliasListsOffset(convName, standard, pErrorCode);
845 *pErrorCode = U_MEMORY_ALLOCATION_ERROR;
851 *pErrorCode = U_MEMORY_ALLOCATION_ERROR;
865 ucnv_io_countAliases(const char *alias, UErrorCode *pErrorCode) {
866 if(haveAliasData(pErrorCode) && isAlias(alias, pErrorCode)) {
867 uint32_t convNum = findConverter(alias, NULL, pErrorCode);
883 ucnv_io_getAliases(const char *alias, uint16_t start, const char **aliases, UErrorCode *pErrorCode) {
884 if(haveAliasData(pErrorCode) && isAlias(alias, pErrorCode)) {
886 uint32_t convNum = findConverter(alias, NULL, pErrorCode);
908 ucnv_io_getAlias(const char *alias, uint16_t n, UErrorCode *pErrorCode) {
909 if(haveAliasData(pErrorCode) && isAlias(alias, pErrorCode)) {
910 uint32_t convNum = findConverter(alias, NULL, pErrorCode);
923 *pErrorCode = U_INDEX_OUTOFBOUNDS_ERROR;
933 ucnv_io_countStandards(UErrorCode *pErrorCode) {
934 if (haveAliasData(pErrorCode)) {
943 ucnv_getStandard(uint16_t n, UErrorCode *pErrorCode) {
944 if (haveAliasData(pErrorCode)) {
948 *pErrorCode = U_INDEX_OUTOFBOUNDS_ERROR;
955 ucnv_getStandardName(const char *alias, const char *standard, UErrorCode *pErrorCode) {
956 if (haveAliasData(pErrorCode) && isAlias(alias, pErrorCode)) {
957 uint32_t listOffset = findTaggedAliasListsOffset(alias, standard, pErrorCode);
967 /* *pErrorCode = U_INVALID_FORMAT_ERROR */
975 ucnv_countAliases(const char *alias, UErrorCode *pErrorCode)
977 return ucnv_io_countAliases(alias, pErrorCode);
982 ucnv_getAlias(const char *alias, uint16_t n, UErrorCode *pErrorCode)
984 return ucnv_io_getAlias(alias, n, pErrorCode);
988 ucnv_getAliases(const char *alias, const char **aliases, UErrorCode *pErrorCode)
990 ucnv_io_getAliases(alias, 0, aliases, pErrorCode);
1001 ucnv_getCanonicalName(const char *alias, const char *standard, UErrorCode *pErrorCode) {
1002 if (haveAliasData(pErrorCode) && isAlias(alias, pErrorCode)) {
1003 uint32_t convNum = findTaggedConverterNum(alias, standard, pErrorCode);
1014 ucnv_io_countAllConverters(UEnumeration * /*enumerator*/, UErrorCode * /*pErrorCode*/) {
1021 UErrorCode * /*pErrorCode*/)
1040 ucnv_io_resetAllConverters(UEnumeration *enumerator, UErrorCode * /*pErrorCode*/) {
1055 ucnv_openAllNames(UErrorCode *pErrorCode) {
1057 if (haveAliasData(pErrorCode)) {
1062 *pErrorCode = U_MEMORY_ALLOCATION_ERROR;
1068 *pErrorCode = U_MEMORY_ALLOCATION_ERROR;
1079 ucnv_io_countKnownConverters(UErrorCode *pErrorCode) {
1080 if (haveAliasData(pErrorCode)) {
1127 UErrorCode *pErrorCode) {
1142 headerSize=udata_swapDataHeader(ds, inData, length, outData, pErrorCode);
1143 if(pErrorCode==NULL || U_FAILURE(*pErrorCode)) {
1160 *pErrorCode=U_UNSUPPORTED_ERROR;
1168 *pErrorCode=U_INDEX_OUTOFBOUNDS_ERROR;
1178 *pErrorCode=U_INVALID_FORMAT_ERROR;
1206 *pErrorCode=U_INDEX_OUTOFBOUNDS_ERROR;
1213 ds->swapArray32(ds, inTable, 4*(1+tocLength), outTable, pErrorCode);
1217 outTable+offsets[stringTableIndex], pErrorCode);
1218 if(U_FAILURE(*pErrorCode)) {
1229 pErrorCode);
1244 *pErrorCode=U_MEMORY_ALLOCATION_ERROR;
1278 FALSE, pErrorCode);
1280 if(U_SUCCESS(*pErrorCode)) {
1285 ds->swapArray16(ds, p+oldIndex, 2, q+i, pErrorCode);
1286 ds->swapArray16(ds, p2+oldIndex, 2, q2+i, pErrorCode);
1298 ds->swapArray16(ds, p+oldIndex, 2, r+i, pErrorCode);
1304 ds->swapArray16(ds, p2+oldIndex, 2, r+i, pErrorCode);
1314 if(U_FAILURE(*pErrorCode)) {
1325 pErrorCode);
1330 pErrorCode);