Searched refs:last_index (Results 1 – 8 of 8) sorted by relevance
45 typeset -i last_index=$((${#args[*]} - 1))46 for i in $(seq 0 $last_index); do52 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()
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()
401 char *last_index = NULL; in SRP_VBASE_init() local424 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()
337 uint32_t last_index = instructions->GetSize() - 1; in SetNextBranchBreakpoint() local338 if (last_index - pc_index > 1) { in SetNextBranchBreakpoint()340 instructions->GetInstructionAtIndex(last_index); in SetNextBranchBreakpoint()
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()
49 int last_index);
3828 static int last_index = 0; in __kmp_lock_block_allocate() local3829 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()