Lines Matching refs:vers

41 vers::vers(vers* other)
43 INITRW(vers);
48 vers::assign(vers* other)
50 WRITELOCKV(this, "w vers::assign");
52 syslog(LOG_ERR, "vers::vers: making copy of null vers?");
60 WRITEUNLOCKV(this, "wu vers::assign");
64 * Creates new 'vers' with next higher minor version.
68 vers*
69 vers::nextminor()
71 READLOCK(this, NULL, "r vers::nextminor");
73 vers * newvers = new vers;
76 READUNLOCK(this, NULL, "ru vers::nextminor DB_MEMORY_LIMIT");
77 FATAL3("vers::nextminor: cannot allocation space",
94 READUNLOCK(this, newvers, "ru vers::nextminor");
99 * Creates new 'vers' with next higher major version.
102 vers*
103 vers::nextmajor()
105 READLOCK(this, NULL, "r vers::nextmajor");
107 vers * newvers = new vers;
110 READUNLOCK(this, NULL, "ru vers::nextmajor DB_MEMORY_LIMIT");
111 FATAL3("vers::nextminor: cannot allocation space",
123 READUNLOCK(this, newvers, "ru vers::nextmajor");
128 * Predicate indicating whether this vers is earlier than 'other' in
132 vers::earlier_than(vers *other)
138 "vers::earlier_than: comparing against null vers");
142 READLOCK(this, FALSE, "r vers::earlier_than");
143 READLOCKNR(other, lret, "r other vers::earlier_than");
145 READUNLOCK(this, FALSE, "ru + r other vers::earlier_than");
154 READUNLOCKNR(other, lret, "ru other vers::earlier_than");
156 "ru + ru other vers::earlier_than" :
157 "ru vers::earlier_than"));
161 /* Print the value of this 'vers' to specified file. */
163 vers::print(FILE* file)
169 READLOCKV(this, "r vers::print");
176 READUNLOCKV(this, "ru vers::print");
180 vers::zero() {
181 WRITELOCKV(this, "r vers::zero");
183 WRITEUNLOCKV(this, "ru vers::zero");
187 vers::equal( vers *other) {
188 READLOCK(this, FALSE, "r vers::equal");
194 READUNLOCK(this, ret, "ru vers::equal");