Lines Matching defs:locale

190     // We only teardown and setup our 'locale' struct and other state
191 // when the Java-side locale changed. This is safe to do here
195 static struct strftime_locale locale;
209 env->ReleaseStringUTFChars(js_mon[i], locale.mon[i]);
210 env->ReleaseStringUTFChars(js_month[i], locale.month[i]);
211 env->ReleaseStringUTFChars(js_standalone_month[i], locale.standalone_month[i]);
218 env->ReleaseStringUTFChars(js_wday[i], locale.wday[i]);
219 env->ReleaseStringUTFChars(js_weekday[i], locale.weekday[i]);
224 env->ReleaseStringUTFChars(js_X_fmt, locale.X_fmt);
225 env->ReleaseStringUTFChars(js_x_fmt, locale.x_fmt);
226 env->ReleaseStringUTFChars(js_c_fmt, locale.c_fmt);
227 env->ReleaseStringUTFChars(js_am, locale.am);
228 env->ReleaseStringUTFChars(js_pm, locale.pm);
229 env->ReleaseStringUTFChars(js_date_fmt, locale.date_fmt);
243 locale.mon[i] = env->GetStringUTFChars(js_mon[i], NULL);
249 locale.month[i] = env->GetStringUTFChars(js_month[i], NULL);
255 locale.standalone_month[i] = env->GetStringUTFChars(js_standalone_month[i], NULL);
261 locale.wday[i] = env->GetStringUTFChars(js_wday[i], NULL);
267 locale.weekday[i] = env->GetStringUTFChars(js_weekday[i], NULL);
272 locale.X_fmt = env->GetStringUTFChars(js_X_fmt, NULL);
276 locale.x_fmt = env->GetStringUTFChars(js_x_fmt, NULL);
280 locale.c_fmt = env->GetStringUTFChars(js_c_fmt, NULL);
284 locale.am = env->GetStringUTFChars(js_am, NULL);
288 locale.pm = env->GetStringUTFChars(js_pm, NULL);
292 locale.date_fmt = env->GetStringUTFChars(js_date_fmt, NULL);
299 String8 r = t.format(format, &locale);