Home
last modified time | relevance | path

Searched refs:index_len (Results 1 – 4 of 4) sorted by relevance

/php-src/sapi/phpdbg/
H A Dphpdbg_utils.c451 size_t index_len = 0; in phpdbg_parse_variable_with_arg() local
472 if (last_index[index_len - 1] == '-') { in phpdbg_parse_variable_with_arg()
474 index_len--; in phpdbg_parse_variable_with_arg()
486 index_len++; in phpdbg_parse_variable_with_arg()
490 if (new_index && index_len == 0) { in phpdbg_parse_variable_with_arg()
498 char *keyname = estrndup(last_index, index_len); in phpdbg_parse_variable_with_arg()
548 char last_chr = last_index[index_len]; in phpdbg_parse_variable_with_arg()
549 last_index[index_len] = 0; in phpdbg_parse_variable_with_arg()
560 last_index[index_len] = last_chr; in phpdbg_parse_variable_with_arg()
563 char *keyname = estrndup(last_index, index_len); in phpdbg_parse_variable_with_arg()
[all …]
/php-src/main/
H A Dphp_variables.c114 size_t var_len, index_len; in php_register_variable_ex() local
194 index_len = var_len; in php_register_variable_ex()
241 index_len = 0; in php_register_variable_ex()
243 index_len = strlen(index); in php_register_variable_ex()
261 if (php_is_forbidden_variable_name(index, index_len, var_name)) { in php_register_variable_ex()
267 gpc_element_p = zend_symtable_str_find(symtable1, index, index_len); in php_register_variable_ex()
287 index_len = new_idx_len; in php_register_variable_ex()
304 if (php_is_forbidden_variable_name(index, index_len, var_name)) { in php_register_variable_ex()
320 zend_symtable_str_exists(symtable1, index, index_len)) { in php_register_variable_ex()
322 } else if (ZEND_HANDLE_NUMERIC_STR(index, index_len, idx)) { in php_register_variable_ex()
[all …]
/php-src/ext/phar/
H A Dphar.c2487 size_t index_len, web_len; in phar_create_default_stub() local
2501 index_len = strlen(index_php); in phar_create_default_stub()
2504 if (index_len > 400) { in phar_create_default_stub()
2507 …passed in for stub creation, was %zd characters long, and only 400 or less is allowed", index_len); in phar_create_default_stub()
2520 return phar_get_stub(index_php, web_index, index_len+1, web_len+1); in phar_create_default_stub()
H A Dphar_object.c944 size_t index_len = 0, webindex_len = 0; in PHP_METHOD() local
946 …if (zend_parse_parameters(ZEND_NUM_ARGS(), "|p!p!", &index, &index_len, &webindex, &webindex_len) … in PHP_METHOD()
2969 size_t index_len = 0, webindex_len = 0; in PHP_METHOD() local
2972 …if (zend_parse_parameters(ZEND_NUM_ARGS(), "|s!s!", &index, &index_len, &webindex, &webindex_len) … in PHP_METHOD()

Completed in 28 milliseconds