Lines Matching refs:o1
361 static int date_interval_compare_objects(zval *o1, zval *o2);
1886 php_date_obj *o1; in date_object_compare_date() local
1891 o1 = Z_PHPDATE_P(d1); in date_object_compare_date()
1894 if (!o1->time || !o2->time) { in date_object_compare_date()
1898 if (!o1->time->sse_uptodate) { in date_object_compare_date()
1899 timelib_update_ts(o1->time, o1->time->tz_info); in date_object_compare_date()
1905 return timelib_time_compare(o1->time, o2->time); in date_object_compare_date()
2027 php_timezone_obj *o1, *o2; in date_object_compare_timezone() local
2031 o1 = Z_PHPTIMEZONE_P(tz1); in date_object_compare_timezone()
2034 if (!o1->initialized || !o2->initialized) { in date_object_compare_timezone()
2039 if (o1->type != o2->type) { in date_object_compare_timezone()
2044 switch (o1->type) { in date_object_compare_timezone()
2046 return o1->tzi.utc_offset == o2->tzi.utc_offset ? 0 : 1; in date_object_compare_timezone()
2048 return strcmp(o1->tzi.z.abbr, o2->tzi.z.abbr) ? 1 : 0; in date_object_compare_timezone()
2050 return strcmp(o1->tzi.tz->name, o2->tzi.tz->name) ? 1 : 0; in date_object_compare_timezone()
4286 static int date_interval_compare_objects(zval *o1, zval *o2) in date_interval_compare_objects() argument
4288 ZEND_COMPARE_OBJECTS_FALLBACK(o1, o2); in date_interval_compare_objects()