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

12

/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/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.c85 int value_len = strlen(value); local
93 if (fpm_php_zend_ini_alter_master(name, name_len, value, value_len, mode, 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/standard/
H A Durl_scanner_ex.h31 PHPAPI int php_url_scanner_add_var(char *name, size_t name_len, char *value, size_t value_len, int urlencode);
H A Durl_scanner_ex.re495 PHPAPI int php_url_scanner_add_var(char *name, size_t name_len, char *value, size_t value_len, int urlencode)
515 encoded = php_raw_url_encode(value, value_len);
520 smart_str_appendl(&svalue, value, value_len);
/PHP_TRUNK/sapi/apache2handler/
H A Dapache_config.c52 size_t value_len; member in struct:__anon5
69 e.value_len = strlen(value);
174 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/enchant/
H A Denchant.c424 size_t value_len; local
426 if (zend_parse_parameters(ZEND_NUM_ARGS(), "rls", &broker, &dict_type, &value, &value_len) == FAILURE) {
430 if (!value_len) {
/PHP_TRUNK/ext/dom/
H A Dcdatasection.c57 size_t value_len; local
59 if (zend_parse_parameters_throw(ZEND_NUM_ARGS(), "s", &value, &value_len) == FAILURE) {
63 nodep = xmlNewCDataBlock(NULL, (xmlChar *) value, value_len);
H A Dcomment.c57 size_t value_len; local
59 if (zend_parse_parameters_throw(ZEND_NUM_ARGS(), "|s", &value, &value_len) == FAILURE) {
H A Delement.c163 size_t name_len, value_len = 0, uri_len = 0; local
167 if (zend_parse_parameters_throw(ZEND_NUM_ARGS(), "s|s!s", &name, &name_len, &value, &value_len, &uri, &uri_len) == FAILURE) {
215 if (value_len > 0) {
216 xmlNodeSetContentLen(nodep, (xmlChar *) value, value_len);
371 size_t name_len, value_len; local
375 if (zend_parse_method_parameters(ZEND_NUM_ARGS(), getThis(), "Oss", &id, dom_element_class_entry, &name, &name_len, &value, &value_len) == FAILURE) {
742 size_t uri_len = 0, name_len = 0, value_len = 0; local
748 if (zend_parse_method_parameters(ZEND_NUM_ARGS(), getThis(), "Os!ss", &id, dom_element_class_entry, &uri, &uri_len, &name, &name_len, &value, &value_len) == FAILURE) {
H A Dtext.c72 size_t value_len; local
74 if (zend_parse_parameters_throw(ZEND_NUM_ARGS(), "|s", &value, &value_len) == FAILURE) {
H A Dattr.c63 size_t name_len, value_len, name_valid; local
65 if (zend_parse_parameters_throw(ZEND_NUM_ARGS(), "s|s", &name, &name_len, &value, &value_len) == FAILURE) {
H A Dprocessinginstruction.c57 size_t name_len, value_len; local
60 if (zend_parse_parameters_throw(ZEND_NUM_ARGS(), "s|s", &name, &name_len, &value, &value_len) == FAILURE) {
H A Ddocument.c702 size_t name_len, value_len; local
705 if (zend_parse_method_parameters(ZEND_NUM_ARGS(), getThis(), "Os|s", &id, dom_document_class_entry, &name, &name_len, &value, &value_len) == FAILURE) {
762 size_t value_len; local
766 if (zend_parse_method_parameters(ZEND_NUM_ARGS(), getThis(), "Os", &id, dom_document_class_entry, &value, &value_len) == FAILURE) {
791 size_t value_len; local
795 if (zend_parse_method_parameters(ZEND_NUM_ARGS(), getThis(), "Os", &id, dom_document_class_entry, &value, &value_len) == FAILURE) {
820 size_t value_len; local
824 if (zend_parse_method_parameters(ZEND_NUM_ARGS(), getThis(), "Os", &id, dom_document_class_entry, &value, &value_len) == FAILURE) {
830 node = xmlNewCDataBlock(docp, (xmlChar *) value, value_len);
849 size_t value_len, name_le local
1036 size_t uri_len = 0, name_len = 0, value_len = 0; local
[all...]
/PHP_TRUNK/win32/
H A Dregistry.c90 DWORD name_len, type, value_len; local
94 value_len = max_value+1;
99 if (RegEnumValue(key, i, name, &name_len, NULL, &type, value, &value_len) == ERROR_SUCCESS) {
110 ZVAL_PSTRINGL(&data, value, value_len-1);
/PHP_TRUNK/main/
H A Dfastcgi.h127 void fcgi_set_mgmt_var(const char * name, size_t name_len, const char * value, size_t value_len);
/PHP_TRUNK/ext/pdo/
H A Dpdo_stmt.c548 size_t value_len = 0; local
557 value_len = 0;
559 stmt->methods->get_col(stmt, colno, &value, &value_len, &caller_frees);
563 if (value && value_len == sizeof(zval)) {
575 if (value && value_len == sizeof(zend_long)) {
583 if (value && value_len == sizeof(zend_bool)) {
593 } else if (value_len == 0) {
612 stm = php_stream_memory_open(TEMP_STREAM_TAKE_BUFFER, value, value_len);
619 stm = php_stream_memory_open(TEMP_STREAM_READONLY, value, value_len);
627 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)) {
624 ZVAL_STRINGL(parameter, value, 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;
588 size_t value_len = Z_STRLEN_P(entry_value); local
592 ca_payload_len += php_mysqlnd_net_store_length_size(value_len);
593 ca_payload_len += value_len;
607 size_t value_len = strlen(*entry_value); local
614 p = php_mysqlnd_net_store_length(p, value_len);
615 memcpy(p, *entry_value, value_len);
616 p+= value_len;
626 size_t value_len = Z_STRLEN_P(entry_value); local
[all...]
/PHP_TRUNK/ext/oci8/
H A Doci8_collection.c730 int php_oci_collection_element_set(php_oci_collection *collection, zend_long index, char *value, int value_len) argument
732 if (value_len == 0) {
738 return php_oci_collection_element_set_date(collection, index, value, value_len);
742 return php_oci_collection_element_set_string(collection, index, value, value_len);
756 return php_oci_collection_element_set_number(collection, index, value, value_len);
H A Doci8_interface.c2223 size_t value_len; local
2226 if (zend_parse_parameters(ZEND_NUM_ARGS(), "s", &value, &value_len) == FAILURE) {
2231 if (zend_parse_parameters(ZEND_NUM_ARGS(), "Os", &z_collection, oci_coll_class_entry_ptr, &value, &value_len) == FAILURE) {
2243 if (php_oci_collection_append(collection, value, (int) value_len)) {
2329 size_t value_len; local
2334 if (zend_parse_parameters(ZEND_NUM_ARGS(), "ls", &element_index, &value, &value_len) == FAILURE) {
2339 if (zend_parse_parameters(ZEND_NUM_ARGS(), "Ols", &z_collection, oci_coll_class_entry_ptr, &element_index, &value, &value_len) == FAILURE) {
2351 if (php_oci_collection_element_set(collection, element_index, value, (int) value_len)) {
/PHP_TRUNK/ext/ldap/
H A Dldap.c1989 size_t dn_len, attr_len, value_len; local
1994 if (zend_parse_parameters(ZEND_NUM_ARGS(), "rsss", &link, &dn, &dn_len, &attr, &attr_len, &value, &value_len) != SUCCESS) {
2003 lvalue.bv_len = value_len;
2747 size_t value_len; local
2750 if (zend_parse_parameters(ZEND_NUM_ARGS(), "s", &value, &value_len) != SUCCESS) {
2754 if (value_len == 0) {
2759 result = ldap_8859_to_t61(&value, &value_len, 0);
2761 result = ldap_t61_to_8859(&value, &value_len, 0);
2765 RETVAL_STRINGL(value, value_len);

Completed in 46 milliseconds

12