Lines Matching refs:alloc
53 uint8_t alloc; /* excluding the header and null terminator */ member
59 uint16_t alloc; /* excluding the header and null terminator */ member
65 uint32_t alloc; /* excluding the header and null terminator */ member
71 uint64_t alloc; /* excluding the header and null terminator */ member
112 return sh->alloc - sh->len; in sdsavail()
116 return sh->alloc - sh->len; in sdsavail()
120 return sh->alloc - sh->len; in sdsavail()
124 return sh->alloc - sh->len; in sdsavail()
186 return SDS_HDR(8,s)->alloc; in sdsalloc()
188 return SDS_HDR(16,s)->alloc; in sdsalloc()
190 return SDS_HDR(32,s)->alloc; in sdsalloc()
192 return SDS_HDR(64,s)->alloc; in sdsalloc()
204 SDS_HDR(8,s)->alloc = newlen; in sdssetalloc()
207 SDS_HDR(16,s)->alloc = newlen; in sdssetalloc()
210 SDS_HDR(32,s)->alloc = newlen; in sdssetalloc()
213 SDS_HDR(64,s)->alloc = newlen; in sdssetalloc()