Lines Matching refs:pp
891 char **pp = argv-1;
894 while (*++pp)
895 if (strcmp(*pp, "-x") == 0) {
896 if (pp > argv) {
897 *pp = 0; /* terminate G.pfnames */
898 G.filespecs = pp - G.pfnames;
903 G.pxnames = pp + 1; /* excluded-names ptr: _after_ -x */
918 char **pp = argv-1;
922 while (*++pp) {
923 Trace((stderr, "pp - argv = %d\n", pp-argv));
925 if (!uO.exdir && STRNICMP(*pp, "-d", 2) == 0) {
927 if (!uO.exdir && strncmp(*pp, "-d", 2) == 0) {
929 int firstarg = (pp == argv);
931 uO.exdir = (*pp) + 2;
933 *pp = (char *)NULL; /* terminate G.pfnames */
934 G.filespecs = pp - G.pfnames;
937 *pp = (char *)NULL; /* terminate G.pxnames */
938 G.xfilespecs = pp - G.pxnames;
943 if (*++pp)
944 uO.exdir = *pp;
954 if (pp[1]) {
955 G.pfnames = pp + 1; /* argv+2 */
965 if (strcmp(*pp, "-x") == 0) {
967 if (pp == G.pfnames) {
971 *pp = 0; /* terminate G.pfnames */
972 G.filespecs = pp - G.pfnames; /* adjust count */
975 G.pxnames = pp + 1; /* excluded-names ptr starts after -x */