Lines Matching defs:buf
1084 char buf[128];
1085 char *ptr = buf;
1094 if (size < (int)sizeof(buf)) {
1103 if (size < (int)sizeof(buf)) {
1125 snd_mixer_selem_id_set_name(sid, buf);
1710 static int split_line(char *buf, char **token, int max_token)
1716 while (isspace(*buf))
1717 buf++;
1718 if (! *buf || *buf == '\n')
1721 if (*buf == '#' || *buf == '!')
1725 token[n] = buf;
1726 for (dst = buf; *buf && *buf != '\n'; buf++) {
1729 else if (isspace(*buf) && !quote) {
1730 buf++;
1732 } else if (*buf == '\\') {
1735 } else if (*buf == '\'' || *buf == '"') {
1737 quote = *buf;
1739 } else if (*buf == quote) {
1744 *dst++ = *buf;
1756 char buf[256], *args[MAX_ARGS];
1762 while (fgets(buf, sizeof(buf), stdin)) {
1763 narg = split_line(buf, args, MAX_ARGS);