Home
last modified time | relevance | path

Searched refs:name_len (Results 51 – 75 of 79) sorted by relevance

1234

/php-src/ext/dom/
H A Dphp_dom.c316 static void dom_register_prop_handler(HashTable *prop_handler, const char *name, size_t name_len, c… in dom_register_prop_handler() argument
318 zend_string *str = zend_string_init_interned(name, name_len, true); in dom_register_prop_handler()
323 static void dom_overwrite_prop_handler(HashTable *prop_handler, const char *name, size_t name_len, … in dom_overwrite_prop_handler() argument
325 zend_hash_str_update_ptr(prop_handler, name, name_len, (void *) hnd); in dom_overwrite_prop_handler()
2001 int dom_check_qname(char *qname, char **localname, char **prefix, int uri_len, int name_len) { in dom_check_qname() argument
2002 if (name_len == 0) { in dom_check_qname()
2565 xmlAttrPtr php_dom_get_attribute_node(xmlNodePtr elem, const xmlChar *name, size_t name_len) in php_dom_get_attribute_node() argument
2569 char *lowercase_copy = zend_str_tolower_dup_ex((char *) name, name_len); in php_dom_get_attribute_node()
H A Dnode.c36 zend_string *dom_node_concatenated_name_helper(size_t name_len, const char *name, size_t prefix_len… in dom_node_concatenated_name_helper() argument
39 zend_string *str = zend_string_safe_alloc(1, name_len, prefix_len + 1, false); in dom_node_concatenated_name_helper()
42 memcpy(ZSTR_VAL(str) + prefix_len + 1, name, name_len + 1 /* include \0 */); in dom_node_concatenated_name_helper()
49 size_t name_len = strlen((const char *) nodep->name); in dom_node_get_node_name_attribute_or_element() local
51 …ret = dom_node_concatenated_name_helper(name_len, (const char *) nodep->name, strlen((const char *… in dom_node_get_node_name_attribute_or_element()
53 ret = zend_string_init((const char *) nodep->name, name_len, false); in dom_node_get_node_name_attribute_or_element()
H A Ddocument.c629 size_t value_len, name_len = 0; in dom_document_create_processing_instruction() local
633 …if (zend_parse_parameters(ZEND_NUM_ARGS(), modern ? "ss" : "s|s", &name, &name_len, &value, &value… in dom_document_create_processing_instruction()
722 size_t name_len; in PHP_METHOD() local
726 if (zend_parse_parameters(ZEND_NUM_ARGS(), "s", &name, &name_len) == FAILURE) { in PHP_METHOD()
/php-src/ext/session/
H A Dsession.c227 PHPAPI zval* php_get_session_var_str(const char *name, size_t name_len) in php_get_session_var_str() argument
230 return zend_hash_str_find(Z_ARRVAL_P(Z_REFVAL(PS(http_session_vars))), name, name_len); in php_get_session_var_str()
3145 size_t name_len = strlen(data->name); in php_session_rfc1867_callback() local
3147 if (name_len == progress->sname_len && memcmp(data->name, PS(session_name), name_len) == 0) { in php_session_rfc1867_callback()
3150 …} else if (name_len == strlen(PS(rfc1867_name)) && memcmp(data->name, PS(rfc1867_name), name_len +… in php_session_rfc1867_callback()
H A Dphp_session.h258 PHPAPI zval* php_get_session_var_str(const char *name, size_t name_len);
/php-src/ext/tidy/
H A Dtidy.c148 static void php_tidy_clean_output_start(const char *name, size_t name_len);
935 static void php_tidy_clean_output_start(const char *name, size_t name_len) in php_tidy_clean_output_start() argument
939 …if (TG(clean_output) && (h = php_tidy_output_handler_init(name, name_len, 0, PHP_OUTPUT_HANDLER_ST… in php_tidy_clean_output_start()
/php-src/ext/dom/lexbor/lexbor/html/
H A Dtree.c634 if (data->entry.length == adjust->name_len in lxb_html_tree_adjust_foreign_attributes()
640 (const lxb_char_t *) adjust->name, adjust->name_len); in lxb_html_tree_adjust_foreign_attributes()
647 lname_length = adjust->name_len - adjust->prefix_len - 1; in lxb_html_tree_adjust_foreign_attributes()
/php-src/ext/mysqli/
H A Dmysqli_api.c306 size_t name_len; in PHP_FUNCTION() local
308 …, getThis(), "O|ls!", &mysql_link, mysqli_link_class_entry, &flags, &name, &name_len) == FAILURE) { in PHP_FUNCTION()
1413 size_t name_len = 0; in PHP_FUNCTION() local
1415 …, getThis(), "O|ls!", &mysql_link, mysqli_link_class_entry, &flags, &name, &name_len) == FAILURE) { in PHP_FUNCTION()
/php-src/ext/xml/
H A Dxml.c557 size_t name_len = strlen(name); in _xml_add_to_info() local
558 if ((element = zend_hash_str_find(Z_ARRVAL(parser->info), name, name_len)) == NULL) { in _xml_add_to_info()
561 element = zend_hash_str_update(Z_ARRVAL(parser->info), name, name_len, &values); in _xml_add_to_info()
/php-src/ext/intl/converter/
H A Dconverter.c834 size_t name_len; in PHP_METHOD() local
839 Z_PARAM_STRING(name, name_len) in PHP_METHOD()
/php-src/ext/reflection/
H A Dphp_reflection.c1308 size_t name_len = strlen(name_str); in reflection_extension_factory() local
1312 lcname = zend_string_alloc(name_len, 0); in reflection_extension_factory()
1313 zend_str_tolower_copy(ZSTR_VAL(lcname), name_str, name_len); in reflection_extension_factory()
1325 ZVAL_STRINGL(reflection_prop_name(object), module->name, name_len); in reflection_extension_factory()
1496 zend_string *name = zend_string_init(name_str, name_len, 0); in reflection_property_factory_str()
6033 size_t name_len; in ZEND_METHOD() local
6036 if (zend_parse_parameters(ZEND_NUM_ARGS(), "s", &name_str, &name_len) == FAILURE) { in ZEND_METHOD()
6042 lcname = do_alloca(name_len + 1, use_heap); in ZEND_METHOD()
6043 zend_str_tolower_copy(lcname, name_str, name_len); in ZEND_METHOD()
6371 size_t name_len; in ZEND_METHOD() local
[all …]
/php-src/sapi/apache2handler/
H A Dsapi_apache2.c251 php_apache_sapi_getenv(const char *name, size_t name_len) in php_apache_sapi_getenv() argument
/php-src/ext/mbstring/
H A Dmbstring.c1238 size_t name_len; in PHP_FUNCTION() local
1243 Z_PARAM_STRING_OR_NULL(name, name_len) in PHP_FUNCTION()
1345 size_t name_len; in PHP_FUNCTION() local
1349 Z_PARAM_PATH_OR_NULL(name, name_len) /* For null byte check */ in PHP_FUNCTION()
1356 const mbfl_encoding *encoding = php_mb_get_encoding_or_pass(name, name_len); in PHP_FUNCTION()
1495 size_t name_len; in PHP_FUNCTION() local
1498 Z_PARAM_STRING(name, name_len) in PHP_FUNCTION()
/php-src/ext/odbc/
H A Dphp_odbc.c3310 size_t cat_len = 0, schema_len, name_len;
3315 &name, &name_len, &vscope, &vnullable) == FAILURE) {
3377 size_t cat_len = 0, schema_len, name_len;
3382 &name, &name_len, &vunique, &vreserved) == FAILURE) {
/php-src/ext/phar/
H A Dphar_object.c143 size_t name_len; in phar_file_action() local
218 name_len = spprintf(&name, 4096, "phar://%s%s", arch, entry); in phar_file_action()
220 name_len = spprintf(&name, 4096, "phar://%s/%s", arch, entry); in phar_file_action()
229 if (zend_hash_str_add(&EG(included_files), name, name_len, &dummy) != NULL) { in phar_file_action()
248 zend_hash_str_del(&EG(included_files), name, name_len); in phar_file_action()
/php-src/ext/soap/
H A Dsoap.c645 size_t fault_string_len, fault_actor_len = 0, name_len = 0, fault_code_len = 0; in PHP_METHOD() local
656 Z_PARAM_STRING_OR_NULL(name, name_len) in PHP_METHOD()
681 if (name != NULL && name_len == 0) { in PHP_METHOD()
1704 size_t code_len, string_len, actor_len = 0, name_len = 0; in PHP_METHOD() local
1711 &name, &name_len) == FAILURE) { in PHP_METHOD()
/php-src/ext/fileinfo/libmagic/
H A Dcdf.c853 size_t i, name_len = strlen(name) + 1; in cdf_find_stream() local
857 cdf_namecmp(name, dir->dir_tab[i - 1].d_name, name_len) in cdf_find_stream()
/php-src/ext/standard/
H A Dbasic_functions.c2237 size_t name_len; local
2241 Z_PARAM_STRING(name, name_len)
/php-src/ext/opcache/jit/ir/
H A Dir_x86.dasc1823 #define STR_EQUAL(name, name_len, str) (name_len == strlen(str) && memcmp(name, str, strlen(str)) =…
1834 size_t name_len;
1837 if (STR_EQUAL(name, name_len, "sqrt")) {
1841 } else if (STR_EQUAL(name, name_len, "sqrtf")) {
1845 } else if (STR_EQUAL(name, name_len, "rint")) {
1849 } else if (STR_EQUAL(name, name_len, "rintf")) {
1853 } else if (STR_EQUAL(name, name_len, "floor")) {
1857 } else if (STR_EQUAL(name, name_len, "floorf")) {
1861 } else if (STR_EQUAL(name, name_len, "ceil")) {
1865 } else if (STR_EQUAL(name, name_len, "ceilf")) {
[all …]
/php-src/sapi/litespeed/
H A Dlsapi_main.c189 static char *sapi_lsapi_getenv(const char * name, size_t name_len ) in sapi_lsapi_getenv() argument
/php-src/Zend/
H A Dzend.c93 ZEND_API char *(*zend_getenv)(const char *name, size_t name_len);
H A Dzend_compile.c244 const size_t name_len; member
266 size_t name_len; member
283 if (ZSTR_LEN(name) == info->name_len in zend_lookup_builtin_type_by_name()
284 && zend_binary_strcasecmp(ZSTR_VAL(name), ZSTR_LEN(name), info->name, info->name_len) == 0 in zend_lookup_builtin_type_by_name()
301 if (zend_string_equals_cstr(name, info->name, info->name_len)) { in zend_is_confusable_type()
/php-src/Zend/Optimizer/
H A Dblock_pass.c358 size_t flen = FUNCTION_CACHE->funcs[Z_LVAL(ZEND_OP1_LITERAL(fcall))].name_len; in zend_optimize_block()
/php-src/ext/iconv/
H A Diconv.c158 static php_output_handler *php_iconv_output_handler_init(const char *name, size_t name_len, size_t …
/php-src/ext/date/
H A Dphp_date.c1503 static void write_date_period_property(zend_object *obj, const char *name, const size_t name_len, z… in write_date_period_property() argument
1505 zend_string *property_name = zend_string_init(name, name_len, 0); in write_date_period_property()

Completed in 260 milliseconds

1234