• Home
  • Raw
  • Download

Lines Matching refs:pArgs

289 ucnv_data_unFlattenClone(UConverterLoadArgs *pArgs, UDataMemory *pData, UErrorCode *status)  in ucnv_data_unFlattenClone()  argument
327 data->impl->load(data, pArgs, raw + source->structSize, status); in ucnv_data_unFlattenClone()
340 static UConverterSharedData *createConverterFromFile(UConverterLoadArgs *pArgs, UErrorCode * err) in createConverterFromFile() argument
352 UTRACE_DATA2(UTRACE_OPEN_CLOSE, "load converter %s from package %s", pArgs->name, pArgs->pkg); in createConverterFromFile()
354 data = udata_openChoice(pArgs->pkg, DATA_TYPE, pArgs->name, isCnvAcceptable, NULL, err); in createConverterFromFile()
361 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()
628 UConverterLoadArgs *pArgs, in parseConverterOptions() argument
635 pArgs->name=inName; in parseConverterOptions()
636 pArgs->locale=pPieces->locale; in parseConverterOptions()
637 pArgs->options=pPieces->options; in parseConverterOptions()
650 pArgs->name=pPieces->cnvName; in parseConverterOptions()
683 pArgs->options=(pPieces->options&=~UCNV_OPTION_VERSION); in parseConverterOptions()
686pArgs->options=pPieces->options=(pPieces->options&~UCNV_OPTION_VERSION)|(uint32_t)(c-'0'); in parseConverterOptions()
691 pArgs->options=(pPieces->options|=UCNV_OPTION_SWAP_LFNL); in parseConverterOptions()
714 UConverterLoadArgs *pArgs, in ucnv_loadSharedData() argument
728 if(pArgs != NULL) { in ucnv_loadSharedData()
738 if(pArgs == NULL) { in ucnv_loadSharedData()
741 pArgs = &stackArgs; in ucnv_loadSharedData()
748 pArgs->name = converterName; in ucnv_loadSharedData()
749 pArgs->locale = pPieces->locale; in ucnv_loadSharedData()
750 pArgs->options = pPieces->options; in ucnv_loadSharedData()
755 pArgs->name = "UTF-8"; in ucnv_loadSharedData()
759 pArgs->name = ucnv_getDefaultName(); in ucnv_loadSharedData()
760 if (pArgs->name == NULL) { in ucnv_loadSharedData()
772 pArgs->name = "UTF-8"; in ucnv_loadSharedData()
777 parseConverterOptions(converterName, pPieces, pArgs, err); in ucnv_loadSharedData()
784 pArgs->name = ucnv_io_getConverterName(pArgs->name, &mayContainOption, &internalErrorCode); in ucnv_loadSharedData()
785 if (U_FAILURE(internalErrorCode) || pArgs->name == NULL) { in ucnv_loadSharedData()
790 pArgs->name = pPieces->cnvName; in ucnv_loadSharedData()
797 if(mayContainOption && pArgs->name != pPieces->cnvName) { in ucnv_loadSharedData()
798 parseConverterOptions(pArgs->name, pPieces, pArgs, err); in ucnv_loadSharedData()
803 mySharedConverterData = (UConverterSharedData *)getAlgorithmicTypeFromName(pArgs->name); in ucnv_loadSharedData()
812 pArgs->nestedLoads=1; in ucnv_loadSharedData()
813 pArgs->pkg=NULL; in ucnv_loadSharedData()
816 mySharedConverterData = ucnv_load(pArgs, err); in ucnv_loadSharedData()
974 UConverterLoadArgs *pArgs, in ucnv_createConverterFromSharedData() argument
1002 myUConverter->options = pArgs->options; in ucnv_createConverterFromSharedData()
1003 if(!pArgs->onlyTestIsLoadable) { in ucnv_createConverterFromSharedData()
1017 mySharedConverterData->impl->open(myUConverter, pArgs, err); in ucnv_createConverterFromSharedData()
1018 if(U_FAILURE(*err) && !pArgs->onlyTestIsLoadable) { in ucnv_createConverterFromSharedData()