Lines Matching refs:myht
2331 static void add_common_properties(HashTable *myht, zend_object *zobj) in add_common_properties() argument
2340 if (zend_hash_add(myht, name, prop) != NULL) { in add_common_properties()
2714 static bool php_date_initialize_from_hash(php_date_obj **dateobj, HashTable *myht) in php_date_initialize_from_hash() argument
2722 z_date = zend_hash_str_find(myht, "date", sizeof("date")-1); in php_date_initialize_from_hash()
2727 z_timezone_type = zend_hash_str_find(myht, "timezone_type", sizeof("timezone_type")-1); in php_date_initialize_from_hash()
2732 z_timezone = zend_hash_str_find(myht, "timezone", sizeof("timezone")-1); in php_date_initialize_from_hash()
2776 HashTable *myht; in PHP_METHOD() local
2782 myht = Z_ARRVAL_P(array); in PHP_METHOD()
2786 if (!php_date_initialize_from_hash(&dateobj, myht)) { in PHP_METHOD()
2798 HashTable *myht; in PHP_METHOD() local
2804 myht = Z_ARRVAL_P(array); in PHP_METHOD()
2808 if (!php_date_initialize_from_hash(&dateobj, myht)) { in PHP_METHOD()
2820 HashTable *myht; in PHP_METHOD() local
2828 myht = Z_ARRVAL_P(return_value); in PHP_METHOD()
2829 date_object_to_hash(dateobj, myht); in PHP_METHOD()
2831 add_common_properties(myht, &dateobj->std); in PHP_METHOD()
2840 HashTable *myht; in PHP_METHOD() local
2848 myht = Z_ARRVAL_P(return_value); in PHP_METHOD()
2849 date_object_to_hash(dateobj, myht); in PHP_METHOD()
2851 add_common_properties(myht, &dateobj->std); in PHP_METHOD()
2867 static void restore_custom_datetime_properties(zval *object, HashTable *myht) in restore_custom_datetime_properties() argument
2872 ZEND_HASH_FOREACH_STR_KEY_VAL(myht, prop_name, prop_val) { in restore_custom_datetime_properties()
2886 HashTable *myht; in PHP_METHOD() local
2893 myht = Z_ARRVAL_P(array); in PHP_METHOD()
2895 if (!php_date_initialize_from_hash(&dateobj, myht)) { in PHP_METHOD()
2900 restore_custom_datetime_properties(object, myht); in PHP_METHOD()
2910 HashTable *myht; in PHP_METHOD() local
2917 myht = Z_ARRVAL_P(array); in PHP_METHOD()
2919 if (!php_date_initialize_from_hash(&dateobj, myht)) { in PHP_METHOD()
2924 restore_custom_datetime_properties(object, myht); in PHP_METHOD()
2933 HashTable *myht; in PHP_METHOD() local
2939 myht = Z_OBJPROP_P(object); in PHP_METHOD()
2941 if (!php_date_initialize_from_hash(&dateobj, myht)) { in PHP_METHOD()
2953 HashTable *myht; in PHP_METHOD() local
2959 myht = Z_OBJPROP_P(object); in PHP_METHOD()
2961 if (!php_date_initialize_from_hash(&dateobj, myht)) { in PHP_METHOD()
3881 …zone_initialize_from_hash(zval **return_value, php_timezone_obj **tzobj, HashTable *myht) /* {{{ */ in php_date_timezone_initialize_from_hash() argument
3885 …if ((z_timezone_type = zend_hash_str_find(myht, "timezone_type", sizeof("timezone_type") - 1)) == … in php_date_timezone_initialize_from_hash()
3891 if ((z_timezone = zend_hash_str_find(myht, "timezone", sizeof("timezone") - 1)) == NULL) { in php_date_timezone_initialize_from_hash()
3912 HashTable *myht; in PHP_METHOD() local
3918 myht = Z_ARRVAL_P(array); in PHP_METHOD()
3922 if (!php_date_timezone_initialize_from_hash(&return_value, &tzobj, myht)) { in PHP_METHOD()
3934 HashTable *myht; in PHP_METHOD() local
3940 myht = Z_OBJPROP_P(object); in PHP_METHOD()
3942 if (!php_date_timezone_initialize_from_hash(&return_value, &tzobj, myht)) { in PHP_METHOD()
3954 HashTable *myht; in PHP_METHOD() local
3962 myht = Z_ARRVAL_P(return_value); in PHP_METHOD()
3963 date_timezone_object_to_hash(tzobj, myht); in PHP_METHOD()
3965 add_common_properties(myht, &tzobj->std); in PHP_METHOD()
3980 static void restore_custom_datetimezone_properties(zval *object, HashTable *myht) in restore_custom_datetimezone_properties() argument
3985 ZEND_HASH_FOREACH_STR_KEY_VAL(myht, prop_name, prop_val) { in restore_custom_datetimezone_properties()
3999 HashTable *myht; in PHP_METHOD() local
4006 myht = Z_ARRVAL_P(array); in PHP_METHOD()
4008 if (!php_date_timezone_initialize_from_hash(&object, &tzobj, myht)) { in PHP_METHOD()
4013 restore_custom_datetimezone_properties(object, myht); in PHP_METHOD()
4432 …val_initialize_from_hash(zval **return_value, php_interval_obj **intobj, HashTable *myht) /* {{{ */ in php_date_interval_initialize_from_hash() argument
4435 zval *date_str = zend_hash_str_find(myht, "date_string", strlen("date_string")); in php_date_interval_initialize_from_hash()
4480 zval *z_arg = zend_hash_str_find(myht, element, sizeof(element) - 1); \ in php_date_interval_initialize_from_hash()
4490 zval *z_arg = zend_hash_str_find(myht, element, sizeof(element) - 1); \ in php_date_interval_initialize_from_hash()
4503 zval *z_arg = zend_hash_str_find(myht, "days", sizeof("days") - 1); \ in php_date_interval_initialize_from_hash()
4517 zval *z_arg = zend_hash_str_find(myht, element, sizeof(element) - 1); \ in php_date_interval_initialize_from_hash()
4532 zval *z_arg = zend_hash_str_find(myht, "f", sizeof("f") - 1); in php_date_interval_initialize_from_hash()
4547 zval *z_arg = zend_hash_str_find(myht, "civil_or_wall", sizeof("civil_or_wall") - 1); in php_date_interval_initialize_from_hash()
4563 HashTable *myht; in PHP_METHOD() local
4569 myht = Z_ARRVAL_P(array); in PHP_METHOD()
4573 php_date_interval_initialize_from_hash(&return_value, &intobj, myht); in PHP_METHOD()
4582 HashTable *myht; in PHP_METHOD() local
4590 myht = Z_ARRVAL_P(return_value); in PHP_METHOD()
4591 date_interval_object_to_hash(intervalobj, myht); in PHP_METHOD()
4593 add_common_properties(myht, &intervalobj->std); in PHP_METHOD()
4617 static void restore_custom_dateinterval_properties(zval *object, HashTable *myht) in restore_custom_dateinterval_properties() argument
4622 ZEND_HASH_FOREACH_STR_KEY_VAL(myht, prop_name, prop_val) { in restore_custom_dateinterval_properties()
4637 HashTable *myht; in PHP_METHOD() local
4644 myht = Z_ARRVAL_P(array); in PHP_METHOD()
4646 php_date_interval_initialize_from_hash(&object, &intervalobj, myht); in PHP_METHOD()
4647 restore_custom_dateinterval_properties(object, myht); in PHP_METHOD()
4656 HashTable *myht; in PHP_METHOD() local
4662 myht = Z_OBJPROP_P(object); in PHP_METHOD()
4664 php_date_interval_initialize_from_hash(&return_value, &intobj, myht); in PHP_METHOD()
5518 static bool php_date_period_initialize_from_hash(php_period_obj *period_obj, HashTable *myht) /* {{… in php_date_period_initialize_from_hash() argument
5524 ht_entry = zend_hash_str_find(myht, "start", sizeof("start")-1); in php_date_period_initialize_from_hash()
5546 ht_entry = zend_hash_str_find(myht, "end", sizeof("end")-1); in php_date_period_initialize_from_hash()
5567 ht_entry = zend_hash_str_find(myht, "current", sizeof("current")-1); in php_date_period_initialize_from_hash()
5588 ht_entry = zend_hash_str_find(myht, "interval", sizeof("interval")-1); in php_date_period_initialize_from_hash()
5609 ht_entry = zend_hash_str_find(myht, "recurrences", sizeof("recurrences")-1); in php_date_period_initialize_from_hash()
5617 ht_entry = zend_hash_str_find(myht, "include_start_date", sizeof("include_start_date")-1); in php_date_period_initialize_from_hash()
5625 ht_entry = zend_hash_str_find(myht, "include_end_date", sizeof("include_end_date")-1); in php_date_period_initialize_from_hash()
5645 HashTable *myht; in PHP_METHOD() local
5651 myht = Z_ARRVAL_P(array); in PHP_METHOD()
5655 if (!php_date_period_initialize_from_hash(period_obj, myht)) { in PHP_METHOD()
5667 HashTable *myht; in PHP_METHOD() local
5675 myht = Z_ARRVAL_P(return_value); in PHP_METHOD()
5676 date_period_object_to_hash(period_obj, myht); in PHP_METHOD()
5678 add_common_properties(myht, &period_obj->std); in PHP_METHOD()
5703 static void restore_custom_dateperiod_properties(zval *object, HashTable *myht) in restore_custom_dateperiod_properties() argument
5708 ZEND_HASH_FOREACH_STR_KEY_VAL(myht, prop_name, prop_val) { in restore_custom_dateperiod_properties()
5722 HashTable *myht; in PHP_METHOD() local
5729 myht = Z_ARRVAL_P(array); in PHP_METHOD()
5731 if (!php_date_period_initialize_from_hash(period_obj, myht)) { in PHP_METHOD()
5735 restore_custom_dateperiod_properties(object, myht); in PHP_METHOD()
5744 HashTable *myht; in PHP_METHOD() local
5750 myht = Z_OBJPROP_P(object); in PHP_METHOD()
5752 if (!php_date_period_initialize_from_hash(period_obj, myht)) { in PHP_METHOD()