Home
last modified time | relevance | path

Searched refs:last_index (Results 1 – 8 of 8) sorted by relevance

/freebsd-14.2/sys/contrib/openzfs/tests/zfs-tests/tests/functional/channel_program/lua_core/
H A Dtst.return_nvlist_neg.ksh45 typeset -i last_index=$((${#args[*]} - 1))
46 for i in $(seq 0 $last_index); do
52 for i in $(seq 0 $last_index); do
/freebsd-14.2/contrib/libedit/TEST/
H A Dtest_filecompletion.c498 static int last_index = 0; in mycomplet_func() local
500 if (last_index == 2) { in mycomplet_func()
501 last_index = 0; in mycomplet_func()
507 if (inputs[i].expanded_text[last_index] != NULL) in mycomplet_func()
508 return strdup(inputs[i].expanded_text[last_index++]); in mycomplet_func()
510 last_index = 0; in mycomplet_func()
/freebsd-14.2/contrib/ofed/opensm/opensm/
H A Dosm_pkey_mgr.c612 uint16_t index, last_index = 0; in last_used_pkey_index() local
622 last_index = cl_ntoh16(p_port->p_node->node_info.partition_cap) % IB_NUM_PKEY_ELEMENTS_IN_BLOCK; in last_used_pkey_index()
623 if (last_index == 0) in last_used_pkey_index()
624 last_index = IB_NUM_PKEY_ELEMENTS_IN_BLOCK; in last_used_pkey_index()
625 index = last_index; in last_used_pkey_index()
699 uint16_t last_index; in pkey_mgr_update_peer_port() local
776 &last_index)) { in pkey_mgr_update_peer_port()
777 last_index += peer_block_idx * IB_NUM_PKEY_ELEMENTS_IN_BLOCK; in pkey_mgr_update_peer_port()
778 if (cl_ntoh16(p_node->sw->switch_info.enforce_cap) <= last_index) { in pkey_mgr_update_peer_port()
783 last_index, in pkey_mgr_update_peer_port()
/freebsd-14.2/crypto/openssl/crypto/srp/
H A Dsrp_vfy.c401 char *last_index = NULL; in SRP_VBASE_init() local
424 last_index = SRP_get_default_gN(NULL)->id; in SRP_VBASE_init()
447 last_index = pp[DB_srpid]; in SRP_VBASE_init()
475 if (last_index != NULL) { in SRP_VBASE_init()
478 if (((gN = SRP_get_gN_by_id(last_index, SRP_gN_tab)) == NULL)) { in SRP_VBASE_init()
/freebsd-14.2/contrib/llvm-project/lldb/source/Target/
H A DThreadPlanStepRange.cpp337 uint32_t last_index = instructions->GetSize() - 1; in SetNextBranchBreakpoint() local
338 if (last_index - pc_index > 1) { in SetNextBranchBreakpoint()
340 instructions->GetInstructionAtIndex(last_index); in SetNextBranchBreakpoint()
/freebsd-14.2/contrib/libbegemot/
H A Drpoll.c497 static u_int last_index; in poll_dispatch() local
565 idx = rpoll_policy ? ((last_index+i) % regs_alloc) : i; in poll_dispatch()
608 last_index++; in poll_dispatch()
/freebsd-14.2/sys/cam/
H A Dcam_queue.c49 int last_index);
/freebsd-14.2/contrib/llvm-project/openmp/runtime/src/
H A Dkmp_lock.cpp3828 static int last_index = 0; in __kmp_lock_block_allocate() local
3829 if ((last_index >= __kmp_num_locks_in_block) || (__kmp_lock_blocks == NULL)) { in __kmp_lock_block_allocate()
3831 last_index = 0; in __kmp_lock_block_allocate()
3847 ((char *)(__kmp_lock_blocks->locks))[last_index * __kmp_user_lock_size])); in __kmp_lock_block_allocate()
3848 last_index++; in __kmp_lock_block_allocate()