Home | History | Annotate | Download | only in ss

Lines Matching refs:line_ptr

28  * parse(line_ptr, argc_ptr)
34 * line_ptr (char *)
46 char **ss_parse(int sci_idx, register char *line_ptr, int *argc_ptr)
63 cp = line_ptr; /* cp is for output */
67 printf ("character `%c', mode %d\n", *line_ptr, parse_mode);
71 if (*line_ptr == '\0')
73 if (*line_ptr == ' ' || *line_ptr == '\t') {
74 line_ptr++;
77 if (*line_ptr == '"') {
80 cp = line_ptr++;
94 cp = line_ptr;
102 argv[argc++] = line_ptr;
107 if (*line_ptr == '\0') {
111 else if (*line_ptr == ' ' || *line_ptr == '\t') {
113 line_ptr++;
116 else if (*line_ptr == '"') {
117 line_ptr++;
121 *cp++ = *line_ptr++;
125 if (*line_ptr == '\0') {
132 else if (*line_ptr == '"') {
133 if (*++line_ptr == '"') {
135 line_ptr++;
142 *cp++ = *line_ptr++;