• Home
  • Raw
  • Download

Lines Matching refs:nn

409     int          nn, len, num_digits;  in sms_address_from_hex()  local
422 for ( nn = 0; nn < len; nn++ ) in sms_address_from_hex()
423 address->data[nn] = gsm_hex2_to_byte( hex + nn*2 ); in sms_address_from_hex()
432 int nn; in sms_address_to_hex() local
446 for ( nn = 0; nn < hexlen; nn += 2 ) in sms_address_to_hex()
447 gsm_hex_from_byte( hex+nn, address->data[nn/2] ); in sms_address_to_hex()
1238 int nn; in smspdu_free_list() local
1239 for (nn = 0; pdus[nn] != NULL; nn++) in smspdu_free_list()
1240 smspdu_free( pdus[nn] ); in smspdu_free_list()
1294 int nn; in smspdu_create_deliver_utf8() local
1296 for (nn = 0; nn < num_pdus; nn++) in smspdu_create_deliver_utf8()
1301 if (leftover > 0 && nn == num_pdus-1) in smspdu_create_deliver_utf8()
1306 … list[nn] = smspdu_create_deliver( src, src_next - src, use_gsm7, sender_address, timestamp, in smspdu_create_deliver_utf8()
1307 ref_num, num_pdus, nn ); in smspdu_create_deliver_utf8()
1308 if (list[nn] == NULL) in smspdu_create_deliver_utf8()
1364 int nn; in smspdu_to_hex() local
1369 for (nn = 0; nn*2 < hexlen; nn++) { in smspdu_to_hex()
1370 gsm_hex_from_byte( &hex[nn*2], pdu->base[nn] ); in smspdu_to_hex()
1402 int nn; in sms_fragment_free() local
1404 for (nn = 0; nn < frag->max; nn++) { in sms_fragment_free()
1405 if (frag->pdus[nn] != NULL) { in sms_fragment_free()
1406 smspdu_free( frag->pdus[nn] ); in sms_fragment_free()
1407 frag->pdus[nn] = NULL; in sms_fragment_free()
1568 int nn, total; in sms_receiver_get_text_message() local
1581 for ( nn = 0; nn < frag->count; nn++ ) { in sms_receiver_get_text_message()
1584 partial = smspdu_get_text_message( frag->pdus[nn], utf8, utf8len ); in sms_receiver_get_text_message()
1588 partial = smspdu_get_text_message( frag->pdus[nn], NULL, 0 ); in sms_receiver_get_text_message()
1615 int nn, total; in sms_receiver_create_deliver() local
1642 for ( nn = 0; nn < frag->count; nn++ ) { in sms_receiver_create_deliver()
1643 total += smspdu_get_text_message( frag->pdus[nn], utf8 + total, utf8len - total ); in sms_receiver_create_deliver()