Home | History | Annotate | Download | only in i18n

Lines Matching full:fillin

152 static UResourceBundle* tryGetDecimalFallback(const UResourceBundle* numberSystemResource, const char* style, UResourceBundle** fillIn, FallbackFlags flags, UErrorCode& status);
153 static UResourceBundle* tryGetByKeyWithFallback(const UResourceBundle* rb, const char* path, UResourceBundle** fillIn, FallbackFlags flags, UErrorCode& status);
554 * FillIn, flags, and status work in the same way as in tryGetByKeyWithFallback.
556 static UResourceBundle* tryGetDecimalFallback(const UResourceBundle* numberSystemResource, const char* style, UResourceBundle** fillIn, FallbackFlags flags, UErrorCode& status) {
557 UResourceBundle* first = tryGetByKeyWithFallback(numberSystemResource, style, fillIn, flags, status);
558 UResourceBundle* second = tryGetByKeyWithFallback(first, gDecimalFormatTag, fillIn, flags, status);
559 if (fillIn == NULL) {
569 // (i.e "foo" but not "foo/bar"); If fillIn is NULL, caller must always call
570 // ures_close() on returned resource. See below for example when fillIn is
584 // UResourcebundle* fillIn = NULL;
585 // UResourceBundle* data = tryGetByKeyWithFallback(rb, "foo", &fillIn, NON_ROOT, status);
586 // data = tryGetByKeyWithFallback(data, "bar", &fillIn, NON_ROOT, status);
588 // data = tryGetbyKeyWithFallback(rb, "baz", &fillIn, MUST, status);
591 // ures_close(fillIn);
596 // /* Wrong! don't do the following as it can leak memory if fillIn gets set
598 // fillIn = tryGetByKeyWithFallback(rb, "wrong", &fillIn, ANY, status);
600 // ures_close(fillIn);
602 static UResourceBundle* tryGetByKeyWithFallback(const UResourceBundle* rb, const char* path, UResourceBundle** fillIn, FallbackFlags flags, UErrorCode& status) {
615 if (fillIn == NULL) {
619 *fillIn = ures_getByKeyWithFallback(rb, path, *fillIn, &status);
620 result = *fillIn;