Home
last modified time | relevance | path

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

12

/PHP-5.5/ext/intl/msgformat/
H A Dmsgformat_attr.c65 int value_len = 0; in PHP_FUNCTION() local
72 &object, MessageFormatter_ce_ptr, &value, &value_len ) == FAILURE ) in PHP_FUNCTION()
82 intl_convert_utf8_to_utf16(&spattern, &spattern_len, value, value_len, &INTL_DATA_ERROR_CODE(mfo)); in PHP_FUNCTION()
103 mfo->mf_data.orig_format = estrndup(value, value_len); in PHP_FUNCTION()
104 mfo->mf_data.orig_format_len = value_len; in PHP_FUNCTION()
/PHP-5.5/ext/standard/
H A Dhead.c76 PHPAPI int php_setcookie(char *name, int name_len, char *value, int value_len, time_t expires, char… in php_setcookie() argument
98 encoded_value = php_url_encode(value, value_len, &encoded_value_len); in php_setcookie()
102 len += value_len; in php_setcookie()
113 if (value && value_len == 0) { in php_setcookie()
183 int name_len, value_len = 0, path_len = 0, domain_len = 0; in PHP_FUNCTION() local
186 &name_len, &value, &value_len, &expires, &path, in PHP_FUNCTION()
191 …if (php_setcookie(name, name_len, value, value_len, expires, path, path_len, domain, domain_len, s… in PHP_FUNCTION()
206 int name_len, value_len = 0, path_len = 0, domain_len = 0; in PHP_FUNCTION() local
209 &name_len, &value, &value_len, &expires, &path, in PHP_FUNCTION()
214 …if (php_setcookie(name, name_len, value, value_len, expires, path, path_len, domain, domain_len, s… in PHP_FUNCTION()
H A Dhead.h34 PHPAPI int php_setcookie(char *name, int name_len, char *value, int value_len, time_t expires, char…
H A Durl_scanner_ex.h31 PHPAPI int php_url_scanner_add_var(char *name, int name_len, char *value, int value_len, int urlenc…
/PHP-5.5/ext/dom/
H A Dcdatasection.c57 int value_len; in PHP_METHOD() local
61 …() TSRMLS_CC, getThis(), "Os", &id, dom_cdatasection_class_entry, &value, &value_len) == FAILURE) { in PHP_METHOD()
67 nodep = xmlNewCDataBlock(NULL, (xmlChar *) value, value_len); in PHP_METHOD()
H A Dcomment.c57 int value_len; in PHP_METHOD() local
61 …ARGS() TSRMLS_CC, getThis(), "O|s", &id, dom_comment_class_entry, &value, &value_len) == FAILURE) { in PHP_METHOD()
H A Dprocessinginstruction.c58 int name_len, value_len, name_valid; in PHP_METHOD() local
62 …s", &id, dom_processinginstruction_class_entry, &name, &name_len, &value, &value_len) == FAILURE) { in PHP_METHOD()
H A Dtext.c72 int value_len; in PHP_METHOD() local
76 …UM_ARGS() TSRMLS_CC, getThis(), "O|s", &id, dom_text_class_entry, &value, &value_len) == FAILURE) { in PHP_METHOD()
H A Dattr.c64 int name_len, value_len, name_valid; in PHP_METHOD() local
68 …, getThis(), "Os|s", &id, dom_attr_class_entry, &name, &name_len, &value, &value_len) == FAILURE) { in PHP_METHOD()
H A Delement.c163 int name_len, value_len = 0, name_valid; in PHP_METHOD() local
168 …s(), "Os|s!s", &id, dom_element_class_entry, &name, &name_len, &value, &value_len, &uri, &uri_len)… in PHP_METHOD()
218 if (value_len > 0) { in PHP_METHOD()
219 xmlNodeSetContentLen(nodep, (xmlChar *) value, value_len); in PHP_METHOD()
377 int ret, name_len, value_len, name_valid; in PHP_FUNCTION() local
381 …getThis(), "Oss", &id, dom_element_class_entry, &name, &name_len, &value, &value_len) == FAILURE) { in PHP_FUNCTION()
747 int uri_len = 0, name_len = 0, value_len = 0; in PHP_FUNCTION() local
753 …, &id, dom_element_class_entry, &uri, &uri_len, &name, &name_len, &value, &value_len) == FAILURE) { in PHP_FUNCTION()
H A Ddocument.c908 int ret, name_len, value_len; in PHP_FUNCTION() local
911 …tThis(), "Os|s", &id, dom_document_class_entry, &name, &name_len, &value, &value_len) == FAILURE) { in PHP_FUNCTION()
967 int ret, value_len; in PHP_FUNCTION() local
971 …ARGS() TSRMLS_CC, getThis(), "Os", &id, dom_document_class_entry, &value, &value_len) == FAILURE) { in PHP_FUNCTION()
995 int ret, value_len; in PHP_FUNCTION() local
999 …ARGS() TSRMLS_CC, getThis(), "Os", &id, dom_document_class_entry, &value, &value_len) == FAILURE) { in PHP_FUNCTION()
1023 int ret, value_len; in PHP_FUNCTION() local
1027 …ARGS() TSRMLS_CC, getThis(), "Os", &id, dom_document_class_entry, &value, &value_len) == FAILURE) { in PHP_FUNCTION()
1033 node = xmlNewCDataBlock(docp, (xmlChar *) value, value_len); in PHP_FUNCTION()
1051 int ret, value_len, name_len = 0; in PHP_FUNCTION() local
[all …]
/PHP-5.5/sapi/fpm/fpm/
H A Dfpm_env.c47 int value_len = strlen(value); in setenv() local
48 char *var = alloca(name_len + 1 + value_len + 1); in setenv()
54 memcpy(var + name_len + 1, value, value_len); in setenv()
56 var[name_len + 1 + value_len] = '\0'; in setenv()
H A Dfpm_php.c87 int value_len = strlen(value); in fpm_php_apply_defines_ex() local
95 …if (fpm_php_zend_ini_alter_master(name, name_len+1, value, value_len, mode, PHP_INI_STAGE_ACTIVATE… in fpm_php_apply_defines_ex()
H A Dfastcgi.h133 void fcgi_set_mgmt_var(const char * name, size_t name_len, const char * value, size_t value_len);
/PHP-5.5/ext/intl/formatter/
H A Dformatter_attr.c302 int value_len = 0; in PHP_FUNCTION() local
309 &object, NumberFormatter_ce_ptr, &symbol, &value, &value_len ) == FAILURE ) in PHP_FUNCTION()
326 intl_convert_utf8_to_utf16(&svalue, &slength, value, value_len, &INTL_DATA_ERROR_CODE(nfo)); in PHP_FUNCTION()
390 int value_len = 0; in PHP_FUNCTION() local
397 &object, NumberFormatter_ce_ptr, &value, &value_len ) == FAILURE ) in PHP_FUNCTION()
408 intl_convert_utf8_to_utf16(&svalue, &slength, value, value_len, &INTL_DATA_ERROR_CODE(nfo)); in PHP_FUNCTION()
/PHP-5.5/ext/intl/dateformat/
H A Ddateformat_attr.c131 int value_len = 0; in PHP_FUNCTION() local
141 &object, IntlDateFormatter_ce_ptr, &value, &value_len ) == FAILURE ) in PHP_FUNCTION()
151 intl_convert_utf8_to_utf16(&svalue, &slength, value, value_len, &INTL_DATA_ERROR_CODE(dfo)); in PHP_FUNCTION()
/PHP-5.5/win32/
H A Dregistry.c72 DWORD name_len, type, value_len; in LoadDirectory() local
77 value_len = max_value+1; in LoadDirectory()
78 if (RegEnumValue(key, i, name, &name_len, NULL, &type, value, &value_len) == ERROR_SUCCESS) { in LoadDirectory()
92 Z_STRVAL_P(data) = zend_strndup(value, value_len-1); in LoadDirectory()
93 Z_STRLEN_P(data) = value_len-1; in LoadDirectory()
/PHP-5.5/sapi/apache2filter/
H A Dapache_config.c52 size_t value_len; member
69 e.value_len = strlen(value); in real_value_hnd()
175 …if (zend_alter_ini_entry(str, str_len, data->value, data->value_len, data->status, data->htaccess?… in apply_config()
/PHP-5.5/ext/dba/
H A Ddba_tcadb.c133 int value_len; in DBA_EXISTS_FUNC() local
135 value = tcadbget(dba->tcadb, key, keylen, &value_len); in DBA_EXISTS_FUNC()
/PHP-5.5/sapi/apache2handler/
H A Dapache_config.c52 size_t value_len; member
69 e.value_len = strlen(value); in real_value_hnd()
197 …if (zend_alter_ini_entry(str, str_len, data->value, data->value_len, data->status, data->htaccess?… in apply_config()
/PHP-5.5/ext/oci8/
H A Doci8_collection.c709 …ction_element_set(php_oci_collection *collection, long index, char *value, int value_len TSRMLS_DC) in php_oci_collection_element_set()
711 if (value_len == 0) { in php_oci_collection_element_set()
717 return php_oci_collection_element_set_date(collection, index, value, value_len TSRMLS_CC); in php_oci_collection_element_set()
721 return php_oci_collection_element_set_string(collection, index, value, value_len TSRMLS_CC); in php_oci_collection_element_set()
735 return php_oci_collection_element_set_number(collection, index, value, value_len TSRMLS_CC); in php_oci_collection_element_set()
/PHP-5.5/main/
H A Drfc1867.c849 unsigned int value_len; local
850 char *value = multipart_buffer_read_body(mbuff, &value_len TSRMLS_CC);
855 value_len = 0;
861 …_encoding_converter(&new_value, &new_value_len, (unsigned char *)value, value_len, internal_encodi…
864 value_len = new_value_len;
868 …(max_input_vars) && sapi_module.input_filter(PARSE_POST, param, &value, value_len, &new_val_len TS…
897 event_formdata.length = value_len;
/PHP-5.5/sapi/cgi/
H A Dfastcgi.h141 void fcgi_set_mgmt_var(const char * name, size_t name_len, const char * value, size_t value_len);
/PHP-5.5/ext/pdo_firebird/
H A Dfirebird_statement.c499 unsigned long value_len; in firebird_stmt_param_hook() local
593 value_len = 0; in firebird_stmt_param_hook()
596 if (firebird_stmt_get_col(stmt, param->paramno, &value, &value_len, &caller_frees TSRMLS_CC)) { in firebird_stmt_param_hook()
600 ZVAL_STRINGL(param->parameter, value, value_len, 1); in firebird_stmt_param_hook()
/PHP-5.5/ext/pdo/
H A Dpdo_stmt.c550 unsigned long value_len = 0; in fetch_value() local
559 value_len = 0; in fetch_value()
561 stmt->methods->get_col(stmt, colno, &value, &value_len, &caller_frees TSRMLS_CC); in fetch_value()
565 if (value && value_len == sizeof(zval)) { in fetch_value()
579 if (value && value_len == sizeof(long)) { in fetch_value()
587 if (value && value_len == sizeof(zend_bool)) { in fetch_value()
597 } else if (value_len == 0) { in fetch_value()
617 stm = php_stream_memory_open(TEMP_STREAM_TAKE_BUFFER, value, value_len); in fetch_value()
624 stm = php_stream_memory_open(TEMP_STREAM_READONLY, value, value_len); in fetch_value()
632 ZVAL_STRINGL(dest, value, value_len, !caller_frees); in fetch_value()
[all …]

Completed in 70 milliseconds

12