Searched refs:value_len (Results 1 - 25 of 40) sorted by relevance

12

/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/oci8/
H A Doci8_collection.c736 int php_oci_collection_element_set(php_oci_collection *collection, long index, char *value, int value_len TSRMLS_DC)
738 if (value_len == 0) {
744 return php_oci_collection_element_set_date(collection, index, value, value_len TSRMLS_CC);
748 return php_oci_collection_element_set_string(collection, index, value, value_len TSRMLS_CC);
762 return php_oci_collection_element_set_number(collection, index, value, value_len TSRMLS_CC);
/PHP_TRUNK/ext/standard/
H A Durl_scanner_ex.h31 PHPAPI int php_url_scanner_add_var(char *name, int name_len, char *value, int value_len, int urlencode TSRMLS_DC);
H A Dhead.h41 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);
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 = STR_INIT(value, value_len, 0);
113 if (value && value_len == 0) {
183 int 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 int 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...]
/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 Dfastcgi.h133 void fcgi_set_mgmt_var(const char * name, size_t name_len, const char * value, size_t value_len);
H A Dfpm_php.c87 int value_len = strlen(value); local
95 if (fpm_php_zend_ini_alter_master(name, name_len+1, value, value_len, mode, PHP_INI_STAGE_ACTIVATE TSRMLS_CC) == FAILURE) {
/PHP_TRUNK/ext/dom/
H A Dattr.c63 int 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 int 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 int 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.c700 int ret, name_len, value_len; local
703 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) {
759 int ret, value_len; local
763 if (zend_parse_method_parameters(ZEND_NUM_ARGS() TSRMLS_CC, getThis(), "Os", &id, dom_document_class_entry, &value, &value_len) == FAILURE) {
787 int ret, value_len; local
791 if (zend_parse_method_parameters(ZEND_NUM_ARGS() TSRMLS_CC, getThis(), "Os", &id, dom_document_class_entry, &value, &value_len) == FAILURE) {
815 int ret, value_len; local
819 if (zend_parse_method_parameters(ZEND_NUM_ARGS() TSRMLS_CC, getThis(), "Os", &id, dom_document_class_entry, &value, &value_len) == FAILURE) {
825 node = xmlNewCDataBlock(docp, (xmlChar *) value, value_len);
843 int ret, value_len, name_le local
1027 int ret, uri_len = 0, name_len = 0, value_len = 0; local
[all...]
H A Delement.c163 int name_len, value_len = 0, name_valid; local
168 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) {
218 if (value_len > 0) {
219 xmlNodeSetContentLen(nodep, (xmlChar *) value, value_len);
373 int ret, name_len, value_len, name_valid; local
377 if (zend_parse_method_parameters(ZEND_NUM_ARGS() TSRMLS_CC, getThis(), "Oss", &id, dom_element_class_entry, &name, &name_len, &value, &value_len) == FAILURE) {
743 int uri_len = 0, name_len = 0, value_len = 0; local
749 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 int name_len, value_len, name_valid; local
61 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 int 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 int 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 int 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 int 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 int 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 int 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/pdo_firebird/
H A Dfirebird_statement.c498 unsigned long 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/sapi/apache2filter/
H A Dapache_config.c52 size_t value_len; member in struct:__anon253
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) {
/PHP_TRUNK/sapi/apache2handler/
H A Dapache_config.c52 size_t value_len; member in struct:__anon255
69 e.value_len = strlen(value);
195 if (zend_alter_ini_entry(str, data->value, data->value_len, data->status, data->htaccess?PHP_INI_STAGE_HTACCESS:PHP_INI_STAGE_ACTIVATE) == FAILURE) {
/PHP_TRUNK/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_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) {

Completed in 44 milliseconds

12