Lines Matching refs:UDataMemory
61 * - udatamem.c has code for managing UDataMemory structs. These are little
80 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);
159 * setCommonICUData. Set a UDataMemory to be the global ICU Data
162 setCommonICUData(UDataMemory *pData, /* The new common data. Belongs to caller, we copy it. */
167 UDataMemory *newCommonData = UDataMemory_createNewInstance(pErr);
205 UDataMemory tData;
254 UDataMemory *item;
296 static UDataMemory *udata_findCachedData(const char *path)
299 UDataMemory *retVal = NULL;
318 static UDataMemory *udata_cacheDataItem(const char *path, UDataMemory *item, UErrorCode *pErr) {
643 * and return a UDataMemory object for it. *
649 static UDataMemory *
654 UDataMemory tData;
728 UDataMemory *dataToReturn = udata_findCachedData(inBasename);
772 /* Cache the UDataMemory struct for this .dat file,
791 UDataMemory *pData;
792 UDataMemory copyPData;
825 /* fields in the UDataMemory that we're assigning */
858 UDataMemory dataMemory;
888 UDataMemory udm;
910 * If the data is good, create and return a UDataMemory *
915 static UDataMemory *
929 UDataMemory *rDataMem = NULL; /* the new UDataMemory, to be returned. */
956 static UDataMemory *doLoadFromIndividualFiles(const char *pkgName,
965 UDataMemory dataMemory;
966 UDataMemory *pEntryData;
982 * Hand off ownership of the backing memory to the user's UDataMemory.
1014 static UDataMemory *doLoadFromCommonData(UBool isICUData, const char * /*pkgName*/,
1022 UDataMemory *pEntryData;
1024 UDataMemory *pCommonData;
1092 * For common format files, ownership resides with the UDataMemory object
1096 * The UDataMemory objects returned to users will have the address of some desired
1100 * For individual data files, the UDataMemory returned to the user holds the
1109 * UDataMemory objects themselves, as opposed to the memory they describe,
1121 static UDataMemory *
1126 UDataMemory *retVal = NULL;
1348 U_CAPI UDataMemory * U_EXPORT2
1368 U_CAPI UDataMemory * U_EXPORT2
1389 udata_getInfo(UDataMemory *pData, UDataInfo *pInfo) {