/PHP-5.5/Zend/ |
H A D | zend_builtin_functions.c | 651 int name_len; in ZEND_FUNCTION() local 709 c.name = IS_INTERNED(name) ? name : zend_strndup(name, name_len); in ZEND_FUNCTION() 713 c.name_len = name_len+1; in ZEND_FUNCTION() 729 int name_len; in ZEND_FUNCTION() local 752 zend_uint name_len = 0; in ZEND_FUNCTION() local 770 RETURN_STRINGL(name, name_len, dup); in ZEND_FUNCTION() 1030 char *lcname = zend_str_tolower_dup(name, name_len); in same_name() 1031 int ret = memcmp(lcname, key, name_len) == 0; in same_name() 1352 int name_len; in ZEND_FUNCTION() local 1361 lcname = zend_str_tolower_dup(name, name_len); in ZEND_FUNCTION() [all …]
|
H A D | zend_compile.c | 303 op_array->vars[i].name_len == name_len && in lookup_cv() 317 op_array->vars[i].name_len = name_len; in lookup_cv() 477 int name_len, ns_len; in zend_add_const_name_literal() local 491 name_len = Z_STRLEN_P(zv) - 1; in zend_add_const_name_literal() 494 name_len = Z_STRLEN_P(zv); in zend_add_const_name_literal() 525 name_len -= ns_len; in zend_add_const_name_literal() 1806 int name_len; in zend_do_end_function_declaration() local 3262 offset += name_len; in zend_get_function_declaration() 6750 auto_global.name_len = name_len; in zend_register_auto_global() 6907 if (name_len) { in zend_get_compiled_variable_name() [all …]
|
H A D | zend_execute_API.c | 1612 if (zend_hash_quick_del(ht, name, name_len, hash_value) == SUCCESS) { in zend_delete_variable() 1613 name_len--; in zend_delete_variable() 1620 ex->op_array->vars[i].name_len == name_len && in zend_delete_variable() 1621 !memcmp(ex->op_array->vars[i].name, name, name_len)) { in zend_delete_variable() 1637 if (zend_hash_quick_exists(&EG(symbol_table), name, name_len + 1, hash_value)) { in zend_delete_global_variable_ex() 1643 ex->op_array->vars[i].name_len == name_len && in zend_delete_global_variable_ex() 1644 !memcmp(ex->op_array->vars[i].name, name, name_len) in zend_delete_global_variable_ex() 1652 return zend_hash_quick_del(&EG(symbol_table), name, name_len + 1, hash_value); in zend_delete_global_variable_ex() 1658 ZEND_API int zend_delete_global_variable(const char *name, int name_len TSRMLS_DC) /* {{{ */ in zend_delete_global_variable() 1660 …return zend_delete_global_variable_ex(name, name_len, zend_inline_hash_func(name, name_len + 1) TS… in zend_delete_global_variable() [all …]
|
H A D | zend_API.c | 1715 int name_len; in zend_startup_module_ex() local 1731 name_len = strlen(dep->name); in zend_startup_module_ex() 1901 int name_len; in zend_register_module_ex() local 1919 name_len = strlen(dep->name); in zend_register_module_ex() 1934 name_len = strlen(module->name); in zend_register_module_ex() 1968 int name_len; in zend_check_magic_method_implementation() local 1972 name_len = strlen(fptr->common.function_name); in zend_check_magic_method_implementation() 2681 if (name_len == sizeof("self") - 1 && in zend_is_callable_check_class() 2693 } else if (name_len == sizeof("parent") - 1 && in zend_is_callable_check_class() 2708 } else if (name_len == sizeof("static") - 1 && in zend_is_callable_check_class() [all …]
|
H A D | zend_compile.h | 233 zend_uint name_len; member 257 int name_len; member 442 …char* zend_get_compiled_variable_name(const zend_op_array *op_array, zend_uint var, int* name_len); 700 typedef zend_bool (*zend_auto_global_callback)(const char *name, uint name_len TSRMLS_DC); 703 uint name_len; member 709 ZEND_API int zend_register_auto_global(const char *name, uint name_len, zend_bool jit, zend_auto_gl… 711 ZEND_API zend_bool zend_is_auto_global(const char *name, uint name_len TSRMLS_DC); 712 ZEND_API zend_bool zend_is_auto_global_quick(const char *name, uint name_len, ulong hashval TSRMLS_…
|
H A D | zend_closures.c | 354 int name_len, info_len; in zend_closure_get_debug_info() local 356 name_len = zend_spprintf(&name, 0, "%s$%s", in zend_closure_get_debug_info() 360 name_len = zend_spprintf(&name, 0, "%s$param%d", in zend_closure_get_debug_info() 366 add_assoc_stringl_ex(val, name, name_len + 1, info, info_len, 0); in zend_closure_get_debug_info()
|
/PHP-5.5/ext/oci8/ |
H A D | oci8_interface.c | 54 int name_len; in PHP_FUNCTION() local 59 …if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "rsz/|l", &stmt, &name, &name_len, &var, &typ… in PHP_FUNCTION() 63 if (!name_len) { in PHP_FUNCTION() 77 …if (zend_hash_add(statement->defines, name, name_len, define, sizeof(php_oci_define), (void **)&tm… in PHP_FUNCTION() 85 define->name = (text*) estrndup(name, name_len); in PHP_FUNCTION() 86 define->name_len = name_len; in PHP_FUNCTION() 101 int name_len; in PHP_FUNCTION() local 118 if (php_oci_bind_by_name(statement, name, name_len, bind_var, maxlen, bind_type TSRMLS_CC)) { in PHP_FUNCTION() 129 int name_len; in PHP_FUNCTION() local 153 …if (php_oci_bind_array_by_name(statement, name, name_len, bind_var, max_array_len, max_item_len, t… in PHP_FUNCTION() [all …]
|
H A D | php_oci8_int.h | 183 ub4 name_len; /* placeholder's name length */ member 232 ub4 name_len; /* column name length */ member 465 int php_oci_bind_array_by_name(php_oci_statement *statement, char *name, int name_len, zval* var, l…
|
/PHP-5.5/sapi/apache2filter/ |
H A D | php_apache.h | 57 char *get_php_config(void *conf, char *name, size_t name_len);
|
H A D | apache_config.c | 150 char *get_php_config(void *conf, char *name, size_t name_len) in get_php_config() argument 155 if (zend_hash_find(&d->config, name, name_len, (void **) &pe) == SUCCESS) { in get_php_config()
|
/PHP-5.5/ext/wddx/ |
H A D | php_wddx_api.h | 63 void php_wddx_serialize_var(wddx_packet *packet, zval *var, char *name, int name_len TSRMLS_DC);
|
/PHP-5.5/ext/dom/ |
H A D | document.c | 908 int ret, name_len, value_len; in PHP_FUNCTION() local 1051 int ret, value_len, name_len = 0; in PHP_FUNCTION() local 1086 int ret, name_len; in PHP_FUNCTION() local 1121 int ret, name_len; in PHP_FUNCTION() local 1152 int name_len; in PHP_FUNCTION() local 1165 local = xmlCharStrndup(name, name_len); in PHP_FUNCTION() 1235 int ret, uri_len = 0, name_len = 0, value_len = 0; in PHP_FUNCTION() local 1247 errorcode = dom_check_qname(name, &localname, &prefix, uri_len, name_len); in PHP_FUNCTION() 1298 int ret, uri_len = 0, name_len = 0; in PHP_FUNCTION() local 1361 int uri_len, name_len; in PHP_FUNCTION() local [all …]
|
H A D | attr.c | 64 int name_len, value_len, name_valid; in PHP_METHOD() local 68 …ARGS() TSRMLS_CC, getThis(), "Os|s", &id, dom_attr_class_entry, &name, &name_len, &value, &value_l… in PHP_METHOD()
|
/PHP-5.5/sapi/apache2handler/ |
H A D | php_apache.h | 53 char *get_php_config(void *conf, char *name, size_t name_len);
|
H A D | apache_config.c | 172 char *get_php_config(void *conf, char *name, size_t name_len) in get_php_config() argument 177 if (zend_hash_find(&d->config, name, name_len, (void **) &pe) == SUCCESS) { in get_php_config()
|
/PHP-5.5/ext/soap/ |
H A D | php_http.c | 107 int name_len; in http_context_headers() local 116 name_len = -1; in http_context_headers() 119 if (name_len < 0) name_len = p - s; in http_context_headers() 122 if (name_len < 0) name_len = p - s; in http_context_headers() 134 if ((name_len != sizeof("host")-1 || in http_context_headers() 136 (name_len != sizeof("connection")-1 || in http_context_headers() 138 (name_len != sizeof("user-agent")-1 || in http_context_headers() 140 (name_len != sizeof("content-length")-1 || in http_context_headers() 142 (name_len != sizeof("content-type")-1 || in http_context_headers() 145 name_len != sizeof("cookie")-1 || in http_context_headers() [all …]
|
/PHP-5.5/sapi/fpm/fpm/ |
H A D | fastcgi.c | 436 int name_len = 0; in fcgi_get_params() local 444 bytes_consumed = fcgi_get_params_len(&name_len, p, end); in fcgi_get_params() 458 if (name_len > (INT_MAX - val_len) || /* would the addition overflow? */ in fcgi_get_params() 459 name_len + val_len > end - p) { /* would we exceed the buffer? */ in fcgi_get_params() 469 if (!fcgi_param_get_eff_len(p, p+name_len, &eff_name_len)){ in fcgi_get_params() 488 s = estrndup((char*)p + name_len, val_len); in fcgi_get_params() 494 p += name_len + val_len; in fcgi_get_params() 1112 void fcgi_set_mgmt_var(const char * name, size_t name_len, const char * value, size_t value_len) argument 1119 zend_hash_add(&fcgi_mgmt_vars, name, name_len + 1, &zvalue, sizeof(zvalue), NULL);
|
H A D | fpm_php.c | 86 int name_len = strlen(name); in fpm_php_apply_defines_ex() local 95 …if (fpm_php_zend_ini_alter_master(name, name_len+1, value, value_len, mode, PHP_INI_STAGE_ACTIVATE… in fpm_php_apply_defines_ex()
|
H A D | fastcgi.h | 133 void fcgi_set_mgmt_var(const char * name, size_t name_len, const char * value, size_t value_len);
|
/PHP-5.5/ext/sqlite3/ |
H A D | php_sqlite3_structs.h | 43 int name_len; member
|
/PHP-5.5/ext/posix/ |
H A D | posix.c | 995 int name_len; in PHP_FUNCTION() local 1002 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &name, &name_len) == FAILURE) { in PHP_FUNCTION() 1114 int name_len; in PHP_FUNCTION() local 1121 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &name, &name_len) == FAILURE) { in PHP_FUNCTION() 1358 int name_len; in PHP_FUNCTION() local 1360 …if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "sl", &name, &name_len, &basegid) == FAILURE)… in PHP_FUNCTION() 1364 if (name_len == 0) { in PHP_FUNCTION()
|
/PHP-5.5/ext/mysqli/ |
H A D | mysqli_nonapi.c | 1109 int name_len = -1; local 1112 …C, getThis(), "O|ls", &mysql_link, mysqli_link_class_entry, &flags, &name, &name_len) == FAILURE) { 1120 if (!name_len) { 1164 int name_len = -1; local 1166 …) TSRMLS_CC, getThis(), "Os", &mysql_link, mysqli_link_class_entry, &name, &name_len) == FAILURE) { 1170 if (!name || !name_len) { 1194 int name_len = -1; local 1196 …) TSRMLS_CC, getThis(), "Os", &mysql_link, mysqli_link_class_entry, &name, &name_len) == FAILURE) { 1200 if (!name || !name_len) {
|
/PHP-5.5/ext/session/ |
H A D | session.c | 1708 int name_len; 1710 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "|s", &name, &name_len) == FAILURE) { 1727 int name_len; 1903 int name_len; 1912 if (memchr(name, '\0', name_len) != NULL) { 1927 int name_len, argc = ZEND_NUM_ARGS(); 1929 if (zend_parse_parameters(argc TSRMLS_CC, "|s", &name, &name_len) == FAILURE) { 1943 PS(id) = estrndup(name, name_len); 2654 size_t name_len = strlen(data->name); 2656 if (name_len == progress->sname_len && memcmp(data->name, PS(session_name), name_len) == 0) { [all …]
|
/PHP-5.5/main/ |
H A D | SAPI.h | 201 SAPI_API char *sapi_getenv(char *name, size_t name_len TSRMLS_DC); 230 char *(*getenv)(char *name, size_t name_len TSRMLS_DC);
|
/PHP-5.5/ext/com_dotnet/ |
H A D | com_typeinfo.c | 187 const_name = php_com_olestring_to_string(bstr_ids, &c.name_len, codepage TSRMLS_CC); in php_com_import_typelib() 188 c.name = zend_strndup(const_name, c.name_len); in php_com_import_typelib() 194 c.name_len++; /* include NUL */ in php_com_import_typelib() 198 if (zend_get_constant(c.name, c.name_len - 1, &exists TSRMLS_CC)) { in php_com_import_typelib()
|