Home
last modified time | relevance | path

Searched refs:nfound (Results 1 – 4 of 4) sorted by relevance

/external/python/cpython2/Demo/scripts/
Dqueens.py26 self.nfound = 0 # Instrumentation
56 self.nfound = self.nfound + 1
82 print "Found", q.nfound, "solutions."
/external/python/cpython3/Tools/demo/
Dqueens.py26 self.nfound = 0 # Instrumentation
56 self.nfound = self.nfound + 1
82 print("Found", q.nfound, "solutions.")
/external/python/cpython2/Modules/
Dstropmodule.c1056 Py_ssize_t nfound = 0; in mymemcnt() local
1064 nfound++; in mymemcnt()
1066 return nfound; in mymemcnt()
1097 Py_ssize_t nfound, offset, new_len, delta_len, abs_delta; in mymemreplace() local
1103 nfound = mymemcnt(str, len, pat, pat_len); in mymemreplace()
1106 else if (nfound > count) in mymemreplace()
1107 nfound = count; in mymemreplace()
1108 if (nfound == 0) in mymemreplace()
1113 if (PY_SSIZE_T_MAX/nfound < abs_delta) in mymemreplace()
1115 delta_len *= nfound; in mymemreplace()
/external/openssh/
Dssh-pkcs11.c198 CK_ULONG nfound = 0; in pkcs11_find() local
208 if ((rv = f->C_FindObjects(session, obj, 1, &nfound)) != CKR_OK || in pkcs11_find()
209 nfound != 1) { in pkcs11_find()
211 nfound, nattr, rv); in pkcs11_find()
460 CK_ULONG nfound; in pkcs11_fetch_keys_filter() local
477 if ((rv = f->C_FindObjects(session, &obj, 1, &nfound)) != CKR_OK in pkcs11_fetch_keys_filter()
478 || nfound == 0) in pkcs11_fetch_keys_filter()