Home
last modified time | relevance | path

Searched refs:res (Results 1 – 8 of 8) sorted by relevance

/CafeSDK-2.12.13-1/system/src/lib/szfile/
D7zDec.c41 SRes res; member
50 if (p->res == SZ_OK) in ReadByte()
54 p->res = p->inStream->Skip(p->inStream, size); in ReadByte()
56 p->res = p->inStream->Look(p->inStream, (const void **)&p->begin, &size); in ReadByte()
71 SRes res = SZ_OK; in SzDecodePpmd() local
77 s.res = SZ_OK; in SzDecodePpmd()
101 res = SZ_ERROR_DATA; in SzDecodePpmd()
103 res = (s.res != SZ_OK ? s.res : SZ_ERROR_DATA); in SzDecodePpmd()
115 res = (s.res != SZ_OK ? s.res : SZ_ERROR_DATA); in SzDecodePpmd()
117 res = SZ_ERROR_DATA; in SzDecodePpmd()
[all …]
D7zFile.c88 int res = fclose(p->file); in File_Close()
89 if (res != 0) in File_Close()
90 return res; in File_Close()
110 BOOL res = ReadFile(p->handle, data, curSize, &processed, NULL); in File_Read() local
114 if (!res) in File_Read()
145 BOOL res = WriteFile(p->handle, data, curSize, &processed, NULL); in File_Write() local
149 if (!res) in File_Write()
185 WRes res = GetLastError(); in File_Seek() local
186 if (res != NO_ERROR) in File_Seek()
187 return res; in File_Seek()
[all …]
D7zIn.c694 SRes res; in SzReadUnpackInfo() local
697 res = SzReadHashDigests(sd, *numFolders, &crcsDefined, &crcs, allocTemp); in SzReadUnpackInfo()
698 if (res == SZ_OK) in SzReadUnpackInfo()
709 RINOK(res); in SzReadUnpackInfo()
822 SRes res = SzReadHashDigests(sd, numDigests, &digestsDefined2, &digests2, allocTemp); in SzReadSubStreamsInfo() local
823 if (res == SZ_OK) in SzReadSubStreamsInfo()
849 RINOK(res); in SzReadSubStreamsInfo()
1134 SRes res = SzReadHeader2(p, sd, in SzReadHeader() local
1144 return res; in SzReadHeader()
1163 SRes res; in SzReadAndDecodePackedStreams2() local
[all …]
D7zStream.c71 SRes res = SZ_OK; in LookToRead_Look_Lookahead() local
78 res = p->realStream->Read(p->realStream, p->buf, &size2); in LookToRead_Look_Lookahead()
84 return res; in LookToRead_Look_Lookahead()
89 SRes res = SZ_OK; in LookToRead_Look_Exact() local
97 res = p->realStream->Read(p->realStream, p->buf, size); in LookToRead_Look_Exact()
103 return res; in LookToRead_Look_Exact()
Dszfile.c447 SRes res; in SZFILE_CreateArc() local
490 res = SzArEx_Open(&pImp->mDB, &pImp->mMemStream.iFace, &pImp->mAllocator, &pImp->mAllocator); in SZFILE_CreateArc()
491 if (res != SZ_OK) in SZFILE_CreateArc()
494 return res; in SZFILE_CreateArc()
694 SRes res; in SZFILE_UnpackStream() local
706res = SzArEx_ExtractFolder(&pImp->mDB, &pImp->mMemStream.iFace, aStreamIx, &apArc->mppUnpackedStre… in SZFILE_UnpackStream()
707 if (res != SZ_OK) in SZFILE_UnpackStream()
708 return res; in SZFILE_UnpackStream()
/CafeSDK-2.12.13-1/system/src/lib/demo/
DdemoCapture.c427 s32 res; in DEMOCaptureCopy() local
429 res = DEMOFSOpenFileMode(dstFilePath, &finfo, "w"); in DEMOCaptureCopy()
430 if (res != DEMO_FS_RESULT_OK) { in DEMOCaptureCopy()
434 res = DEMOFSWrite(&finfo, DEMOCaptureData.TGAData, DEMOCaptureData.TGALength); in DEMOCaptureCopy()
435 if (res != DEMO_FS_RESULT_OK) { in DEMOCaptureCopy()
439 res = DEMOFSCloseFile(&finfo); in DEMOCaptureCopy()
440 if (res != DEMO_FS_RESULT_OK) { in DEMOCaptureCopy()
/CafeSDK-2.12.13-1/system/include/cafe/camera/
Dcamera.h150 int res; member
/CafeSDK-2.12.13-1/system/src/tool/cafex/
DCafeFunctions.cs1179 int res; in parseVersions()
1187 res = output.IndexOf("software:"); in parseVersions()
1188 if (res < 0) in parseVersions()
1192 end = output.IndexOf('\n', res += 9); in parseVersions()
1197 sw_ver_str = output.Substring(res, end - res); in parseVersions()
1207 res = output.IndexOf("firmware:"); in parseVersions()
1208 if (res < 0) in parseVersions()
1212 end = output.IndexOf('\n', res += 9); in parseVersions()
1217 fw_ver_str = output.Substring(res, end - res); in parseVersions()
1245 res = output.IndexOf("sdk:"); in parseVersions()
[all …]