Lines Matching defs:buf
159 char buf[16];
163 for (i = 0; i < (int)sizeof(buf) - 1; ++i) {
170 buf[i] = *name;
173 buf[i] = '\0';
175 if (buf[0] >= '0' && buf[0] <= '9') {
177 *number = strtoumax(buf, &endptr, 10);
183 else if ((i = strlist_index(wordlist, itemlen, buf)) >= 0)
537 char *buf;
545 buf = read_file(file_name, &file_size);
546 if (!buf) {
555 line = buf;
557 if (buf[i] == '\n') {
558 buf[i] = '\0';
566 line = &buf[i + 1];
570 free(buf);