/php-src/ext/date/lib/ |
H A D | parse_iso_intervals.re | 100 char *tmp = timelib_calloc(1, s->cur - s->tok + 1); 101 memcpy(tmp, s->tok, s->cur - s->tok); 103 return tmp;
|
H A D | parse_posix.c | 240 return tmp; in read_trans_spec_mwd() 254 if (!tmp) { in read_transition_spec() 279 tmp->hour = -tmp->hour; in read_transition_spec() 282 return tmp; in read_transition_spec() 297 return tmp; in timelib_posix_trans_info_ctor() 330 if (!tmp->std) { in timelib_parse_posix_str() 345 return tmp; in timelib_parse_posix_str() 349 tmp->dst_offset = tmp->std_offset + 3600; in timelib_parse_posix_str() 352 if (!tmp->dst) { in timelib_parse_posix_str() 394 if (!tmp->dst_end) { in timelib_parse_posix_str() [all …]
|
H A D | parse_tz.c | 481 tmp, 64, in format_ut_time() 488 return tmp; in format_ut_time() 496 tmp, 64, in format_offset_type() 507 return tmp; in format_offset_type() 665 timelib_tzinfo *tmp; in timelib_parse_tzfile() local 722 tmp = NULL; in timelib_parse_tzfile() 725 return tmp; in timelib_parse_tzfile() 783 return tmp; in timelib_tzinfo_clone() 898 tmp->is_dst = 0; in timelib_get_time_zone_info() 906 tmp->offset = offset; in timelib_get_time_zone_info() [all …]
|
H A D | timelib.c | 90 timelib_time *tmp = timelib_time_ctor(); in timelib_time_clone() local 91 memcpy(tmp, orig, sizeof(timelib_time)); in timelib_time_clone() 93 tmp->tz_abbr = timelib_strdup(orig->tz_abbr); in timelib_time_clone() 96 tmp->tz_info = orig->tz_info; in timelib_time_clone() 98 return tmp; in timelib_time_clone() 116 timelib_rel_time *tmp = timelib_rel_time_ctor(); in timelib_rel_time_clone() local 117 memcpy(tmp, rel, sizeof(timelib_rel_time)); in timelib_rel_time_clone() 118 return tmp; in timelib_rel_time_clone()
|
/php-src/ext/date/ |
H A D | php_date.c | 1597 zend_class_entry *tmp = start_ce; in get_base_date_class() local 1599 while (tmp != date_ce_date && tmp != date_ce_immutable && tmp->parent) { in get_base_date_class() 1600 tmp = tmp->parent; in get_base_date_class() 1603 return tmp; in get_base_date_class() 2861 zend_string *tmp = zend_string_concat3( in php_date_initialize_from_hash() local 2864 bool ret = php_date_initialize(*dateobj, ZSTR_VAL(tmp), ZSTR_LEN(tmp), NULL, NULL, 0); in php_date_initialize_from_hash() 2865 zend_string_release(tmp); in php_date_initialize_from_hash()
|
/php-src/ext/date/tests/ |
H A D | date.phpt | 5 $tmp = "cr"; 8 for($a = 0;$a < strlen($tmp); $a++){ 9 echo $tmp[$a], ': ', date($tmp[$a], 1043324459)."\n"; 14 for($a = 0;$a < strlen($tmp); $a++){ 15 echo $tmp[$a], ': ', date($tmp[$a], 1043324459)."\n";
|
/php-src/ext/dba/ |
H A D | install_cdb.sh | 33 mkdir -p tmp || exit 1 34 cd tmp 47 rm -rf tmp
|
/php-src/ext/dom/ |
H A D | element.c | 319 zval tmp; in PHP_METHOD() local 334 …ZVAL_NEW_STR(&tmp, dom_node_concatenated_name_helper(strlen(prefix), prefix, strlen("xmlns"), (con… in PHP_METHOD() 335 zend_hash_next_index_insert(ht, &tmp); in PHP_METHOD() 340 ZVAL_NEW_STR(&tmp, dom_node_get_node_name_attribute_or_element((const xmlNode *) attr, false)); in PHP_METHOD() 341 zend_hash_next_index_insert(ht, &tmp); in PHP_METHOD()
|
H A D | node.c | 2130 zval *tmp; in dom_canonicalization() local 2134 tmp = zend_hash_find_deref(ht, ZSTR_KNOWN(ZEND_STR_QUERY)); in dom_canonicalization() 2135 if (!tmp) { in dom_canonicalization() 2140 if (Z_TYPE_P(tmp) != IS_STRING) { in dom_canonicalization() 2142 …ent_type_error(3 + mode, "\"query\" option must be a string, %s given", zend_zval_value_name(tmp)); in dom_canonicalization() 2145 xquery = Z_STRVAL_P(tmp); in dom_canonicalization() 2150 tmp = zend_hash_str_find_deref(ht, "namespaces", sizeof("namespaces")-1); in dom_canonicalization() 2151 if (tmp && Z_TYPE_P(tmp) == IS_ARRAY && !HT_IS_PACKED(Z_ARRVAL_P(tmp))) { in dom_canonicalization() 2155 ZEND_HASH_MAP_FOREACH_STR_KEY_VAL(Z_ARRVAL_P(tmp), prefix, tmpns) { in dom_canonicalization()
|
H A D | php_dom.c | 392 zval tmp; in dom_write_property() local 393 ZVAL_COPY(&tmp, value); in dom_write_property() 395 zval_ptr_dtor(&tmp); in dom_write_property() 398 hnd->write_func(obj, &tmp); in dom_write_property() 399 zval_ptr_dtor(&tmp); in dom_write_property() 418 zval tmp; in dom_property_exists() local 428 zval_ptr_dtor(&tmp); in dom_property_exists() 1360 const xmlChar* tmp; in dom_namednode_iter() local 1381 mapptr->ns = BAD_CAST tmp; in dom_namednode_iter() 1429 zval tmp; in dom_object_namespace_node_free_storage() local [all …]
|
/php-src/ext/dom/lexbor/lexbor/core/ |
H A D | conv.c | 30 int64_t tmp; in lexbor_conv_int64_to_data() local 36 tmp = num; in lexbor_conv_int64_to_data() 46 while (tmp != 0) { in lexbor_conv_int64_to_data() 48 tmp /= 10; in lexbor_conv_int64_to_data() 312 uint32_t tmp; in lexbor_conv_dec_to_hex() local 317 tmp = number; in lexbor_conv_dec_to_hex() 320 while (tmp != 0) { in lexbor_conv_dec_to_hex() 322 tmp /= 16; in lexbor_conv_dec_to_hex()
|
H A D | diyfp.h | 223 uint64_t a, b, c, d, ac, bc, ad, bd, tmp; in lexbor_diyfp_mul() 235 tmp = (bd >> 32) + (ad & 0xffffffff) + (bc & 0xffffffff); in lexbor_diyfp_mul() 239 tmp += 1U << 31; in lexbor_diyfp_mul() 241 return lexbor_diyfp(ac + (ad >> 32) + (bc >> 32) + (tmp >> 32), in lexbor_diyfp_mul()
|
H A D | dtoa.c | 83 uint64_t p2, tmp; in lexbor_grisu2_gen() local 140 tmp = ((uint64_t) p1 << -one.exp) + p2; in lexbor_grisu2_gen() 142 if (tmp <= delta) { in lexbor_grisu2_gen() 144 lexbor_grisu2_round(begin, p - begin, delta, tmp, in lexbor_grisu2_gen() 171 tmp = (-kappa < 10) ? pow10[-kappa] : 0; in lexbor_grisu2_gen() 173 wp_w.significand * tmp); in lexbor_grisu2_gen()
|
H A D | str.c | 96 lxb_char_t *tmp = lexbor_mraw_realloc(mraw, str->data, new_size); in lexbor_str_realloc() local 97 if (tmp == NULL) { in lexbor_str_realloc() 101 str->data = tmp; in lexbor_str_realloc() 103 return tmp; in lexbor_str_realloc() 109 lxb_char_t *tmp; in lexbor_str_check_size() local 119 tmp = lexbor_mraw_realloc(mraw, str->data, (str->length + plus_len)); in lexbor_str_check_size() 120 if (tmp == NULL) { in lexbor_str_check_size() 124 str->data = tmp; in lexbor_str_check_size() 126 return tmp; in lexbor_str_check_size()
|
H A D | str.h | 27 void *tmp; \ 33 tmp = lexbor_mraw_realloc(mraw, str->data, \ 36 if (tmp == NULL) { \ 40 str->data = (lxb_char_t *) tmp; \ 214 lxb_char_t *tmp; in lexbor_str_length_set() local 216 tmp = lexbor_str_realloc(str, mraw, length + 1); in lexbor_str_length_set() 217 if (tmp == NULL) { in lexbor_str_length_set()
|
/php-src/ext/dom/lexbor/lexbor/dom/interfaces/ |
H A D | attr.c | 241 const lxb_char_t *tmp; in lxb_dom_attr_set_value() local 243 tmp = lexbor_str_realloc(attr->value, doc->text, (value_len + 1)); in lxb_dom_attr_set_value() 244 if (tmp == NULL) { in lxb_dom_attr_set_value()
|
H A D | node.c | 262 lxb_dom_node_t *tmp; in lxb_dom_node_destroy_deep() local 271 tmp = node->parent; in lxb_dom_node_destroy_deep() 275 node = tmp; in lxb_dom_node_destroy_deep() 284 tmp = node->next; in lxb_dom_node_destroy_deep() 288 node = tmp; in lxb_dom_node_destroy_deep()
|
/php-src/ext/dom/lexbor/patches/ |
H A D | 0001-Shrink-size-of-static-binary-search-tree.patch | 10 utils/lexbor/html/tmp/tokenizer_res.h | 2 +- 50 diff --git a/utils/lexbor/html/tmp/tokenizer_res.h b/utils/lexbor/html/tmp/tokenizer_res.h 52 --- a/utils/lexbor/html/tmp/tokenizer_res.h 53 +++ b/utils/lexbor/html/tmp/tokenizer_res.h 96 entities_bst("tmp/tokenizer_res.h",
|
/php-src/ext/dom/tests/ |
H A D | DOMDocument_save_basic.phpt | 20 $temp_filename = __DIR__."/DomDocument_save_basic.tmp"; 26 $temp_filename = __DIR__."/DomDocument_save_basic.tmp";
|
H A D | DOMNode_C14NFile_basic.phpt | 21 $output = __DIR__.'/DOMNode_C14NFile_basic.tmp'; 41 $output = __DIR__.'/DOMNode_C14NFile_basic.tmp';
|
/php-src/ext/dom/tests/modern/html/encoding/ |
H A D | HTMLDocument_GB18030.phpt | 13 $dom->saveHtmlFile(__DIR__ . "/gb18030_output.tmp"); 14 var_dump(file_get_contents(__DIR__ . "/gb18030_output.tmp") === $output); 23 @unlink(__DIR__ . "/gb18030_output.tmp");
|
H A D | HTMLDocument_Shift_JIS.phpt | 13 $dom->saveHtmlFile(__DIR__ . "/shift_jis.tmp"); 14 var_dump(file_get_contents(__DIR__ . "/shift_jis.tmp") === $output); 23 @unlink(__DIR__ . "/shift_jis.tmp");
|
H A D | HTMLDocument_UTF16BE_BOM.phpt | 13 $dom->saveHtmlFile(__DIR__ . "/utf16be_bom_output.tmp"); 14 var_dump(file_get_contents(__DIR__ . "/utf16be_bom_output.tmp") === $output); 23 @unlink(__DIR__ . "/utf16be_bom_output.tmp");
|
H A D | HTMLDocument_UTF16LE_BOM.phpt | 13 $dom->saveHtmlFile(__DIR__ . "/utf16le_bom_output.tmp"); 14 var_dump(file_get_contents(__DIR__ . "/utf16le_bom_output.tmp") === $output); 23 @unlink(__DIR__ . "/utf16le_bom_output.tmp");
|
H A D | HTMLDocument_UTF8_BOM.phpt | 13 $dom->saveHtmlFile(__DIR__ . "/utf8_bom_output.tmp"); 14 var_dump(file_get_contents(__DIR__ . "/utf8_bom_output.tmp") === $output); 23 @unlink(__DIR__ . "/utf8_bom_output.tmp");
|