Lines Matching refs:psd
178 Stringdata* psd = this->strings_.front(); in add_string() local
179 if (len > psd->alc - psd->len) in add_string()
183 char* ret = psd->data + psd->len; in add_string()
188 psd->len += len; in add_string()
194 Stringdata* psd = reinterpret_cast<Stringdata*>(new char[alc]); in add_string() local
195 psd->alc = alc - sizeof(Stringdata); in add_string()
196 memcpy(psd->data, s, len - sizeof(Stringpool_char)); in add_string()
197 memset(psd->data + len - sizeof(Stringpool_char), 0, in add_string()
199 psd->len = len; in add_string()
202 this->strings_.push_front(psd); in add_string()
204 this->strings_.push_back(psd); in add_string()
206 return reinterpret_cast<const Stringpool_char*>(psd->data); in add_string()