Lines Matching refs:buff

147 	static char buff[80];  in getflag()  local
151 (void) strcpy(buff, ".... .... = "); in getflag()
155 for (p = &buff[8]; p >= buff; p--) { in getflag()
161 (void) strcat(buff, set ? s_true: s_false); in getflag()
167 return (buff); in getflag()
453 static char *buff = NULL; in showxdr_string() local
464 if (buff) in showxdr_string()
465 free(buff); in showxdr_string()
466 if ((buff = (char *)malloc(len)) == NULL) in showxdr_string()
471 getxdr_string(buff, len); in showxdr_string()
472 (void) strcpy(buff+60, "..."); in showxdr_string()
473 (void) sprintf(get_line(pos, getxdr_pos()), fmt, buff); in showxdr_string()
474 return (buff); in showxdr_string()
480 static char buff[1024]; in getxdr_bytes() local
481 char *p = buff; in getxdr_bytes()
484 return (buff); in getxdr_bytes()
505 static char buff[1024]; in showxdr_context() local
511 getxdr_opaque(buff, size)) { in showxdr_context()
512 (void) sprintf(get_line(pos, getxdr_pos()), fmt, buff); in showxdr_context()
513 return (buff); in showxdr_context()
574 static char buff[64]; in getxdr_date() local
586 (void) sprintf(buff, "%d.%06d", sec, usec); in getxdr_date()
590 strftime(buff, sizeof (buff), "%d-%h-%y %T.", &my_time); in getxdr_date()
591 p = buff + strlen(buff); in getxdr_date()
594 return (buff); in getxdr_date()
628 static char buff[64]; in format_time() local
636 (void) sprintf(buff, "%lld.%06d", sec, nsec); in format_time()
642 (void) sprintf(buff, "%lld.%06d", sec, nsec); in format_time()
648 strftime(buff, sizeof (buff), "%d-%h-%y %T.", &my_time); in format_time()
649 p = buff + strlen(buff); in format_time()
652 return (buff); in format_time()
671 static char buff[64]; in getxdr_time() local
681 (void) sprintf(buff, "%d", sec); in getxdr_time()
685 strftime(buff, sizeof (buff), "%d-%h-%y %T", &my_time); in getxdr_time()
687 return (buff); in getxdr_time()