Lines Matching refs:ptr
330 char *ptr = *str; in get_param_word() local
332 char *word_begin = ptr; in get_param_word()
336 if(*ptr == '"') { in get_param_word()
337 ++ptr; in get_param_word()
338 while(*ptr) { in get_param_word()
339 if(*ptr == '\\') { in get_param_word()
340 if(ptr[1] == '\\' || ptr[1] == '"') { in get_param_word()
343 escape = ptr; in get_param_word()
345 ptr += 2; in get_param_word()
349 if(*ptr == '"') { in get_param_word()
351 *end_pos = ptr; in get_param_word()
354 ptr = ptr2 = escape; in get_param_word()
356 if(*ptr == '\\' && (ptr[1] == '\\' || ptr[1] == '"')) in get_param_word()
357 ++ptr; in get_param_word()
358 *ptr2++ = *ptr++; in get_param_word()
360 while(ptr < *end_pos); in get_param_word()
363 ++ptr; in get_param_word()
364 while(*ptr && *ptr != ';' && *ptr != endchar) { in get_param_word()
365 if(!ISSPACE(*ptr)) in get_param_word()
367 ++ptr; in get_param_word()
371 *str = ptr; in get_param_word()
374 ++ptr; in get_param_word()
377 ptr = word_begin; in get_param_word()
380 while(*ptr && *ptr != ';' && *ptr != endchar) in get_param_word()
381 ++ptr; in get_param_word()
382 *str = *end_pos = ptr; in get_param_word()