Home
last modified time | relevance | path

Searched refs:error_code (Results 1 - 25 of 412) sorted by relevance

12345678910>>...17

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/ProfileData/
H A DSampleProfReader.cpp194 std::error_code SampleProfileReaderText::readImpl() { in readImpl()
291 std::error_code EC; in readNumber()
311 std::error_code EC; in readString()
325 std::error_code EC; in readUnencodedNumber()
340 std::error_code EC; in readStringIndex()
342 if (std::error_code EC = Idx.getError()) in readStringIndex()
351 if (std::error_code EC = Idx.getError()) in readStringFromTable()
359 if (std::error_code EC = Idx.getError()) in readStringFromTable()
365 std::error_code
368 if (std::error_code E in readProfile()
[all...]
H A DSampleProfWriter.cpp43 std::error_code SampleProfileWriter::writeFuncProfiles( in writeFuncProfiles()
59 if (std::error_code EC = writeSample(*I.second)) in writeFuncProfiles()
65 std::error_code
67 if (std::error_code EC = writeHeader(ProfileMap)) in write()
70 if (std::error_code EC = writeFuncProfiles(ProfileMap)) in write()
95 std::error_code SampleProfileWriterExtBinaryBase::compressAndOutput() { in compressAndOutput()
116 std::error_code
122 if (std::error_code EC = compressAndOutput()) in addNewSection()
130 std::error_code SampleProfileWriterExtBinaryBase::write( in write()
132 if (std::error_code E in write()
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ProfileData/
H A DSampleProfWriter.h39 virtual std::error_code writeSample(const FunctionSamples &S) = 0;
44 virtual std::error_code write(const StringMap<FunctionSamples> &ProfileMap);
66 virtual std::error_code
70 virtual std::error_code
89 std::error_code writeSample(const FunctionSamples &S) override;
95 std::error_code
117 virtual std::error_code writeSample(const FunctionSamples &S) override;
120 virtual std::error_code writeMagicIdent(SampleProfileFormat Format);
121 virtual std::error_code writeNameTable();
122 virtual std::error_code
[all...]
H A DSampleProfReader.h330 virtual std::error_code readHeader() = 0;
333 std::error_code read() { in read()
334 if (std::error_code EC = readImpl()) in read()
342 virtual std::error_code readImpl() = 0;
460 std::error_code readHeader() override { return sampleprof_error::success; }
463 std::error_code readImpl() override;
476 virtual std::error_code readHeader() override;
479 std::error_code readImpl() override;
513 std::error_code readFuncProfile(const uint8_t *Start);
516 std::error_code readProfil
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Object/
H A DCOFFObjectFile.cpp46 static bool checkSize(MemoryBufferRef M, std::error_code &EC, uint64_t Size) { in checkSize()
57 static std::error_code getObject(const T *&Obj, MemoryBufferRef M, in getObject()
61 if (std::error_code EC = Binary::checkOffset(M, Addr, Size)) in getObject()
64 return std::error_code(); in getObject()
152 if (std::error_code EC = getSymbolName(Symb, Result)) in getSymbolName()
178 if (std::error_code EC = getSection(SectionNumber, Section)) in getSymbolAddress()
254 if (std::error_code EC = getSection(Symb.getSectionNumber(), Sec)) in getSymbolSection()
401 std::error_code COFFObjectFile::initSymbolTablePtr() { in initSymbolTablePtr()
403 if (std::error_code EC = getObject( in initSymbolTablePtr()
409 if (std::error_code E in initSymbolTablePtr()
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/include/llvm/Support/
H A DFileSystem.h14 // All functions return an error_code and their actual work via the last out
19 // this does not guarantee that error_code will be in the set of explicitly
21 // errors occur, the correct error_code will be used ]. All functions may
296 /// platform-specific error_code.
297 std::error_code make_absolute(const Twine &current_directory,
310 /// platform-specific error_code.
311 std::error_code make_absolute(SmallVectorImpl<char> &path);
317 /// specific error_code. If IgnoreExisting is false, also returns
319 std::error_code create_directories(const Twine &path,
327 /// specific error_code
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Support/
H A DFileSystem.h13 // All functions return an error_code and their actual work via the last out
18 // this does not guarantee that error_code will be in the set of explicitly
20 // errors occur, the correct error_code will be used ]. All functions may
316 /// platform-specific error_code.
317 std::error_code make_absolute(SmallVectorImpl<char> &path);
323 /// specific error_code. If IgnoreExisting is false, also returns
325 std::error_code create_directories(const Twine &path,
333 /// specific error_code. If IgnoreExisting is false, also returns
335 std::error_code create_directory(const Twine &path, bool IgnoreExisting = true,
348 /// specific error_code
[all...]
H A DVirtualFileSystem.h122 virtual std::error_code close() = 0;
148 /// to directory_entry() at end, or returns a system-defined \c error_code.
149 virtual std::error_code increment() = 0;
173 directory_iterator &increment(std::error_code &EC) { in increment()
215 std::error_code &EC);
221 recursive_directory_iterator &increment(std::error_code &EC);
264 std::error_code &EC) = 0;
268 virtual std::error_code setCurrentWorkingDirectory(const Twine &Path) = 0;
276 virtual std::error_code getRealPath(const Twine &Path,
283 virtual std::error_code isLoca
[all...]
/third_party/vk-gl-cts/external/openglcts/modules/glesext/texture_border_clamp/
H A DesextcTextureBorderClampParameterBorderColorError.cpp184 glw::GLenum error_code = GL_NO_ERROR; in VerifyGLTexParameterf() local
189 error_code = gl.getError(); in VerifyGLTexParameterf()
190 if (expected_error != error_code) in VerifyGLTexParameterf()
195 << "] reported error code:[" << glu::getErrorStr(error_code) << "] expected error code:[" in VerifyGLTexParameterf()
215 glw::GLenum error_code = GL_NO_ERROR; in VerifyGLTexParameteri() local
220 error_code = gl.getError(); in VerifyGLTexParameteri()
221 if (expected_error != error_code) in VerifyGLTexParameteri()
227 << "] reported error code:[" << glu::getErrorStr(error_code) << "] expected error code:[" in VerifyGLTexParameteri()
245 glw::GLenum error_code = GL_NO_ERROR; in VerifyGLSamplerParameterf() local
250 error_code in VerifyGLSamplerParameterf()
275 glw::GLenum error_code = GL_NO_ERROR; VerifyGLSamplerParameteri() local
[all...]
H A DesextcTextureBorderClampSamplerParameterIError.cpp172 glw::GLenum error_code = GL_NO_ERROR; in VerifyGLGetSamplerParameterIiv() local
178 error_code = gl.getError(); in VerifyGLGetSamplerParameterIiv()
179 if (expected_error != error_code) in VerifyGLGetSamplerParameterIiv()
185 << "] reported error code:[" << glu::getErrorStr(error_code) << "] expected error code:[" in VerifyGLGetSamplerParameterIiv()
205 glw::GLenum error_code = GL_NO_ERROR; in VerifyGLGetSamplerParameterIuiv() local
211 error_code = gl.getError(); in VerifyGLGetSamplerParameterIuiv()
212 if (expected_error != error_code) in VerifyGLGetSamplerParameterIuiv()
218 << "] reported error code:[" << glu::getErrorStr(error_code) << "] expected error code:[" in VerifyGLGetSamplerParameterIuiv()
258 glw::GLenum error_code = GL_NO_ERROR; in VerifyGLSamplerParameterIiv() local
263 error_code in VerifyGLSamplerParameterIiv()
291 glw::GLenum error_code = GL_NO_ERROR; VerifyGLSamplerParameterIuiv() local
[all...]
H A DesextcTextureBorderClampSamplerParameterIWithWrongPname.cpp171 glw::GLenum error_code = GL_NO_ERROR; in VerifyGLGetSamplerParameterIiv() local
177 error_code = gl.getError(); in VerifyGLGetSamplerParameterIiv()
178 if (expected_error != error_code) in VerifyGLGetSamplerParameterIiv()
184 << "] reported error code:[" << glu::getErrorStr(error_code) << "] expected error code:[" in VerifyGLGetSamplerParameterIiv()
204 glw::GLenum error_code = GL_NO_ERROR; in VerifyGLGetSamplerParameterIuiv() local
210 error_code = gl.getError(); in VerifyGLGetSamplerParameterIuiv()
211 if (expected_error != error_code) in VerifyGLGetSamplerParameterIuiv()
217 << "] reported error code:[" << glu::getErrorStr(error_code) << "] expected error code:[" in VerifyGLGetSamplerParameterIuiv()
237 glw::GLenum error_code = GL_NO_ERROR; in VerifyGLSamplerParameterIiv() local
243 error_code in VerifyGLSamplerParameterIiv()
270 glw::GLenum error_code = GL_NO_ERROR; VerifyGLSamplerParameterIuiv() local
[all...]
H A DesextcTextureBorderClampGetTexParameterIErrors.cpp157 glw::GLenum error_code = GL_NO_ERROR; in VerifyGLGetTexParameterIiv() local
163 error_code = gl.getError(); in VerifyGLGetTexParameterIiv()
164 if (expected_error != error_code) in VerifyGLGetTexParameterIiv()
170 << "] reported error code:[" << glu::getErrorStr(error_code) << "] expected error code:[" in VerifyGLGetTexParameterIiv()
186 glw::GLenum error_code = GL_NO_ERROR; in VerifyGLGetTexParameterIuiv() local
192 error_code = gl.getError(); in VerifyGLGetTexParameterIuiv()
193 if (expected_error != error_code) in VerifyGLGetTexParameterIuiv()
199 << "] reported error code:[" << glu::getErrorStr(error_code) << "] expected error code:[" in VerifyGLGetTexParameterIuiv()
H A DesextcTextureBorderClampTexParameterIErrors.cpp265 glw::GLenum error_code = GL_NO_ERROR; in VerifyGLTexParameterIiv() local
270 error_code = gl.getError(); in VerifyGLTexParameterIiv()
271 if (expected_error != error_code) in VerifyGLTexParameterIiv()
277 << "] reported error code:[" << glu::getErrorStr(error_code) << "] expected error code:[" in VerifyGLTexParameterIiv()
295 glw::GLenum error_code = GL_NO_ERROR; in VerifyGLTexParameterIivMultipleAcceptedErrors() local
300 error_code = gl.getError(); in VerifyGLTexParameterIivMultipleAcceptedErrors()
301 if (expected_error1 != error_code && expected_error2 != error_code) in VerifyGLTexParameterIivMultipleAcceptedErrors()
307 << "] reported error code:[" << glu::getErrorStr(error_code) << "] expected error code:[" in VerifyGLTexParameterIivMultipleAcceptedErrors()
325 glw::GLenum error_code in VerifyGLTexParameterIuiv() local
[all...]
/third_party/skia/third_party/externals/libwebp/tests/fuzzer/
H A Danimencoder_fuzzer.cc49 const WebPEncodingError error_code = pic.error_code; in AddFrame() local
51 if (error_code == VP8_ENC_ERROR_OUT_OF_MEMORY) return 0; in AddFrame()
52 fprintf(stderr, "Can't read input image. Error code: %d\n", error_code); in AddFrame()
59 const WebPEncodingError error_code = pic.error_code; in AddFrame() local
61 if (error_code == VP8_ENC_ERROR_OUT_OF_MEMORY) return 0; in AddFrame()
63 error_code); in AddFrame()
68 const WebPEncodingError error_code = pic.error_code; in AddFrame() local
108 const WebPEncodingError error_code = pic.error_code; AddFrame() local
[all...]
H A Denc_dec_fuzzer.cc45 const WebPEncodingError error_code = pic.error_code; in LLVMFuzzerTestOneInput() local
47 if (error_code == VP8_ENC_ERROR_OUT_OF_MEMORY) return 0; in LLVMFuzzerTestOneInput()
48 fprintf(stderr, "Can't read input image. Error code: %d\n", error_code); in LLVMFuzzerTestOneInput()
54 const WebPEncodingError error_code = pic.error_code; in LLVMFuzzerTestOneInput() local
56 if (error_code == VP8_ENC_ERROR_OUT_OF_MEMORY) return 0; in LLVMFuzzerTestOneInput()
58 error_code); in LLVMFuzzerTestOneInput()
91 const WebPEncodingError error_code = pic.error_code; in LLVMFuzzerTestOneInput() local
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Support/
H A DError.cpp27 // deal with the Error value directly, rather than converting to error_code.
38 "not be converted to a known std::error_code. Please file a "
72 std::error_code ErrorList::convertToErrorCode() const { in convertToErrorCode()
73 return std::error_code(static_cast<int>(ErrorErrorCode::MultipleErrors), in convertToErrorCode()
77 std::error_code inconvertibleErrorCode() { in inconvertibleErrorCode()
78 return std::error_code(static_cast<int>(ErrorErrorCode::InconvertibleError), in inconvertibleErrorCode()
82 std::error_code FileError::convertToErrorCode() const { in convertToErrorCode()
83 return std::error_code(static_cast<int>(ErrorErrorCode::FileError), in convertToErrorCode()
87 Error errorCodeToError(std::error_code EC) { in errorCodeToError()
93 std::error_code errorToErrorCod
[all...]
H A DPath.cpp167 static std::error_code
177 std::error_code EC; in createUniqueEntity()
193 return std::error_code(); in createUniqueEntity()
199 return std::error_code(); in createUniqueEntity()
212 return std::error_code(); in createUniqueEntity()
755 std::error_code getUniqueID(const Twine Path, UniqueID &Result) {
757 std::error_code EC = status(Path, Status);
761 return std::error_code();
790 std::error_code createUniqueFile(const Twine &Model, int &ResultFd,
796 static std::error_code createUniqueFil
[all...]
H A DRandomNumberGenerator.cpp58 std::error_code llvm::getRandomBytes(void *Buffer, size_t Size) { in getRandomBytes()
65 return std::error_code(); in getRandomBytes()
67 return std::error_code(GetLastError(), std::system_category()); in getRandomBytes()
71 std::error_code Ret; in getRandomBytes()
74 Ret = std::error_code(errno, std::system_category()); in getRandomBytes()
76 Ret = std::error_code(EIO, std::system_category()); in getRandomBytes()
78 Ret = std::error_code(errno, std::system_category()); in getRandomBytes()
82 return std::error_code(errno, std::system_category()); in getRandomBytes()
H A DFileCollector.cpp106 static std::error_code
125 std::error_code FileCollector::copyFiles(bool StopOnError) { in copyFiles()
128 if (std::error_code EC = in copyFiles()
137 if (std::error_code EC = sys::fs::status(entry.VPath, Stat)) { in copyFiles()
145 if (std::error_code EC = in copyFiles()
155 if (std::error_code EC = sys::fs::copy_file(entry.VPath, entry.RPath)) { in copyFiles()
162 if (std::error_code EC = sys::fs::setPermissions(entry.RPath, *perms)) { in copyFiles()
174 std::error_code FileCollector::writeMapping(StringRef mapping_file) { in writeMapping()
181 std::error_code EC; in writeMapping()
215 std::error_code
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Object/
H A DCOFF.h790 std::error_code getString(uint32_t offset, StringRef &Res) const;
797 std::error_code initSymbolTablePtr();
798 std::error_code initImportTablePtr();
799 std::error_code initDelayImportTablePtr();
800 std::error_code initExportTablePtr();
801 std::error_code initBaseRelocPtr();
802 std::error_code initDebugDirectoryPtr();
803 std::error_code initLoadConfigPtr();
926 COFFObjectFile(MemoryBufferRef Object, std::error_code &EC);
983 std::error_code getDataDirector
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/lib/Support/
H A DPath.cpp161 static std::error_code createUniqueEntity(const Twine &Model, int &ResultFD, in createUniqueEntity()
195 if (std::error_code EC = in createUniqueEntity()
203 return std::error_code(); in createUniqueEntity()
207 std::error_code EC = in createUniqueEntity()
210 return std::error_code(); in createUniqueEntity()
217 if (std::error_code EC = in createUniqueEntity()
223 return std::error_code(); in createUniqueEntity()
743 std::error_code getUniqueID(const Twine Path, UniqueID &Result) {
745 std::error_code EC = status(Path, Status);
749 return std::error_code();
[all...]
/third_party/ffmpeg/libavdevice/
H A Dpulse_audio_common.c55 int error_code; member
141 if (info->error_code) in pulse_add_detected_device()
146 info->error_code = AVERROR(ENOMEM); in pulse_add_detected_device()
154 info->error_code = AVERROR(ENOMEM); in pulse_add_detected_device()
160 info->error_code = ret; in pulse_add_detected_device()
194 info->error_code = AVERROR(ENOMEM); in pulse_server_info_cb()
213 if ((dev_list.error_code = ff_pulse_audio_connect_context(&pa_ml, &pa_ctx, server, "Query devices")) < 0) in ff_pulse_audio_get_devices()
223 dev_list.error_code = AVERROR_EXTERNAL; in ff_pulse_audio_get_devices()
225 if (dev_list.error_code < 0) in ff_pulse_audio_get_devices()
232 dev_list.error_code in ff_pulse_audio_get_devices()
[all...]
/third_party/vk-gl-cts/external/openglcts/modules/glesext/draw_elements_base_vertex/
H A DesextcDrawElementsBaseVertexTests.cpp2543 glw::GLenum error_code = GL_NONE;
2548 error_code = gl.getError();
2555 if (error_code != expected_error_code)
2562 << " returned error code [" << error_code << "] instead of [" << expected_error_code << "]."
2574 error_code = gl.getError();
2575 if (error_code != expected_error_code)
2583 << " returned error code [" << error_code << "] instead of [" << expected_error_code << "]."
2595 error_code = gl.getError();
2596 if (error_code != expected_error_code)
2604 << " returned error code [" << error_code << "] instea
[all...]
/third_party/mbedtls/library/
H A Derror.c174 const char *mbedtls_high_level_strerr(int error_code) in mbedtls_high_level_strerr() argument
178 if (error_code < 0) { in mbedtls_high_level_strerr()
179 error_code = -error_code; in mbedtls_high_level_strerr()
183 high_level_error_code = error_code & 0xFF80; in mbedtls_high_level_strerr()
535 const char *mbedtls_low_level_strerr(int error_code) in mbedtls_low_level_strerr() argument
539 if (error_code < 0) { in mbedtls_low_level_strerr()
540 error_code = -error_code; in mbedtls_low_level_strerr()
544 low_level_error_code = error_code in mbedtls_low_level_strerr()
[all...]
/third_party/node/src/quic/
H A Ddata.h67 using error_code = uint64_t;
69 static constexpr error_code QUIC_NO_ERROR = NGTCP2_NO_ERROR;
70 static constexpr error_code QUIC_APP_NO_ERROR = 65280;
80 static constexpr error_code QUIC_ERROR_TYPE_TRANSPORT =
82 static constexpr error_code QUIC_ERROR_TYPE_APPLICATION =
90 error_code code() const;
111 static QuicError ForTransport(error_code code,
113 static QuicError ForApplication(error_code code,

Completed in 27 milliseconds

12345678910>>...17