Home
last modified time | relevance | path

Searched refs:UDataMemory (Results 1 – 25 of 35) sorted by relevance

12

/external/icu4c/common/
Dudatamem.c26 U_CFUNC void UDataMemory_init(UDataMemory *This) { in UDataMemory_init()
27 uprv_memset(This, 0, sizeof(UDataMemory)); in UDataMemory_init()
32 U_CFUNC void UDatamemory_assign(UDataMemory *dest, UDataMemory *source) { in UDatamemory_assign()
35 uprv_memcpy(dest, source, sizeof(UDataMemory)); in UDatamemory_assign()
39 U_CFUNC UDataMemory *UDataMemory_createNewInstance(UErrorCode *pErr) { in UDataMemory_createNewInstance()
40 UDataMemory *This; in UDataMemory_createNewInstance()
45 This = uprv_malloc(sizeof(UDataMemory)); in UDataMemory_createNewInstance()
84 U_CFUNC void UDataMemory_setData (UDataMemory *This, const void *dataAddr) { in UDataMemory_setData()
90 udata_close(UDataMemory *pData) { in udata_close()
102 udata_getMemory(UDataMemory *pData) { in udata_getMemory()
[all …]
Dudatamem.h25 struct UDataMemory { struct
45 U_CFUNC UDataMemory *UDataMemory_createNewInstance(UErrorCode *pErr); argument
46 U_CFUNC void UDatamemory_assign (UDataMemory *dest, UDataMemory *source);
47 U_CFUNC void UDataMemory_init (UDataMemory *This);
48 U_CFUNC UBool UDataMemory_isLoaded(const UDataMemory *This);
49 U_CFUNC void UDataMemory_setData (UDataMemory *This, const void *dataAddr);
54 udata_getLength(const UDataMemory *pData);
57 udata_getRawMemory(const UDataMemory *pData);
Dudata.cpp80 static UDataMemory *udata_findCachedData(const char *path);
104 static UDataMemory *gCommonICUDataArray[10] = { NULL };
137 UDataMemory *pData = udata_findCachedData(inBasename); in findCommonICUDataByName()
157 setCommonICUData(UDataMemory *pData, /* The new common data. Belongs to caller, we copy it. */ in setCommonICUData()
162 UDataMemory *newCommonData = UDataMemory_createNewInstance(pErr); in setCommonICUData()
199 UDataMemory tData; in setCommonICUDataPointer()
248 UDataMemory *item;
306 static UDataMemory *udata_findCachedData(const char *path) in udata_findCachedData()
309 UDataMemory *retVal = NULL; in udata_findCachedData()
328 static UDataMemory *udata_cacheDataItem(const char *path, UDataMemory *item, UErrorCode *pErr) { in udata_cacheDataItem()
[all …]
Dumapfile.c84 uprv_mapFile(UDataMemory *pData, const char *path) { in uprv_mapFile()
89 U_CFUNC void uprv_unmapFile(UDataMemory *pData) { in uprv_unmapFile()
95 UDataMemory *pData, /* Fill in with info on the result doing the mapping. */ in uprv_mapFile()
150 uprv_unmapFile(UDataMemory *pData) { in uprv_unmapFile()
163 uprv_mapFile(UDataMemory *pData, const char *path) { in uprv_mapFile()
204 uprv_unmapFile(UDataMemory *pData) { in uprv_unmapFile()
233 uprv_mapFile(UDataMemory *pData, const char *path) { in uprv_mapFile()
274 uprv_unmapFile(UDataMemory *pData) { in uprv_unmapFile()
361 U_CFUNC UBool uprv_mapFile(UDataMemory *pData, const char *path) { in uprv_mapFile()
454 U_CFUNC void uprv_unmapFile(UDataMemory *pData) { in uprv_unmapFile()
Ducmndata.h83 (U_CALLCONV * LookupFn)(const UDataMemory *pData,
89 (U_CALLCONV * NumEntriesFn)(const UDataMemory *pData);
109 U_CFUNC void udata_checkCommonData(UDataMemory *pData, UErrorCode *pErrorCode);
Dumapfile.h29 U_CFUNC UBool uprv_mapFile(UDataMemory *pdm, const char *path);
30 U_CFUNC void uprv_unmapFile(UDataMemory *pData);
Dtriedict.h17 struct UDataMemory;
249 UDataMemory *fUData;
257 CompactTrieDictionary(UDataMemory *dataObj, UErrorCode &status);
Ducmndata.c208 static uint32_t offsetTOCEntryCount(const UDataMemory *pData) { in offsetTOCEntryCount()
218 offsetTOCLookupFn(const UDataMemory *pData, in offsetTOCLookupFn()
263 static uint32_t pointerTOCEntryCount(const UDataMemory *pData) { in pointerTOCEntryCount()
269 static const DataHeader *pointerTOCLookupFn(const UDataMemory *pData, in pointerTOCLookupFn()
315 U_CFUNC void udata_checkCommonData(UDataMemory *udm, UErrorCode *err) { in udata_checkCommonData()
Drbbidata.h149 RBBIDataWrapper(UDataMemory* udm, UErrorCode &status);
184 UDataMemory *fUDataMem;
Dsprpimpl.h90 UDataMemory* sprepData;
Duresdata.h308 UDataMemory *data;
Dudataswp.h340 U_CAPI UDataMemory * U_EXPORT2
Dubidi_props.c32 UDataMemory *mem;
Ducnv_bld.c242 ucnv_data_unFlattenClone(UConverterLoadArgs *pArgs, UDataMemory *pData, UErrorCode *status) in ucnv_data_unFlattenClone()
315 UDataMemory *data; in createConverterFromFile()
501 UDataMemory *data = (UDataMemory*)deadSharedData->dataMemory; in ucnv_deleteSharedConverterData()
Dbrkeng.cpp275 UDataMemory *file = udata_open(U_ICUDATA_BRKITR, ext, dictnbuff, &status); in loadDictionaryFor()
Dbrkiter.cpp114 UDataMemory* file = udata_open(U_ICUDATA_BRKITR, ext, fnbuff, &status); in buildInstance()
Drbbidata.cpp57 RBBIDataWrapper::RBBIDataWrapper(UDataMemory* udm, UErrorCode &status) { in RBBIDataWrapper()
Ducnv_io.c174 static UDataMemory *gAliasData=NULL;
239 UDataMemory *data; in haveAliasData()
/external/icu4c/common/unicode/
Dudata.h151 typedef struct UDataMemory UDataMemory; typedef
193 U_STABLE UDataMemory * U_EXPORT2
245 U_STABLE UDataMemory * U_EXPORT2
258 udata_close(UDataMemory *pData);
273 U_DEFINE_LOCAL_OPEN_POINTER(LocalUDataMemoryPointer, UDataMemory, udata_close);
286 udata_getMemory(UDataMemory *pData);
307 udata_getInfo(UDataMemory *pData, UDataInfo *pInfo);
Drbbi.h285 RuleBasedBreakIterator(UDataMemory* image, UErrorCode &status);
/external/icu4c/i18n/
Duspoof_impl.h267 SpoofData(UDataMemory *udm, UErrorCode &status);
302 UDataMemory *fUDM; // If not NULL, our data came from a
Duspoof_impl.cpp473 UDataMemory *udm = udata_open(NULL, "cfu", "confusables", &status); in getDefault()
489 SpoofData::SpoofData(UDataMemory *udm, UErrorCode &status) in SpoofData()
/external/icu4c/test/cintltst/
Dudatatst.c120 UDataMemory *result; in TestUDataOpen()
601 UDataMemory *result; in TestUDataOpenChoiceDemo1()
701 UDataMemory *result; in TestUDataOpenChoiceDemo2()
750 UDataMemory *result; in TestUDataGetInfo()
827 UDataMemory *result; in TestUDataGetMemory()
875 UDataMemory *result=NULL; in TestErrorConditions()
1356 TestSwapCase(UDataMemory *pData, const char *name, in TestSwapCase()
1583 UDataMemory *pData; in TestSwapData()
1696 UDataMemory *dataItem; in PointerTableOfContents()
/external/icu4c/samples/udata/
Dreader.c76 UDataMemory *result = NULL; in main()
/external/icu4c/test/intltest/
Dtsmthred.cpp569 UDataMemory *data1 = udata_openChoice(0, "res", "en_US", isAcceptable, 0, &status); in run()
570 UDataMemory *data2 = udata_openChoice(0, "res", "fr", isAcceptable, 0, &status); in run()

12