Home | History | Annotate | Download | only in src

Lines Matching refs:fetch_and_add

248                         globalHistogram_[idx].fetch_and_add(1);
261 globalHistogram_[idx].fetch_and_add(1);
324 ( (tbb::atomic<int>*)(globalHistogram_ + hstep_[0]*idx0) )[idx1].fetch_and_add(1);
336 ((tbb::atomic<int>*)(globalHistogram_ + hstep_[0]*idx0))[idx1].fetch_and_add(1);
404 ( (tbb::atomic<int>*)(globalHistogram_ + hstep_[0]*idx0 + hstep_[1]*idx1) )[idx2].fetch_and_add(1);
421 ( (tbb::atomic<int>*)(globalHistogram_ + hstep_[0]*idx0 + hstep_[1]*idx1) )[idx2].fetch_and_add(1);
691 ( *(tbb::atomic<int>*)(globalHistogram_ + idx) ).fetch_and_add(1);
702 (*(tbb::atomic<int>*)(globalHistogram_ + idx)).fetch_and_add(1);