Lines Matching refs:we
225 wordexp_t we; in command_line_test() local
227 int retval = wordexp (words, &we, 0); in command_line_test()
229 for (i = 0; i < we.we_wordc; i++) in command_line_test()
230 printf ("info: we_wordv[%d] = \"%s\"\n", i, we.we_wordv[i]); in command_line_test()
354 wordexp_t we, sav_we; in testit() local
373 we = sav_we; in testit()
382 if (wordexp ("pre1 pre2", &we, tc->flags & ~WRDE_APPEND) != 0) in testit()
388 retval = wordexp (words.buffer, &we, tc->flags); in testit()
393 if (retval != tc->retval || (retval == 0 && we.we_wordc != tc->wordc)) in testit()
398 if (we.we_wordv[i] != NULL) in testit()
404 for (i = 0; i < we.we_wordc; ++i) in testit()
405 if (we.we_wordv[i+start_offs] == NULL in testit()
406 || strcmp (tc->wordv[i], we.we_wordv[i+start_offs]) != 0) in testit()
420 printf ("Got retval %d, wordc %Zd: ", retval, we.we_wordc); in testit()
423 for (i = 0; i < we.we_wordc + start_offs; ++i) in testit()
424 if (we.we_wordv[i] == NULL) in testit()
427 printf ("<%s> ", we.we_wordv[i]); in testit()
432 && (we.we_wordc != sav_we.we_wordc in testit()
433 || we.we_wordv != sav_we.we_wordv in testit()
434 || we.we_offs != sav_we.we_offs)) in testit()
443 wordfree (&we); in testit()