Searched refs:nbase (Results 1 – 3 of 3) sorted by relevance
/third_party/python/Lib/test/ |
D | test_tempfile.py | 102 (ndir, nbase) = os.path.split(name) 103 npre = nbase[:len(pre)] 104 nsuf = nbase[len(nbase)-len(suf):] 127 "file %r does not begin with %r" % (nbase, pre)) 129 "file %r does not end with %r" % (nbase, suf)) 131 nbase = nbase[len(pre):len(nbase)-len(suf)] 132 check = self.str_check if isinstance(nbase, str) else self.b_check 133 self.assertTrue(check.match(nbase), 135 % (nbase, check.pattern)) 643 (ndir, nbase) = os.path.split(name)
|
D | pickletester.py | 1878 nbase = 1 << nbits 1879 for npos in nbase-1, nbase, nbase+1: 1886 nbase = int("deadbeeffeedface", 16) 1887 nbase += nbase << 1000000 1888 for n in nbase, -nbase:
|
/third_party/python/Objects/ |
D | typeobject.c | 6255 Py_ssize_t nbase = PyTuple_GET_SIZE(bases); in type_ready_add_subclasses() local 6256 for (Py_ssize_t i = 0; i < nbase; i++) { in type_ready_add_subclasses()
|