Home
last modified time | relevance | path

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

12

/external/icu/icu4c/source/common/
Dudatamem.c28 U_CFUNC void UDataMemory_init(UDataMemory *This) { in UDataMemory_init()
29 uprv_memset(This, 0, sizeof(UDataMemory)); in UDataMemory_init()
34 U_CFUNC void UDatamemory_assign(UDataMemory *dest, UDataMemory *source) { in UDatamemory_assign()
37 uprv_memcpy(dest, source, sizeof(UDataMemory)); in UDatamemory_assign()
41 U_CFUNC UDataMemory *UDataMemory_createNewInstance(UErrorCode *pErr) { in UDataMemory_createNewInstance()
42 UDataMemory *This; in UDataMemory_createNewInstance()
47 This = uprv_malloc(sizeof(UDataMemory)); in UDataMemory_createNewInstance()
86 U_CFUNC void UDataMemory_setData (UDataMemory *This, const void *dataAddr) { in UDataMemory_setData()
92 udata_close(UDataMemory *pData) { in udata_close()
104 udata_getMemory(UDataMemory *pData) { in udata_getMemory()
[all …]
Dudatamem.h27 struct UDataMemory { struct
47 U_CFUNC UDataMemory *UDataMemory_createNewInstance(UErrorCode *pErr); argument
48 U_CFUNC void UDatamemory_assign (UDataMemory *dest, UDataMemory *source);
49 U_CFUNC void UDataMemory_init (UDataMemory *This);
50 U_CFUNC UBool UDataMemory_isLoaded(const UDataMemory *This);
51 U_CFUNC void UDataMemory_setData (UDataMemory *This, const void *dataAddr);
56 udata_getLength(const UDataMemory *pData);
59 udata_getRawMemory(const UDataMemory *pData);
Dudata.cpp82 static UDataMemory *udata_findCachedData(const char *path, UErrorCode &err);
106 static UDataMemory *gCommonICUDataArray[10] = { NULL }; // Access protected by icu global mutex.
142 UDataMemory *pData = udata_findCachedData(inBasename, err); in findCommonICUDataByName()
164 setCommonICUData(UDataMemory *pData, /* The new common data. Belongs to caller, we copy it. */ in setCommonICUData()
169 UDataMemory *newCommonData = UDataMemory_createNewInstance(pErr); in setCommonICUData()
207 UDataMemory tData; in setCommonICUDataPointer()
256 UDataMemory *item;
295 static UDataMemory *udata_findCachedData(const char *path, UErrorCode &err) in udata_findCachedData()
298 UDataMemory *retVal = NULL; in udata_findCachedData()
321 static UDataMemory *udata_cacheDataItem(const char *path, UDataMemory *item, UErrorCode *pErr) { in udata_cacheDataItem()
[all …]
Dumapfile.c85 uprv_mapFile(UDataMemory *pData, const char *path) { in uprv_mapFile()
90 U_CFUNC void uprv_unmapFile(UDataMemory *pData) { in uprv_unmapFile()
96 UDataMemory *pData, /* Fill in with info on the result doing the mapping. */ in uprv_mapFile()
151 uprv_unmapFile(UDataMemory *pData) { in uprv_unmapFile()
164 uprv_mapFile(UDataMemory *pData, const char *path) { in uprv_mapFile()
205 uprv_unmapFile(UDataMemory *pData) { in uprv_unmapFile()
234 uprv_mapFile(UDataMemory *pData, const char *path) { in uprv_mapFile()
275 uprv_unmapFile(UDataMemory *pData) { in uprv_unmapFile()
362 U_CFUNC UBool uprv_mapFile(UDataMemory *pData, const char *path) { in uprv_mapFile()
455 U_CFUNC void uprv_unmapFile(UDataMemory *pData) { in uprv_unmapFile()
Ducmndata.h85 (U_CALLCONV * LookupFn)(const UDataMemory *pData,
91 (U_CALLCONV * NumEntriesFn)(const UDataMemory *pData);
111 U_CFUNC void udata_checkCommonData(UDataMemory *pData, UErrorCode *pErrorCode);
Ddictionarydata.h106 UCharsDictionaryMatcher(const UChar *c, UDataMemory *f) : characters(c), file(f) { } in UCharsDictionaryMatcher()
114 UDataMemory *file;
123 BytesDictionaryMatcher(const char *c, int32_t t, UDataMemory *f) in BytesDictionaryMatcher()
135 UDataMemory *file;
Dumapfile.h32 U_CFUNC UBool uprv_mapFile(UDataMemory *pdm, const char *path);
33 U_CFUNC void uprv_unmapFile(UDataMemory *pData);
Ducmndata.c210 static uint32_t offsetTOCEntryCount(const UDataMemory *pData) { in offsetTOCEntryCount()
220 offsetTOCLookupFn(const UDataMemory *pData, in offsetTOCLookupFn()
265 static uint32_t pointerTOCEntryCount(const UDataMemory *pData) { in pointerTOCEntryCount()
271 static const DataHeader *pointerTOCLookupFn(const UDataMemory *pData, in pointerTOCLookupFn()
317 U_CFUNC void udata_checkCommonData(UDataMemory *udm, UErrorCode *err) { in udata_checkCommonData()
Drbbidata.h152 RBBIDataWrapper(UDataMemory* udm, UErrorCode &status);
188 UDataMemory *fUDataMem;
Dsprpimpl.h92 UDataMemory* sprepData;
Dudataswp.h358 U_CAPI UDataMemory * U_EXPORT2
Ducnv_bld.cpp284 ucnv_data_unFlattenClone(UConverterLoadArgs *pArgs, UDataMemory *pData, UErrorCode *status) in ucnv_data_unFlattenClone()
337 UDataMemory *data; in createConverterFromFile()
523 UDataMemory *data = (UDataMemory*)deadSharedData->dataMemory; in ucnv_deleteSharedConverterData()
Duresdata.h385 UDataMemory *data;
Dubidi_props.c33 UDataMemory *mem;
Dbrkeng.cpp269 UDataMemory *file = udata_open(U_ICUDATA_BRKITR, ext.data(), dictnbuf.data(), &status); in loadDictionaryMatcherFor()
Dloadednormalizer2impl.cpp44 UDataMemory *memory;
/external/icu/icu4c/source/common/unicode/
Dudata.h158 typedef struct UDataMemory UDataMemory; typedef
200 U_STABLE UDataMemory * U_EXPORT2
252 U_STABLE UDataMemory * U_EXPORT2
265 udata_close(UDataMemory *pData);
280 U_DEFINE_LOCAL_OPEN_POINTER(LocalUDataMemoryPointer, UDataMemory, udata_close);
296 udata_getMemory(UDataMemory *pData);
317 udata_getInfo(UDataMemory *pData, UDataInfo *pInfo);
Drbbi.h256 RuleBasedBreakIterator(UDataMemory* image, UErrorCode &status);
/external/icu/icu4c/source/i18n/
Dcollationtailoring.h28 struct UDataMemory;
80 UDataMemory *memory;
Duspoof_impl.h213 SpoofData(UDataMemory *udm, UErrorCode &status);
274 UDataMemory *fUDM; // If not NULL, our data came from a
Dcollationdatareader.h23 struct UDataMemory;
Dcollationdata.h27 struct UDataMemory;
Duspoof_impl.cpp542 UDataMemory *udm = udata_openChoice(NULL, "cfu", "confusables", in uspoof_loadDefaultData()
568 SpoofData::SpoofData(UDataMemory *udm, UErrorCode &status) in SpoofData()
/external/icu/icu4c/source/test/cintltst/
Dudatatst.c120 UDataMemory *result; in TestUDataOpen()
644 UDataMemory *result; in TestUDataOpenChoiceDemo1()
744 UDataMemory *result; in TestUDataOpenChoiceDemo2()
792 UDataMemory *result; in TestUDataGetInfo()
869 UDataMemory *result; in TestUDataGetMemory()
917 UDataMemory *result=NULL; in TestErrorConditions()
1403 TestSwapCase(UDataMemory *pData, const char *name, in TestSwapCase()
1631 UDataMemory *pData; in TestSwapData()
1745 UDataMemory *dataItem; in PointerTableOfContents()
/external/icu/icu4c/source/samples/udata/
Dreader.c82 UDataMemory *result = NULL; in main()

12