Lines Matching full:width
43 unsigned int width;
62 unsigned int width;
75 ebl_gstrtabinit (unsigned int width, bool nullstr)
88 ret->width = width;
94 ret->null.string = (char *) calloc (1, width);
154 if (st->left < align + sizeof (struct Ebl_GStrent) + len * st->width)
156 morememory (st, sizeof (struct Ebl_GStrent) + len * st->width);
164 newstr->width = st->width;
170 for (j = st->width - 1; j >= 0; --j)
171 newstr->reverse[i * st->width + j] = str[(len - 2 - i) * st->width + j];
172 for (j = 0; j < st->width; ++j)
173 newstr->reverse[(len - 1) * st->width + j] = '\0';
174 st->backp += align + sizeof (struct Ebl_GStrent) + len * st->width;
175 st->left -= align + sizeof (struct Ebl_GStrent) + len * st->width;
198 (MIN ((*sep)->len, newstr->len) - 1) * (*sep)->width);
222 for (j = 0; j < st->width; ++j)
223 if (str[len * st->width + j] != '\0')
225 while (j == st->width && ++len);
253 st->left += (st->backp - (char *) newstr) * st->width;
281 st->left += (st->backp - (char *) newstr) * st->width;
304 *freep = (char *) mempcpy (*freep, nodep->string, nodep->len * nodep->width);
305 *offsetp += nodep->len * nodep->width;
310 subs->offset = nodep->offset + (nodep->len - subs->len) * nodep->width;
324 size_t nulllen = st->nullstr ? st->width : 0;
334 memset (data->d_buf, '\0', st->width);
347 assert (copylen == st->total * st->width + nulllen);