Lines Matching refs:p2
523 char *p2 =0; in func_notdir_suffix() local
529 while ((p2 = find_next_token (&list_iterator, &len)) != 0) in func_notdir_suffix()
531 char *p = p2 + len; in func_notdir_suffix()
534 while (p >= p2 && (!is_suffix || *p != '.')) in func_notdir_suffix()
541 if (p >= p2) in func_notdir_suffix()
547 o = variable_buffer_output (o, p, len - (p - p2)); in func_notdir_suffix()
551 else if (streq (funcname, "notdir") && p2[0] && p2[1] == ':') in func_notdir_suffix()
553 p = p2 + 2; in func_notdir_suffix()
554 o = variable_buffer_output (o, p, len - (p - p2)); in func_notdir_suffix()
558 o = variable_buffer_output (o, p2, len); in func_notdir_suffix()
560 if (is_notdir || p >= p2) in func_notdir_suffix()
581 char *p2=0; in func_basename_dir() local
588 while ((p2 = find_next_token (&p3, &len)) != 0) in func_basename_dir()
590 p = p2 + len; in func_basename_dir()
591 while (p >= p2 && (!is_basename || *p != '.')) in func_basename_dir()
598 if (p >= p2 && (is_dir)) in func_basename_dir()
599 o = variable_buffer_output (o, p2, ++p - p2); in func_basename_dir()
600 else if (p >= p2 && (*p == '.')) in func_basename_dir()
601 o = variable_buffer_output (o, p2, p - p2); in func_basename_dir()
604 else if (p2[0] && p2[1] == ':' && is_dir) in func_basename_dir()
605 o = variable_buffer_output (o, p2, 2); in func_basename_dir()
619 o = variable_buffer_output (o, p2, len); in func_basename_dir()