Lines Matching refs:numlen
1655 int numlen; in handleSendSMSText() local
1677 numlen = sms_address_to_str( &address, temp, sizeof(temp) ); in handleSendSMSText()
1678 if (numlen > sizeof(temp)-1) in handleSendSMSText()
1680 temp[numlen] = 0; in handleSendSMSText()
1683 if (numlen == 10 && !strncmp(temp, PHONE_PREFIX+1, 6)) { in handleSendSMSText()
1685 memcpy( number+1, temp, numlen ); in handleSendSMSText()
1686 number[numlen+1] = 0; in handleSendSMSText()
1687 } else if (numlen == 7 && !strncmp(temp, PHONE_PREFIX+4, 3)) { in handleSendSMSText()
1689 memcpy( number+4, temp, numlen ); in handleSendSMSText()
1690 number[numlen+4] = 0; in handleSendSMSText()
1691 } else if (numlen == 4) { in handleSendSMSText()
1693 memcpy( number+7, temp, numlen ); in handleSendSMSText()
1694 number[numlen+7] = 0; in handleSendSMSText()
1696 memcpy( number, temp, numlen ); in handleSendSMSText()
1697 number[numlen] = 0; in handleSendSMSText()
1754 int numlen; in handleSendSMSText()
1773 numlen = sms_address_to_str( &address, number, sizeof(number) ); in handleSendSMSText()
1774 if (numlen > sizeof(number)-1) in handleSendSMSText()
1777 number[numlen] = 0; in handleSendSMSText()