Home | History | Annotate | Download | only in i18n

Lines Matching refs:fillIn

150 static UResourceBundle* tryGetDecimalFallback(const UResourceBundle* numberSystemResource, const char* style, UResourceBundle** fillIn, FallbackFlags flags, UErrorCode& status);
151 static UResourceBundle* tryGetByKeyWithFallback(const UResourceBundle* rb, const char* path, UResourceBundle** fillIn, FallbackFlags flags, UErrorCode& status);
600 * FillIn, flags, and status work in the same way as in tryGetByKeyWithFallback.
602 static UResourceBundle* tryGetDecimalFallback(const UResourceBundle* numberSystemResource, const char* style, UResourceBundle** fillIn, FallbackFlags flags, UErrorCode& status) {
603 UResourceBundle* first = tryGetByKeyWithFallback(numberSystemResource, style, fillIn, flags, status);
604 UResourceBundle* second = tryGetByKeyWithFallback(first, gDecimalFormatTag, fillIn, flags, status);
605 if (fillIn == NULL) {
615 // (i.e "foo" but not "foo/bar"); If fillIn is NULL, caller must always call
616 // ures_close() on returned resource. See below for example when fillIn is
630 // UResourcebundle* fillIn = NULL;
631 // UResourceBundle* data = tryGetByKeyWithFallback(rb, "foo", &fillIn, NON_ROOT, status);
632 // data = tryGetByKeyWithFallback(data, "bar", &fillIn, NON_ROOT, status);
634 // data = tryGetbyKeyWithFallback(rb, "baz", &fillIn, MUST, status);
637 // ures_close(fillIn);
642 // /* Wrong! don't do the following as it can leak memory if fillIn gets set
644 // fillIn = tryGetByKeyWithFallback(rb, "wrong", &fillIn, ANY, status);
646 // ures_close(fillIn);
648 static UResourceBundle* tryGetByKeyWithFallback(const UResourceBundle* rb, const char* path, UResourceBundle** fillIn, FallbackFlags flags, UErrorCode& status) {
661 if (fillIn == NULL) {
665 *fillIn = ures_getByKeyWithFallback(rb, path, *fillIn, &status);
666 result = *fillIn;