Lines Matching refs:r
302 int i, j, k, n, r; in apply_case_fold1() local
310 r = (*f)(fold, &unfold, 1, arg); in apply_case_fold1()
311 if (r != 0) return r; in apply_case_fold1()
312 r = (*f)(unfold, &fold, 1, arg); in apply_case_fold1()
313 if (r != 0) return r; in apply_case_fold1()
317 r = (*f)(unfold, &unfold2, 1, arg); in apply_case_fold1()
318 if (r != 0) return r; in apply_case_fold1()
319 r = (*f)(unfold2, &unfold, 1, arg); in apply_case_fold1()
320 if (r != 0) return r; in apply_case_fold1()
333 int i, j, k, n, r; in apply_case_fold2() local
341 r = (*f)(unfold, fold, 2, arg); in apply_case_fold2()
342 if (r != 0) return r; in apply_case_fold2()
346 r = (*f)(unfold, &unfold2, 1, arg); in apply_case_fold2()
347 if (r != 0) return r; in apply_case_fold2()
348 r = (*f)(unfold2, &unfold, 1, arg); in apply_case_fold2()
349 if (r != 0) return r; in apply_case_fold2()
362 int i, j, k, n, r; in apply_case_fold3() local
370 r = (*f)(unfold, fold, 3, arg); in apply_case_fold3()
371 if (r != 0) return r; in apply_case_fold3()
375 r = (*f)(unfold, &unfold2, 1, arg); in apply_case_fold3()
376 if (r != 0) return r; in apply_case_fold3()
377 r = (*f)(unfold2, &unfold, 1, arg); in apply_case_fold3()
378 if (r != 0) return r; in apply_case_fold3()
392 int r; in onigenc_unicode_apply_all_case_fold() local
394 r = apply_case_fold1(0, FOLDS1_NORMAL_END_INDEX, f, arg); in onigenc_unicode_apply_all_case_fold()
395 if (r != 0) return r; in onigenc_unicode_apply_all_case_fold()
400 r = (*f)(0x0049, &code, 1, arg); in onigenc_unicode_apply_all_case_fold()
401 if (r != 0) return r; in onigenc_unicode_apply_all_case_fold()
403 r = (*f)(0x0131, &code, 1, arg); in onigenc_unicode_apply_all_case_fold()
404 if (r != 0) return r; in onigenc_unicode_apply_all_case_fold()
407 r = (*f)(0x0069, &code, 1, arg); in onigenc_unicode_apply_all_case_fold()
408 if (r != 0) return r; in onigenc_unicode_apply_all_case_fold()
410 r = (*f)(0x0130, &code, 1, arg); in onigenc_unicode_apply_all_case_fold()
411 if (r != 0) return r; in onigenc_unicode_apply_all_case_fold()
415 r = apply_case_fold1(FOLDS1_NORMAL_END_INDEX, FOLDS1_END_INDEX, f, arg); in onigenc_unicode_apply_all_case_fold()
416 if (r != 0) return r; in onigenc_unicode_apply_all_case_fold()
424 r = apply_case_fold2(0, FOLDS2_NORMAL_END_INDEX, f, arg); in onigenc_unicode_apply_all_case_fold()
425 if (r != 0) return r; in onigenc_unicode_apply_all_case_fold()
430 r = apply_case_fold2(FOLDS2_NORMAL_END_INDEX, FOLDS2_END_INDEX, f, arg); in onigenc_unicode_apply_all_case_fold()
431 if (r != 0) return r; in onigenc_unicode_apply_all_case_fold()
436 r = apply_case_fold3(0, FOLDS3_NORMAL_END_INDEX, f, arg); in onigenc_unicode_apply_all_case_fold()
437 if (r != 0) return r; in onigenc_unicode_apply_all_case_fold()