Home
last modified time | relevance | path

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

/dpdk/lib/cmdline/
H A Dcmdline_parse.c311 int tmp_len = -1; in cmdline_complete() local
376 tmp_len = strnlen(tmpbuf, sizeof(tmpbuf)); in cmdline_complete()
377 if (tmp_len < CMDLINE_BUFFER_SIZE - 1) { in cmdline_complete()
378 tmpbuf[tmp_len] = ' '; in cmdline_complete()
379 tmpbuf[tmp_len+1] = 0; in cmdline_complete()
487 tmp_len = strnlen(tmpbuf, sizeof(tmpbuf)); in cmdline_complete()
488 if (tmp_len < CMDLINE_BUFFER_SIZE - 1) { in cmdline_complete()
489 tmpbuf[tmp_len] = ' '; in cmdline_complete()
490 tmpbuf[tmp_len + 1] = 0; in cmdline_complete()
/dpdk/lib/hash/
H A Drte_thash.c772 int tmp_len; in rte_thash_adjust_tuple() local
811 tmp_len = RTE_MIN(sizeof(uint32_t) * CHAR_BIT, in rte_thash_adjust_tuple()
813 offset -= tmp_len; in rte_thash_adjust_tuple()
814 tmp = read_unaligned_bits(tuple, tmp_len, in rte_thash_adjust_tuple()
817 tmp &= (1 << tmp_len) - 1; in rte_thash_adjust_tuple()
818 write_unaligned_bits(tuple, tmp_len, offset, in rte_thash_adjust_tuple()