Lines Matching refs:nn
175 int nn; in control_global_del_redir() local
177 for (nn = 0; nn < global->num_redirs; nn++) in control_global_del_redir()
179 Redir redir = &global->redirs[nn]; in control_global_del_redir()
184 memmove( redir, redir + 1, ((global->num_redirs - nn)-1)*sizeof(*redir) ); in control_global_del_redir()
358 int nn; in find_command() local
369 for (nn = 0; commands[nn].names != NULL; nn++) in find_command()
371 const char* name = commands[nn].names; in find_command()
387 return &commands[nn]; in find_command()
562 int nn; in control_client_read() local
567 for (nn = 0; nn < count; nn++) { in control_client_read()
568 int c = buf[nn]; in control_client_read()
570 temp[nn] = '!'; in control_client_read()
572 temp[nn] = '.'; in control_client_read()
574 temp[nn] = (char)c; in control_client_read()
576 temp[nn] = 0; in control_client_read()
582 for (nn = 0; nn < size; nn++) { in control_client_read()
583 control_client_read_byte( client, buf[nn] ); in control_client_read()
844 int nn; in do_redir_list() local
845 for (nn = 0; nn < global->num_redirs; nn++) { in do_redir_list()
846 Redir redir = &global->redirs[nn]; in do_redir_list()
900 int nn; in redir_find() local
902 for (nn = 0; nn < global->num_redirs; nn++) { in redir_find()
903 Redir redir = &global->redirs[nn]; in redir_find()
1066 int nn; in do_cdma_ssource() local
1072 for (nn = 0; ; nn++) { in do_cdma_ssource()
1073 const char* name = _cdma_subscription_sources[nn].name; in do_cdma_ssource()
1074 ACdmaSubscriptionSource ssource = _cdma_subscription_sources[nn].source; in do_cdma_ssource()
1131 int nn; in gsm_state_to_string() local
1132 for (nn = 0; _gsm_states[nn].name != NULL; nn++) { in gsm_state_to_string()
1133 if (state == _gsm_states[nn].state) in gsm_state_to_string()
1134 return _gsm_states[nn].name; in gsm_state_to_string()
1163 int nn; in help_gsm_data() local
1167 for (nn = 0; ; nn++) { in help_gsm_data()
1168 const char* name = _gsm_states[nn].name; in help_gsm_data()
1169 const char* display = _gsm_states[nn].display; in help_gsm_data()
1183 int nn; in do_gsm_data() local
1190 for (nn = 0; ; nn++) { in do_gsm_data()
1191 const char* name = _gsm_states[nn].name; in do_gsm_data()
1192 ARegistrationState state = _gsm_states[nn].state; in do_gsm_data()
1215 int nn; in help_gsm_voice() local
1219 for (nn = 0; ; nn++) { in help_gsm_voice()
1220 const char* name = _gsm_states[nn].name; in help_gsm_voice()
1221 const char* display = _gsm_states[nn].display; in help_gsm_voice()
1235 int nn; in do_gsm_voice() local
1242 for (nn = 0; ; nn++) { in do_gsm_voice()
1243 const char* name = _gsm_states[nn].name; in do_gsm_voice()
1244 ARegistrationState state = _gsm_states[nn].state; in do_gsm_voice()
1266 int nn; in gsm_check_number() local
1268 for (nn = 0; args[nn] != 0; nn++) { in gsm_check_number()
1269 int c = args[nn]; in gsm_check_number()
1274 if (nn == 0) in gsm_check_number()
1343 int nn; in do_gsm_list() local
1344 for (nn = 0; nn < count; nn++) { in do_gsm_list()
1345 ACall call = amodem_get_call( android_modem, nn ); in do_gsm_list()
1582 int nn; in do_sms_send() local
1628 for (nn = 0; pdus[nn] != NULL; nn++) in do_sms_send()
1629 amodem_receive_sms( android_modem, pdus[nn] ); in do_sms_send()
1899 int nn; in do_event_types() local
1902 for (nn = 0; nn < count; nn++) { in do_event_types()
1906 int count2 = android_event_get_code_count( nn );; in do_event_types()
1908 p = android_event_bufprint_type_str( p, end, nn ); in do_event_types()
1923 int nn, type, dummy; in do_event_codes() local
1941 for (nn = 0; nn < count; nn++) { in do_event_codes()
1943 android_event_bufprint_code_str( p, end, type, nn ); in do_event_codes()