Lines Matching refs:UResourceBundle
14 * 07/20/99 stephen Changed for UResourceBundle typedef'd to void*
106 static const ResourceData *getFallbackData(const UResourceBundle* resBundle, const char* * resTag, UResourceDataEntry* *realData, Resource *res, UErrorCode *status) {
488 static void ures_setIsStackObject( UResourceBundle* resB, UBool state) {
498 static UBool ures_isStackObject(const UResourceBundle* resB) {
503 U_CFUNC void ures_initStackObject(UResourceBundle* resB) {
504 uprv_memset(resB, 0, sizeof(UResourceBundle));
828 U_CFUNC void ures_setResPath(UResourceBundle *resB, const char* toAdd) {
844 static void ures_appendResPath(UResourceBundle *resB, const char* toAdd, int32_t lenToAdd, UErrorCode *status) {
874 static void ures_freeResPath(UResourceBundle *resB) {
883 ures_closeBundle(UResourceBundle* resB, UBool freeBundleObj)
900 uprv_memset(resB, -1, sizeof(UResourceBundle));
907 ures_close(UResourceBundle* resB)
912 static UResourceBundle *init_resb_result(const ResourceData *rdata, Resource r,
914 const UResourceBundle *parent, int32_t noAlias,
915 UResourceBundle *resB, UErrorCode *status)
1011 UResourceBundle *result = resB;
1014 UResourceBundle *mainRes = ures_openDirect(path, locale, &intStatus);
1140 resB = (UResourceBundle *)uprv_malloc(sizeof(UResourceBundle));
1209 UResourceBundle *ures_copyResb(UResourceBundle *r, const UResourceBundle *original, UErrorCode *status) {
1217 r = (UResourceBundle *)uprv_malloc(sizeof(UResourceBundle));
1227 uprv_memcpy(r, original, sizeof(UResourceBundle));
1245 U_CAPI const UChar* U_EXPORT2 ures_getString(const UResourceBundle* resB, int32_t* len, UErrorCode* status) {
1324 ures_getUTF8String(const UResourceBundle *resB,
1333 U_CAPI const uint8_t* U_EXPORT2 ures_getBinary(const UResourceBundle
1350 U_CAPI const int32_t* U_EXPORT2 ures_getIntVector(const UResourceBundle* resB, int32_t* len,
1369 U_CAPI int32_t U_EXPORT2 ures_getInt(const UResourceBundle* resB, UErrorCode *status) {
1384 U_CAPI uint32_t U_EXPORT2 ures_getUInt(const UResourceBundle* resB, UErrorCode *status) {
1399 U_CAPI UResType U_EXPORT2 ures_getType(const UResourceBundle *resB) {
1406 U_CAPI const char * U_EXPORT2 ures_getKey(const UResourceBundle *resB) {
1414 U_CAPI int32_t U_EXPORT2 ures_getSize(const UResourceBundle *resB) {
1422 static const UChar* ures_getStringWithAlias(const UResourceBundle *resB, Resource r, int32_t sIndex, int32_t *len, UErrorCode *status) {
1425 UResourceBundle *tempRes = ures_getByIndex(resB, sIndex, NULL, status);
1434 U_CAPI void U_EXPORT2 ures_resetIterator(UResourceBundle *resB){
1441 U_CAPI UBool U_EXPORT2 ures_hasNext(const UResourceBundle *resB) {
1448 U_CAPI const UChar* U_EXPORT2 ures_getNextString(UResourceBundle *resB, int32_t* len, const char ** key, UErrorCode *status) {
1496 U_CAPI UResourceBundle* U_EXPORT2 ures_getNextResource(UResourceBundle *resB, UResourceBundle *fillIn, UErrorCode *status) {
1546 U_CAPI UResourceBundle* U_EXPORT2 ures_getByIndex(const UResourceBundle *resB, int32_t indexR, UResourceBundle *fillIn, UErrorCode *status) {
1594 U_CAPI const UChar* U_EXPORT2 ures_getStringByIndex(const UResourceBundle *resB, int32_t indexS, int32_t* len, UErrorCode *status) {
1645 ures_getUTF8StringByIndex(const UResourceBundle *resB,
1655 /*U_CAPI const char *ures_getResPath(UResourceBundle *resB) {
1659 U_CAPI UResourceBundle* U_EXPORT2
1660 ures_findResource(const char* path, UResourceBundle *fillIn, UErrorCode *status)
1662 UResourceBundle *first = NULL;
1663 UResourceBundle *result = fillIn;
1714 U_CAPI UResourceBundle* U_EXPORT2
1715 ures_findSubResource(const UResourceBundle *resB, char* path, UResourceBundle *fillIn, UErrorCode *status)
1718 UResourceBundle *result = fillIn;
1742 ures_getStringByKeyWithFallback(const UResourceBundle *resB,
1747 UResourceBundle stack;
1799 U_CAPI UResourceBundle* U_EXPORT2
1800 ures_getByKeyWithFallback(const UResourceBundle *resB,
1802 UResourceBundle *fillIn,
1806 UResourceBundle *helper = NULL;
1888 const UResourceBundle *bundle, ResourceDataValue &value,
1916 // Turn the parent UResourceDataEntry into a UResourceBundle,
1920 // so that we need not create UResourceBundle objects.
1921 UResourceBundle parentBundle;
1935 UResourceBundle containerBundle;
1937 const UResourceBundle *rb;
1954 const UResourceBundle *bundle, const char *path,
1962 UResourceBundle stackBundle;
1964 const UResourceBundle *rb;
1990 ures_getAllArrayItemsWithFallback(const UResourceBundle *bundle, const char *path,
1996 ures_getAllTableItemsWithFallback(const UResourceBundle *bundle, const char *path,
2001 U_CAPI UResourceBundle* U_EXPORT2 ures_getByKey(const UResourceBundle *resB, const char* inKey, UResourceBundle *fillIn, UErrorCode *status) {
2054 U_CAPI const UChar* U_EXPORT2 ures_getStringByKey(const UResourceBundle *resB, const char* inKey, int32_t* len, UErrorCode *status) {
2085 UResourceBundle *tempRes = ures_getByKey(resB, inKey, NULL, status);
2107 UResourceBundle *tempRes = ures_getByKey(resB, inKey, NULL, status);
2137 ures_getUTF8StringByKey(const UResourceBundle *resB,
2154 ures_getLocaleInternal(const UResourceBundle* resourceBundle, UErrorCode* status)
2168 ures_getLocale(const UResourceBundle* resourceBundle,
2176 ures_getLocaleByType(const UResourceBundle* resourceBundle,
2199 U_CFUNC const char* ures_getName(const UResourceBundle* resB) {
2208 U_CFUNC const char* ures_getPath(const UResourceBundle* resB) {
2217 static UResourceBundle*
2218 ures_openWithType(UResourceBundle *r, const char* path, const char* localeID,
2247 r = (UResourceBundle *)uprv_malloc(sizeof(UResourceBundle));
2258 uprv_memset(r, 0, sizeof(UResourceBundle));
2272 U_CAPI UResourceBundle* U_EXPORT2
2277 U_CAPI UResourceBundle* U_EXPORT2
2286 U_CAPI UResourceBundle* U_EXPORT2
2297 ures_openFillIn(UResourceBundle *r, const char* path,
2311 ures_countArrayItems(const UResourceBundle* resourceBundle,
2315 UResourceBundle resData;
2348 ures_getVersionNumberInternal(const UResourceBundle *resourceBundle)
2373 ((UResourceBundle *)resourceBundle)->fVersion = (char *)uprv_malloc(1 + len);
2375 if (((UResourceBundle *)resourceBundle)->fVersion == NULL) {
2392 ures_getVersionNumber(const UResourceBundle* resourceBundle)
2397 U_CAPI void U_EXPORT2 ures_getVersion(const UResourceBundle* resB, UVersionInfo versionInfo) {
2413 UResourceBundle installed;
2414 UResourceBundle curr;
2437 UResourceBundle *res = &(ctx->installed);
2438 UResourceBundle *k = NULL;
2454 UResourceBundle *res = &((ULocalesContext *)en->context)->installed;
2473 UResourceBundle *idx = NULL;
2537 UResourceBundle bund1, bund2;
2538 UResourceBundle *res = NULL;
2846 UResourceBundle item;
2847 UResourceBundle subItem;
2863 UResourceBundle *bund = NULL;
2864 UResourceBundle *subPtr = NULL;
2940 ures_equal(const UResourceBundle* res1, const UResourceBundle* res2){
2975 U_INTERNAL UResourceBundle* U_EXPORT2
2976 ures_clone(const UResourceBundle* res, UErrorCode* status){
2977 UResourceBundle* bundle = NULL;
2978 UResourceBundle* ret = NULL;
2991 U_INTERNAL const UResourceBundle* U_EXPORT2
2992 ures_getParentBundle(const UResourceBundle* res){
3001 ures_getVersionByKey(const UResourceBundle* res, const char *key, UVersionInfo ver, UErrorCode *status) {