Lines Matching refs:str_ptr
53 sp->str_ptr = ptr; in dt_strtab_grow()
54 sp->str_bufs[sp->str_nbufs - 1] = sp->str_ptr; in dt_strtab_grow()
79 sp->str_ptr = NULL; in dt_strtab_create()
88 *sp->str_ptr++ = '\0'; in dt_strtab_create()
172 char *old_p = sp->str_ptr; in dt_strtab_copyin()
179 if (sp->str_ptr == sp->str_bufs[b] + sp->str_bufsz) { in dt_strtab_copyin()
185 resid = sp->str_bufs[b] + sp->str_bufsz - sp->str_ptr; in dt_strtab_copyin()
187 bcopy(str, sp->str_ptr, n); in dt_strtab_copyin()
189 sp->str_ptr += n; in dt_strtab_copyin()
200 sp->str_ptr = old_p; in dt_strtab_copyin()
244 hp->str_data = sp->str_ptr; in dt_strtab_insert()
279 n = sp->str_ptr - sp->str_bufs[i]; in dt_strtab_write()