Home
last modified time | relevance | path

Searched refs:wordlen (Results 1 – 2 of 2) sorted by relevance

/external/linux-tools-perf/perf-3.12.0/tools/perf/util/
Dcolor.c65 int val, wordlen = 0; in color_parse_mem() local
67 while (len > 0 && !isspace(word[wordlen])) { in color_parse_mem()
68 wordlen++; in color_parse_mem()
72 ptr = word + wordlen; in color_parse_mem()
78 val = parse_color(word, wordlen); in color_parse_mem()
90 val = parse_attr(word, wordlen); in color_parse_mem()
/external/tcpdump/
Dprint-ospf6.c162 u_int wordlen; in ospf6_print_lsaprefix() local
169 wordlen = (lsapp->lsa_p_len + 31) / 32; in ospf6_print_lsaprefix()
170 if (wordlen * 4 > sizeof(struct in6_addr)) { in ospf6_print_lsaprefix()
174 if (lsa_length < wordlen * 4) in ospf6_print_lsaprefix()
176 lsa_length -= wordlen * 4; in ospf6_print_lsaprefix()
177 TCHECK2(lsapp->lsa_p_prefix, wordlen * 4); in ospf6_print_lsaprefix()
179 memcpy(&prefix, lsapp->lsa_p_prefix, wordlen * 4); in ospf6_print_lsaprefix()
188 return sizeof(*lsapp) - 4 + wordlen * 4; in ospf6_print_lsaprefix()