Home
last modified time | relevance | path

Searched refs:error_code (Results 1 – 25 of 489) sorted by relevance

12345678910>>...20

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/ProfileData/
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 EC = NumSamples.getError()) in readProfile()
[all …]
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 EC = writeHeader(ProfileMap)) in write()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ProfileData/
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 …]
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; } in readHeader()
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 readProfile(FunctionSamples &FProfile);
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Object/
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 EC = getObject( in initSymbolTablePtr()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Support/
DFileSystem.h317 std::error_code make_absolute(SmallVectorImpl<char> &path);
325 std::error_code create_directories(const Twine &path,
335 std::error_code create_directory(const Twine &path, bool IgnoreExisting = true,
349 std::error_code create_link(const Twine &to, const Twine &from);
357 std::error_code create_hard_link(const Twine &to, const Twine &from);
366 std::error_code real_path(const Twine &path, SmallVectorImpl<char> &output,
380 std::error_code current_path(SmallVectorImpl<char> &result);
387 std::error_code set_current_path(const Twine &path);
395 std::error_code remove(const Twine &path, bool IgnoreNonExisting = true);
402 std::error_code remove_directories(const Twine &path, bool IgnoreErrors = true);
[all …]
DVirtualFileSystem.h122 virtual std::error_code close() = 0;
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 isLocal(const Twine &Path, bool &Result);
296 virtual std::error_code makeAbsolute(SmallVectorImpl<char> &Path) const;
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/include/llvm/Support/
DFileSystem.h297 std::error_code make_absolute(const Twine &current_directory,
311 std::error_code make_absolute(SmallVectorImpl<char> &path);
319 std::error_code create_directories(const Twine &path,
329 std::error_code create_directory(const Twine &path, bool IgnoreExisting = true,
343 std::error_code create_link(const Twine &to, const Twine &from);
351 std::error_code create_hard_link(const Twine &to, const Twine &from);
358 std::error_code current_path(SmallVectorImpl<char> &result);
366 std::error_code remove(const Twine &path, bool IgnoreNonExisting = true);
372 std::error_code rename(const Twine &from, const Twine &to);
378 std::error_code copy_file(const Twine &From, const Twine &To);
[all …]
/third_party/skia/third_party/externals/libwebp/tests/fuzzer/
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
71 if (error_code == VP8_ENC_ERROR_OUT_OF_MEMORY) return 0; in AddFrame()
74 *width, *height, error_code); in AddFrame()
108 const WebPEncodingError error_code = pic.error_code; in AddFrame() local
[all …]
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
94 if (error_code == VP8_ENC_ERROR_OUT_OF_MEMORY) return 0; in LLVMFuzzerTestOneInput()
95 fprintf(stderr, "WebPEncode failed. Error code: %d\n", error_code); in LLVMFuzzerTestOneInput()
/third_party/vk-gl-cts/external/openglcts/modules/glesext/texture_border_clamp/
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 = gl.getError(); in VerifyGLSamplerParameterf()
[all …]
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 = gl.getError(); in VerifyGLSamplerParameterIiv()
[all …]
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 = gl.getError(); in VerifyGLSamplerParameterIiv()
[all …]
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 = GL_NO_ERROR; in VerifyGLTexParameterIuiv() local
330 error_code = gl.getError(); in VerifyGLTexParameterIuiv()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Support/
DError.cpp72 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 errorToErrorCode(Error Err) { in errorToErrorCode()
94 std::error_code EC; in errorToErrorCode()
116 StringError::StringError(std::error_code EC, const Twine &S) in StringError()
[all …]
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) { in getUniqueID()
757 std::error_code EC = status(Path, Status); in getUniqueID()
761 return std::error_code(); in getUniqueID()
790 std::error_code createUniqueFile(const Twine &Model, int &ResultFd, in createUniqueFile()
796 static std::error_code createUniqueFile(const Twine &Model, int &ResultFd, in createUniqueFile()
[all …]
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()
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 &EC) override { in dir_begin()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/lib/Support/Windows/
DPath.inc67 std::error_code widenPath(const Twine &Path8,
92 if (std::error_code EC = llvm::sys::fs::current_path(CurPath))
181 std::error_code current_path(SmallVectorImpl<char> &result) {
203 std::error_code create_directory(const Twine &path, bool IgnoreExisting,
207 if (std::error_code ec = widenPath(path, path_utf16))
216 return std::error_code();
220 std::error_code create_link(const Twine &to, const Twine &from) {
224 if (std::error_code ec = widenPath(from, wide_from))
226 if (std::error_code ec = widenPath(to, wide_to))
232 return std::error_code();
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/lib/Support/Unix/
DPath.inc216 return std::error_code(errno, std::generic_category());
225 std::error_code current_path(SmallVectorImpl<char> &result) {
235 return std::error_code();
249 return std::error_code(errno, std::generic_category());
257 return std::error_code();
260 std::error_code create_directory(const Twine &path, bool IgnoreExisting,
267 return std::error_code(errno, std::generic_category());
270 return std::error_code();
275 std::error_code create_link(const Twine &to, const Twine &from) {
283 return std::error_code(errno, std::generic_category());
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Support/Windows/
DPath.inc69 std::error_code widenPath(const Twine &Path8,
94 if (std::error_code EC = llvm::sys::fs::current_path(CurPath))
192 std::error_code current_path(SmallVectorImpl<char> &result) {
214 std::error_code set_current_path(const Twine &path) {
217 if (std::error_code ec = widenPath(path, wide_path))
223 return std::error_code();
226 std::error_code create_directory(const Twine &path, bool IgnoreExisting,
230 if (std::error_code ec = widenPath(path, path_utf16))
239 return std::error_code();
243 std::error_code create_link(const Twine &to, const Twine &from) {
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Support/Unix/
DPath.inc311 return std::error_code(errno, std::generic_category());
320 std::error_code current_path(SmallVectorImpl<char> &result) {
330 return std::error_code();
344 return std::error_code(errno, std::generic_category());
352 return std::error_code();
355 std::error_code set_current_path(const Twine &path) {
360 return std::error_code(errno, std::generic_category());
362 return std::error_code();
365 std::error_code create_directory(const Twine &path, bool IgnoreExisting,
372 return std::error_code(errno, std::generic_category());
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/lib/Support/
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) { in getUniqueID()
745 std::error_code EC = status(Path, Status); in getUniqueID()
749 return std::error_code(); in getUniqueID()
[all …]
/third_party/ffmpeg/libavdevice/
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"… 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 = AVERROR_EXTERNAL; in ff_pulse_audio_get_devices()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Object/
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 getDataDirectory(uint32_t index,
[all …]

12345678910>>...20