Searched defs:value_len (Results 1 - 25 of 33) sorted by relevance

12

/PHP_TRUNK/sapi/fpm/fpm/
H A Dfpm_env.c47 int value_len = strlen(value); local
48 char *var = alloca(name_len + 1 + value_len + 1);
54 memcpy(var + name_len + 1, value, value_len);
56 var[name_len + 1 + value_len] = '\0';
H A Dfpm_php.c86 int value_len = strlen(value); local
94 if (fpm_php_zend_ini_alter_master(name, name_len, value, value_len, mode, PHP_INI_STAGE_ACTIVATE TSRMLS_CC) == FAILURE) {
H A Dfastcgi.c1064 void fcgi_set_mgmt_var(const char * name, size_t name_len, const char * value, size_t value_len) argument
1067 ZVAL_NEW_STR(&zvalue, zend_string_init(value, value_len, 1));
/PHP_TRUNK/win32/
H A Dregistry.c72 DWORD name_len, type, value_len; local
77 value_len = max_value+1;
78 if (RegEnumValue(key, i, name, &name_len, NULL, &type, value, &value_len) == ERROR_SUCCESS) {
/PHP_TRUNK/sapi/apache2handler/
H A Dapache_config.c52 size_t value_len; member in struct:__anon2
69 e.value_len = strlen(value);
195 if (zend_alter_ini_entry_chars(str, data->value, data->value_len, data->status, data->htaccess?PHP_INI_STAGE_HTACCESS:PHP_INI_STAGE_ACTIVATE) == FAILURE) {
/PHP_TRUNK/ext/dba/
H A Ddba_tcadb.c133 int value_len; local
135 value = tcadbget(dba->tcadb, key, keylen, &value_len);
/PHP_TRUNK/ext/dom/
H A Dattr.c63 size_t name_len, value_len, name_valid; local
67 if (zend_parse_method_parameters(ZEND_NUM_ARGS() TSRMLS_CC, getThis(), "Os|s", &id, dom_attr_class_entry, &name, &name_len, &value, &value_len) == FAILURE) {
H A Dcdatasection.c57 size_t value_len; local
61 if (zend_parse_method_parameters(ZEND_NUM_ARGS() TSRMLS_CC, getThis(), "Os", &id, dom_cdatasection_class_entry, &value, &value_len) == FAILURE) {
67 nodep = xmlNewCDataBlock(NULL, (xmlChar *) value, value_len);
H A Dcomment.c57 size_t value_len; local
61 if (zend_parse_method_parameters(ZEND_NUM_ARGS() TSRMLS_CC, getThis(), "O|s", &id, dom_comment_class_entry, &value, &value_len) == FAILURE) {
H A Ddocument.c701 size_t name_len, value_len; local
704 if (zend_parse_method_parameters(ZEND_NUM_ARGS() TSRMLS_CC, getThis(), "Os|s", &id, dom_document_class_entry, &name, &name_len, &value, &value_len) == FAILURE) {
761 size_t value_len; local
765 if (zend_parse_method_parameters(ZEND_NUM_ARGS() TSRMLS_CC, getThis(), "Os", &id, dom_document_class_entry, &value, &value_len) == FAILURE) {
790 size_t value_len; local
794 if (zend_parse_method_parameters(ZEND_NUM_ARGS() TSRMLS_CC, getThis(), "Os", &id, dom_document_class_entry, &value, &value_len) == FAILURE) {
819 size_t value_len; local
823 if (zend_parse_method_parameters(ZEND_NUM_ARGS() TSRMLS_CC, getThis(), "Os", &id, dom_document_class_entry, &value, &value_len) == FAILURE) {
829 node = xmlNewCDataBlock(docp, (xmlChar *) value, value_len);
848 size_t value_len, name_le local
1035 size_t uri_len = 0, name_len = 0, value_len = 0; local
[all...]
H A Delement.c163 size_t name_len, value_len = 0, uri_len = 0; local
169 if (zend_parse_method_parameters(ZEND_NUM_ARGS() TSRMLS_CC, getThis(), "Os|s!s", &id, dom_element_class_entry, &name, &name_len, &value, &value_len, &uri, &uri_len) == FAILURE) {
219 if (value_len > 0) {
220 xmlNodeSetContentLen(nodep, (xmlChar *) value, value_len);
375 size_t name_len, value_len; local
379 if (zend_parse_method_parameters(ZEND_NUM_ARGS() TSRMLS_CC, getThis(), "Oss", &id, dom_element_class_entry, &name, &name_len, &value, &value_len) == FAILURE) {
746 size_t uri_len = 0, name_len = 0, value_len = 0; local
752 if (zend_parse_method_parameters(ZEND_NUM_ARGS() TSRMLS_CC, getThis(), "Os!ss", &id, dom_element_class_entry, &uri, &uri_len, &name, &name_len, &value, &value_len) == FAILURE) {
H A Dprocessinginstruction.c57 size_t name_len, value_len; local
62 if (zend_parse_method_parameters(ZEND_NUM_ARGS() TSRMLS_CC, getThis(), "Os|s", &id, dom_processinginstruction_class_entry, &name, &name_len, &value, &value_len) == FAILURE) {
H A Dtext.c72 size_t value_len; local
76 if (zend_parse_method_parameters(ZEND_NUM_ARGS() TSRMLS_CC, getThis(), "O|s", &id, dom_text_class_entry, &value, &value_len) == FAILURE) {
/PHP_TRUNK/ext/enchant/
H A Denchant.c427 size_t value_len; local
429 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "rls", &broker, &dict_type, &value, &value_len) == FAILURE) {
433 if (!value_len) {
/PHP_TRUNK/ext/intl/dateformat/
H A Ddateformat_attr.c131 size_t value_len = 0; local
141 &object, IntlDateFormatter_ce_ptr, &value, &value_len ) == FAILURE )
151 intl_convert_utf8_to_utf16(&svalue, &slength, value, value_len, &INTL_DATA_ERROR_CODE(dfo));
/PHP_TRUNK/ext/intl/formatter/
H A Dformatter_attr.c302 size_t value_len = 0; local
309 &object, NumberFormatter_ce_ptr, &symbol, &value, &value_len ) == FAILURE )
326 intl_convert_utf8_to_utf16(&svalue, &slength, value, value_len, &INTL_DATA_ERROR_CODE(nfo));
390 size_t value_len = 0; local
397 &object, NumberFormatter_ce_ptr, &value, &value_len ) == FAILURE )
408 intl_convert_utf8_to_utf16(&svalue, &slength, value, value_len, &INTL_DATA_ERROR_CODE(nfo));
/PHP_TRUNK/ext/intl/msgformat/
H A Dmsgformat_attr.c65 size_t value_len = 0; local
72 &object, MessageFormatter_ce_ptr, &value, &value_len ) == FAILURE )
82 intl_convert_utf8_to_utf16(&spattern, &spattern_len, value, value_len, &INTL_DATA_ERROR_CODE(mfo));
103 mfo->mf_data.orig_format = estrndup(value, value_len);
104 mfo->mf_data.orig_format_len = value_len;
/PHP_TRUNK/ext/mysqlnd/
H A Dmysqlnd_wireprotocol.c571 size_t value_len = strlen(*entry_value); local
576 ca_payload_len += php_mysqlnd_net_store_length_size(value_len);
577 ca_payload_len += value_len;
589 size_t value_len = Z_STRLEN_P(entry_value); local
593 ca_payload_len += php_mysqlnd_net_store_length_size(value_len);
594 ca_payload_len += value_len;
608 size_t value_len = strlen(*entry_value); local
615 p = php_mysqlnd_net_store_length(p, value_len);
616 memcpy(p, *entry_value, value_len);
617 p+= value_len;
628 size_t value_len = Z_STRLEN_P(entry_value); local
[all...]
/PHP_TRUNK/ext/oci8/
H A Doci8_interface.c2192 size_t value_len; local
2195 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &value, &value_len) == FAILURE) {
2200 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "Os", &z_collection, oci_coll_class_entry_ptr, &value, &value_len) == FAILURE) {
2212 if (php_oci_collection_append(collection, value, value_len TSRMLS_CC)) {
2298 size_t value_len; local
2303 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "ls", &element_index, &value, &value_len) == FAILURE) {
2308 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "Ols", &z_collection, oci_coll_class_entry_ptr, &element_index, &value, &value_len) == FAILURE) {
2320 if (php_oci_collection_element_set(collection, element_index, value, value_len TSRMLS_CC)) {
/PHP_TRUNK/ext/pdo/
H A Dpdo_stmt.c547 size_t value_len = 0; local
556 value_len = 0;
558 stmt->methods->get_col(stmt, colno, &value, &value_len, &caller_frees TSRMLS_CC);
562 if (value && value_len == sizeof(zval)) {
574 if (value && value_len == sizeof(zend_long)) {
582 if (value && value_len == sizeof(zend_bool)) {
592 } else if (value_len == 0) {
611 stm = php_stream_memory_open(TEMP_STREAM_TAKE_BUFFER, value, value_len);
618 stm = php_stream_memory_open(TEMP_STREAM_READONLY, value, value_len);
626 ZVAL_STRINGL(dest, value, value_len);
[all...]
/PHP_TRUNK/ext/pdo_firebird/
H A Dfirebird_statement.c498 zend_ulong value_len; local
610 value_len = 0;
620 if (firebird_stmt_get_col(stmt, param->paramno, &value, &value_len, &caller_frees TSRMLS_CC)) {
624 ZVAL_STRINGL(parameter, value, value_len);
/PHP_TRUNK/ext/pspell/
H A Dpspell.c822 size_t value_len; local
825 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "lp", &conf, &value, &value_len) == FAILURE) {
/PHP_TRUNK/ext/standard/
H A Dhead.c76 PHPAPI int php_setcookie(char *name, int name_len, char *value, int value_len, time_t expires, char *path, int path_len, char *domain, int domain_len, int secure, int url_encode, int httponly TSRMLS_DC) argument
97 encoded_value = php_url_encode(value, value_len);
100 encoded_value = zend_string_init(value, value_len, 0);
113 if (value && value_len == 0) {
183 size_t name_len, value_len = 0, path_len = 0, domain_len = 0; local
186 &name_len, &value, &value_len, &expires, &path,
191 if (php_setcookie(name, name_len, value, value_len, expires, path, path_len, domain, domain_len, secure, 1, httponly TSRMLS_CC) == SUCCESS) {
206 size_t name_len, value_len = 0, path_len = 0, domain_len = 0; local
209 &name_len, &value, &value_len, &expires, &path,
214 if (php_setcookie(name, name_len, value, value_len, expire
[all...]
H A Durl_scanner_ex.c1026 PHPAPI int php_url_scanner_add_var(char *name, int name_len, char *value, int value_len, int urlencode TSRMLS_DC) argument
1043 encoded = php_url_encode(value, value_len);
1046 smart_str_setl(&val, value, value_len);
/PHP_TRUNK/sapi/apache2filter/
H A Dapache_config.c52 size_t value_len; member in struct:__anon319
69 e.value_len = strlen(value);
175 if (zend_alter_ini_entry(str, str_len, data->value, data->value_len, data->status, data->htaccess?PHP_INI_STAGE_HTACCESS:PHP_INI_STAGE_ACTIVATE) == FAILURE) {

Completed in 44 milliseconds

12