Home
last modified time | relevance | path

Searched refs:checksig (Results 1 – 6 of 6) sorted by relevance

/external/apache-commons-compress/src/main/java/org/apache/commons/compress/archivers/zip/
DZipArchiveInputStream.java650 return checksig(signature, ZipArchiveOutputStream.LFH_SIG) // normal file in matches()
651 || checksig(signature, ZipArchiveOutputStream.EOCD_SIG) // empty zip in matches()
652 || checksig(signature, ZipArchiveOutputStream.DD_SIG) // split zip in matches()
653 || checksig(signature, ZipLong.SINGLE_SEGMENT_SPLIT_MARKER.getBytes()); in matches()
656 private static boolean checksig(final byte[] signature, final byte[] expected) { in checksig() method in ZipArchiveInputStream
/external/pdfium/third_party/pymock/
Dmock.py212 checksig = eval(src, {})
213 _copy_func_details(func, checksig)
214 type(mock)._mock_check_sig = checksig
277 checksig = eval(src, {})
278 _copy_func_details(func, checksig)
283 context = {'_checksig_': checksig, 'mock': mock}
/external/python/cpython2/Lib/test/
D_mock_backport.py111 def checksig(_mock_self, *args, **kwargs): function
113 _copy_func_details(func, checksig)
114 type(mock)._mock_check_sig = checksig
181 def checksig(*args, **kwargs): function
183 _copy_func_details(func, checksig)
188 context = {'_checksig_': checksig, 'mock': mock}
/external/python/cpython3/Lib/unittest/
Dmock.py101 def checksig(_mock_self, *args, **kwargs): function
103 _copy_func_details(func, checksig)
104 type(mock)._mock_check_sig = checksig
162 def checksig(*args, **kwargs): function
164 _copy_func_details(func, checksig)
169 context = {'_checksig_': checksig, 'mock': mock}
/external/python/mock/mock/
Dmock.py208 def checksig(_mock_self, *args, **kwargs): function
210 _copy_func_details(func, checksig)
211 type(mock)._mock_check_sig = checksig
291 def checksig(*args, **kwargs): function
293 _copy_func_details(func, checksig)
298 context = {'_checksig_': checksig, 'mock': mock}
/external/curl/lib/vtls/
Dnss.c758 static SECStatus nss_auth_cert_hook(void *arg, PRFileDesc *fd, PRBool checksig, in nss_auth_cert_hook() argument
795 return SSL_AuthCertificate(CERT_GetDefaultCertDB(), fd, checksig, isServer); in nss_auth_cert_hook()