Searched refs:cc_table (Results 1 – 1 of 1) sorted by relevance
197 static char *cc_table = NULL; in cc_len() local203 if (!cc_table) { in cc_len()204 if (!(cc_table = malloc(100))) { in cc_len()208 memset(cc_table,E164_CC_DEFAULT_LEN,100); in cc_len()216 if (cc < 10) cc_table[cc] = 1; in cc_len()217 else if (cc < 100) cc_table[cc] = 2; in cc_len()218 else cc_table[cc/10] = 3; in cc_len()224 if (cc_table[p0] == 1) return 1; in cc_len()225 return cc_table[p0*10+p1]; in cc_len()