Home
last modified time | relevance | path

Searched refs:eocd (Results 1 – 2 of 2) sorted by relevance

/third_party/libbpf/src/
Dzip.c149 struct end_of_cd_record *eocd; in try_parse_end_of_cd() local
152 eocd = check_access(archive, offset, sizeof(*eocd)); in try_parse_end_of_cd()
153 if (!eocd || eocd->magic != END_OF_CD_RECORD_MAGIC) in try_parse_end_of_cd()
156 comment_length = eocd->comment_length; in try_parse_end_of_cd()
157 if (offset + sizeof(*eocd) + comment_length != archive->size) in try_parse_end_of_cd()
160 cd_records = eocd->cd_records; in try_parse_end_of_cd()
161 if (eocd->this_disk != 0 || eocd->cd_disk != 0 || eocd->cd_records_total != cd_records) in try_parse_end_of_cd()
165 cd_offset = eocd->cd_offset; in try_parse_end_of_cd()
166 cd_size = eocd->cd_size; in try_parse_end_of_cd()
/third_party/sqlite/src/
Dshell.c7120 ZipfileEOCD eocd; /* Parse of central directory record */ member
7746 i64 iEof = pCsr->eocd.iOffset + pCsr->eocd.nSize; in zipfileNext()
8066 ZipfileEOCD eocd; in zipfileLoadDirectory() local
8071 rc = zipfileReadEOCD(pTab, aBlob, nBlob, pTab->pWriteFd, &eocd); in zipfileLoadDirectory()
8072 iOff = eocd.iOffset; in zipfileLoadDirectory()
8073 for(i=0; rc==SQLITE_OK && i<eocd.nEntry; i++){ in zipfileLoadDirectory()
8131 rc = zipfileReadEOCD(pTab, 0, 0, pCsr->pFile, &pCsr->eocd); in zipfileFilter()
8133 if( pCsr->eocd.nEntry==0 ){ in zipfileFilter()
8136 pCsr->iNextOff = pCsr->eocd.iOffset; in zipfileFilter()
8650 ZipfileEOCD eocd; in zipfileCommit() local
[all …]