Lines Matching refs:o1
359 static int date_interval_compare_objects(zval *o1, zval *o2);
1858 php_date_obj *o1; in date_object_compare_date() local
1863 o1 = Z_PHPDATE_P(d1); in date_object_compare_date()
1866 if (!o1->time || !o2->time) { in date_object_compare_date()
1870 if (!o1->time->sse_uptodate) { in date_object_compare_date()
1871 timelib_update_ts(o1->time, o1->time->tz_info); in date_object_compare_date()
1877 return timelib_time_compare(o1->time, o2->time); in date_object_compare_date()
1999 php_timezone_obj *o1, *o2; in date_object_compare_timezone() local
2003 o1 = Z_PHPTIMEZONE_P(tz1); in date_object_compare_timezone()
2006 if (!o1->initialized || !o2->initialized) { in date_object_compare_timezone()
2011 if (o1->type != o2->type) { in date_object_compare_timezone()
2016 switch (o1->type) { in date_object_compare_timezone()
2018 return o1->tzi.utc_offset == o2->tzi.utc_offset ? 0 : 1; in date_object_compare_timezone()
2020 return strcmp(o1->tzi.z.abbr, o2->tzi.z.abbr) ? 1 : 0; in date_object_compare_timezone()
2022 return strcmp(o1->tzi.tz->name, o2->tzi.tz->name) ? 1 : 0; in date_object_compare_timezone()
4463 static int date_interval_compare_objects(zval *o1, zval *o2) in date_interval_compare_objects() argument
4465 ZEND_COMPARE_OBJECTS_FALLBACK(o1, o2); in date_interval_compare_objects()