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

12

/external/icu/icu4c/source/common/
H A Dudatamem.h14 * UDataMemory A class-like struct that serves as a handle to a piece of memory
18 * a UDataMemory * is returned.
27 struct UDataMemory { struct
31 /* UDataMemory object. */
34 UBool heapAllocated; /* True if this UDataMemory Object is on the */
47 U_CFUNC UDataMemory *UDataMemory_createNewInstance(UErrorCode *pErr);
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 *Thi
[all...]
H A Dudatamem.cpp14 * UDataMemory A class-like struct that serves as a handle to a piece of memory
18 * a UDataMemory * is returned.
28 U_CFUNC void UDataMemory_init(UDataMemory *This) {
29 uprv_memset(This, 0, sizeof(UDataMemory));
34 U_CFUNC void UDatamemory_assign(UDataMemory *dest, UDataMemory *source) {
35 /* UDataMemory Assignment. Destination UDataMemory must be initialized first. */
37 uprv_memcpy(dest, source, sizeof(UDataMemory));
41 U_CFUNC UDataMemory *UDataMemory_createNewInstanc
[all...]
H A Dumapfile.h32 U_CFUNC UBool uprv_mapFile(UDataMemory *pdm, const char *path);
33 U_CFUNC void uprv_unmapFile(UDataMemory *pData);
H A Ducmndata.h79 * To call one, given a UDataMemory *p, the code looks like this:
85 (U_CALLCONV * LookupFn)(const UDataMemory *pData,
91 (U_CALLCONV * NumEntriesFn)(const UDataMemory *pData);
102 * Functions to check whether a UDataMemory refers to memory containing
106 * set the CommonDataFuncs function dispatch vector in the UDataMemory
111 U_CFUNC void udata_checkCommonData(UDataMemory *pData, UErrorCode *pErrorCode);
H A Ddictionarydata.h105 // The UDataMemory * will be closed on this object's destruction.
106 UCharsDictionaryMatcher(const UChar *c, UDataMemory *f) : characters(c), file(f) { }
114 UDataMemory *file;
122 // the UDataMemory * fed in here will be closed on this object's destruction
123 BytesDictionaryMatcher(const char *c, int32_t t, UDataMemory *f)
135 UDataMemory *file;
H A Dudata.cpp63 * - udatamem.c has code for managing UDataMemory structs. These are little
82 static UDataMemory *udata_findCachedData(const char *path, UErrorCode &err);
106 static UDataMemory *gCommonICUDataArray[10] = { NULL }; // Access protected by icu global mutex.
146 UDataMemory *pData = udata_findCachedData(inBasename, err);
165 * setCommonICUData. Set a UDataMemory to be the global ICU Data
168 setCommonICUData(UDataMemory *pData, /* The new common data. Belongs to caller, we copy it. */
173 UDataMemory *newCommonData = UDataMemory_createNewInstance(pErr);
213 UDataMemory tData;
264 UDataMemory *item;
303 static UDataMemory *udata_findCachedDat
[all...]
H A Dumapfile.cpp87 uprv_mapFile(UDataMemory *pData, const char *path) {
92 U_CFUNC void uprv_unmapFile(UDataMemory *pData) {
98 UDataMemory *pData, /* Fill in with info on the result doing the mapping. */
183 uprv_unmapFile(UDataMemory *pData) {
196 uprv_mapFile(UDataMemory *pData, const char *path) {
237 uprv_unmapFile(UDataMemory *pData) {
266 uprv_mapFile(UDataMemory *pData, const char *path) {
307 uprv_unmapFile(UDataMemory *pData) {
394 U_CFUNC UBool uprv_mapFile(UDataMemory *pData, const char *path) {
487 U_CFUNC void uprv_unmapFile(UDataMemory *pDat
[all...]
H A Drbbidata.h153 RBBIDataWrapper(UDataMemory* udm, UErrorCode &status);
191 UDataMemory *fUDataMem;
H A Dsprpimpl.h92 UDataMemory* sprepData;
H A Ducmndata.cpp212 offsetTOCEntryCount(const UDataMemory *pData) {
222 offsetTOCLookupFn(const UDataMemory *pData,
268 static uint32_t U_CALLCONV pointerTOCEntryCount(const UDataMemory *pData) {
273 static const DataHeader * U_CALLCONV pointerTOCLookupFn(const UDataMemory *pData,
318 * If the data is invalid, close the UDataMemory *
322 U_CFUNC void udata_checkCommonData(UDataMemory *udm, UErrorCode *err) {
H A Dudataswp.h358 U_CAPI UDataMemory * U_EXPORT2
H A Dbrkeng.cpp262 UDataMemory *file = udata_open(U_ICUDATA_BRKITR, ext.data(), dictnbuf.data(), &status);
H A Dubidi_props.cpp33 UDataMemory *mem;
H A Duresdata.h385 UDataMemory *data;
H A Dbrkiter.cpp110 UDataMemory* file = udata_open(U_ICUDATA_BRKITR, ext, fnbuff, &status);
H A Dloadednormalizer2impl.cpp44 UDataMemory *memory;
H A Ducnv_bld.cpp284 ucnv_data_unFlattenClone(UConverterLoadArgs *pArgs, UDataMemory *pData, UErrorCode *status)
337 UDataMemory *data;
523 UDataMemory *data = (UDataMemory*)deadSharedData->dataMemory;
/external/icu/icu4c/source/common/unicode/
H A Dudata.h158 typedef struct UDataMemory UDataMemory; typedef in typeref:struct:UDataMemory
200 U_STABLE UDataMemory * U_EXPORT2
252 U_STABLE UDataMemory * U_EXPORT2
265 udata_close(UDataMemory *pData);
273 * "Smart pointer" class, closes a UDataMemory via udata_close().
280 U_DEFINE_LOCAL_OPEN_POINTER(LocalUDataMemoryPointer, UDataMemory, udata_close);
296 udata_getMemory(UDataMemory *pData);
317 udata_getInfo(UDataMemory *pData, UDataInfo *pInfo);
H A Drbbi.h238 * ICU UDataMemory handle for the pre-compiled break iterator tables.
240 * Ownership of the UDataMemory handle passes to the Break Iterator,
247 RuleBasedBreakIterator(UDataMemory* image, UErrorCode &status);
/external/icu/icu4c/source/i18n/
H A Dcollationdatareader.h23 struct UDataMemory;
H A Dcollationtailoring.h28 struct UDataMemory;
80 UDataMemory *memory;
H A Duspoof_impl.h211 // A UDataMemory is what the ICU internal data loading functions provide.
213 SpoofData(UDataMemory *udm, UErrorCode &status);
274 UDataMemory *fUDM; // If not NULL, our data came from a
275 // UDataMemory, which we must close when
H A Dcollationdata.h27 struct UDataMemory;
/external/icu/icu4c/source/samples/udata/
H A Dreader.c82 UDataMemory *result = NULL;
/external/icu/icu4c/source/test/cintltst/
H A Dudatatst.c120 UDataMemory *result;
445 /* UDataMemory *dataItem;*/
644 UDataMemory *result;
744 UDataMemory *result;
792 UDataMemory *result;
869 UDataMemory *result;
917 UDataMemory *result=NULL;
997 /*Try udata_getMemory with UDataMemory=NULL*/
998 log_verbose("Testing udata_getMemory with UDataMemory=NULL\n");
1001 log_err("FAIL: udata_getMemory with UDataMemory
[all...]

Completed in 1015 milliseconds

12