Searched defs:name_len (Results 1 - 25 of 50) sorted by relevance

12

/PHP_TRUNK/sapi/fpm/fpm/
H A Dfpm_env.c46 int name_len = strlen(name); local
48 char *var = alloca(name_len + 1 + value_len + 1);
50 memcpy(var, name, name_len);
52 var[name_len] = '=';
54 memcpy(var + name_len + 1, value, value_len);
56 var[name_len + 1 + value_len] = '\0';
H A Dfastcgi.c436 int name_len = 0; local
444 bytes_consumed = fcgi_get_params_len(&name_len, p, end);
458 if (name_len > (INT_MAX - val_len) || /* would the addition overflow? */
459 name_len + val_len > end - p) { /* would we exceed the buffer? */
469 if (!fcgi_param_get_eff_len(p, p+name_len, &eff_name_len)){
488 s = estrndup((char*)p + name_len, val_len);
490 p += name_len + val_len;
1096 void fcgi_set_mgmt_var(const char * name, size_t name_len, const char * value, size_t value_len) argument
1100 zend_hash_str_add(&fcgi_mgmt_vars, name, name_len, &zvalue);
H A Dfpm_php.c84 int name_len = strlen(name); local
93 if (fpm_php_zend_ini_alter_master(name, name_len, value, value_len, mode, PHP_INI_STAGE_ACTIVATE) == FAILURE) {
/PHP_TRUNK/ext/phar/
H A Dstub.h21 static inline void phar_get_stub(const char *index_php, const char *web, size_t *len, char **stub, const int name_len, const int web_len) argument
33 *len = spprintf(stub, name_len + web_len + newstub_len, "%s%s%s%s%s%s%d%s%s%s", newstub0, web, newstub1_0, newstub1_1, index_php, newstub2, name_len + web_len + newstub_len, newstub3_0, newstub3_1, newstub3_2);
/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(), getThis(), "Os|s", &id, dom_attr_class_entry, &name, &name_len, &value, &value_len) == FAILURE) {
H A Ddomimplementation.c96 size_t name_len = 0, publicid_len = 0, systemid_len = 0; local
101 if (zend_parse_parameters(ZEND_NUM_ARGS(), "|sss", &name, &name_len, &publicid, &publicid_len, &systemid, &systemid_len) == FAILURE) {
105 if (name_len == 0) {
162 size_t uri_len = 0, name_len = 0; local
167 if (zend_parse_parameters(ZEND_NUM_ARGS(), "|ssO", &uri, &uri_len, &name, &name_len, &node, dom_documenttype_class_entry) == FAILURE) {
185 if (name_len > 0) {
186 errorcode = dom_check_qname(name, &localname, &prefix, 1, name_len);
H A Delement.c163 size_t name_len, value_len = 0, uri_len = 0; local
169 if (zend_parse_method_parameters(ZEND_NUM_ARGS(), getThis(), "Os|s!s", &id, dom_element_class_entry, &name, &name_len, &value, &value_len, &uri, &uri_len) == FAILURE) {
183 errorcode = dom_check_qname(name, &localname, &prefix, uri_len, name_len);
334 size_t name_len; local
336 if (zend_parse_method_parameters(ZEND_NUM_ARGS(), getThis(), "Os", &id, dom_element_class_entry, &name, &name_len) == FAILURE) {
375 size_t name_len, value_len; local
379 if (zend_parse_method_parameters(ZEND_NUM_ARGS(), getThis(), "Oss", &id, dom_element_class_entry, &name, &name_len, &value, &value_len) == FAILURE) {
383 if (name_len == 0) {
441 size_t name_len; local
444 if (zend_parse_method_parameters(ZEND_NUM_ARGS(), getThis(), "Os", &id, dom_element_class_entry, &name, &name_len)
488 size_t name_len; local
638 size_t name_len; local
666 size_t uri_len = 0, name_len = 0; local
746 size_t uri_len = 0, name_len = 0, value_len = 0; local
875 size_t name_len, uri_len; local
931 size_t uri_len, name_len; local
1033 size_t uri_len, name_len; local
1063 size_t name_len; local
1091 size_t uri_len, name_len; local
1149 size_t name_len; local
1184 size_t uri_len, name_len; local
[all...]
H A Dentityreference.c56 size_t name_len, name_valid; local
60 if (zend_parse_method_parameters(ZEND_NUM_ARGS(), getThis(), "Os", &id, dom_entityreference_class_entry, &name, &name_len) == FAILURE) {
H A Dprocessinginstruction.c57 size_t name_len, value_len; local
62 if (zend_parse_method_parameters(ZEND_NUM_ARGS(), getThis(), "Os|s", &id, dom_processinginstruction_class_entry, &name, &name_len, &value, &value_len) == FAILURE) {
/PHP_TRUNK/ext/mysqli/
H A Dmysqli_nonapi.c1081 size_t name_len = -1; local
1084 if (zend_parse_method_parameters(ZEND_NUM_ARGS(), getThis(), "O|ls", &mysql_link, mysqli_link_class_entry, &flags, &name, &name_len) == FAILURE) {
1092 if (!name_len) {
1134 size_t name_len = -1; local
1136 if (zend_parse_method_parameters(ZEND_NUM_ARGS(), getThis(), "Os", &mysql_link, mysqli_link_class_entry, &name, &name_len) == FAILURE) {
1140 if (!name || !name_len) {
1163 size_t name_len = -1; local
1165 if (zend_parse_method_parameters(ZEND_NUM_ARGS(), getThis(), "Os", &mysql_link, mysqli_link_class_entry, &name, &name_len) == FAILURE) {
1169 if (!name || !name_len) {
H A Dmysqli_api.c767 size_t name_len = 0; local
769 if (zend_parse_method_parameters(ZEND_NUM_ARGS(), getThis(), "O|ls", &mysql_link, mysqli_link_class_entry, &flags, &name, &name_len) == FAILURE) {
2005 size_t name_len = 0; local
2007 if (zend_parse_method_parameters(ZEND_NUM_ARGS(), getThis(), "O|ls", &mysql_link, mysqli_link_class_entry, &flags, &name, &name_len) == FAILURE) {
/PHP_TRUNK/ext/standard/
H A Durl_scanner_ex.c1043 PHPAPI int php_url_scanner_add_var(char *name, size_t name_len, char *value, size_t value_len, int urlencode) argument
1060 encoded = php_raw_url_encode(name, name_len);
1067 smart_str_appendl(&sname, name, name_len);
H A Dhead.c80 PHPAPI int php_setcookie(char *name, size_t name_len, char *value, size_t value_len, time_t expires, char *path, size_t path_len, char *domain, size_t domain_len, int secure, int url_encode, int httponly) argument
99 len += name_len;
187 size_t name_len, value_len = 0, path_len = 0, domain_len = 0; local
190 &name_len, &value, &value_len, &expires, &path,
195 if (php_setcookie(name, name_len, value, value_len, expires, path, path_len, domain, domain_len, secure, 1, httponly) == SUCCESS) {
210 size_t name_len, value_len = 0, path_len = 0, domain_len = 0; local
213 &name_len, &value, &value_len, &expires, &path,
218 if (php_setcookie(name, name_len, value, value_len, expires, path, path_len, domain, domain_len, secure, 0, httponly) == SUCCESS) {
/PHP_TRUNK/ext/intl/converter/
H A Dconverter.c920 size_t name_len; local
924 if (zend_parse_parameters(ZEND_NUM_ARGS(), "s", &name, &name_len) == FAILURE) {
/PHP_TRUNK/sapi/apache2handler/
H A Dapache_config.c154 char *get_php_config(void *conf, char *name, size_t name_len) argument
159 if ((pe = zend_hash_str_find_ptr(&d->config, name, name_len)) != NULL) {
H A Dsapi_apache2.c255 php_apache_sapi_getenv(char *name, size_t name_len) argument
/PHP_TRUNK/main/
H A Dphp_variables.c514 zend_bool php_std_auto_global_callback(char *name, uint name_len) argument
/PHP_TRUNK/ext/intl/uchar/
H A Duchar.c266 size_t name_len; local
271 if (zend_parse_parameters(ZEND_NUM_ARGS(), "s|l", &name, &name_len, &nameChoice) == FAILURE) {
410 size_t name_len; local
412 if (zend_parse_parameters(ZEND_NUM_ARGS(), "ls", &property, &name, &name_len) == FAILURE) {
/PHP_TRUNK/win32/
H A Dregistry.c72 DWORD name_len, type, value_len; local
75 name_len = max_name+1;
81 if (RegEnumValue(key, i, name, &name_len, NULL, &type, value, &value_len) == ERROR_SUCCESS) {
93 zend_hash_str_update(ht, name, name_len, &data);
123 DWORD name_len; local
128 name_len = max_key+1;
129 if (RegEnumKeyEx(key, i, name, &name_len, NULL, NULL, NULL, &t) == ERROR_SUCCESS) {
134 memcpy(new_path+path_len+1, name, name_len+1);
135 zend_str_tolower(new_path, path_len+name_len+1);
136 name_len
[all...]
/PHP_TRUNK/sapi/phpdbg/
H A Dphpdbg_cmd.h96 size_t name_len; /* Command name length */ member in struct:_phpdbg_command_t
/PHP_TRUNK/Zend/
H A Dzend_constants.c164 ZEND_API void zend_register_null_constant(const char *name, size_t name_len, int flags, int module_number) argument
170 c.name = zend_string_init(name, name_len, flags & CONST_PERSISTENT);
175 ZEND_API void zend_register_bool_constant(const char *name, size_t name_len, zend_bool bval, int flags, int module_number) argument
181 c.name = zend_string_init(name, name_len, flags & CONST_PERSISTENT);
186 ZEND_API void zend_register_long_constant(const char *name, size_t name_len, zend_long lval, int flags, int module_number) argument
192 c.name = zend_string_init(name, name_len, flags & CONST_PERSISTENT);
198 ZEND_API void zend_register_double_constant(const char *name, size_t name_len, double dval, int flags, int module_number) argument
204 c.name = zend_string_init(name, name_len, flags & CONST_PERSISTENT);
210 ZEND_API void zend_register_stringl_constant(const char *name, size_t name_len, char *strval, size_t strlen, int flags, int module_number) argument
216 c.name = zend_string_init(name, name_len, flag
222 zend_register_string_constant(const char *name, size_t name_len, char *strval, int flags, int module_number) argument
227 zend_get_special_constant(const char *name, size_t name_len) argument
254 zend_get_constant_str(const char *name, size_t name_len) argument
303 size_t name_len = cname->len; local
[all...]
/PHP_TRUNK/ext/oci8/
H A Doci8_statement.c394 } else if (((int) column->name_len == column_name_len) && (!strncmp(column->name, column_name, column_name_len))) {
671 PHP_OCI_CALL_RETURN(errstatus, OCIAttrGet, ((dvoid *)param, OCI_DTYPE_PARAM, (dvoid **)&colname, (ub4 *)&outcol->name_len, (ub4)OCI_ATTR_NAME, statement->err));
681 outcol->name = estrndup((char*) colname, outcol->name_len);
685 if ((outcol->define = zend_hash_str_find_ptr(statement->defines, outcol->name, outcol->name_len)) != NULL) {
1081 int php_oci_bind_by_name(php_oci_statement *statement, char *name, int name_len, zval *var, zend_long maxlength, ub2 type) argument
1215 if ((old_bind = zend_hash_str_find_ptr(statement->binds, name, name_len)) != NULL) {
1219 bindp = zend_hash_update_ptr(statement->binds, zend_string_init(name, name_len + 1, 0), &bind);
1236 name_len, /* placeholder length */
1524 int php_oci_bind_array_by_name(php_oci_statement *statement, char *name, int name_len, zval *var, zend_long max_table_length, zend_long maxlength, zend_long type) argument
1578 bindp = zend_hash_update_ptr(statement->binds, zend_string_init(name, name_len
[all...]
/PHP_TRUNK/ext/posix/
H A Dposix.c995 size_t name_len; local
1002 if (zend_parse_parameters(ZEND_NUM_ARGS(), "s", &name, &name_len) == FAILURE) {
1114 size_t name_len; local
1121 if (zend_parse_parameters(ZEND_NUM_ARGS(), "s", &name, &name_len) == FAILURE) {
1358 size_t name_len; local
1360 if (zend_parse_parameters(ZEND_NUM_ARGS(), "sl", &name, &name_len, &basegid) == FAILURE) {
1364 if (name_len == 0) {
/PHP_TRUNK/ext/xmlreader/
H A Dphp_xmlreader.c402 size_t name_len = 0; local
407 if (zend_parse_parameters(ZEND_NUM_ARGS(), "s", &name, &name_len) == FAILURE) {
411 if (!name_len) {
592 size_t name_len = 0, ns_uri_len = 0; local
596 if (zend_parse_parameters(ZEND_NUM_ARGS(), "ss", &name, &name_len, &ns_uri, &ns_uri_len) == FAILURE) {
600 if (name_len == 0 || ns_uri_len == 0) {
669 size_t name_len = 0; local
674 if (zend_parse_parameters(ZEND_NUM_ARGS(), "s", &name, &name_len) == FAILURE) {
678 if (name_len == 0) {
731 size_t name_len local
813 size_t name_len=0; local
[all...]
/PHP_TRUNK/ext/xmlwriter/
H A Dphp_xmlwriter.c698 size_t name_len, retval; local
703 if (zend_parse_parameters(ZEND_NUM_ARGS(), "s", &name, &name_len) == FAILURE) {
708 if (zend_parse_parameters(ZEND_NUM_ARGS(), "rs", &pind, &name, &name_len) == FAILURE) {
842 size_t name_len, prefix_len, uri_len; local
848 &prefix, &prefix_len, &name, &name_len, &uri, &uri_len) == FAILURE) {
854 &prefix, &prefix_len, &name, &name_len, &uri, &uri_len) == FAILURE) {
886 size_t name_len, content_len; local
892 &name, &name_len, &content, &content_len) == FAILURE) {
898 &name, &name_len, &content, &content_len) == FAILURE) {
930 size_t name_len, prefix_le local
983 size_t name_len, prefix_len, uri_len; local
1043 size_t name_len, content_len; local
1097 size_t name_len, prefix_len, uri_len, content_len; local
1167 size_t name_len, content_len; local
1378 size_t name_len, pubid_len, sysid_len; local
1425 size_t name_len, pubid_len, sysid_len, subset_len; local
1482 size_t name_len, content_len; local
1541 size_t name_len, content_len; local
1584 size_t name_len, retval; local
1633 size_t name_len, content_len; local
[all...]

Completed in 34 milliseconds

12