Lines Matching refs:input
19 const char *input;
23 * The following are taken from the "Sample Input and Output Strings
53 const char *input;
57 * The following are taken from the "Sample Input and Output Strings
105 if (test_basename_table[i].input != NULL) {
106 if (strlen(test_basename_table[i].input) >=
109 strcpy(testbuf, test_basename_table[i].input);
115 * basename(3) is allowed to modify the input buffer.
123 if (test_basename_table[i].input != NULL &&
124 strcmp(test_basename_table[i].input, testbuf) != 0) {
126 "Input buffer for \"%s\" was modified\n",
127 test_basename_table[i].input);
128 atf_tc_fail("Input buffer was modified.");
134 "Input \"%s\", output \"%s\", expected \"%s\"\n",
135 test_basename_table[i].input ==
136 NULL ? "(null)" : test_basename_table[i].input,
156 if (test_dirname_table[i].input != NULL) {
157 if (strlen(test_dirname_table[i].input) >=
160 strcpy(testbuf, test_dirname_table[i].input);
166 * dirname(3) is allowed to modify the input buffer.
174 if (test_dirname_table[i].input != NULL &&
175 strcmp(test_dirname_table[i].input, testbuf) != 0) {
177 "Input buffer for \"%s\" was modified\n",
178 test_dirname_table[i].input);
179 atf_tc_fail("Input buffer was modified.");
185 "Input \"%s\", output \"%s\", expected \"%s\"\n",
186 test_dirname_table[i].input ==
187 NULL ? "(null)" : test_dirname_table[i].input,