Home
last modified time | relevance | path

Searched refs:iFileSize (Results 1 – 25 of 89) sorted by relevance

1234

/dports/audio/mp3val/mp3val-0.1.8-src/
H A Dmpegparse.cpp67 if(iFileSize>=128&&!memcmp(&baseptr[iFileSize-128],"TAG",3)) { in ValidateFile()
69 iFileSize-=128; in ValidateFile()
70 iID3v1Offset=iFileSize; in ValidateFile()
74 if(iFrame+10>iFileSize) { in ValidateFile()
86 while(iFrame!=iFileSize) { in ValidateFile()
87 if(iFrame+4>iFileSize) { in ValidateFile()
96 iNewFrame=ParseRIFFHeader(baseptr,iFrame,iFileSize,&iFileSize); in ValidateFile()
143 if(iFrame+16>iFileSize) { in ValidateFile()
493 if(new_frame+4>iFileSize) { in MPEGResync()
573 if(index+11>iFileSize) return -1; in ParseRIFFHeader()
[all …]
H A Dout.cpp29 int WriteToFile(int hFile,char *baseptr,int index,int bytes,int iFileSize) { in WriteToFile() argument
40 if(iFileSize>=0) { in WriteToFile()
41 if(index+bytes>iFileSize) bytes=iFileSize-index; in WriteToFile()
/dports/mail/rainloop/rainloop-php74-1.16.0_1/rainloop/v/1.16.0/app/libraries/MailSo/Mime/
H A DAttachment.php33 private $iFileSize; variable in MailSo\\Mime\\Attachment
63 private function __construct($rResource, $sFileName, $iFileSize, $bIsInline, $bIsLinked, $sCID, argument
68 $this->iFileSize = $iFileSize;
79 * @param int $iFileSize = 0
88 public static function NewInstance($rResource, $sFileName = '', $iFileSize = 0, $bIsInline = false, argument
91 …return new self($rResource, $sFileName, $iFileSize, $bIsInline, $bIsLinked, $sCID, $aCustomContent…
147 return $this->iFileSize;
/dports/mail/rainloop-community/rainloop-community-php74-1.16.0_1/rainloop/v/1.16.0/app/libraries/MailSo/Mime/
H A DAttachment.php33 private $iFileSize; variable in MailSo\\Mime\\Attachment
63 private function __construct($rResource, $sFileName, $iFileSize, $bIsInline, $bIsLinked, $sCID, argument
68 $this->iFileSize = $iFileSize;
79 * @param int $iFileSize = 0
88 public static function NewInstance($rResource, $sFileName = '', $iFileSize = 0, $bIsInline = false, argument
91 …return new self($rResource, $sFileName, $iFileSize, $bIsInline, $bIsLinked, $sCID, $aCustomContent…
147 return $this->iFileSize;
/dports/www/moinmoin/moin-1.9.11/MoinMoin/web/static/htdocs/applets/FCKeditor/editor/filemanager/connectors/php/
H A Dcommands.php77 $iFileSize = @filesize( $sServerDir . $sFile ) ;
78 if ( !$iFileSize ) {
79 $iFileSize = 0 ;
81 if ( $iFileSize > 0 )
83 $iFileSize = round( $iFileSize / 1024 ) ;
84 if ( $iFileSize < 1 )
85 $iFileSize = 1 ;
88 … $aFiles[] = '<File name="' . ConvertToXmlAttribute( $sFile ) . '" size="' . $iFileSize . '" />' ;
/dports/devel/rth/rth/FCKeditor/editor/filemanager/browser/default/connectors/perl/
H A Dcommands.pl61 ($iFileSize,$refdate,$filedate,$fileperm) = (stat("$sServerDir$sFile"))[7,8,9,2];
62 if($iFileSize > 0) {
63 $iFileSize = int($iFileSize / 1024);
64 if($iFileSize < 1) {
65 $iFileSize = 1;
69 $sFiles .= '<File name="' . $cnv_filename . '" size="' . $iFileSize . '" />' ;
/dports/devel/truc/truc_0.12.0/FCKeditor/editor/filemanager/browser/default/connectors/perl/
H A Dcommands.pl61 ($iFileSize,$refdate,$filedate,$fileperm) = (stat("$sServerDir$sFile"))[7,8,9,2];
62 if($iFileSize > 0) {
63 $iFileSize = int($iFileSize / 1024);
64 if($iFileSize < 1) {
65 $iFileSize = 1;
69 $sFiles .= '<File name="' . $cnv_filename . '" size="' . $iFileSize . '" />' ;
/dports/www/dolibarr13/dolibarr-13.0.5/htdocs/core/filemanagerdol/connectors/php/
H A Dcommands.php90 $iFileSize = @filesize($sServerDir.$sFile);
91 if (!$iFileSize) {
92 $iFileSize = 0;
94 if ($iFileSize > 0)
96 $iFileSize = round($iFileSize / 1024);
97 if ($iFileSize < 1)
98 $iFileSize = 1;
101 $aFiles[] = '<File name="'.ConvertToXmlAttribute($sFile).'" size="'.$iFileSize.'" />';
/dports/www/dolibarr/dolibarr-14.0.3/htdocs/core/filemanagerdol/connectors/php/
H A Dcommands.php87 $iFileSize = @filesize($sServerDir.$sFile);
88 if (!$iFileSize) {
89 $iFileSize = 0;
91 if ($iFileSize > 0) {
92 $iFileSize = round($iFileSize / 1024);
93 if ($iFileSize < 1) {
94 $iFileSize = 1;
98 $aFiles[] = '<File name="'.ConvertToXmlAttribute($sFile).'" size="'.$iFileSize.'" />';
/dports/devel/rth/rth/FCKeditor/editor/filemanager/browser/default/connectors/php/
H A Dcommands.php60 $iFileSize = filesize( $sServerDir . $sFile ) ;
61 if ( $iFileSize > 0 )
63 $iFileSize = round( $iFileSize / 1024 ) ;
64 if ( $iFileSize < 1 ) $iFileSize = 1 ;
67 $sFiles .= '<File name="' . ConvertToXmlAttribute( $sFile ) . '" size="' . $iFileSize . '" />' ;
/dports/devel/truc/truc_0.12.0/FCKeditor/editor/filemanager/browser/default/connectors/php/
H A Dcommands.php59 $iFileSize = filesize( $sServerDir . $sFile ) ;
60 if ( $iFileSize > 0 )
62 $iFileSize = round( $iFileSize / 1024 ) ;
63 if ( $iFileSize < 1 ) $iFileSize = 1 ;
66 $sFiles .= '<File name="' . ConvertToXmlAttribute( $sFile ) . '" size="' . $iFileSize . '" />' ;
/dports/net-im/tg_owt/tg_owt-d578c76/src/third_party/openh264/src/test/decoder/
H A DDecUT_ParseSyntax.cpp218 int32_t iFileSize; in DecodeBs() local
237 pBuf = new uint8_t[iFileSize + 4]; in DecodeBs()
242 if ((fread (pBuf, 1, iFileSize, pH264File) != (unsigned int) iFileSize)) { in DecodeBs()
252 if (iBufPos >= iFileSize) { in DecodeBs()
258 for (i = 0; i < iFileSize; i++) { in DecodeBs()
285 int32_t iFileSize; in ParseBs() local
303 iFileSize = (int32_t)ftell (pH264File); in ParseBs()
305 pBuf = new uint8_t[iFileSize + 4]; in ParseBs()
310 if (fread (pBuf, 1, iFileSize, pH264File) != (unsigned int)iFileSize) { in ParseBs()
320 if (iBufPos >= iFileSize) { in ParseBs()
[all …]
H A DDecUT_DecExt.cpp140 int32_t iFileSize; in DecoderBs() local
155 iFileSize = (int32_t) ftell (pH264File); in DecoderBs()
157 pBuf = new uint8_t[iFileSize + 4]; in DecoderBs()
158 ASSERT_EQ (fread (pBuf, 1, iFileSize, pH264File), (unsigned int) iFileSize); in DecoderBs()
159 memcpy (pBuf + iFileSize, &uiStartCode[0], 4); //confirmed_safe_unsafe_usage in DecoderBs()
161 if (iBufPos >= iFileSize) { in DecoderBs()
167 for (i = 0; i < iFileSize; i++) { in DecoderBs()
/dports/www/moinmoin/moin-1.9.11/MoinMoin/web/static/htdocs/applets/FCKeditor/editor/filemanager/connectors/perl/
H A Dcommands.pl67 ($iFileSize,$refdate,$filedate,$fileperm) = (stat("$sServerDir$sFile"))[7,8,9,2];
68 if($iFileSize > 0) {
69 $iFileSize = int($iFileSize / 1024);
70 if($iFileSize < 1) {
71 $iFileSize = 1;
75 $sFiles .= '<File name="' . $cnv_filename . '" size="' . $iFileSize . '" />' ;
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/openh264/src/test/decoder/
H A DDecUT_ParseSyntax.cpp232 int32_t iFileSize; in DecodeBs() local
251 pBuf = new uint8_t[iFileSize + 4]; in DecodeBs()
256 if ((fread (pBuf, 1, iFileSize, pH264File) != (unsigned int) iFileSize)) { in DecodeBs()
266 if (iBufPos >= iFileSize) { in DecodeBs()
272 for (i = 0; i < iFileSize; i++) { in DecodeBs()
300 int32_t iFileSize; in ParseBs() local
318 iFileSize = (int32_t)ftell (pH264File); in ParseBs()
320 pBuf = new uint8_t[iFileSize + 4]; in ParseBs()
325 if (fread (pBuf, 1, iFileSize, pH264File) != (unsigned int)iFileSize) { in ParseBs()
335 if (iBufPos >= iFileSize) { in ParseBs()
[all …]
H A DDecUT_DecExt.cpp140 int32_t iFileSize; in DecoderBs() local
155 iFileSize = (int32_t) ftell (pH264File); in DecoderBs()
157 pBuf = new uint8_t[iFileSize + 4]; in DecoderBs()
158 ASSERT_EQ (fread (pBuf, 1, iFileSize, pH264File), (unsigned int) iFileSize); in DecoderBs()
159 memcpy (pBuf + iFileSize, &uiStartCode[0], 4); //confirmed_safe_unsafe_usage in DecoderBs()
161 if (iBufPos >= iFileSize) { in DecoderBs()
167 for (i = 0; i < iFileSize; i++) { in DecoderBs()
/dports/multimedia/openh264/openh264-2.1.1/test/decoder/
H A DDecUT_ParseSyntax.cpp232 int32_t iFileSize; in DecodeBs() local
251 pBuf = new uint8_t[iFileSize + 4]; in DecodeBs()
256 if ((fread (pBuf, 1, iFileSize, pH264File) != (unsigned int) iFileSize)) { in DecodeBs()
266 if (iBufPos >= iFileSize) { in DecodeBs()
272 for (i = 0; i < iFileSize; i++) { in DecodeBs()
299 int32_t iFileSize; in ParseBs() local
317 iFileSize = (int32_t)ftell (pH264File); in ParseBs()
319 pBuf = new uint8_t[iFileSize + 4]; in ParseBs()
324 if (fread (pBuf, 1, iFileSize, pH264File) != (unsigned int)iFileSize) { in ParseBs()
334 if (iBufPos >= iFileSize) { in ParseBs()
[all …]
H A DDecUT_DecExt.cpp140 int32_t iFileSize; in DecoderBs() local
155 iFileSize = (int32_t) ftell (pH264File); in DecoderBs()
157 pBuf = new uint8_t[iFileSize + 4]; in DecoderBs()
158 ASSERT_EQ (fread (pBuf, 1, iFileSize, pH264File), (unsigned int) iFileSize); in DecoderBs()
159 memcpy (pBuf + iFileSize, &uiStartCode[0], 4); //confirmed_safe_unsafe_usage in DecoderBs()
161 if (iBufPos >= iFileSize) { in DecoderBs()
167 for (i = 0; i < iFileSize; i++) { in DecoderBs()
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/openh264/src/codec/console/dec/src/
H A Dh264dec.cpp71 int32_t readPicture (uint8_t* pBuf, const int32_t& iFileSize, const int32_t& bufPos, uint8_t*& pSps… in readPicture() argument
73 int32_t bytes_available = iFileSize - bufPos; in readPicture()
195 int32_t iFileSize; in H264DecodeInstance() local
251 iFileSize = (int32_t) ftell (pH264File); in H264DecodeInstance()
252 if (iFileSize <= 4) { in H264DecodeInstance()
258 pBuf = new uint8_t[iFileSize + 4]; in H264DecodeInstance()
264 if (fread (pBuf, 1, iFileSize, pH264File) != (uint32_t)iFileSize) { in H264DecodeInstance()
269 memcpy (pBuf + iFileSize, &uiStartCode[0], 4); //confirmed_safe_unsafe_usage in H264DecodeInstance()
273 if (iBufPos >= iFileSize) { in H264DecodeInstance()
288 iSliceSize = readPicture (pBuf, iFileSize, iBufPos, uSpsPtr, iSpsByteCount); in H264DecodeInstance()
[all …]
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/openh264/src/codec/console/dec/src/
H A Dh264dec.cpp71 int32_t readPicture (uint8_t* pBuf, const int32_t& iFileSize, const int32_t& bufPos, uint8_t*& pSps… in readPicture() argument
73 int32_t bytes_available = iFileSize - bufPos; in readPicture()
195 int32_t iFileSize; in H264DecodeInstance() local
251 iFileSize = (int32_t) ftell (pH264File); in H264DecodeInstance()
252 if (iFileSize <= 4) { in H264DecodeInstance()
258 pBuf = new uint8_t[iFileSize + 4]; in H264DecodeInstance()
264 if (fread (pBuf, 1, iFileSize, pH264File) != (uint32_t)iFileSize) { in H264DecodeInstance()
269 memcpy (pBuf + iFileSize, &uiStartCode[0], 4); //confirmed_safe_unsafe_usage in H264DecodeInstance()
273 if (iBufPos >= iFileSize) { in H264DecodeInstance()
288 iSliceSize = readPicture (pBuf, iFileSize, iBufPos, uSpsPtr, iSpsByteCount); in H264DecodeInstance()
[all …]
/dports/multimedia/openh264/openh264-2.1.1/codec/console/dec/src/
H A Dh264dec.cpp71 int32_t readPicture (uint8_t* pBuf, const int32_t& iFileSize, const int32_t& bufPos, uint8_t*& pSps… in readPicture() argument
73 int32_t bytes_available = iFileSize - bufPos; in readPicture()
195 int32_t iFileSize; in H264DecodeInstance() local
251 iFileSize = (int32_t) ftell (pH264File); in H264DecodeInstance()
252 if (iFileSize <= 4) { in H264DecodeInstance()
258 pBuf = new uint8_t[iFileSize + 4]; in H264DecodeInstance()
264 if (fread (pBuf, 1, iFileSize, pH264File) != (uint32_t)iFileSize) { in H264DecodeInstance()
269 memcpy (pBuf + iFileSize, &uiStartCode[0], 4); //confirmed_safe_unsafe_usage in H264DecodeInstance()
273 if (iBufPos >= iFileSize) { in H264DecodeInstance()
288 iSliceSize = readPicture (pBuf, iFileSize, iBufPos, uSpsPtr, iSpsByteCount); in H264DecodeInstance()
[all …]
/dports/net-im/tg_owt/tg_owt-d578c76/src/third_party/openh264/src/codec/console/dec/src/
H A Dh264dec.cpp97 int32_t iFileSize; in H264DecodeInstance() local
150 iFileSize = (int32_t) ftell (pH264File); in H264DecodeInstance()
151 if (iFileSize <= 0) { in H264DecodeInstance()
157 pBuf = new uint8_t[iFileSize + 4]; in H264DecodeInstance()
163 if (fread (pBuf, 1, iFileSize, pH264File) != (uint32_t)iFileSize) { in H264DecodeInstance()
168 memcpy (pBuf + iFileSize, &uiStartCode[0], 4); //confirmed_safe_unsafe_usage in H264DecodeInstance()
172 if (iBufPos >= iFileSize) { in H264DecodeInstance()
184 for (i = 0; i < iFileSize; i++) { in H264DecodeInstance()
/dports/games/freedink-dfarc/dfarc-3.14/src/
H A DTar.cpp451 sscanf((const char*)&lHeader.Size, "%o", &lRecord.iFileSize); in ReadHeaders()
480 if (lPath.Lower() == lDmodDizPath && lRecord.iFileSize < 100*1024) in ReadHeaders()
483 char *buf = (char*)malloc(lRecord.iFileSize + 1); in ReadHeaders()
484 fread(buf, 1, lRecord.iFileSize, in); in ReadHeaders()
485 buf[lRecord.iFileSize] = '\0'; in ReadHeaders()
492 int remaining = lRecord.iFileSize; in ReadHeaders()
502 total_read += lRecord.iFileSize; in ReadHeaders()
622 long remaining = lCurrentTarRecord.iFileSize; in ExtractData()
631 lTotalBytesRead += lCurrentTarRecord.iFileSize; in ExtractData()
/dports/www/moinmoin/moin-1.9.11/MoinMoin/web/static/htdocs/applets/FCKeditor/editor/filemanager/connectors/asp/
H A Dcommands.asp83 Dim iFileSize variable
84 iFileSize = Round( oFile.size / 1024 )
85 If ( iFileSize < 1 AND oFile.size <> 0 ) Then iFileSize = 1
87 …Response.Write "<File name=""" & ConvertToXmlAttribute( oFile.name ) & """ size=""" & iFileSize & …
/dports/games/openmortal/openmortal-0.7/src/
H A DRlePack.cpp162 long iFileSize = ftell ( f ); in LoadFile() local
163 p->m_pData = malloc( iFileSize ); in LoadFile()
171 int iRead = fread( p->m_pData, 1, iFileSize, f ); in LoadFile()
176 if ( iFileSize != iRead ) in LoadFile()
178 debug( "Warning RlePack(): iFileSize=%d, iRead=%d\n", iFileSize, iRead ); in LoadFile()
196 char* pcEnd = ((char*)p->m_pData) + iFileSize; in LoadFile()

1234