Lines Matching refs:bufsz
457 int bufsz = recsize;
460 if ((buf = (char *) malloc(bufsz)) == NULL)
468 if (!adjbuf(&buf, &bufsz, strlen(buf)+strlen(s)+nsub+1, recsize, 0, "array"))
507 int bufsz = recsize;
509 if ((buf = (char *) malloc(bufsz)) == NULL)
515 if (!adjbuf(&buf, &bufsz, strlen(buf)+strlen(s)+nsub+1, recsize, 0, "awkdelete"))
535 int bufsz = recsize;
547 if ((buf = (char *) malloc(bufsz)) == NULL) {
554 if (!adjbuf(&buf, &bufsz, strlen(buf)+strlen(s)+nsub+1, recsize, 0, "intest"))
947 int bufsz=3*recsize;
949 if ((buf = (char *) malloc(bufsz)) == NULL)
953 if (format(&buf, &bufsz, getsval(x), y) == -1)
970 int bufsz=3*recsize;
972 if ((buf = (char *) malloc(bufsz)) == NULL)
976 if ((len = format(&buf, &bufsz, getsval(x), y)) == -1)
1751 int bufsz = recsize;
1753 if ((buf = (char *) malloc(bufsz)) == NULL)
1768 adjbuf(&buf, &bufsz, 1+patbeg-sptr, recsize, 0, "sub");
1774 adjbuf(&buf, &bufsz, 5+pb-buf, recsize, &pb, "sub");
1779 adjbuf(&buf, &bufsz, 1+patlen+pb-buf, recsize, &pb, "sub");
1786 if (pb > buf + bufsz)
1790 adjbuf(&buf, &bufsz, 1+strlen(sptr)+pb-buf, 0, &pb, "sub");
1794 if (pb > buf + bufsz)
1812 int bufsz = recsize;
1814 if ((buf = (char *) malloc(bufsz)) == NULL)
1839 adjbuf(&buf, &bufsz, 5+pb-buf, recsize, &pb, "gsub");
1844 adjbuf(&buf, &bufsz, 1+patlen+pb-buf, recsize, &pb, "gsub");
1853 adjbuf(&buf, &bufsz, 2+pb-buf, recsize, &pb, "gsub");
1855 if (pb > buf + bufsz) /* BUG: not sure of this test */
1862 adjbuf(&buf, &bufsz, 1+(patbeg-sptr)+pb-buf, recsize, &pb, "gsub");
1867 adjbuf(&buf, &bufsz, 5+pb-buf, recsize, &pb, "gsub");
1872 adjbuf(&buf, &bufsz, 1+patlen+pb-buf, recsize, &pb, "gsub");
1881 if (pb > buf + bufsz)
1887 adjbuf(&buf, &bufsz, 1+strlen(sptr)+pb-buf, 0, &pb, "gsub");
1890 done: if (pb > buf + bufsz)