Home
last modified time | relevance | path

Searched refs:value_len (Results 1 – 25 of 32) sorted by relevance

12

/PHP-8.1/ext/intl/msgformat/
H A Dmsgformat_attr.c52 size_t value_len = 0; in PHP_FUNCTION() local
59 &object, MessageFormatter_ce_ptr, &value, &value_len ) == FAILURE ) in PHP_FUNCTION()
67 intl_convert_utf8_to_utf16(&spattern, &spattern_len, value, value_len, &INTL_DATA_ERROR_CODE(mfo)); in PHP_FUNCTION()
88 mfo->mf_data.orig_format = estrndup(value, value_len); in PHP_FUNCTION()
89 mfo->mf_data.orig_format_len = value_len; in PHP_FUNCTION()
/PHP-8.1/ext/dom/
H A Dcdatasection.c39 size_t value_len; in PHP_METHOD() local
41 if (zend_parse_parameters(ZEND_NUM_ARGS(), "s", &value, &value_len) == FAILURE) { in PHP_METHOD()
45 nodep = xmlNewCDataBlock(NULL, (xmlChar *) value, value_len); in PHP_METHOD()
H A Dcomment.c39 size_t value_len; in PHP_METHOD() local
41 if (zend_parse_parameters(ZEND_NUM_ARGS(), "|s", &value, &value_len) == FAILURE) { in PHP_METHOD()
H A Dprocessinginstruction.c39 size_t name_len, value_len; in PHP_METHOD() local
42 …if (zend_parse_parameters(ZEND_NUM_ARGS(), "s|s", &name, &name_len, &value, &value_len) == FAILURE… in PHP_METHOD()
H A Dtext.c40 size_t value_len; in PHP_METHOD() local
42 if (zend_parse_parameters(ZEND_NUM_ARGS(), "|s", &value, &value_len) == FAILURE) { in PHP_METHOD()
H A Dattr.c42 size_t name_len, value_len, name_valid; in PHP_METHOD() local
44 …if (zend_parse_parameters(ZEND_NUM_ARGS(), "s|s", &name, &name_len, &value, &value_len) == FAILURE… in PHP_METHOD()
H A Ddocument.c525 size_t name_len, value_len; in PHP_METHOD() local
529 …if (zend_parse_parameters(ZEND_NUM_ARGS(), "s|s", &name, &name_len, &value, &value_len) == FAILURE… in PHP_METHOD()
587 size_t value_len; in PHP_METHOD() local
592 if (zend_parse_parameters(ZEND_NUM_ARGS(), "s", &value, &value_len) == FAILURE) { in PHP_METHOD()
617 size_t value_len; in PHP_METHOD() local
622 if (zend_parse_parameters(ZEND_NUM_ARGS(), "s", &value, &value_len) == FAILURE) { in PHP_METHOD()
647 size_t value_len; in PHP_METHOD() local
652 if (zend_parse_parameters(ZEND_NUM_ARGS(), "s", &value, &value_len) == FAILURE) { in PHP_METHOD()
658 node = xmlNewCDataBlock(docp, (xmlChar *) value, value_len); in PHP_METHOD()
677 size_t value_len, name_len = 0; in PHP_METHOD() local
[all …]
H A Delement.c41 size_t name_len, value_len = 0, uri_len = 0; in PHP_METHOD() local
45 …if (zend_parse_parameters(ZEND_NUM_ARGS(), "s|s!s", &name, &name_len, &value, &value_len, &uri, &u… in PHP_METHOD()
93 if (value_len > 0) { in PHP_METHOD()
94 xmlNodeSetContentLen(nodep, (xmlChar *) value, value_len); in PHP_METHOD()
249 size_t name_len, value_len; in PHP_METHOD() local
254 …if (zend_parse_parameters(ZEND_NUM_ARGS(), "ss", &name, &name_len, &value, &value_len) == FAILURE)… in PHP_METHOD()
608 size_t uri_len = 0, name_len = 0, value_len = 0; in PHP_METHOD() local
615 …meters(ZEND_NUM_ARGS(), "s!ss", &uri, &uri_len, &name, &name_len, &value, &value_len) == FAILURE) { in PHP_METHOD()
/PHP-8.1/ext/standard/
H A Durl_scanner_ex.h27 …dd_session_var(const char *name, size_t name_len, const char *value, size_t value_len, int encode);
30 …canner_add_var(const char *name, size_t name_len, const char *value, size_t value_len, int encode);
H A Durl_scanner_ex.re728 …d_var_impl(const char *name, size_t name_len, const char *value, size_t value_len, int encode, int…
759 encoded = php_raw_url_encode(value, value_len);
763 …encoded = php_escape_html_entities_ex((const unsigned char *) value, value_len, 0, ENT_QUOTES|ENT_…
767 smart_str_appendl(&svalue, value, value_len);
769 smart_str_appendl(&hvalue, value, value_len);
791 …add_session_var(const char *name, size_t name_len, const char *value, size_t value_len, int encode)
793 return php_url_scanner_add_var_impl(name, name_len, value, value_len, encode, 1);
797 …scanner_add_var(const char *name, size_t name_len, const char *value, size_t value_len, int encode)
799 return php_url_scanner_add_var_impl(name, name_len, value, value_len, encode, 0);
/PHP-8.1/ext/intl/formatter/
H A Dformatter_attr.c258 size_t value_len = 0; in PHP_FUNCTION() local
265 &object, NumberFormatter_ce_ptr, &symbol, &value, &value_len ) == FAILURE ) in PHP_FUNCTION()
279 intl_convert_utf8_to_utf16(&svalue, &slength, value, value_len, &INTL_DATA_ERROR_CODE(nfo)); in PHP_FUNCTION()
332 size_t value_len = 0; in PHP_FUNCTION() local
339 &object, NumberFormatter_ce_ptr, &value, &value_len ) == FAILURE ) in PHP_FUNCTION()
347 intl_convert_utf8_to_utf16(&svalue, &slength, value, value_len, &INTL_DATA_ERROR_CODE(nfo)); in PHP_FUNCTION()
/PHP-8.1/ext/intl/dateformat/
H A Ddateformat_attr.c106 size_t value_len = 0; in PHP_FUNCTION() local
116 &object, IntlDateFormatter_ce_ptr, &value, &value_len ) == FAILURE ) in PHP_FUNCTION()
124 intl_convert_utf8_to_utf16(&svalue, &slength, value, value_len, &INTL_DATA_ERROR_CODE(dfo)); in PHP_FUNCTION()
/PHP-8.1/sapi/fpm/fpm/
H A Dfpm_env.c46 int value_len = strlen(value); in setenv() local
47 char *var = alloca(name_len + 1 + value_len + 1); in setenv()
53 memcpy(var + name_len + 1, value, value_len); in setenv()
55 var[name_len + 1 + value_len] = '\0'; in setenv()
H A Dfpm_php.c91 int value_len = strlen(value); in fpm_php_apply_defines_ex() local
101 …if (fpm_php_zend_ini_alter_master(name, name_len, value, value_len, mode, PHP_INI_STAGE_ACTIVATE) … in fpm_php_apply_defines_ex()
/PHP-8.1/win32/
H A Dregistry.c88 DWORD name_len, type, value_len; in LoadDirectory() local
92 value_len = max_value+1; in LoadDirectory()
97 if (RegEnumValue(key, i, name, &name_len, NULL, &type, value, &value_len) == ERROR_SUCCESS) { in LoadDirectory()
108 ZVAL_PSTRINGL(&data, value, value_len-1); in LoadDirectory()
/PHP-8.1/sapi/apache2handler/
H A Dapache_config.c54 size_t value_len; member
71 e.value_len = strlen(value); in real_value_hnd()
200 …if (zend_alter_ini_entry_chars(str, data->value, data->value_len, data->status, data->htaccess?PHP… in apply_config()
/PHP-8.1/ext/dba/
H A Ddba_tcadb.c130 int value_len; in DBA_EXISTS_FUNC() local
132 value = tcadbget(dba->tcadb, key, keylen, &value_len); in DBA_EXISTS_FUNC()
/PHP-8.1/ext/oci8/
H A Doci8_collection.c724 …collection_element_set(php_oci_collection *collection, zend_long index, char *value, int value_len) in php_oci_collection_element_set() argument
726 if (value_len == 0) { in php_oci_collection_element_set()
732 return php_oci_collection_element_set_date(collection, index, value, value_len); in php_oci_collection_element_set()
736 return php_oci_collection_element_set_string(collection, index, value, value_len); in php_oci_collection_element_set()
750 return php_oci_collection_element_set_number(collection, index, value, value_len); in php_oci_collection_element_set()
H A Doci8_interface.c2108 size_t value_len; in PHP_FUNCTION() local
2110 …ARGS(), getThis(), "Os", &z_collection, oci_coll_class_entry_ptr, &value, &value_len) == FAILURE) { in PHP_FUNCTION()
2121 if (php_oci_collection_append(collection, value, (int) value_len)) { in PHP_FUNCTION()
2187 size_t value_len; in PHP_FUNCTION() local
2191 …, "Ols", &z_collection, oci_coll_class_entry_ptr, &element_index, &value, &value_len) == FAILURE) { in PHP_FUNCTION()
2202 if (php_oci_collection_element_set(collection, element_index, value, (int) value_len)) { in PHP_FUNCTION()
/PHP-8.1/main/
H A Drfc1867.c863 size_t value_len; local
864 char *value = multipart_buffer_read_body(mbuff, &value_len);
869 value_len = 0;
875 …_encoding_converter(&new_value, &new_value_len, (unsigned char *)value, value_len, internal_encodi…
878 value_len = new_value_len;
882 …(max_input_vars) && sapi_module.input_filter(PARSE_POST, param, &value, value_len, &new_val_len)) {
911 event_formdata.length = value_len;
H A Dfastcgi.h125 void fcgi_set_mgmt_var(const char * name, size_t name_len, const char * value, size_t value_len);
H A Doutput.c1547 size_t name_len, value_len; in PHP_FUNCTION() local
1549 …if (zend_parse_parameters(ZEND_NUM_ARGS(), "ss", &name, &name_len, &value, &value_len) == FAILURE)… in PHP_FUNCTION()
1553 if (php_url_scanner_add_var(name, name_len, value, value_len, 1) == SUCCESS) { in PHP_FUNCTION()
/PHP-8.1/ext/exif/
H A Dexif.c2221 if (length > value_len) { in exif_iif_add_value()
2251 if (length > value_len) { in exif_iif_add_value()
2285 vptr_end = (char *) value + value_len; in exif_iif_add_value()
2345 …exif_iif_add_value(image_info, section_index, name, tag, format, (int)length, value, value_len, im… in exif_iif_add_tag()
3182 if (maker_note->id_string && value_len >= maker_note->id_string_len in exif_process_IFD_in_MAKERNOTE()
3188 if (value_len < 2 || maker_note->offset >= value_len - 1) { in exif_process_IFD_in_MAKERNOTE()
3203 …o->offset_base+maker_note->offset+displacement, value_len, value_len, exif_char_dump(value_ptr, va… in exif_process_IFD_in_MAKERNOTE()
3224 if ((2+NumDirEntries*12) > value_len) { in exif_process_IFD_in_MAKERNOTE()
3231 if ((2+NumDirEntries*12) > value_len) { in exif_process_IFD_in_MAKERNOTE()
3235 if ((dir_start - value_ptr) > value_len - (2+NumDirEntries*12)) { in exif_process_IFD_in_MAKERNOTE()
[all …]
/PHP-8.1/ext/enchant/
H A Denchant.c339 size_t value_len; in PHP_FUNCTION() local
341 …s(ZEND_NUM_ARGS(), "Ols", &broker, enchant_broker_ce, &dict_type, &value, &value_len) == FAILURE) { in PHP_FUNCTION()
347 if (!value_len) { in PHP_FUNCTION()
/PHP-8.1/ext/mysqlnd/
H A Dmysqlnd_wireprotocol.c587 size_t value_len = Z_STRLEN_P(entry_value); in php_mysqlnd_auth_write() local
591 ca_payload_len += php_mysqlnd_net_store_length_size(value_len); in php_mysqlnd_auth_write()
592 ca_payload_len += value_len; in php_mysqlnd_auth_write()
605 size_t value_len = Z_STRLEN_P(entry_value); in php_mysqlnd_auth_write() local
612 p = php_mysqlnd_net_store_length(p, value_len); in php_mysqlnd_auth_write()
613 memcpy(p, Z_STRVAL_P(entry_value), value_len); in php_mysqlnd_auth_write()
614 p+= value_len; in php_mysqlnd_auth_write()

Completed in 99 milliseconds

12