• Home
  • Raw
  • Download

Lines Matching refs:jni_cache_

65     : jni_cache_(jni_cache),  in Calendar()
66 jenv_(jni_cache_ ? jni_cache->GetEnv() : nullptr), in Calendar()
71 if (!jni_cache_ || !jenv_) { in Initialize()
77 if (jni_cache_->calendar_sunday != kSunday || in Initialize()
78 jni_cache_->calendar_monday != kMonday || in Initialize()
79 jni_cache_->calendar_tuesday != kTuesday || in Initialize()
80 jni_cache_->calendar_wednesday != kWednesday || in Initialize()
81 jni_cache_->calendar_thursday != kThursday || in Initialize()
82 jni_cache_->calendar_friday != kFriday || in Initialize()
83 jni_cache_->calendar_saturday != kSaturday) { in Initialize()
93 JniHelper::CallStaticObjectMethod(jenv_, jni_cache_->timezone_class.get(), in Initialize()
94 jni_cache_->timezone_get_timezone, in Initialize()
103 if (jni_cache_->locale_for_language_tag) { in Initialize()
110 JniHelper::CallStaticObjectMethod(jenv_, jni_cache_->locale_class.get(), in Initialize()
111 jni_cache_->locale_for_language_tag, in Initialize()
120 java_locale, JniHelper::NewObject(jenv_, jni_cache_->locale_class.get(), in Initialize()
121 jni_cache_->locale_init_string, in Initialize()
132 jenv_, jni_cache_->calendar_class.get(), in Initialize()
133 jni_cache_->calendar_get_instance, java_time_zone.get(), in Initialize()
142 jni_cache_->calendar_set_time_in_millis, in Initialize()
152 if (!jni_cache_ || !jenv_ || !calendar_) return false; in GetFirstDayOfWeek()
157 jni_cache_->calendar_get_first_day_of_week)); in GetFirstDayOfWeek()
162 if (!jni_cache_ || !jenv_ || !calendar_) return false; in GetTimeInMillis()
167 jni_cache_->calendar_get_time_in_millis)); in GetTimeInMillis()
177 : jni_cache_(jni_cache) {} in CalendarLib()
183 if (!jni_cache_ || !jenv_ || !calendar_) return false; \
184 return Calendar##KIND(jni_cache_, jenv_, calendar_.get(), \
185 jni_cache_->calendar_##FIELD, value); \