Lines Matching refs:pArgs

282 ucnv_data_unFlattenClone(UConverterLoadArgs *pArgs, UDataMemory *pData, UErrorCode *status)  in ucnv_data_unFlattenClone()  argument
339 data->impl->load(data, pArgs, raw + source->structSize, status); in ucnv_data_unFlattenClone()
353 static UConverterSharedData *createConverterFromFile(UConverterLoadArgs *pArgs, UErrorCode * err) in createConverterFromFile() argument
365 UTRACE_DATA2(UTRACE_OPEN_CLOSE, "load converter %s from package %s", pArgs->name, pArgs->pkg); in createConverterFromFile()
367 data = udata_openChoice(pArgs->pkg, DATA_TYPE, pArgs->name, isCnvAcceptable, NULL, err); in createConverterFromFile()
374 sharedData = ucnv_data_unFlattenClone(pArgs, data, err); in createConverterFromFile()
575 ucnv_load(UConverterLoadArgs *pArgs, UErrorCode *err) { in ucnv_load() argument
582 if(pArgs->pkg != NULL && *pArgs->pkg != 0) { in ucnv_load()
584 return createConverterFromFile(pArgs, err); in ucnv_load()
587 mySharedConverterData = ucnv_getSharedConverterData(pArgs->name); in ucnv_load()
591 mySharedConverterData = createConverterFromFile(pArgs, err); in ucnv_load()
596 else if (!pArgs->onlyTestIsLoadable) in ucnv_load()
670 UConverterLoadArgs *pArgs, in parseConverterOptions() argument
677 pArgs->name=inName; in parseConverterOptions()
678 pArgs->locale=pPieces->locale; in parseConverterOptions()
679 pArgs->options=pPieces->options; in parseConverterOptions()
692 pArgs->name=pPieces->cnvName; in parseConverterOptions()
725 pArgs->options=(pPieces->options&=~UCNV_OPTION_VERSION); in parseConverterOptions()
728pArgs->options=pPieces->options=(pPieces->options&~UCNV_OPTION_VERSION)|(uint32_t)(c-'0'); in parseConverterOptions()
733 pArgs->options=(pPieces->options|=UCNV_OPTION_SWAP_LFNL); in parseConverterOptions()
756 UConverterLoadArgs *pArgs, in ucnv_loadSharedData() argument
770 if(pArgs != NULL) { in ucnv_loadSharedData()
780 if(pArgs == NULL) { in ucnv_loadSharedData()
783 pArgs = &stackArgs; in ucnv_loadSharedData()
790 pArgs->name = converterName; in ucnv_loadSharedData()
791 pArgs->locale = pPieces->locale; in ucnv_loadSharedData()
792 pArgs->options = pPieces->options; in ucnv_loadSharedData()
797 pArgs->name = "UTF-8"; in ucnv_loadSharedData()
801 pArgs->name = ucnv_getDefaultName(); in ucnv_loadSharedData()
802 if (pArgs->name == NULL) { in ucnv_loadSharedData()
814 pArgs->name = "UTF-8"; in ucnv_loadSharedData()
819 parseConverterOptions(converterName, pPieces, pArgs, err); in ucnv_loadSharedData()
826 pArgs->name = ucnv_io_getConverterName(pArgs->name, &mayContainOption, &internalErrorCode); in ucnv_loadSharedData()
827 if (U_FAILURE(internalErrorCode) || pArgs->name == NULL) { in ucnv_loadSharedData()
832 pArgs->name = pPieces->cnvName; in ucnv_loadSharedData()
839 if(mayContainOption && pArgs->name != pPieces->cnvName) { in ucnv_loadSharedData()
840 parseConverterOptions(pArgs->name, pPieces, pArgs, err); in ucnv_loadSharedData()
845 mySharedConverterData = (UConverterSharedData *)getAlgorithmicTypeFromName(pArgs->name); in ucnv_loadSharedData()
854 pArgs->nestedLoads=1; in ucnv_loadSharedData()
855 pArgs->pkg=NULL; in ucnv_loadSharedData()
858 mySharedConverterData = ucnv_load(pArgs, err); in ucnv_loadSharedData()
1021 UConverterLoadArgs *pArgs, in ucnv_createConverterFromSharedData() argument
1049 myUConverter->options = pArgs->options; in ucnv_createConverterFromSharedData()
1050 if(!pArgs->onlyTestIsLoadable) { in ucnv_createConverterFromSharedData()
1064 mySharedConverterData->impl->open(myUConverter, pArgs, err); in ucnv_createConverterFromSharedData()
1065 if(U_FAILURE(*err) && !pArgs->onlyTestIsLoadable) { in ucnv_createConverterFromSharedData()