Lines Matching refs:n
1080 for (int n = 0; haystack[n] != NULL; n++) { in ConfirmationUITranslations_find_str() local
1081 if (strcmp(needle, haystack[n]) == 0) { in ConfirmationUITranslations_find_str()
1082 return n; in ConfirmationUITranslations_find_str()
1094 size_t n; in ConfirmationUITranslations_lang_id_match() local
1102 for (n = 0; lang_id[n] != '\0' && n < MAX_LANG_ID_SIZE; n++) { in ConfirmationUITranslations_lang_id_match()
1103 lang_id_buf[n] = lang_id[n]; in ConfirmationUITranslations_lang_id_match()
1105 lang_id_buf[n] = '\0'; in ConfirmationUITranslations_lang_id_match()
1107 while (n >= 1) { in ConfirmationUITranslations_lang_id_match()
1109 while (n >= 1 && lang_id_buf[n - 1] != '-') { in ConfirmationUITranslations_lang_id_match()
1110 n--; in ConfirmationUITranslations_lang_id_match()
1112 if (n < 1) { in ConfirmationUITranslations_lang_id_match()
1115 lang_id_buf[n - 1] = '\0'; in ConfirmationUITranslations_lang_id_match()
1116 n--; in ConfirmationUITranslations_lang_id_match()
1140 for (size_t n = 0; n < ConfirmationUITranslations_NUM_TRANSLATION_IDS; n++) { in ConfirmationUITranslations_lookup() local
1141 … if (strcmp(translation_id, ConfirmationUITranslations_translation_ids[n].translation_id) == 0) { in ConfirmationUITranslations_lookup()
1144 return ConfirmationUITranslations_translation_ids[n].translations[0]; in ConfirmationUITranslations_lookup()
1146 …result = ConfirmationUITranslations_translation_ids[n].translations[ConfirmationUITranslations_sel… in ConfirmationUITranslations_lookup()
1150 return ConfirmationUITranslations_translation_ids[n].translations[0]; in ConfirmationUITranslations_lookup()