Searched refs:_utarray_eltptr (Results 1 – 1 of 1) sorted by relevance
| /freebsd-13.1/contrib/elftoolchain/common/ |
| H A D | utarray.h | 101 if ((a)->icd.copy) { (a)->icd.copy( _utarray_eltptr(a,(a)->i++), p); } \ 102 else { memcpy(_utarray_eltptr(a,(a)->i++), p, (a)->icd.sz); }; \ 106 if ((a)->icd.dtor) { (a)->icd.dtor( _utarray_eltptr(a,--((a)->i))); } \ 119 #define utarray_eltptr(a,j) (((j) < (a)->i) ? _utarray_eltptr(a,j) : NULL) 120 #define _utarray_eltptr(a,j) ((char*)((a)->d + ((a)->icd.sz*(j) ))) macro 126 memmove( _utarray_eltptr(a,(j)+1), _utarray_eltptr(a,j), \ 146 (a)->icd.copy(_utarray_eltptr(a,j+_ut_i), _utarray_eltptr(w,_ut_i)); \ 149 memcpy(_utarray_eltptr(a,j), _utarray_eltptr(w,0), \ 188 memmove( _utarray_eltptr((a),pos), _utarray_eltptr((a),pos+len), \ 217 #define utarray_front(a) (((a)->i) ? (_utarray_eltptr(a,0)) : NULL) [all …]
|