Home | History | Annotate | Download | only in common

Lines Matching refs:Resource

18 *   06/24/02    weiv        Added support for resource sharing
39 Static cache for already opened resource bundles - mostly for keeping fallback info
99 * Internal function. Tries to find a resource in given Resource
102 static const ResourceData *getFallbackData(const UResourceBundle* resBundle, const char* * resTag, UResourceDataEntry* *realData, Resource *res, UErrorCode *status) {
108 if(resB->fBogus == U_ZERO_ERROR) { /* if this resource is real, */
122 if(*res != RES_BOGUS) { /* If the resource is found in parents, we need to adjust the error */
132 } else { /* If resource is not found, we need to give an error */
186 /* some resource bundles are still open somewhere. */
237 /** INTERNAL: sets the name (locale) of the resource bundle to given name */
301 /* if the resource has a warning */
346 Resource aliasres = res_getResource(&(r->fData), "%%ALIAS");
567 * Functions to create and destroy resource bundles.
601 * API: closes a resource bundle and cleans up.
695 static UResourceBundle *init_resb_result(const ResourceData *rdata, Resource r,
764 /* it contains the path to a resource which should be looked up */
801 * to use the corresponding resource from
805 * resource to the one we are searching.
857 * aliastest resource should finally have the sequence, not collation elements.
877 if(r != RES_BOGUS) { /* found a resource, but it might be an indirection */
881 r = result->fRes; /* switch to a new resource, possibly a new tree */
884 } else { /* no resource found, we don't really want to look anymore on this level */
900 } else { /* we failed to open the resource we're aliasing to */
1024 * Functions to retrieve data from resource bundles.
1095 * hopefully leading to more robust code for when resource bundles
1234 static const UChar* ures_getStringWithAlias(const UResourceBundle *resB, Resource r, int32_t sIndex, int32_t *len, UErrorCode *status) {
1261 Resource r = RES_BOGUS;
1306 Resource r = RES_BOGUS;
1353 Resource r = RES_BOGUS;
1398 Resource r = RES_BOGUS;
1515 Resource res = RES_BOGUS;
1525 /* so, when we encounter an alias, it is not an aggregate resource, so we return */
1559 Resource res = RES_BOGUS, rootRes = RES_BOGUS;
1635 Resource res = RES_BOGUS;
1687 Resource res = RES_BOGUS;
1786 * that has resource bundle data.
1848 * API: This function is used to open a resource bundle
1954 * Opens a resource bundle without "canonicalizing" the locale name. No fallback will be performed