Lines Matching refs:UResourceBundle
14 * 07/20/99 stephen Changed for UResourceBundle typedef'd to void*
102 static const ResourceData *getFallbackData(const UResourceBundle* resBundle, const char* * resTag, UResourceDataEntry* *realData, Resource *res, UErrorCode *status) {
499 static void ures_setIsStackObject( UResourceBundle* resB, UBool state) {
509 static UBool ures_isStackObject(const UResourceBundle* resB) {
514 U_CFUNC void ures_initStackObject(UResourceBundle* resB) {
515 uprv_memset(resB, 0, sizeof(UResourceBundle));
757 U_CFUNC void ures_setResPath(UResourceBundle *resB, const char* toAdd) {
773 static void ures_appendResPath(UResourceBundle *resB, const char* toAdd, int32_t lenToAdd, UErrorCode *status) {
803 static void ures_freeResPath(UResourceBundle *resB) {
812 ures_closeBundle(UResourceBundle* resB, UBool freeBundleObj)
829 uprv_memset(resB, -1, sizeof(UResourceBundle));
836 ures_close(UResourceBundle* resB)
841 static UResourceBundle *init_resb_result(const ResourceData *rdata, Resource r,
843 const UResourceBundle *parent, int32_t noAlias,
844 UResourceBundle *resB, UErrorCode *status)
940 UResourceBundle *result = resB;
943 UResourceBundle *mainRes = ures_openDirect(path, locale, &intStatus);
1069 resB = (UResourceBundle *)uprv_malloc(sizeof(UResourceBundle));
1138 UResourceBundle *ures_copyResb(UResourceBundle *r, const UResourceBundle *original, UErrorCode *status) {
1146 r = (UResourceBundle *)uprv_malloc(sizeof(UResourceBundle));
1156 uprv_memcpy(r, original, sizeof(UResourceBundle));
1174 U_CAPI const UChar* U_EXPORT2 ures_getString(const UResourceBundle* resB, int32_t* len, UErrorCode* status) {
1253 ures_getUTF8String(const UResourceBundle *resB,
1262 U_CAPI const uint8_t* U_EXPORT2 ures_getBinary(const UResourceBundle* resB, int32_t* len,
1279 U_CAPI const int32_t* U_EXPORT2 ures_getIntVector(const UResourceBundle* resB, int32_t* len,
1298 U_CAPI int32_t U_EXPORT2 ures_getInt(const UResourceBundle* resB, UErrorCode *status) {
1313 U_CAPI uint32_t U_EXPORT2 ures_getUInt(const UResourceBundle* resB, UErrorCode *status) {
1328 U_CAPI UResType U_EXPORT2 ures_getType(const UResourceBundle *resB) {
1335 UResourceBundle *resB) {
1343 U_CAPI int32_t U_EXPORT2 ures_getSize(const UResourceBundle *resB) {
1351 static const UChar* ures_getStringWithAlias(const UResourceBundle *resB, Resource r, int32_t sIndex, int32_t *len, UErrorCode *status) {
1354 UResourceBundle *tempRes = ures_getByIndex(resB, sIndex, NULL, status);
1363 U_CAPI void U_EXPORT2 ures_resetIterator(UResourceBundle *resB){
1370 U_CAPI UBool U_EXPORT2 ures_hasNext(const UResourceBundle *resB) {
1377 U_CAPI const UChar* U_EXPORT2 ures_getNextString(UResourceBundle *resB, int32_t* len, const char ** key, UErrorCode *status) {
1425 U_CAPI UResourceBundle* U_EXPORT2 ures_getNextResource(UResourceBundle *resB, UResourceBundle *fillIn, UErrorCode *status) {
1475 U_CAPI UResourceBundle* U_EXPORT2 ures_getByIndex(const UResourceBundle *resB, int32_t indexR, UResourceBundle *fillIn, UErrorCode *status) {
1523 U_CAPI const UChar* U_EXPORT2 ures_getStringByIndex(const UResourceBundle *resB, int32_t indexS, int32_t* len, UErrorCode *status) {
1574 ures_getUTF8StringByIndex(const UResourceBundle *resB,
1584 /*U_CAPI const char *ures_getResPath(UResourceBundle *resB) {
1588 U_CAPI UResourceBundle* U_EXPORT2
1589 ures_findResource(const char* path, UResourceBundle *fillIn, UErrorCode *status)
1591 UResourceBundle *first = NULL;
1592 UResourceBundle *result = fillIn;
1643 U_CAPI UResourceBundle* U_EXPORT2
1644 ures_findSubResource(const UResourceBundle *resB, char* path, UResourceBundle *fillIn, UErrorCode *status)
1647 UResourceBundle *result = fillIn;
1671 ures_getStringByKeyWithFallback(const UResourceBundle *resB,
1676 UResourceBundle stack;
1685 U_CAPI UResourceBundle* U_EXPORT2
1686 ures_getByKeyWithFallback(const UResourceBundle *resB,
1688 UResourceBundle *fillIn,
1693 UResourceBundle *helper = NULL;
1768 U_CAPI UResourceBundle* U_EXPORT2 ures_getByKey(const UResourceBundle *resB, const char* inKey, UResourceBundle *fillIn, UErrorCode *status) {
1822 U_CAPI const UChar* U_EXPORT2 ures_getStringByKey(const UResourceBundle
1854 UResourceBundle *tempRes = ures_getByKey(resB, inKey, NULL, status);
1876 UResourceBundle *tempRes = ures_getByKey(resB, inKey, NULL, status);
1906 ures_getUTF8StringByKey(const UResourceBundle *resB,
1923 ures_getLocaleInternal(const UResourceBundle* resourceBundle, UErrorCode* status)
1937 ures_getLocale(const UResourceBundle* resourceBundle,
1945 ures_getLocaleByType(const UResourceBundle* resourceBundle,
1969 U_CFUNC const char* ures_getName(const UResourceBundle* resB) {
1978 U_CFUNC const char* ures_getPath(const UResourceBundle* resB) {
1995 ures_openFillIn(UResourceBundle *r, const char* path,
2004 uprv_memset(r, 0, sizeof(UResourceBundle));
2026 U_CAPI UResourceBundle* U_EXPORT2
2033 UResourceBundle *r;
2046 r = (UResourceBundle *)uprv_malloc(sizeof(UResourceBundle));
2052 uprv_memset(r, 0, sizeof(UResourceBundle));
2099 U_CAPI UResourceBundle* U_EXPORT2
2101 UResourceBundle *r;
2108 r = (UResourceBundle *)uprv_malloc(sizeof(UResourceBundle));
2153 ures_countArrayItems(const UResourceBundle* resourceBundle,
2157 UResourceBundle resData;
2190 ures_getVersionNumberInternal(const UResourceBundle *resourceBundle)
2215 ((UResourceBundle *)resourceBundle)->fVersion = (char *)uprv_malloc(1 + len);
2217 if (((UResourceBundle *)resourceBundle)->fVersion == NULL) {
2234 ures_getVersionNumber(const UResourceBundle* resourceBundle)
2239 U_CAPI void U_EXPORT2 ures_getVersion(const UResourceBundle* resB, UVersionInfo versionInfo) {
2255 UResourceBundle installed;
2256 UResourceBundle curr;
2279 UResourceBundle *res = &(ctx->installed);
2280 UResourceBundle *k = NULL;
2296 UResourceBundle *res = &((ULocalesContext *)en->context)->installed;
2315 UResourceBundle *idx = NULL;
2379 UResourceBundle bund1, bund2;
2380 UResourceBundle *res = NULL;
2688 UResourceBundle item;
2689 UResourceBundle subItem;
2705 UResourceBundle *bund = NULL;
2706 UResourceBundle *subPtr = NULL;
2779 ures_equal(const UResourceBundle* res1, const UResourceBundle* res2){
2814 U_INTERNAL UResourceBundle* U_EXPORT2
2815 ures_clone(const UResourceBundle* res, UErrorCode* status){
2816 UResourceBundle* bundle = NULL;
2817 UResourceBundle* ret = NULL;
2830 U_INTERNAL const UResourceBundle* U_EXPORT2
2831 ures_getParentBundle(const UResourceBundle* res){
2840 ures_getVersionByKey(const UResourceBundle* res, const char *key, UVersionInfo ver, UErrorCode *status) {