Lines Matching full:if
16 with this program; if not, write to the Free Software Foundation, Inc.,
23 #if defined (__cplusplus)
40 #if defined(_WIN32)
45 # if PLATFORM_POSIX_VERSION < 200809L
61 #if !defined (__VMS) && (defined (__cplusplus) || (defined (__STDC_VERSION__) && (__STDC_VERSION__ …
84 #if defined(_MSC_VER) && (_MSC_VER >= 1400)
98 #if defined(_WIN32)
107 # if defined(PRIO_PROCESS)
113 # if (defined(__linux__) && (PLATFORM_POSIX_VERSION >= 199309L)) || (PLATFORM_POSIX_VERSION >= 200…
128 #if defined(_MSC_VER)
149 #if defined(_MSC_VER)
164 #if defined(__INTEL_COMPILER)
167 #if defined(__GNUC__)
181 #if defined(_WIN32) /* Windows */
189 if (!init) { in UTIL_getSpanTimeMicro()
190 if (!QueryPerformanceFrequency(&ticksPerSecond)) in UTIL_getSpanTimeMicro()
200 if (!init) { in UTIL_getSpanTimeNano()
201 if (!QueryPerformanceFrequency(&ticksPerSecond)) in UTIL_getSpanTimeNano()
217 if (!init) { in UTIL_getSpanTimeMicro()
227 if (!init) { in UTIL_getSpanTimeNano()
241 if (clock_gettime(CLOCK_MONOTONIC, &now)) in UTIL_getTime()
248 if (end.tv_nsec < begin.tv_nsec) { in UTIL_getSpanTime()
311 #if defined(_MSC_VER)
326 if (!UTIL_isRegFile(filename)) in UTIL_setFileStat()
330 #if defined(_WIN32) || (PLATFORM_POSIX_VERSION < 200809L) in UTIL_setFileStat()
344 #if !defined(_WIN32) in UTIL_setFileStat()
358 #if defined(_MSC_VER) in UTIL_getFileStat()
360 if (r || !(statbuf->st_mode & S_IFREG)) return 0; /* No good... */ in UTIL_getFileStat()
363 if (r || !S_ISREG(statbuf->st_mode)) return 0; /* No good... */ in UTIL_getFileStat()
380 #if defined(_MSC_VER) in UTIL_isDirectory()
382 if (!r && (statbuf.st_mode & _S_IFDIR)) return 1; in UTIL_isDirectory()
385 if (!r && S_ISDIR(statbuf.st_mode)) return 1; in UTIL_isDirectory()
398 if (fd < 0) { in UTIL_getOpenFileSize()
403 if (r || !UTIL_STAT_MODE_ISREG(statbuf.st_mode)) return 0; /* No good... */ in UTIL_getOpenFileSize()
414 if (r || !UTIL_STAT_MODE_ISREG(statbuf.st_mode)) return 0; /* No good... */ in UTIL_getFileSize()
431 * If UTIL_realloc() fails the original block is freed.
436 if (newptr) return newptr; in UTIL_realloc()
454 if (!path) return 0; in UTIL_prepareFileList()
462 if (hFile == INVALID_HANDLE_VALUE) { in UTIL_prepareFileList()
472 if (!path) { FindClose(hFile); return 0; } in UTIL_prepareFileList()
478 if (cFile.dwFileAttributes & FILE_ATTRIBUTE_DIRECTORY) { in UTIL_prepareFileList()
479 if (strcmp (cFile.cFileName, "..") == 0 || in UTIL_prepareFileList()
483 if (*bufStart == NULL) { free(path); FindClose(hFile); return 0; } in UTIL_prepareFileList()
485 …else if ((cFile.dwFileAttributes & FILE_ATTRIBUTE_NORMAL) || (cFile.dwFileAttributes & FILE_ATTRIB… in UTIL_prepareFileList()
486 if (*bufStart + *pos + pathLength >= *bufEnd) { in UTIL_prepareFileList()
490 if (*bufStart == NULL) { free(path); FindClose(hFile); return 0; } in UTIL_prepareFileList()
492 if (*bufStart + *pos + pathLength < *bufEnd) { in UTIL_prepareFileList()
518 if (!(dir = opendir(dirName))) { in UTIL_prepareFileList()
528 if (strcmp (entry->d_name, "..") == 0 || in UTIL_prepareFileList()
532 if (!path) { closedir(dir); return 0; } in UTIL_prepareFileList()
539 if (UTIL_isDirectory(path)) { in UTIL_prepareFileList()
541 if (*bufStart == NULL) { free(path); closedir(dir); return 0; } in UTIL_prepareFileList()
543 if (*bufStart + *pos + pathLength >= *bufEnd) { in UTIL_prepareFileList()
547 if (*bufStart == NULL) { free(path); closedir(dir); return 0; } in UTIL_prepareFileList()
549 if (*bufStart + *pos + pathLength < *bufEnd) { in UTIL_prepareFileList()
559 if (errno != 0) { in UTIL_prepareFileList()
595 if (!buf) return NULL; in UTIL_createFileList()
598 if (!UTIL_isDirectory(inputNames[i])) { in UTIL_createFileList()
600 if (pos + len >= bufSize) { in UTIL_createFileList()
603 if (!buf) return NULL; in UTIL_createFileList()
612 if (buf == NULL) return NULL; in UTIL_createFileList()
617 if (nbFiles == 0) { free(buf); return NULL; } in UTIL_createFileList()
620 if (!fileTable) { free(buf); return NULL; } in UTIL_createFileList()
627 if (pos > bufSize) { in UTIL_createFileList()
643 if (allocatedBuffer) free(allocatedBuffer); in UTIL_freeFileList()
644 if (filenameTable) free((void*)filenameTable); in UTIL_freeFileList()
648 #if defined (__cplusplus)