Home
last modified time | relevance | path

Searched refs:lastError (Results 1 – 25 of 27) sorted by relevance

12

/third_party/lzma/CPP/Common/
DListFileUtils.cpp34 static bool My_File_Read(CSysInFile &file, void *data, size_t size, DWORD &lastError) in My_File_Read() argument
39 lastError = MY_GET_LAST_ERROR; in My_File_Read()
44 lastError = 1; // error: size of listfile was changed in My_File_Read()
51 bool ReadNamesFromListFile2(CFSTR fileName, UStringVector &strings, UINT codePage, DWORD &lastError) in ReadNamesFromListFile2() argument
53 lastError = 0; in ReadNamesFromListFile2()
57 lastError = MY_GET_LAST_ERROR; in ReadNamesFromListFile2()
63 lastError = MY_GET_LAST_ERROR; in ReadNamesFromListFile2()
75 if (!My_File_Read(file, buf, (size_t)fileSize, lastError)) in ReadNamesFromListFile2()
105 if (!My_File_Read(file, p, (size_t)fileSize, lastError)) in ReadNamesFromListFile2()
DListFileUtils.h16 DWORD &lastError);
/third_party/vk-gl-cts/framework/delibs/deutil/
DdeProcess.c53 char* lastError; member
174 deFree(process->lastError); in deProcess_destroy()
180 return process->lastError ? process->lastError : "No error"; in deProcess_getLastError()
190 if (process->lastError) in deProcess_setError()
192 deFree(process->lastError); in deProcess_setError()
193 process->lastError = DE_NULL; in deProcess_setError()
196 process->lastError = deStrdup(error); in deProcess_setError()
197 return process->lastError != DE_NULL; in deProcess_setError()
522 char* lastError; member
533 if (process->lastError) in deProcess_setError()
[all …]
/third_party/vk-gl-cts/framework/platform/null/
DtcuNullRenderContext.cpp97 GLenum lastError; member in tcu::null::Context
123 , lastError (GL_NO_ERROR) in Context()
290 const GLenum lastErr = ctx->lastError; in glGetError()
292 ctx->lastError = GL_NO_ERROR; in glGetError()
479 ctx->lastError = GL_INVALID_ENUM; in glGetString()
494 ctx->lastError = GL_INVALID_VALUE; in glGetStringi()
500 ctx->lastError = GL_INVALID_ENUM; in glGetStringi()
642 if (ctx->lastError == GL_NO_ERROR) in glMapBufferRange()
643 ctx->lastError = GL_INVALID_OPERATION; in glMapBufferRange()
666 if (ctx->lastError == GL_NO_ERROR) in glReadPixels()
[all …]
/third_party/skia/third_party/externals/freetype/src/psaux/
Dpsintrp.c481 FT_Error lastError = FT_Err_Ok; in cf2_interpT2CharString() local
604 lastError = FT_THROW( Out_Of_Memory ); in cf2_interpT2CharString()
697 lastError = FT_THROW( Invalid_Glyph_Format ); in cf2_interpT2CharString()
719 lastError = FT_THROW( Invalid_Glyph_Format ); in cf2_interpT2CharString()
745 lastError = FT_THROW( Invalid_Glyph_Format ); in cf2_interpT2CharString()
755 lastError = font->cffload->blend_build_vector( &font->blend, in cf2_interpT2CharString()
759 if ( lastError ) in cf2_interpT2CharString()
767 lastError = FT_THROW( Invalid_Glyph_Format ); in cf2_interpT2CharString()
985 lastError = FT_THROW( Invalid_Glyph_Format ); in cf2_interpT2CharString()
1021 lastError = FT_THROW( Invalid_Glyph_Format ); in cf2_interpT2CharString()
[all …]
Dpsfont.c491 FT_Error lastError = FT_Err_Ok; in cf2_getGlyphOutline() local
560 cf2_setError( &font->error, lastError ); in cf2_getGlyphOutline()
/third_party/libxml2/
Dbackport-malloc-fail-Fix-memory-leak-in-xmlXPathCacheNewNodeS.patch29 + ctxt->lastError.domain = XML_FROM_XPATH;
30 + ctxt->lastError.code = XML_ERR_NO_MEMORY;
41 - ctxt->lastError.domain = XML_FROM_XPATH;
42 - ctxt->lastError.code = XML_ERR_NO_MEMORY;
/third_party/skia/samplecode/
DSampleFitCubicToCircle.cpp234 double lastError = -1; in onChar() local
235 for (double theta = fTheta; lastError != 0; theta /= 2) { in onChar()
246 if (lastError > 0) { in onChar()
247 SkDebugf(" (%17.14fx improvement)", lastError / error); in onChar()
250 lastError = error; in onChar()
/third_party/icu/icu4c/source/test/intltest/
Dwinnmtst.cpp195 DWORD lastError = GetLastError(); in getWindowsFormat() local
197 if (lastError == ERROR_INSUFFICIENT_BUFFER) { in getWindowsFormat()
209 DWORD lastError = GetLastError(); in getWindowsFormat() local
211 if (lastError == ERROR_INSUFFICIENT_BUFFER) { in getWindowsFormat()
/third_party/lzma/CPP/Windows/
DFileIO.cpp234 const DWORD lastError = ::GetLastError(); in Seek() local
235 if (lastError != NO_ERROR) in Seek()
239 SetLastError(lastError); // restore LastError in Seek()
601 DWORD lastError = 0; in SetLength_KeepPosition() local
604 lastError = GetLastError(); in SetLength_KeepPosition()
607 if (lastError != 0) in SetLength_KeepPosition()
608 SetLastError(lastError); in SetLength_KeepPosition()
DFileDir.cpp550 DWORD lastError = 0; in RemoveDirWithSubItems() local
559 lastError = GetLastError(); in RemoveDirWithSubItems()
565 lastError = GetLastError(); in RemoveDirWithSubItems()
571 SetLastError(lastError); in RemoveDirWithSubItems()
DFileFind.cpp810 DWORD lastError = ::GetLastError(); in Next() local
812 return (lastError == ERROR_NO_MORE_FILES); in Next()
814 if (lastError == ERROR_FILE_NOT_FOUND) in Next()
816 if (lastError == ERROR_ACCESS_DENIED) in Next()
/third_party/lzma/CPP/7zip/UI/Common/
DArchiveCommandLine.cpp495 DWORD lastError = 0; in AddToCensorFromListFile() local
496 if (!ReadNamesFromListFile2(us2fs(fileName), names, codePage, lastError)) in AddToCensorFromListFile()
498 if (lastError != 0) in AddToCensorFromListFile()
503 m += NError::MyFormatMessage(lastError); in AddToCensorFromListFile()
1125 DWORD lastError = GetLastError(); in Parse1() local
1127 Parse1Log += NError::MyFormatMessage(lastError); in Parse1()
1157 DWORD lastError = GetLastError(); in Parse1() local
1159 Parse1Log += NError::MyFormatMessage(lastError); in Parse1()
DLoadCodecs.cpp579 const DWORD lastError = GetLastError(); in LoadDll() local
580 if (lastError != ERROR_BAD_EXE_FORMAT) in LoadDll()
585 error.ErrorCode = HRESULT_FROM_WIN32(lastError); in LoadDll()
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/
DHLSLCompiler.cpp164 DWORD lastError = GetLastError(); in ensureInitialized() local
165 ERR() << "D3D Compiler LoadLibrary failed. GetLastError=" << lastError; in ensureInitialized()
/third_party/lzma/CPP/7zip/Common/
DFileStreams.cpp38 DWORD lastError = ::GetLastError(); in GetLastError_HRESULT() local
39 if (lastError == 0) in GetLastError_HRESULT()
41 return HRESULT_FROM_WIN32(lastError); in GetLastError_HRESULT()
/third_party/icu/icu4c/source/i18n/
Dwinnmfmt.cpp417 DWORD lastError = GetLastError(); in format() local
419 if (lastError == ERROR_INSUFFICIENT_BUFFER) { in format()
/third_party/skia/third_party/externals/icu/source/i18n/
Dwinnmfmt.cpp412 DWORD lastError = GetLastError(); in format() local
414 if (lastError == ERROR_INSUFFICIENT_BUFFER) { in format()
/third_party/node/deps/icu-small/source/i18n/
Dwinnmfmt.cpp418 DWORD lastError = GetLastError(); in format() local
420 if (lastError == ERROR_INSUFFICIENT_BUFFER) { in format()
/third_party/lzma/CPP/7zip/UI/Console/
DList.cpp1084 HRESULT lastError = 0; in ListArchives() local
1101 lastError = HRESULT_FROM_WIN32(errorCode); in ListArchives()
1171 lastError = result; in ListArchives()
1386 if (numErrors == 1 && lastError != 0) in ListArchives()
1387 return lastError; in ListArchives()
/third_party/node/lib/
Drepl.js357 this.lastError = undefined;
743 self.lastError = e;
1177 get: () => this.lastError,
1179 this.lastError = value;
/third_party/typescript/src/compiler/
Dparser.ts1817 const lastError = lastOrUndefined(parseDiagnostics);
1819 if (!lastError || start !== lastError.start) {
2168 … const lastError = parseErrorAtCurrentToken(Diagnostics._0_expected, tokenToString(closeKind));
2172 if (lastError) {
2174 lastError,
4200 const lastError = lastOrUndefined(parseDiagnostics);
4201 if (lastError && lastError.code === Diagnostics._0_expected.code) {
4203 lastError,
8293 const lastError = lastOrUndefined(parseDiagnostics);
8294 if (lastError && lastError.code === Diagnostics._0_expected.code) {
[all …]
/third_party/node/deps/icu-small/source/common/
Dputil.cpp2456 DWORD lastError = GetLastError(); local
2457 if(lastError == ERROR_PROC_NOT_FOUND) {
/third_party/skia/third_party/externals/icu/source/common/
Dputil.cpp2432 DWORD lastError = GetLastError(); local
2433 if(lastError == ERROR_PROC_NOT_FOUND) {
/third_party/icu/icu4c/source/common/
Dputil.cpp2441 DWORD lastError = GetLastError(); local
2442 if(lastError == ERROR_PROC_NOT_FOUND) {

12