Lines Matching refs:arr_idx

1995                                     size_t arr_idx,  in MapProcessedPages()  argument
1998 DCHECK_LT(arr_idx, arr_len); in MapProcessedPages()
2006 arr_idx++; in MapProcessedPages()
2011 for (; arr_idx < arr_len; arr_idx++, length += gPageSize) { in MapProcessedPages()
2013 if (!state_arr[arr_idx].compare_exchange_strong( in MapProcessedPages()
2057 arr_idx--; in MapProcessedPages()
2058 DCHECK_EQ(state_arr[arr_idx].load(std::memory_order_relaxed), in MapProcessedPages()
2060 state_arr[arr_idx].store(PageState::kProcessed, std::memory_order_release); in MapProcessedPages()
2081 arr_idx--; in MapProcessedPages()
2082 DCHECK_EQ(state_arr[arr_idx].load(std::memory_order_relaxed), in MapProcessedPages()
2084 state_arr[arr_idx].store(PageState::kProcessedAndMapped, std::memory_order_release); in MapProcessedPages()
2559 size_t arr_idx = start_idx; in MapMovingSpacePages() local
2561 while (arr_idx < arr_len) { in MapMovingSpacePages()
2563 uint32_t cur_state = moving_pages_status_[arr_idx].load(std::memory_order_acquire); in MapMovingSpacePages()
2565 for (size_t i = arr_idx; i < arr_len; i++, map_count++) { in MapMovingSpacePages()
2570 DCHECK_EQ((cur_state & ~kPageStateMask) + (i - arr_idx) * gPageSize, s & ~kPageStateMask); in MapMovingSpacePages()
2579 for (; arr_idx < arr_len; arr_idx++) { in MapMovingSpacePages()
2580 PageState s = GetMovingPageState(arr_idx); in MapMovingSpacePages()
2589 uint8_t* to_space_start = moving_space_begin_ + arr_idx * gPageSize; in MapMovingSpacePages()
2595 for (size_t l = 0; l < mapped_len; l += gPageSize, arr_idx++) { in MapMovingSpacePages()
2597 moving_pages_status_[arr_idx].store(static_cast<uint8_t>(PageState::kProcessedAndMapped), in MapMovingSpacePages()
2606 return arr_idx - start_idx; in MapMovingSpacePages()