Home
last modified time | relevance | path

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

12

/external/icu4c/common/
Dudatamem.c26 void UDataMemory_init(UDataMemory *This) { in UDataMemory_init()
27 uprv_memset(This, 0, sizeof(UDataMemory)); in UDataMemory_init()
32 void UDatamemory_assign(UDataMemory *dest, UDataMemory *source) { in UDatamemory_assign()
35 uprv_memcpy(dest, source, sizeof(UDataMemory)); in UDatamemory_assign()
39 UDataMemory *UDataMemory_createNewInstance(UErrorCode *pErr) { in UDataMemory_createNewInstance()
40 UDataMemory *This; in UDataMemory_createNewInstance()
45 This = uprv_malloc(sizeof(UDataMemory)); in UDataMemory_createNewInstance()
84 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 UDataMemory *UDataMemory_createNewInstance(UErrorCode *pErr); argument
46 void UDatamemory_assign (UDataMemory *dest, UDataMemory *source);
47 void UDataMemory_init (UDataMemory *This);
48 UBool UDataMemory_isLoaded(UDataMemory *This);
49 void UDataMemory_setData (UDataMemory *This, const void *dataAddr);
55 udata_getLength(const UDataMemory *pData);
58 udata_getRawMemory(const UDataMemory *pData);
Dudata.c71 static UDataMemory *gCommonICUData = NULL; /* Pointer to the common ICU data. */
75 static UDataMemory *gStubICUData = NULL; /* If gCommonICUData does get updated, remember */
112 setCommonICUData(UDataMemory *pData, /* The new common data. Belongs to caller, we copy it. */ in setCommonICUData()
113 UDataMemory *oldData, /* Old ICUData ptr. Overwrite of this value is ok, */ in setCommonICUData()
119 UDataMemory *newCommonData = UDataMemory_createNewInstance(pErr); in setCommonICUData()
186 UDataMemory *item;
240 static UDataMemory *udata_findCachedData(const char *path) in udata_findCachedData()
243 UDataMemory *retVal = NULL; in udata_findCachedData()
262 static UDataMemory *udata_cacheDataItem(const char *path, UDataMemory *item, UErrorCode *pErr) { in udata_cacheDataItem()
267 UDataMemory *oldValue = NULL; in udata_cacheDataItem()
[all …]
Dumapfile.c111 uprv_mapFile(UDataMemory *pData, const char *path) { in uprv_mapFile()
116 void uprv_unmapFile(UDataMemory *pData) { in uprv_unmapFile()
122 UDataMemory *pData, /* Fill in with info on the result doing the mapping. */ in uprv_mapFile()
178 uprv_unmapFile(UDataMemory *pData) { in uprv_unmapFile()
191 uprv_mapFile(UDataMemory *pData, const char *path) { in uprv_mapFile()
231 uprv_unmapFile(UDataMemory *pData) { in uprv_unmapFile()
260 uprv_mapFile(UDataMemory *pData, const char *path) { in uprv_mapFile()
301 uprv_unmapFile(UDataMemory *pData) { in uprv_unmapFile()
388 UBool uprv_mapFile(UDataMemory *pData, const char *path) { in uprv_mapFile()
483 void uprv_unmapFile(UDataMemory *pData) { in uprv_unmapFile()
Ducmndata.h82 (* LookupFn)(const UDataMemory *pData,
88 (* NumEntriesFn)(const UDataMemory *pData);
106 void udata_checkCommonData(UDataMemory *pData, UErrorCode *pErrorCode);
Ducmndata.c89 static uint32_t offsetTOCEntryCount(const UDataMemory *pData) { in offsetTOCEntryCount()
100 offsetTOCLookupFn(const UDataMemory *pData, in offsetTOCLookupFn()
164 static uint32_t pointerTOCEntryCount(const UDataMemory *pData) { in pointerTOCEntryCount()
170 static const DataHeader *pointerTOCLookupFn(const UDataMemory *pData, in pointerTOCLookupFn()
235 void udata_checkCommonData(UDataMemory *udm, UErrorCode *err) { in udata_checkCommonData()
Dumapfile.h29 UBool uprv_mapFile(UDataMemory *pdm, const char *path);
30 void uprv_unmapFile(UDataMemory *pData);
Dtriedict.h17 struct UDataMemory;
249 UDataMemory *fUData;
257 CompactTrieDictionary(UDataMemory *dataObj, UErrorCode &status);
Drbbidata.h145 RBBIDataWrapper(UDataMemory* udm, UErrorCode &status);
180 UDataMemory *fUDataMem;
Dsprpimpl.h90 UDataMemory* sprepData;
Duresdata.h170 UDataMemory *data;
Dudataswp.h340 U_CAPI UDataMemory * U_EXPORT2
Ducnv_bld.c224 ucnv_data_unFlattenClone(UConverterLoadArgs *pArgs, UDataMemory *pData, UErrorCode *status) in ucnv_data_unFlattenClone()
297 UDataMemory *data; in createConverterFromFile()
483 UDataMemory *data = (UDataMemory*)deadSharedData->dataMemory; in ucnv_deleteSharedConverterData()
Dbrkeng.cpp272 UDataMemory *file = udata_open(U_ICUDATA_BRKITR, ext, dictnbuff, &status); in loadDictionaryFor()
Dpropname.cpp213 static UDataMemory* UDATA = NULL;
254 UDataMemory* data = in _load()
Dbrkiter.cpp114 UDataMemory* file = udata_open(U_ICUDATA_BRKITR, ext, fnbuff, &status); in buildInstance()
Duchar.c54 static UDataMemory *propsData=NULL;
113 UDataMemory *propsData;
Drbbidata.cpp52 RBBIDataWrapper::RBBIDataWrapper(UDataMemory* udm, UErrorCode &status) { in RBBIDataWrapper()
Dubidi_props.c32 UDataMemory *mem;
Ducnv_io.c174 static UDataMemory *gAliasData=NULL;
239 UDataMemory *data; in haveAliasData()
/external/icu4c/common/unicode/
Dudata.h150 typedef struct UDataMemory UDataMemory; typedef
192 U_STABLE UDataMemory * U_EXPORT2
244 U_STABLE UDataMemory * U_EXPORT2
257 udata_close(UDataMemory *pData);
266 udata_getMemory(UDataMemory *pData);
287 udata_getInfo(UDataMemory *pData, UDataInfo *pInfo);
Drbbi.h233 RuleBasedBreakIterator(UDataMemory* image, UErrorCode &status);
/external/icu4c/test/cintltst/
Dudatatst.c111 UDataMemory *result; in TestUDataOpen()
591 UDataMemory *result; in TestUDataOpenChoiceDemo1()
691 UDataMemory *result; in TestUDataOpenChoiceDemo2()
740 UDataMemory *result; in TestUDataGetInfo()
817 UDataMemory *result; in TestUDataGetMemory()
865 UDataMemory *result=NULL; in TestErrorConditions()
1336 TestSwapCase(UDataMemory *pData, const char *name, in TestSwapCase()
1563 UDataMemory *pData; in TestSwapData()
1670 UDataMemory *dataItem; in PointerTableOfContents()
/external/icu4c/samples/udata/
Dreader.c76 UDataMemory *result = NULL; in main()
/external/icu4c/test/intltest/
Dtsmthred.cpp910 UDataMemory *data1 = udata_openChoice(0, "res", "en_US", isAcceptable, 0, &status); in run()
911 UDataMemory *data2 = udata_openChoice(0, "res", "fr", isAcceptable, 0, &status); in run()

12