Lines Matching refs:old

52 	isc_uint32_t old = 50;
60 serial = dns_update_soaserial(old, dns_updatemethod_increment);
61 ATF_REQUIRE_EQ(isc_serial_lt(old, serial), ISC_TRUE);
73 isc_uint32_t old = 0xffffffffu;
81 serial = dns_update_soaserial(old, dns_updatemethod_increment);
82 ATF_REQUIRE_EQ(isc_serial_lt(old, serial), ISC_TRUE);
93 isc_uint32_t old;
100 old = mystdtime - 1;
104 serial = dns_update_soaserial(old, dns_updatemethod_unixtime);
105 ATF_REQUIRE_EQ(isc_serial_lt(old, serial), ISC_TRUE);
116 isc_uint32_t old;
123 old = mystdtime;
127 serial = dns_update_soaserial(old, dns_updatemethod_unixtime);
128 ATF_REQUIRE_EQ(isc_serial_lt(old, serial), ISC_TRUE);
130 ATF_REQUIRE_EQ(serial, old + 1);
139 isc_uint32_t old;
146 old = mystdtime + 1;
150 serial = dns_update_soaserial(old, dns_updatemethod_unixtime);
151 ATF_REQUIRE_EQ(isc_serial_lt(old, serial), ISC_TRUE);
153 ATF_REQUIRE_EQ(serial, old + 1);
162 isc_uint32_t old;
169 old = mystdtime ^ 0x80000000u;
170 old += 1;
174 serial = dns_update_soaserial(old, dns_updatemethod_unixtime);
175 ATF_REQUIRE_EQ(isc_serial_lt(old, serial), ISC_TRUE);
186 isc_uint32_t old;
193 old = mystdtime ^ 0x80000000u;
194 old -= 1;
198 serial = dns_update_soaserial(old, dns_updatemethod_unixtime);
199 ATF_REQUIRE_EQ(isc_serial_lt(old, serial), ISC_TRUE);
201 ATF_REQUIRE_EQ(serial, old + 1);
210 isc_uint32_t old;
217 old = mystdtime ^ 0x80000000u;
221 serial = dns_update_soaserial(old, dns_updatemethod_unixtime);
222 ATF_REQUIRE_EQ(isc_serial_lt(old, serial), ISC_TRUE);
224 ATF_REQUIRE_EQ(serial, old + 1);
233 isc_uint32_t old;
240 old = 0xfffffff0;
244 serial = dns_update_soaserial(old, dns_updatemethod_unixtime);
245 ATF_REQUIRE_EQ(isc_serial_lt(old, serial), ISC_TRUE);
247 ATF_REQUIRE_EQ(serial, old + 1);
256 isc_uint32_t old, serial;
262 old = dns_update_soaserial(0, dns_updatemethod_date);
267 serial = dns_update_soaserial(old, dns_updatemethod_date);
268 ATF_REQUIRE_EQ(isc_serial_lt(old, serial), ISC_TRUE);
279 isc_uint32_t old;
286 old = dns_update_soaserial(0, dns_updatemethod_date);
290 serial = dns_update_soaserial(old, dns_updatemethod_date);
291 ATF_REQUIRE_EQ(isc_serial_lt(old, serial), ISC_TRUE);
302 isc_uint32_t old;
309 old = dns_update_soaserial(0, dns_updatemethod_date);
314 serial = dns_update_soaserial(old, dns_updatemethod_date);
315 ATF_REQUIRE_EQ(isc_serial_lt(old, serial), ISC_TRUE);