Lines Matching defs:in

5  * Redistribution and use in source and binary forms, with or without
10 * 2. Redistributions in binary form must reproduce the above copyright
11 * notice, this list of conditions and the following disclaimer in the
93 * in the test harness is dangerous because they cover up
99 * to only the most generic programming techniques in the test harness
101 * try to minimize conditionals by grouping platform-specific tests in
104 * differences. Platform-specific coding in libarchive_test is often
159 /* Name of exe to use in printf-formatted command strings. */
465 * Verbose, but occasionally useful in tracking down crashes. */
561 --failures; /* Undo failures++ in failure_start() */
858 * any bytes in p that differ from ref will be highlighted with '_'
918 * in the second line. */
1331 failure_start(file, line, "Invalid string in %s: %s", pathname,
1753 /* Replace slashes with backslashes in pathname */
2446 * for tests to use in deciding whether to bother testing symlink
2448 * in checking whether the program being tested can create them.
3078 * Returns size of file in 'sizep' if non-NULL, null-terminates
3079 * data in memory for ease of use.
3130 * Returns size of file in 'sizep' if non-NULL, null-terminates
3131 * data in memory for ease of use.
3158 FILE *in, *out;
3161 in = fopen(buff, "r");
3163 assert(in != NULL);
3164 if (in == NULL)
3168 if (fgets(buff, sizeof(buff), in) == NULL) {
3177 while (fgets(buff, sizeof(buff), in) != NULL) {
3211 fclose(in);
3218 FILE *in, *out;
3222 in = fopen(buff, "rb");
3224 assert(in != NULL);
3225 if (in == NULL)
3230 while ((rbytes = fread(buff, 1, sizeof(buff), in)) > 0) {
3237 fclose(in);
3479 * Summarize repeated failures in the just-completed test.
4018 * reference files, try to find the reference files in
4027 printf("If tests fail or crash, details will be in:\n");