Home
last modified time | relevance | path

Searched refs:int_only (Results 1 – 3 of 3) sorted by relevance

/external/bc/src/
Dlex.c152 bc_lex_num(BcLex* l, char start, bool int_only) in bc_lex_num() argument
163 for (i = 0; (c = buf[i]) && (BC_LEX_NUM_CHAR(c, pt, int_only) || in bc_lex_num()
182 if (!BC_LEX_NUM_CHAR(c, pt, int_only)) break; in bc_lex_num()
/external/bc/include/
Dlex.h102 #define BC_LEX_NUM_CHAR(c, pt, int_only) \ argument
104 ((c) == '.' && !(pt) && !(int_only)))
/external/scapy/scapy/modules/
Dp0f.py398 int_only = lambda val: val if isinstance(val, six.integer_types) else None function
399 mss_hint = int_only(orig_opts.get('MSS'))
400 wscale_hint = int_only(orig_opts.get('WScale'))
401 ts_hint = [int_only(o) for o in orig_opts.get('Timestamp', (None, None))]