Lines Matching refs:buff
256 char *buff;
263 buff = malloc(len*sizeof(char));
264 if (buff == NULL)
267 buff[0] = '\0';
270 strcat(buff, *++argv);
272 value = parse_expression(buff);
276 free(buff);
283 char buff[256], *ptr;
285 while(fgets(buff, 256, stdin) != NULL)
287 if (buff[strlen(buff)-1] == '\n')
288 buff[strlen(buff)-1] = '\0'; /* kill the newline character */
290 for(ptr=buff; isspace(*ptr) && *ptr; ptr++)
296 value = parse_expression(buff);
1065 char *buff;
1070 buff = (char *)malloc(len*sizeof(char));
1071 if (buff == NULL)
1083 buff = (char *)realloc(buff, len);
1084 if (buff == NULL)
1088 buff[i++] = **str;
1092 buff[i] = '\0'; /* null terminate */
1097 return buff;