Searched defs:name_len (Results 1 - 25 of 48) 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 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/dom/
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
167 if (zend_parse_parameters_throw(ZEND_NUM_ARGS(), "s|s!s", &name, &name_len, &value, &value_len, &uri, &uri_len) == FAILURE) {
179 errorcode = dom_check_qname(name, &localname, &prefix, uri_len, name_len);
330 size_t name_len; local
332 if (zend_parse_method_parameters(ZEND_NUM_ARGS(), getThis(), "Os", &id, dom_element_class_entry, &name, &name_len) == FAILURE) {
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) {
379 if (name_len == 0) {
437 size_t name_len; local
440 if (zend_parse_method_parameters(ZEND_NUM_ARGS(), getThis(), "Os", &id, dom_element_class_entry, &name, &name_len)
484 size_t name_len; local
634 size_t name_len; local
662 size_t uri_len = 0, name_len = 0; local
742 size_t uri_len = 0, name_len = 0, value_len = 0; local
871 size_t name_len, uri_len; local
927 size_t uri_len, name_len; local
1029 size_t uri_len, name_len; local
1059 size_t name_len; local
1087 size_t uri_len, name_len; local
1145 size_t name_len; local
1180 size_t uri_len, name_len; local
[all...]
H A Dentityreference.c56 size_t name_len, name_valid; local
58 if (zend_parse_parameters_throw(ZEND_NUM_ARGS(), "s", &name, &name_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) {
/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/sapi/phpdbg/
H A Dphpdbg_cmd.h96 size_t name_len; /* Command name length */ member in struct:_phpdbg_command_t
/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/fileinfo/libmagic/
H A Dcdf.c777 size_t i, name_len = strlen(name) + 1; local
781 cdf_namecmp(name, dir->dir_tab[i - 1].d_name, name_len)
/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...]
/PHP_TRUNK/win32/
H A Dregistry.c90 DWORD name_len, type, value_len; local
93 name_len = max_name+1;
99 if (RegEnumValue(key, i, name, &name_len, NULL, &type, value, &value_len) == ERROR_SUCCESS) {
111 zend_hash_str_update(ht, name, name_len, &data);
141 DWORD name_len; local
146 name_len = max_key+1;
147 if (RegEnumKeyEx(key, i, name, &name_len, NULL, NULL, NULL, &t) == ERROR_SUCCESS) {
152 memcpy(new_path+path_len+1, name, name_len+1);
153 zend_str_tolower(new_path, path_len+name_len+1);
154 name_len
[all...]
/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);
/PHP_TRUNK/ext/intl/converter/
H A Dconverter.c905 size_t name_len; local
909 if (zend_parse_parameters(ZEND_NUM_ARGS(), "s", &name, &name_len) == FAILURE) {
/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/ext/mysqli/
H A Dmysqli_api.c747 size_t name_len = 0; local
749 if (zend_parse_method_parameters(ZEND_NUM_ARGS(), getThis(), "O|ls", &mysql_link, mysqli_link_class_entry, &flags, &name, &name_len) == FAILURE) {
1986 size_t name_len = 0; local
1988 if (zend_parse_method_parameters(ZEND_NUM_ARGS(), getThis(), "O|ls", &mysql_link, mysqli_link_class_entry, &flags, &name, &name_len) == FAILURE) {
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) {
/PHP_TRUNK/ext/phar/
H A Dstub.h21 static inline zend_string* phar_get_stub(const char *index_php, const char *web, const int name_len, const int web_len) argument
33 return strpprintf(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/Zend/
H A Dzend_constants.c165 ZEND_API void zend_register_null_constant(const char *name, size_t name_len, int flags, int module_number) argument
171 c.name = zend_string_init(name, name_len, flags & CONST_PERSISTENT);
176 ZEND_API void zend_register_bool_constant(const char *name, size_t name_len, zend_bool bval, int flags, int module_number) argument
182 c.name = zend_string_init(name, name_len, flags & CONST_PERSISTENT);
187 ZEND_API void zend_register_long_constant(const char *name, size_t name_len, zend_long lval, int flags, int module_number) argument
193 c.name = zend_string_init(name, name_len, flags & CONST_PERSISTENT);
199 ZEND_API void zend_register_double_constant(const char *name, size_t name_len, double dval, int flags, int module_number) argument
205 c.name = zend_string_init(name, name_len, flags & CONST_PERSISTENT);
211 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
217 c.name = zend_string_init(name, name_len, flag
223 zend_register_string_constant(const char *name, size_t name_len, char *strval, int flags, int module_number) argument
228 zend_get_special_constant(const char *name, size_t name_len) argument
255 zend_get_constant_str(const char *name, size_t name_len) argument
304 size_t name_len = ZSTR_LEN(cname); local
[all...]
/PHP_TRUNK/ext/posix/
H A Dposix.c1056 size_t name_len; local
1063 if (zend_parse_parameters(ZEND_NUM_ARGS(), "s", &name, &name_len) == FAILURE) {
1175 size_t name_len; local
1182 if (zend_parse_parameters(ZEND_NUM_ARGS(), "s", &name, &name_len) == FAILURE) {
1446 size_t name_len; local
1448 if (zend_parse_parameters(ZEND_NUM_ARGS(), "sl", &name, &name_len, &basegid) == FAILURE) {
1452 if (name_len == 0) {
/PHP_TRUNK/main/
H A Dphp_variables.c519 zend_bool php_std_auto_global_callback(char *name, uint name_len) argument
/PHP_TRUNK/ext/soap/
H A Dphp_http.c105 int name_len; local
114 name_len = -1;
117 if (name_len < 0) name_len = p - s;
120 if (name_len < 0) name_len = p - s;
132 if ((name_len != sizeof("host")-1 ||
134 (name_len != sizeof("connection")-1 ||
136 (name_len != sizeof("user-agent")-1 ||
138 (name_len !
[all...]
/PHP_TRUNK/ext/oci8/
H A Doci8_statement.c395 } 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 = ecalloc(1, outcol->name_len + 1);
682 memcpy(outcol->name, colname, outcol->name_len);
686 if ((outcol->define = zend_hash_str_find_ptr(statement->defines, outcol->name, outcol->name_len)) != NULL) {
1087 int php_oci_bind_by_name(php_oci_statement *statement, char *name, size_t name_len, zval *var, zend_long maxlength, ub2 type) argument
1231 if ((old_bind = zend_hash_str_find_ptr(statement->binds, name, name_len)) != NULL) {
1235 zvtmp = zend_string_init(name, name_len, 0);
1259 (sb4) name_len, /* placeholder length */
1562 int php_oci_bind_array_by_name(php_oci_statement *statement, char *name, size_t name_len, zva argument
[all...]

Completed in 42 milliseconds

12