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/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/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/mock/mock/
Dmock.py193 def checksig(_mock_self, *args, **kwargs): function
195 _copy_func_details(func, checksig)
196 type(mock)._mock_check_sig = checksig
269 def checksig(*args, **kwargs): function
271 _copy_func_details(func, checksig)
276 context = {'_checksig_': checksig, 'mock': mock}
/external/python/cpython3/Lib/unittest/
Dmock.py118 def checksig(self, /, *args, **kwargs): function
120 _copy_func_details(func, checksig)
121 type(mock)._mock_check_sig = checksig
179 def checksig(*args, **kwargs): function
181 _copy_func_details(func, checksig)
186 context = {'_checksig_': checksig, 'mock': mock}
/external/curl/lib/vtls/
Dnss.c771 static SECStatus nss_auth_cert_hook(void *arg, PRFileDesc *fd, PRBool checksig, in nss_auth_cert_hook() argument
808 return SSL_AuthCertificate(CERT_GetDefaultCertDB(), fd, checksig, isServer); in nss_auth_cert_hook()