Home
last modified time | relevance | path

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

12

/external/icu/icu4c/source/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 }; // Access protected by icu global mutex.
140 UDataMemory *pData = udata_findCachedData(inBasename); in findCommonICUDataByName()
162 setCommonICUData(UDataMemory *pData, /* The new common data. Belongs to caller, we copy it. */ in setCommonICUData()
167 UDataMemory *newCommonData = UDataMemory_createNewInstance(pErr); in setCommonICUData()
205 UDataMemory tData; in setCommonICUDataPointer()
254 UDataMemory *item;
296 static UDataMemory *udata_findCachedData(const char *path) in udata_findCachedData()
299 UDataMemory *retVal = NULL; in udata_findCachedData()
318 static UDataMemory *udata_cacheDataItem(const char *path, UDataMemory *item, UErrorCode *pErr) { in udata_cacheDataItem()
[all …]
Dumapfile.c83 uprv_mapFile(UDataMemory *pData, const char *path) { in uprv_mapFile()
88 U_CFUNC void uprv_unmapFile(UDataMemory *pData) { in uprv_unmapFile()
94 UDataMemory *pData, /* Fill in with info on the result doing the mapping. */ in uprv_mapFile()
149 uprv_unmapFile(UDataMemory *pData) { in uprv_unmapFile()
162 uprv_mapFile(UDataMemory *pData, const char *path) { in uprv_mapFile()
203 uprv_unmapFile(UDataMemory *pData) { in uprv_unmapFile()
232 uprv_mapFile(UDataMemory *pData, const char *path) { in uprv_mapFile()
273 uprv_unmapFile(UDataMemory *pData) { in uprv_unmapFile()
360 U_CFUNC UBool uprv_mapFile(UDataMemory *pData, const char *path) { in uprv_mapFile()
453 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);
Ddictionarydata.h104 UCharsDictionaryMatcher(const UChar *c, UDataMemory *f) : characters(c), file(f) { } in UCharsDictionaryMatcher()
112 UDataMemory *file;
121 BytesDictionaryMatcher(const char *c, int32_t t, UDataMemory *f) in BytesDictionaryMatcher()
133 UDataMemory *file;
Dumapfile.h30 U_CFUNC UBool uprv_mapFile(UDataMemory *pdm, const char *path);
31 U_CFUNC void uprv_unmapFile(UDataMemory *pData);
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.h150 RBBIDataWrapper(UDataMemory* udm, UErrorCode &status);
186 UDataMemory *fUDataMem;
Dsprpimpl.h90 UDataMemory* sprepData;
Dudataswp.h342 U_CAPI UDataMemory * U_EXPORT2
Ducnv_bld.cpp282 ucnv_data_unFlattenClone(UConverterLoadArgs *pArgs, UDataMemory *pData, UErrorCode *status) in ucnv_data_unFlattenClone()
335 UDataMemory *data; in createConverterFromFile()
521 UDataMemory *data = (UDataMemory*)deadSharedData->dataMemory; in ucnv_deleteSharedConverterData()
Duresdata.h383 UDataMemory *data;
Dubidi_props.c31 UDataMemory *mem;
Dbrkeng.cpp266 UDataMemory *file = udata_open(U_ICUDATA_BRKITR, ext.data(), dictnbuf.data(), &status); in loadDictionaryMatcherFor()
Dloadednormalizer2impl.cpp42 UDataMemory *memory;
/external/icu/icu4c/source/common/unicode/
Dudata.h156 typedef struct UDataMemory UDataMemory; typedef
198 U_STABLE UDataMemory * U_EXPORT2
250 U_STABLE UDataMemory * U_EXPORT2
263 udata_close(UDataMemory *pData);
278 U_DEFINE_LOCAL_OPEN_POINTER(LocalUDataMemoryPointer, UDataMemory, udata_close);
294 udata_getMemory(UDataMemory *pData);
315 udata_getInfo(UDataMemory *pData, UDataInfo *pInfo);
Drbbi.h283 RuleBasedBreakIterator(UDataMemory* image, UErrorCode &status);
/external/icu/icu4c/source/i18n/
Dcollationtailoring.h26 struct UDataMemory;
78 UDataMemory *memory;
Duspoof_impl.h205 SpoofData(UDataMemory *udm, UErrorCode &status);
240 UDataMemory *fUDM; // If not NULL, our data came from a
Dcollationdatareader.h21 struct UDataMemory;
Dcollationdata.h25 struct UDataMemory;
Duspoof_impl.cpp508 UDataMemory *udm = udata_openChoice(NULL, "cfu", "confusables", in getDefault()
526 SpoofData::SpoofData(UDataMemory *udm, UErrorCode &status) in SpoofData()
/external/icu/icu4c/source/test/cintltst/
Dudatatst.c118 UDataMemory *result; in TestUDataOpen()
642 UDataMemory *result; in TestUDataOpenChoiceDemo1()
742 UDataMemory *result; in TestUDataOpenChoiceDemo2()
790 UDataMemory *result; in TestUDataGetInfo()
867 UDataMemory *result; in TestUDataGetMemory()
915 UDataMemory *result=NULL; in TestErrorConditions()
1401 TestSwapCase(UDataMemory *pData, const char *name, in TestSwapCase()
1629 UDataMemory *pData; in TestSwapData()
1743 UDataMemory *dataItem; in PointerTableOfContents()
/external/icu/icu4c/source/samples/udata/
Dreader.c76 UDataMemory *result = NULL; in main()

12