Home
last modified time | relevance | path

Searched refs:smallarray (Results 1 – 3 of 3) sorted by relevance

/netbsd-src/external/gpl3/gcc.old/dist/gcc/d/dmd/root/
H A Darray.h25 TYPE smallarray[SMALLARRAYCAP]; // inline storage for small arrays member
30 data = SMALLARRAYCAP ? &smallarray[0] : NULL; in Array()
37 if (data != &smallarray[0]) in ~Array()
77 data = SMALLARRAYCAP ? &smallarray[0] : NULL; in reserve()
88 memcpy(data, &smallarray[0], dim * sizeof(*data)); in reserve()
/netbsd-src/external/gpl3/gcc/dist/gcc/d/dmd/root/
H A Darray.h23 TYPE smallarray[SMALLARRAYCAP]; // inline storage for small arrays member
37 if (data.ptr != &smallarray[0]) in ~Array()
90 data.ptr = SMALLARRAYCAP ? &smallarray[0] : NULL; in reserve()
102 memcpy(data.ptr, &smallarray[0], length * sizeof(TYPE)); in reserve()
H A Darray.d37 T[SMALLARRAYCAP] smallarray; // inline storage for small arrays in Array()
55 if (data.ptr != &smallarray[0]) in Array()
151 data = SMALLARRAYCAP ? smallarray[] : null; in Array()
163 memcpy(p, smallarray.ptr, length * T.sizeof); in Array()