Searched refs:last_index (Results 1 – 12 of 12) sorted by relevance
45 typeset -i last_index=$((${#args[*]} - 1))46 for i in $(seq 0 $last_index); do54 for i in $(seq 0 $last_index); do
498 static int last_index = 0; in mycomplet_func() local500 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()
55 int64_t last_index = GetInternalInstructionSize() - 1; in Seek() local58 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()
612 uint16_t index, last_index = 0; in last_used_pkey_index() local622 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() local776 &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()
386 char *last_index = NULL; in SRP_VBASE_init() local409 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()
336 uint32_t last_index = instructions->GetSize() - 1; in SetNextBranchBreakpoint() local337 if (last_index - pc_index > 1) { in SetNextBranchBreakpoint()339 instructions->GetInstructionAtIndex(last_index); in SetNextBranchBreakpoint()
387 TW_UINT32 last_index; in tw_cli_find_aen() local393 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()
497 static u_int last_index; in poll_dispatch() local565 idx = rpoll_policy ? ((last_index+i) % regs_alloc) : i; in poll_dispatch()608 last_index++; in poll_dispatch()
55 int last_index);
990 uptr last_index = root_regions->size() - 1; in __lsan_unregister_root_region() local991 (*root_regions)[i] = (*root_regions)[last_index]; in __lsan_unregister_root_region()
991 apr_uint32_t last_index = first_index + GROUP_INIT_GRANULARITY; in initialize_group() local992 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()
3791 static int last_index = 0; in __kmp_lock_block_allocate() local3792 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()