Home | History | Annotate | Download | only in dist

Lines Matching refs:need

1839     size_t need = strlen(wanted);
1841 if (have != 0 && have <= need) {
2797 size_t need = have + len + 1;
2798 char *buffer = realloc(mydata->buffer, need);
3854 size_t need = (length + 1);
3861 need *= ((screen->lineExtra + 1) * 6);
3864 if ((result = TypeCallocN(Char, need + 1)) != NULL) {
4356 /* If we just came from block select mode, we need to
4460 int need = 0;
4482 /* first we need to know how long the string is before we can save it */
4485 need = Length(screen, first.row, first.col, last.col);
4487 need += Length(screen, first.row, first.col, screen->max_col) + 1;
4489 need += Length(screen, i, 0, screen->max_col) + 1;
4491 need += Length(screen, last.row, 0, last.col);
4496 if (need > 0) {
4498 need += screen->max_combining;
4499 need *= 6;
4504 if (need < 0)
4507 if (scp->data_limit <= (unsigned) need) {
4508 if ((line = (Char *) malloc((size_t) need + 1)) == NULL)
4512 scp->data_limit = (size_t) (need + 1);
4520 line[need] = '\0'; /* make sure it is null terminated */
4563 if ((have * 2) < (size_t) need) {
5983 size_t need = 0;
5993 result[need] = format[n];
5995 ++need;
6037 result[need] = format[n];
6040 ++need;
6045 strcpy(result + need, value);
6047 need += strlen(value);
6054 result[need] = format[n];
6056 ++need;
6060 result[need] = '\0';
6062 ++need;
6063 result = malloc(need);