Lines Matching defs:old
79 uint32_t old = 50;
84 serial = dns_update_soaserial(old, dns_updatemethod_increment, NULL);
85 assert_true(isc_serial_lt(old, serial));
92 uint32_t old = 0xffffffffu;
97 serial = dns_update_soaserial(old, dns_updatemethod_increment, NULL);
98 assert_true(isc_serial_lt(old, serial));
105 uint32_t old;
111 old = mystdtime - 1;
113 serial = dns_update_soaserial(old, dns_updatemethod_unixtime, NULL);
114 assert_true(isc_serial_lt(old, serial));
121 uint32_t old;
127 old = mystdtime;
129 serial = dns_update_soaserial(old, dns_updatemethod_unixtime, NULL);
130 assert_true(isc_serial_lt(old, serial));
132 assert_int_equal(serial, old + 1);
137 uint32_t old;
143 old = mystdtime + 1;
145 serial = dns_update_soaserial(old, dns_updatemethod_unixtime, NULL);
146 assert_true(isc_serial_lt(old, serial));
148 assert_int_equal(serial, old + 1);
153 uint32_t old;
159 old = mystdtime ^ 0x80000000u;
160 old += 1;
162 serial = dns_update_soaserial(old, dns_updatemethod_unixtime, NULL);
163 assert_true(isc_serial_lt(old, serial));
170 uint32_t old;
176 old = mystdtime ^ 0x80000000u;
177 old -= 1;
179 serial = dns_update_soaserial(old, dns_updatemethod_unixtime, NULL);
180 assert_true(isc_serial_lt(old, serial));
182 assert_int_equal(serial, old + 1);
187 uint32_t old;
193 old = mystdtime ^ 0x80000000u;
195 serial = dns_update_soaserial(old, dns_updatemethod_unixtime, NULL);
196 assert_true(isc_serial_lt(old, serial));
198 assert_int_equal(serial, old + 1);
203 uint32_t old;
209 old = 0xfffffff0;
211 serial = dns_update_soaserial(old, dns_updatemethod_unixtime, NULL);
212 assert_true(isc_serial_lt(old, serial));
214 assert_int_equal(serial, old + 1);
219 uint32_t old, serial;
225 old = dns_update_soaserial(0, dns_updatemethod_date, NULL);
228 serial = dns_update_soaserial(old, dns_updatemethod_date, &used);
229 assert_true(isc_serial_lt(old, serial));
237 uint32_t old;
244 old = dns_update_soaserial(0, dns_updatemethod_date, NULL);
246 serial = dns_update_soaserial(old, dns_updatemethod_date, &used);
247 assert_true(isc_serial_lt(old, serial));
252 old = 2014040198;
253 serial = dns_update_soaserial(old, dns_updatemethod_date, &used);
254 assert_true(isc_serial_lt(old, serial));
262 old = 2014040199;
263 serial = dns_update_soaserial(old, dns_updatemethod_date, &used);
264 assert_true(isc_serial_lt(old, serial));
272 uint32_t old;
279 old = dns_update_soaserial(0, dns_updatemethod_date, NULL);
282 serial = dns_update_soaserial(old, dns_updatemethod_date, &used);
283 assert_true(isc_serial_lt(old, serial));
288 old = serial;
289 serial = dns_update_soaserial(old, dns_updatemethod_date, &used);
290 assert_true(isc_serial_lt(old, serial));