/PHP-7.2/ext/com_dotnet/ |
H A D | com_typeinfo.c | 122 char *str = NULL; in php_com_load_typelib() local 130 spprintf(&str, 0, "%s,%d,%d", keyname, major_tmp, minor_tmp); in php_com_load_typelib() 132 TL = php_com_load_typelib(str, codepage); in php_com_load_typelib() 134 efree(str); in php_com_load_typelib()
|
H A D | com_variant.c | 243 char *str = php_com_olestring_to_string(olestring, in php_com_zval_from_variant() local 245 ZVAL_STRINGL(z, str, len); in php_com_zval_from_variant() 247 efree(str); in php_com_zval_from_variant()
|
/PHP-7.2/ext/curl/ |
H A D | interface.c | 353 ZEND_ARG_INFO(0, str) 534 char str[1024]; in PHP_INI_BEGIN() local 2460 int ret = php_curl_option_url(ch, ZSTR_VAL(str), ZSTR_LEN(str)); in _php_curl_setopt() 2790 post = estrndup(ZSTR_VAL(str), ZSTR_LEN(str)); in _php_curl_setopt() 2888 if (ZSTR_LEN(str) && php_check_open_basedir(ZSTR_VAL(str))) { in _php_curl_setopt() 3453 const char *str; in PHP_FUNCTION() local 3460 if (str) { in PHP_FUNCTION() 3550 zend_string *str; in PHP_FUNCTION() local 3557 Z_PARAM_STR(str) in PHP_FUNCTION() 3584 zend_string *str; in PHP_FUNCTION() local [all …]
|
H A D | multi.c | 470 const char *str; in PHP_FUNCTION() local 476 str = curl_multi_strerror(code); in PHP_FUNCTION() 477 if (str) { in PHP_FUNCTION() 478 RETURN_STRING(str); in PHP_FUNCTION()
|
H A D | php_curl.h | 170 char str[CURL_ERROR_SIZE + 1]; member 175 zend_string *str; member 179 zend_llist str; member
|
H A D | share.c | 162 const char *str; in PHP_FUNCTION() local 168 str = curl_share_strerror(code); in PHP_FUNCTION() 169 if (str) { in PHP_FUNCTION() 170 RETURN_STRING(str); in PHP_FUNCTION()
|
/PHP-7.2/ext/curl/tests/ |
H A D | curl_escape.phpt | 14 $str = "http://www.php.net/ ?!"; 17 $escaped = curl_escape($a, $str);
|
/PHP-7.2/ext/date/lib/ |
H A D | parse_date.c | 106 #define TIMELIB_INIT s->cur = cursor; str = timelib_string(s); ptr = str 450 char *begin, *end, *str; in timelib_get_nr_ex() local 470 memcpy(str, begin, end - begin); in timelib_get_nr_ex() 471 tmp_nr = strtoll(str, NULL, 10); in timelib_get_nr_ex() 472 timelib_free(str); in timelib_get_nr_ex() 493 char *begin, *end, *str; in timelib_get_frac_nr() local 512 timelib_free(str); in timelib_get_frac_nr() 852 char *str, *ptr = NULL; in scan() local 24936 memcpy(in.str, s, (e - s)); in timelib_strtotime() 24938 in.cur = in.str; in timelib_strtotime() [all …]
|
H A D | parse_date.re | 104 #define TIMELIB_INIT s->cur = cursor; str = timelib_string(s); ptr = str 448 char *begin, *end, *str; 468 memcpy(str, begin, end - begin); 469 tmp_nr = strtoll(str, NULL, 10); 470 timelib_free(str); 491 char *begin, *end, *str; 510 timelib_free(str); 850 char *str, *ptr = NULL; 1830 memcpy(in.str, s, (e - s)); 1832 in.cur = in.str; [all …]
|
H A D | parse_iso_intervals.c | 64 #define TIMELIB_INIT s->cur = cursor; str = timelib_string(s); ptr = str 112 char *begin, *end, *str; in timelib_get_nr() local 128 str = timelib_calloc(1, end - begin + 1); in timelib_get_nr() 129 memcpy(str, begin, end - begin); in timelib_get_nr() 130 tmp_nr = strtoll(str, NULL, 10); in timelib_get_nr() 131 timelib_free(str); in timelib_get_nr() 174 char *str, *ptr = NULL; in scan() local 972 memcpy(in.str, s, (e - s)); in timelib_strtointerval() 973 in.lim = in.str + (e - s) + YYMAXFILL; in timelib_strtointerval() 974 in.cur = in.str; in timelib_strtointerval() [all …]
|
H A D | parse_iso_intervals.re | 62 #define TIMELIB_INIT s->cur = cursor; str = timelib_string(s); ptr = str 110 char *begin, *end, *str; 127 memcpy(str, begin, end - begin); 128 tmp_nr = strtoll(str, NULL, 10); 129 timelib_free(str); 172 char *str, *ptr = NULL; 366 memset(in.str, 0, (e - s) + YYMAXFILL); 367 memcpy(in.str, s, (e - s)); 368 in.lim = in.str + (e - s) + YYMAXFILL; 369 in.cur = in.str; [all …]
|
/PHP-7.2/ext/date/ |
H A D | php_date.c | 4359 zend_string *str = zval_get_string(z_arg); \ in php_date_interval_initialize_from_hash() 4360 DATE_A64I((*intobj)->diff->member, ZSTR_VAL(str)); \ in php_date_interval_initialize_from_hash() 4361 zend_string_release(str); \ in php_date_interval_initialize_from_hash() 4373 zend_string *str = zval_get_string(z_arg); \ in php_date_interval_initialize_from_hash() 4374 DATE_A64I((*intobj)->diff->member, ZSTR_VAL(str)); \ in php_date_interval_initialize_from_hash() 4375 zend_string_release(str); \ in php_date_interval_initialize_from_hash()
|
/PHP-7.2/ext/date/tests/ |
H A D | bug51866.phpt | 17 list($format, $str) = $test; 18 var_dump($format, $str); 19 $d = DateTime::createFromFormat($format, $str);
|
H A D | bug65371.phpt | 8 function p($str) 10 echo $str, "\n"; 11 echo strftime($str), "\n"; 12 echo bin2hex($str), "\n"; 13 echo bin2hex(strftime($str));
|
H A D | strtotime3-64bit.phpt | 37 foreach ($strs as $str) { 38 $t = strtotime($str, $time);
|
H A D | strtotime3.phpt | 37 foreach ($strs as $str) { 38 $t = strtotime($str, $time);
|
/PHP-7.2/ext/dba/ |
H A D | dba.c | 1289 char *str = hptr->info(hptr, NULL); in PHP_FUNCTION() local 1290 add_assoc_string(return_value, hptr->name, str); in PHP_FUNCTION() 1291 efree(str); in PHP_FUNCTION()
|
/PHP-7.2/ext/dba/libinifile/ |
H A D | inifile.c | 145 static char *etrim(const char *str) in etrim() argument 150 if (!str) { in etrim() 153 val = (char*)str; in etrim()
|
/PHP-7.2/ext/dom/ |
H A D | attr.c | 158 zend_string *str; in dom_attr_value_write() local 170 str = zval_get_string(newval); in dom_attr_value_write() 172 xmlNodeSetContentLen((xmlNodePtr) attrp, (xmlChar *) ZSTR_VAL(str), ZSTR_LEN(str) + 1); in dom_attr_value_write() 174 zend_string_release(str); in dom_attr_value_write()
|
H A D | characterdata.c | 102 zend_string *str; in dom_characterdata_data_write() local 109 str = zval_get_string(newval); in dom_characterdata_data_write() 111 xmlNodeSetContentLen(nodep, (xmlChar *) ZSTR_VAL(str), ZSTR_LEN(str) + 1); in dom_characterdata_data_write() 113 zend_string_release(str); in dom_characterdata_data_write()
|
H A D | document.c | 334 zend_string *str; in dom_document_encoding_write() local 342 str = zval_get_string(newval); in dom_document_encoding_write() 344 handler = xmlFindCharEncodingHandler(ZSTR_VAL(str)); in dom_document_encoding_write() 356 zend_string_release(str); in dom_document_encoding_write() 429 zend_string *str; in dom_document_version_write() local 440 str = zval_get_string(newval); in dom_document_version_write() 444 zend_string_release(str); in dom_document_version_write() 657 zend_string *str; in dom_document_document_uri_write() local 668 str = zval_get_string(newval); in dom_document_document_uri_write() 670 docp->URL = xmlStrdup((const xmlChar *) ZSTR_VAL(str)); in dom_document_document_uri_write() [all …]
|
H A D | node.c | 203 char *str = NULL; in dom_node_node_name_read() local 259 str = "#text"; in dom_node_node_name_read() 289 char *str = NULL; in dom_node_node_value_read() local 310 str = NULL; in dom_node_node_value_read() 314 if(str != NULL) { in dom_node_node_value_read() 316 xmlFree(str); in dom_node_node_value_read() 631 char *str = NULL; in dom_node_namespace_uri_read() local 647 str = NULL; in dom_node_namespace_uri_read() 671 char *str = NULL; in dom_node_prefix_read() local 688 str = NULL; in dom_node_prefix_read() [all …]
|
H A D | processinginstruction.c | 137 zend_string *str; in dom_processinginstruction_data_write() local 144 str = zval_get_string(newval); in dom_processinginstruction_data_write() 146 xmlNodeSetContentLen(nodep, (xmlChar *) ZSTR_VAL(str), ZSTR_LEN(str) + 1); in dom_processinginstruction_data_write() 148 zend_string_release(str); in dom_processinginstruction_data_write()
|
H A D | xpath.c | 82 char *str; in dom_xpath_ext_function_php() local 132 str = (char *)xmlXPathCastToString(obj); in dom_xpath_ext_function_php() 133 ZVAL_STRING(&fci.params[i], str); in dom_xpath_ext_function_php() 134 xmlFree(str); in dom_xpath_ext_function_php() 221 zend_string *str = zval_get_string(&retval); in dom_xpath_ext_function_php() local 222 valuePush(ctxt, xmlXPathNewString((xmlChar *) ZSTR_VAL(str))); in dom_xpath_ext_function_php() 223 zend_string_release(str); in dom_xpath_ext_function_php() 518 zend_string *str = zval_get_string(entry); in PHP_FUNCTION() local 520 zend_hash_update(intern->registered_phpfunctions, str, &new_string); in PHP_FUNCTION() 521 zend_string_release(str); in PHP_FUNCTION()
|
/PHP-7.2/ext/dom/tests/ |
H A D | DOMDocument_saveHTML_variant2.phpt | 10 $str = <<<EOD 19 $d->loadHTML($str);
|