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

12

/macosx-10.10/ICU-531.30/icuSources/common/
H A Dudatamem.h12 * UDataMemory A class-like struct that serves as a handle to a piece of memory
16 * a UDataMemory * is returned.
25 struct UDataMemory { struct
29 /* UDataMemory object. */
32 UBool heapAllocated; /* True if this UDataMemory Object is on the */
45 U_CFUNC UDataMemory *UDataMemory_createNewInstance(UErrorCode *pErr);
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 *Thi
[all...]
H A Dudatamem.c12 * UDataMemory A class-like struct that serves as a handle to a piece of memory
16 * a UDataMemory * is returned.
26 U_CFUNC void UDataMemory_init(UDataMemory *This) {
27 uprv_memset(This, 0, sizeof(UDataMemory));
32 U_CFUNC void UDatamemory_assign(UDataMemory *dest, UDataMemory *source) {
33 /* UDataMemory Assignment. Destination UDataMemory must be initialized first. */
35 uprv_memcpy(dest, source, sizeof(UDataMemory));
39 U_CFUNC UDataMemory *UDataMemory_createNewInstanc
[all...]
H A Dumapfile.h30 U_CFUNC UBool uprv_mapFile(UDataMemory *pdm, const char *path);
31 U_CFUNC void uprv_unmapFile(UDataMemory *pData);
H A Ducmndata.h77 * To call one, given a UDataMemory *p, the code looks like this:
83 (U_CALLCONV * LookupFn)(const UDataMemory *pData,
89 (U_CALLCONV * NumEntriesFn)(const UDataMemory *pData);
100 * Functions to check whether a UDataMemory refers to memory containing
104 * set the CommonDataFuncs function dispatch vector in the UDataMemory
109 U_CFUNC void udata_checkCommonData(UDataMemory *pData, UErrorCode *pErrorCode);
H A Ddictionarydata.h81 // The UDataMemory * will be closed on this object's destruction.
82 UCharsDictionaryMatcher(const UChar *c, UDataMemory *f) : characters(c), file(f) { }
89 UDataMemory *file;
97 // the UDataMemory * fed in here will be closed on this object's destruction
98 BytesDictionaryMatcher(const char *c, int32_t t, UDataMemory *f)
109 UDataMemory *file;
H A Dudata.cpp60 * - udatamem.c has code for managing UDataMemory structs. These are little
81 static UDataMemory *udata_findCachedData(const char *path);
105 static UDataMemory *gCommonICUDataArray[10] = { NULL };
140 UDataMemory *pData = udata_findCachedData(inBasename);
157 * setCommonICUData. Set a UDataMemory to be the global ICU Data
160 setCommonICUData(UDataMemory *pData, /* The new common data. Belongs to caller, we copy it. */
165 UDataMemory *newCommonData = UDataMemory_createNewInstance(pErr);
202 UDataMemory tData;
251 UDataMemory *item;
293 static UDataMemory *udata_findCachedDat
[all...]
H A Dumapfile.c83 uprv_mapFile(UDataMemory *pData, const char *path) {
88 U_CFUNC void uprv_unmapFile(UDataMemory *pData) {
94 UDataMemory *pData, /* Fill in with info on the result doing the mapping. */
149 uprv_unmapFile(UDataMemory *pData) {
162 uprv_mapFile(UDataMemory *pData, const char *path) {
203 uprv_unmapFile(UDataMemory *pData) {
232 uprv_mapFile(UDataMemory *pData, const char *path) {
273 uprv_unmapFile(UDataMemory *pData) {
360 U_CFUNC UBool uprv_mapFile(UDataMemory *pData, const char *path) {
453 U_CFUNC void uprv_unmapFile(UDataMemory *pDat
[all...]
H A Drbbidata.h150 RBBIDataWrapper(UDataMemory* udm, UErrorCode &status);
185 UDataMemory *fUDataMem;
H A Ducmndata.c208 static uint32_t offsetTOCEntryCount(const UDataMemory *pData) {
218 offsetTOCLookupFn(const UDataMemory *pData,
263 static uint32_t pointerTOCEntryCount(const UDataMemory *pData) {
269 static const DataHeader *pointerTOCLookupFn(const UDataMemory *pData,
311 * If the data is invalid, close the UDataMemory *
315 U_CFUNC void udata_checkCommonData(UDataMemory *udm, UErrorCode *err) {
H A Dsprpimpl.h90 UDataMemory* sprepData;
H A Dudataswp.h342 U_CAPI UDataMemory * U_EXPORT2
H A Duresdata.h314 UDataMemory *data;
H A Dbrkeng.cpp306 UDataMemory *file = udata_open(U_ICUDATA_BRKITR, ext.data(), dictnbuf.data(), &status);
H A Dubidi_props.c31 UDataMemory *mem;
H A Dbrkiter.cpp114 UDataMemory* file = udata_open(U_ICUDATA_BRKITR, ext, fnbuff, &status);
H A Drbbidata.cpp57 RBBIDataWrapper::RBBIDataWrapper(UDataMemory* udm, UErrorCode &status) {
/macosx-10.10/ICU-531.30/icuSources/common/unicode/
H A Dudata.h151 typedef struct UDataMemory UDataMemory; typedef in typeref:struct:UDataMemory
193 U_STABLE UDataMemory * U_EXPORT2
245 U_STABLE UDataMemory * U_EXPORT2
258 udata_close(UDataMemory *pData);
266 * "Smart pointer" class, closes a UDataMemory via udata_close().
273 U_DEFINE_LOCAL_OPEN_POINTER(LocalUDataMemoryPointer, UDataMemory, udata_close);
286 udata_getMemory(UDataMemory *pData);
307 udata_getInfo(UDataMemory *pData, UDataInfo *pInfo);
H A Drbbi.h274 * ICU UDataMemory handle for the pre-compiled break iterator tables.
276 * Ownership of the UDataMemory handle passes to the Break Iterator,
283 RuleBasedBreakIterator(UDataMemory* image, UErrorCode &status);
/macosx-10.10/ICU-531.30/icuSources/i18n/
H A Dcollationtailoring.h26 struct UDataMemory;
78 UDataMemory *memory;
H A Dcollationdatareader.h21 struct UDataMemory;
H A Duspoof_impl.h203 // A UDataMemory is what the ICU internal data loading functions provide.
205 SpoofData(UDataMemory *udm, UErrorCode &status);
240 UDataMemory *fUDM; // If not NULL, our data came from a
241 // UDataMemory, which we must close when
H A Dcollationdata.h24 struct UDataMemory;
H A Duspoof_impl.cpp485 UDataMemory *udm = udata_open(NULL, "cfu", "confusables", &status);
501 SpoofData::SpoofData(UDataMemory *udm, UErrorCode &status)
/macosx-10.10/ICU-531.30/icuSources/samples/udata/
H A Dreader.c76 UDataMemory *result = NULL;
/macosx-10.10/ICU-531.30/icuSources/test/cintltst/
H A Dudatatst.c114 UDataMemory *result;
439 /* UDataMemory *dataItem;*/
638 UDataMemory *result;
738 UDataMemory *result;
786 UDataMemory *result;
863 UDataMemory *result;
911 UDataMemory *result=NULL;
991 /*Try udata_getMemory with UDataMemory=NULL*/
992 log_verbose("Testing udata_getMemory with UDataMemory=NULL\n");
995 log_err("FAIL: udata_getMemory with UDataMemory
[all...]

Completed in 413 milliseconds

12