Searched refs:num_len (Results 1 – 2 of 2) sorted by relevance
418 size_t num_len; in parse_cpu_core() local466 for (num_len = 0; *next != '\0'; next++, num_len++) { in parse_cpu_core()467 if (num_len == RTE_DIM(num)) in parse_cpu_core()473 num[num_len] = *next; in parse_cpu_core()476 if (num_len == 0 && type != 'h' && type != 'H') in parse_cpu_core()479 if (num_len != 0 && (type == 'h' || type == 'H')) in parse_cpu_core()482 num[num_len] = '\0'; in parse_cpu_core()
435 size_t num_len; in softnic_parse_cpu_core() local483 for (num_len = 0; *next != '\0'; next++, num_len++) { in softnic_parse_cpu_core()484 if (num_len == RTE_DIM(num)) in softnic_parse_cpu_core()490 num[num_len] = *next; in softnic_parse_cpu_core()493 if (num_len == 0 && type != 'h' && type != 'H') in softnic_parse_cpu_core()496 if (num_len != 0 && (type == 'h' || type == 'H')) in softnic_parse_cpu_core()499 num[num_len] = '\0'; in softnic_parse_cpu_core()