Lines Matching refs:s1

556     char *s1, *phchar;  in clean()  local
560 s1 = temp; in clean()
562 while (*s && s1 - temp < (off_t)(sizeof(temp) - 2 - add_return)) { in clean()
567 *s1++ = '^'; in clean()
572 *s1++ = cur_chr; in clean()
578 *s1++ = cur_chr; in clean()
585 *s1++ = '\\'; in clean()
586 *s1++ = '\\'; in clean()
593 *s1++ = '\b'; in clean()
600 *s1++ = cur_chr; in clean()
608 *s1++ = '\\'; in clean()
610 *s1++ = cur_chr; in clean()
616 *s1++ = *phchar; in clean()
619 *s1++ = '\\'; in clean()
620 *s1++ = 'T'; in clean()
627 *s1++ = *phchar; in clean()
630 *s1++ = '\\'; in clean()
631 *s1++ = 'U'; in clean()
640 *s1++ = '\r'; in clean()
644 *s1++ = '\n'; in clean()
648 *s1++ = ' '; in clean()
652 *s1++ = '\t'; in clean()
657 *s1++ = '\\'; in clean()
658 *s1++ = '\0'; in clean()
661 *s1++ = 'N'; in clean()
678 *s1++ = '\\'; in clean()
679 *s1++ = cur_chr; in clean()
685 *s1++ = '\\'; in clean()
686 *s1++ = cur_chr; in clean()
692 *s1++ = '\r'; in clean()
694 *s1++ = '\0'; /* guarantee closure */ in clean()
695 *s1++ = '\0'; /* terminate the string */ in clean()
696 return dup_mem (temp, (size_t) (s1 - temp)); /* may have embedded nuls */ in clean()
896 char *s1; in chat_send() local
903 s1 = clean(s, 0); in chat_send()
905 if (strlen(s1) > strlen(s) in chat_send()
906 || strlen(s1) + 1 > sizeof(fail_buffer)) in chat_send()
909 abort_string[n_aborts++] = s1; in chat_send()
917 char *s1; in chat_send() local
924 s1 = clean(s, 0); in chat_send()
926 if (strlen(s1) > strlen(s) in chat_send()
927 || strlen(s1) + 1 > sizeof(fail_buffer)) in chat_send()
932 if ( strcmp(s1,abort_string[i]) == 0 ) { in chat_send()
941 free(s1); in chat_send()
948 char *s1; in chat_send() local
954 s1 = clean(s, 0); in chat_send()
956 if (strlen(s1) > strlen(s) || strlen(s1) > sizeof fail_buffer - 1) in chat_send()
959 report_string[n_reports++] = s1; in chat_send()
967 char *s1; in chat_send() local
974 s1 = clean(s, 0); in chat_send()
976 if (strlen(s1) > strlen(s) || strlen(s1) > sizeof fail_buffer - 1) in chat_send()
981 if ( strcmp(s1,report_string[i]) == 0 ) { in chat_send()
990 free(s1); in chat_send()