Home
last modified time | relevance | path

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

/src/contrib/ncurses/ncurses/base/
H A Dlib_mouse.c1511 MEVENT *first_valid = NULL; in _nc_mouse_parse() local
1617 if ((first_valid != NULL) && (first_invalid == NULL)) { in _nc_mouse_parse()
1621 if (first_valid == NULL) { in _nc_mouse_parse()
1622 first_valid = ep; in _nc_mouse_parse()
1639 if (first_valid == NULL) { in _nc_mouse_parse()
1643 RunParams(sp, eventp, first_valid), in _nc_mouse_parse()
1666 endLoop = (first_valid == NULL); in _nc_mouse_parse()
1667 ep = first_valid; in _nc_mouse_parse()
1721 if (ep == first_valid) { in _nc_mouse_parse()
1722 first_valid = next; in _nc_mouse_parse()
[all …]
/src/sys/net/
H A Diflib.c4798 unsigned int first_valid; in cpuid_advance() local
4807 first_valid = CPU_FFS(&ctx->ifc_cpus) - 1; in cpuid_advance()
4814 cpuid = first_valid; in cpuid_advance()
4908 unsigned int first_valid; in get_ctx_core_offset() local
4912 first_valid = CPU_FFS(&ctx->ifc_cpus) - 1; in get_ctx_core_offset()
4929 if (base_cpuid < first_valid || base_cpuid > last_valid) { in get_ctx_core_offset()
4931 base_cpuid += first_valid; in get_ctx_core_offset()
4933 base_cpuid = (base_cpuid - first_valid) % in get_ctx_core_offset()
4934 (last_valid - first_valid + 1); in get_ctx_core_offset()
4969 CPU_SET(get_cpuid_for_queue(ctx, first_valid, i, true), in get_ctx_core_offset()
[all …]