Lines Matching refs:err

122     I18nErrorCode err = CheckPermission();
123 if (err != I18nErrorCode::SUCCESS) {
124 reply.WriteInt32(static_cast<int32_t>(err));
128 err = SetSystemLanguage(language);
129 if (err != I18nErrorCode::SUCCESS) {
131 static_cast<int32_t>(err));
133 reply.WriteInt32(static_cast<int32_t>(err));
142 I18nErrorCode err = CheckPermission();
143 if (err != I18nErrorCode::SUCCESS) {
144 reply.WriteInt32(static_cast<int32_t>(err));
148 err = SetSystemRegion(region);
149 if (err != I18nErrorCode::SUCCESS) {
151 static_cast<int32_t>(err));
153 reply.WriteInt32(static_cast<int32_t>(err));
162 I18nErrorCode err = CheckPermission();
163 if (err != I18nErrorCode::SUCCESS) {
164 reply.WriteInt32(static_cast<int32_t>(err));
168 err = SetSystemLocale(locale);
169 if (err != I18nErrorCode::SUCCESS) {
171 static_cast<int32_t>(err));
173 reply.WriteInt32(static_cast<int32_t>(err));
182 I18nErrorCode err = CheckPermission();
183 if (err != I18nErrorCode::SUCCESS) {
184 reply.WriteInt32(static_cast<int32_t>(err));
188 err = Set24HourClock(flag);
189 if (err != I18nErrorCode::SUCCESS) {
191 static_cast<int32_t>(err));
193 reply.WriteInt32(static_cast<int32_t>(err));
202 I18nErrorCode err = CheckPermission();
203 if (err != I18nErrorCode::SUCCESS) {
204 reply.WriteInt32(static_cast<int32_t>(err));
208 err = SetUsingLocalDigit(flag);
209 if (err != I18nErrorCode::SUCCESS) {
211 static_cast<int32_t>(err));
213 reply.WriteInt32(static_cast<int32_t>(err));
222 I18nErrorCode err = CheckPermission();
223 if (err != I18nErrorCode::SUCCESS) {
224 reply.WriteInt32(static_cast<int32_t>(err));
229 err = AddPreferredLanguage(language, index);
230 if (err != I18nErrorCode::SUCCESS) {
232 static_cast<int32_t>(err));
234 reply.WriteInt32(static_cast<int32_t>(err));
243 I18nErrorCode err = CheckPermission();
244 if (err != I18nErrorCode::SUCCESS) {
245 reply.WriteInt32(static_cast<int32_t>(err));
249 err = RemovePreferredLanguage(index);
250 if (err != I18nErrorCode::SUCCESS) {
252 static_cast<int32_t>(err));
254 reply.WriteInt32(static_cast<int32_t>(err));