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

123

/external/chromium_org/third_party/icu/source/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.h91 * To call one, given a UDataMemory *p, the code looks like this:
97 (U_CALLCONV * LookupFn)(const UDataMemory *pData,
103 (U_CALLCONV * NumEntriesFn)(const UDataMemory *pData);
114 * Functions to check whether a UDataMemory refers to memory containing
118 * set the CommonDataFuncs function dispatch vector in the UDataMemory
123 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;
/external/icu/icu4c/source/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;
/external/chromium_org/third_party/icu/source/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);
/external/icu/icu4c/source/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);
/external/icu/icu4c/source/i18n/
H A Dcollationtailoring.h26 struct UDataMemory;
78 UDataMemory *memory;
H A Dcollationdatareader.h21 struct UDataMemory;
/external/chromium_org/third_party/icu/source/samples/udata/
H A Dreader.c76 UDataMemory *result = NULL;

Completed in 3682 milliseconds

123