Home
last modified time | relevance | path

Searched refs:has_error (Results 1 – 20 of 20) sorted by relevance

/freebsd/contrib/llvm-project/libc/src/__support/File/
H A Dfile.cpp108 if (buf_result.has_error() || bytes_written < write_size) { in write_unlocked_fbf()
130 if (result.has_error() || bytes_written < remainder.size()) { in write_unlocked_fbf()
243 if (result.has_error() || fetched_size < to_fetch) { in read_unlocked_fbf()
244 if (!result.has_error()) in read_unlocked_fbf()
261 if (result.has_error() || fetched_size < to_fetch) { in read_unlocked_fbf()
262 if (!result.has_error()) in read_unlocked_fbf()
281 if (result.has_error() || result < dataref.size()) { in read_unlocked_nbf()
282 if (!result.has_error()) in read_unlocked_nbf()
333 if (buf_result.has_error() || buf_result.value < pos) { in seek()
371 if (buf_result.has_error() || buf_result.value < pos) { in flush_unlocked()
H A Dfile.h32 constexpr bool has_error() { return error != 0; } in has_error() function
216 if (buf_result.has_error() || buf_result.value < pos) { in close()
/freebsd/contrib/lua/src/
H A Dlua.c272 #define has_error 1 /* bad option */ macro
304 return has_error; /* invalid option */ in collectargs()
311 return has_error; /* invalid option */ in collectargs()
316 return has_error; /* invalid option */ in collectargs()
322 return has_error; /* invalid option */ in collectargs()
331 return has_error; /* no next argument or it is another option */ in collectargs()
335 return has_error; in collectargs()
632 if (args == has_error) { /* bad arg? */ in pmain()
/freebsd/contrib/llvm-project/llvm/tools/bugpoint/
H A DOptimizerDriver.cpp56 if (!Out.os().has_error()) { in writeProgramToFileAux()
73 if (!OS.has_error()) in writeProgramToFile()
160 if (OS.has_error()) { in runPasses()
H A DExtractFunction.cpp400 if (OS.has_error()) { in extractMappedBlocksFromModule()
/freebsd/contrib/llvm-project/libc/src/__support/
H A Dstr_to_num_result.h42 LIBC_INLINE constexpr bool has_error() { return error != 0; } in has_error() function
H A Dstr_to_float.h956 if (result.has_error()) in decimal_string_to_float()
1069 if (result.has_error()) in hexadecimal_string_to_float()
1113 if (!strtoint_result.has_error()) in nan_mantissa_from_ncharseq()
H A Dhigh_precision_decimal.h362 if (result.has_error()) {
/freebsd/contrib/llvm-project/llvm/lib/Support/
H A DLockFileManager.cpp203 if (Out.has_error()) { in tryLock()
H A Draw_ostream.cpp680 if (has_error()) in ~raw_fd_ostream()
/freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/PerfJITEvents/
H A DPerfJITEventListener.cpp228 if (!Dumpstream->has_error()) in PerfJITEventListener()
/freebsd/contrib/llvm-project/clang/lib/Frontend/
H A DSerializedDiagnosticPrinter.cpp811 assert(!OS->has_error()); in finish()
812 if (OS->has_error()) { in finish()
/freebsd/contrib/llvm-project/lldb/source/Plugins/TraceExporter/common/
H A DTraceHTR.cpp242 if (os.has_error()) { in Export()
/freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/Orc/TargetProcess/
H A DJITLoaderPerf.cpp372 if (Tentative.Dumpstream->has_error()) in registerJITLoaderPerfStartImpl()
/freebsd/contrib/llvm-project/llvm/lib/LTO/
H A DLTOCodeGenerator.cpp219 if (Out.os().has_error()) { in writeMergedModules()
/freebsd/contrib/llvm-project/llvm/include/llvm/Support/
H A Draw_ostream.h563 bool has_error() const { return bool(EC); } in has_error() function
/freebsd/contrib/libucl/src/
H A Ducl_parser.c2766 bool has_error = false; in ucl_state_machine() local
2783 has_error = true; in ucl_state_machine()
2787 if (has_error) { in ucl_state_machine()
/freebsd/contrib/llvm-project/llvm/lib/Support/Windows/
H A DProgram.inc558 if (OS.has_error())
/freebsd/contrib/llvm-project/llvm/lib/Support/Unix/
H A DProgram.inc543 if (OS.has_error())
/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DCore.cpp462 if (dest.has_error()) { in LLVMPrintModuleToFile()