Home | History | Annotate | Download | only in makemandb

Lines Matching defs:BUFLEN

44 #define BUFLEN 1024
53 size_t buflen; //Total length of buffer allocated initially
712 size_t buflen;
771 if (read_and_decompress(file, &buf, &buflen)) {
780 md5_status = check_md5(file, db, &md5sum, buf, buflen);
1810 check_md5(const char *file, sqlite3 *db, char **md5, void *buf, size_t buflen)
1820 if ((mymd5 = MD5Data(buf, buflen, NULL)) == NULL) {
1917 * Sets the value of buflen for all the sec_buff field of rec. And then
1927 * Therefore explicitly setting the value of buflen field for
1930 rec->desc.buflen = 10 * BUFLEN;
1931 rec->desc.data = emalloc(rec->desc.buflen);
1934 rec->lib.buflen = BUFLEN / 2;
1935 rec->lib.data = emalloc(rec->lib.buflen);
1938 rec->return_vals.buflen = BUFLEN;
1939 rec->return_vals.data = emalloc(rec->return_vals.buflen);
1942 rec->exit_status.buflen = BUFLEN;
1943 buflen);
1946 rec->env.buflen = BUFLEN;
1947 rec->env.data = emalloc(rec->env.buflen);
1950 rec->files.buflen = BUFLEN;
1951 rec->files.data = emalloc(rec->files.buflen);
1954 rec->diagnostics.buflen = BUFLEN;
1955 rec->diagnostics.data = emalloc(rec->diagnostics.buflen);
1958 rec->errors.buflen = BUFLEN;
1959 rec->errors.data = emalloc(rec->errors.buflen);
2046 * in the buffer, it reallocates buflen number of bytes and then continues.
2065 sbuff->data = emalloc(sbuff->buflen);
2070 if (newlen >= sbuff->buflen) {
2071 while (sbuff->buflen < newlen)
2072 sbuff->buflen += sbuff->buflen;
2073 sbuff->data = erealloc(sbuff->data, sbuff->buflen);