Lines Matching refs:alloc
52 uint8_t alloc; /* excluding the header and null terminator */ member
58 uint16_t alloc; /* excluding the header and null terminator */ member
64 uint32_t alloc; /* excluding the header and null terminator */ member
70 uint64_t alloc; /* excluding the header and null terminator */ member
111 return sh->alloc - sh->len; in sdsavail()
115 return sh->alloc - sh->len; in sdsavail()
119 return sh->alloc - sh->len; in sdsavail()
123 return sh->alloc - sh->len; in sdsavail()
185 return SDS_HDR(8,s)->alloc; in sdsalloc()
187 return SDS_HDR(16,s)->alloc; in sdsalloc()
189 return SDS_HDR(32,s)->alloc; in sdsalloc()
191 return SDS_HDR(64,s)->alloc; in sdsalloc()
203 SDS_HDR(8,s)->alloc = newlen; in sdssetalloc()
206 SDS_HDR(16,s)->alloc = newlen; in sdssetalloc()
209 SDS_HDR(32,s)->alloc = newlen; in sdssetalloc()
212 SDS_HDR(64,s)->alloc = newlen; in sdssetalloc()