Home | History | Annotate | Download | only in ss

Lines Matching refs:line_ptr

27  * parse(line_ptr, argc_ptr)
33 * line_ptr (char *)
45 char **ss_parse (sci_idx, line_ptr, argc_ptr)
47 register char *line_ptr;
65 cp = line_ptr; /* cp is for output */
69 printf ("character `%c', mode %d\n", *line_ptr, parse_mode);
73 if (*line_ptr == '\0')
75 if (*line_ptr == ' ' || *line_ptr == '\t') {
76 line_ptr++;
79 if (*line_ptr == '"') {
82 cp = line_ptr++;
90 cp = line_ptr;
92 argv[argc++] = line_ptr;
97 if (*line_ptr == '\0') {
101 else if (*line_ptr == ' ' || *line_ptr == '\t') {
103 line_ptr++;
106 else if (*line_ptr == '"') {
107 line_ptr++;
111 *cp++ = *line_ptr++;
115 if (*line_ptr == '\0') {
122 else if (*line_ptr == '"') {
123 if (*++line_ptr == '"') {
125 line_ptr++;
132 *cp++ = *line_ptr++;