Home
last modified time | relevance | path

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

/freebsd-13.1/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
54 for i in $(seq 0 $last_index); do
/freebsd-13.1/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-13.1/contrib/llvm-project/lldb/source/Plugins/Trace/intel-pt/
H A DTraceCursorIntelPT.cpp55 int64_t last_index = GetInternalInstructionSize() - 1; in Seek() local
58 return std::min(std::max((int64_t)0, raw_pos), last_index); in Seek()
66 m_pos = fitPosToBounds(offset + last_index); in Seek()
67 return last_index - m_pos; in Seek()
/freebsd-13.1/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-13.1/crypto/openssl/crypto/srp/
H A Dsrp_vfy.c386 char *last_index = NULL; in SRP_VBASE_init() local
409 last_index = SRP_get_default_gN(NULL)->id; in SRP_VBASE_init()
432 last_index = pp[DB_srpid]; in SRP_VBASE_init()
460 if (last_index != NULL) { in SRP_VBASE_init()
463 if (((gN = SRP_get_gN_by_id(last_index, SRP_gN_tab)) == NULL)) { in SRP_VBASE_init()
/freebsd-13.1/contrib/llvm-project/lldb/source/Target/
H A DThreadPlanStepRange.cpp336 uint32_t last_index = instructions->GetSize() - 1; in SetNextBranchBreakpoint() local
337 if (last_index - pc_index > 1) { in SetNextBranchBreakpoint()
339 instructions->GetInstructionAtIndex(last_index); in SetNextBranchBreakpoint()
/freebsd-13.1/sys/dev/twa/
H A Dtw_cl_misc.c387 TW_UINT32 last_index; in tw_cli_find_aen() local
393 last_index = ctlr->aen_head; in tw_cli_find_aen()
395 last_index = 0; in tw_cli_find_aen()
403 } while (i != last_index); in tw_cli_find_aen()
/freebsd-13.1/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-13.1/sys/cam/
H A Dcam_queue.c55 int last_index);
/freebsd-13.1/contrib/llvm-project/compiler-rt/lib/lsan/
H A Dlsan_common.cpp990 uptr last_index = root_regions->size() - 1; in __lsan_unregister_root_region() local
991 (*root_regions)[i] = (*root_regions)[last_index]; in __lsan_unregister_root_region()
/freebsd-13.1/contrib/subversion/subversion/libsvn_subr/
H A Dcache-membuffer.c991 apr_uint32_t last_index = first_index + GROUP_INIT_GRANULARITY; in initialize_group() local
992 if (last_index > cache->group_count + cache->spare_group_count) in initialize_group()
993 last_index = cache->group_count + cache->spare_group_count; in initialize_group()
995 for (i = first_index; i < last_index; ++i) in initialize_group()
/freebsd-13.1/contrib/llvm-project/openmp/runtime/src/
H A Dkmp_lock.cpp3791 static int last_index = 0; in __kmp_lock_block_allocate() local
3792 if ((last_index >= __kmp_num_locks_in_block) || (__kmp_lock_blocks == NULL)) { in __kmp_lock_block_allocate()
3794 last_index = 0; in __kmp_lock_block_allocate()
3810 ((char *)(__kmp_lock_blocks->locks))[last_index * __kmp_user_lock_size])); in __kmp_lock_block_allocate()
3811 last_index++; in __kmp_lock_block_allocate()