Home
last modified time | relevance | path

Searched refs:di_size (Results 1 – 8 of 8) sorted by relevance

/external/python/cpython2/Modules/
Ddbmmodule.c36 int di_size; /* -1 means recompute */ member
57 dp->di_size = -1; in newdbmobject()
83 if ( dp->di_size < 0 ) { in dbm_length()
91 dp->di_size = size; in dbm_length()
93 return dp->di_size; in dbm_length()
137 dp->di_size = -1; in dbm_ass_sub()
Dgdbmmodule.c33 int di_size; /* -1 means recompute */ member
66 dp->di_size = -1; in newdbmobject()
96 if (dp->di_size < 0) { in dbm_length()
109 dp->di_size = size; in dbm_length()
111 return dp->di_size; in dbm_length()
154 dp->di_size = -1; in dbm_ass_sub()
Dbsddbmodule.c35 int di_size; /* -1 means recompute */ member
85 dp->di_size = -1; in newdbhashobject()
135 dp->di_size = -1; in newdbbtobject()
194 dp->di_size = -1; in newdbrnobject()
247 if (dp->di_size < 0) { in bsddb_length()
263 dp->di_size = size; in bsddb_length()
265 return dp->di_size; in bsddb_length()
349 dp->di_size = -1; in bsddb_ass_sub()
459 if (dp->di_size < 0) in bsddb_keys()
460 dp->di_size = PyList_Size(list); /* We just did the work */ in bsddb_keys()
/external/python/cpython3/Modules/
D_dbmmodule.c39 int di_size; /* -1 means recompute */ member
62 dp->di_size = -1; in newdbmobject()
89 if ( dp->di_size < 0 ) { in dbm_length()
97 dp->di_size = size; in dbm_length()
99 return dp->di_size; in dbm_length()
142 dp->di_size = -1; in dbm_ass_sub()
D_gdbmmodule.c39 int di_size; /* -1 means recompute */ member
74 dp->di_size = -1; in newdbmobject()
104 if (dp->di_size < 0) { in dbm_length()
117 dp->di_size = size; in dbm_length()
119 return dp->di_size; in dbm_length()
186 dp->di_size = -1; in dbm_ass_sub()
/external/kernel-headers/original/uapi/linux/
Dqnx4_fs.h46 qnx4_off_t di_size; member
Dgfs2_ondisk.h268 __be64 di_size; /* number of bytes in file */ member
/external/python/cpython3/Objects/
Dodictobject.c1660 Py_ssize_t di_size; member
1707 if (di->di_size != PyODict_SIZE(di->di_odict)) { in odictiter_nextkey()
1710 di->di_size = -1; /* Make this state sticky */ in odictiter_nextkey()
1886 di->di_size = PyODict_SIZE(od); in odictiter_new()