Lines Matching refs:pArgs
250 ucnv_data_unFlattenClone(UConverterLoadArgs *pArgs, UDataMemory *pData, UErrorCode *status) in ucnv_data_unFlattenClone() argument
307 data->impl->load(data, pArgs, raw + source->structSize, status); in ucnv_data_unFlattenClone()
321 static UConverterSharedData *createConverterFromFile(UConverterLoadArgs *pArgs, UErrorCode * err) in createConverterFromFile() argument
333 UTRACE_DATA2(UTRACE_OPEN_CLOSE, "load converter %s from package %s", pArgs->name, pArgs->pkg); in createConverterFromFile()
335 data = udata_openChoice(pArgs->pkg, DATA_TYPE, pArgs->name, isCnvAcceptable, NULL, err); in createConverterFromFile()
342 sharedData = ucnv_data_unFlattenClone(pArgs, data, err); in createConverterFromFile()
543 ucnv_load(UConverterLoadArgs *pArgs, UErrorCode *err) { in ucnv_load() argument
550 if(pArgs->pkg != NULL && *pArgs->pkg != 0) { in ucnv_load()
552 return createConverterFromFile(pArgs, err); in ucnv_load()
555 mySharedConverterData = ucnv_getSharedConverterData(pArgs->name); in ucnv_load()
559 mySharedConverterData = createConverterFromFile(pArgs, err); in ucnv_load()
564 else if (!pArgs->onlyTestIsLoadable) in ucnv_load()
638 UConverterLoadArgs *pArgs, in parseConverterOptions() argument
645 pArgs->name=inName; in parseConverterOptions()
646 pArgs->locale=pPieces->locale; in parseConverterOptions()
647 pArgs->options=pPieces->options; in parseConverterOptions()
660 pArgs->name=pPieces->cnvName; in parseConverterOptions()
693 pArgs->options=(pPieces->options&=~UCNV_OPTION_VERSION); in parseConverterOptions()
696 … pArgs->options=pPieces->options=(pPieces->options&~UCNV_OPTION_VERSION)|(uint32_t)(c-'0'); in parseConverterOptions()
701 pArgs->options=(pPieces->options|=UCNV_OPTION_SWAP_LFNL); in parseConverterOptions()
724 UConverterLoadArgs *pArgs, in ucnv_loadSharedData() argument
738 if(pArgs != NULL) { in ucnv_loadSharedData()
748 if(pArgs == NULL) { in ucnv_loadSharedData()
751 pArgs = &stackArgs; in ucnv_loadSharedData()
758 pArgs->name = converterName; in ucnv_loadSharedData()
759 pArgs->locale = pPieces->locale; in ucnv_loadSharedData()
760 pArgs->options = pPieces->options; in ucnv_loadSharedData()
765 pArgs->name = "UTF-8"; in ucnv_loadSharedData()
769 pArgs->name = ucnv_getDefaultName(); in ucnv_loadSharedData()
770 if (pArgs->name == NULL) { in ucnv_loadSharedData()
782 pArgs->name = "UTF-8"; in ucnv_loadSharedData()
787 parseConverterOptions(converterName, pPieces, pArgs, err); in ucnv_loadSharedData()
794 pArgs->name = ucnv_io_getConverterName(pArgs->name, &mayContainOption, &internalErrorCode); in ucnv_loadSharedData()
795 if (U_FAILURE(internalErrorCode) || pArgs->name == NULL) { in ucnv_loadSharedData()
800 pArgs->name = pPieces->cnvName; in ucnv_loadSharedData()
807 if(mayContainOption && pArgs->name != pPieces->cnvName) { in ucnv_loadSharedData()
808 parseConverterOptions(pArgs->name, pPieces, pArgs, err); in ucnv_loadSharedData()
813 mySharedConverterData = (UConverterSharedData *)getAlgorithmicTypeFromName(pArgs->name); in ucnv_loadSharedData()
822 pArgs->nestedLoads=1; in ucnv_loadSharedData()
823 pArgs->pkg=NULL; in ucnv_loadSharedData()
826 mySharedConverterData = ucnv_load(pArgs, err); in ucnv_loadSharedData()
989 UConverterLoadArgs *pArgs, in ucnv_createConverterFromSharedData() argument
1017 myUConverter->options = pArgs->options; in ucnv_createConverterFromSharedData()
1018 if(!pArgs->onlyTestIsLoadable) { in ucnv_createConverterFromSharedData()
1032 mySharedConverterData->impl->open(myUConverter, pArgs, err); in ucnv_createConverterFromSharedData()
1033 if(U_FAILURE(*err) && !pArgs->onlyTestIsLoadable) { in ucnv_createConverterFromSharedData()