Lines Matching refs:textlen
406 static char *cli_completion_generator_ht(const char *text, int textlen, int *state, HashTable *ht, … in cli_completion_generator_ht() argument
417 if (!textlen || !strncmp(ZSTR_VAL(name), text, textlen)) { in cli_completion_generator_ht()
432 static char *cli_completion_generator_var(const char *text, int textlen, int *state) /* {{{ */ in cli_completion_generator_var() argument
437 tmp = retval = cli_completion_generator_ht(text + 1, textlen - 1, state, symbol_table, NULL); in cli_completion_generator_var()
447 static char *cli_completion_generator_ini(const char *text, int textlen, int *state) /* {{{ */ in cli_completion_generator_ini() argument
451 tmp = retval = cli_completion_generator_ht(text + 1, textlen - 1, state, EG(ini_directives), NULL); in cli_completion_generator_ini()
461 static char *cli_completion_generator_func(const char *text, int textlen, int *state, HashTable *ht… in cli_completion_generator_func() argument
464 char *retval = cli_completion_generator_ht(text, textlen, state, ht, (void**)&func); in cli_completion_generator_func()
473 static char *cli_completion_generator_class(const char *text, int textlen, int *state) /* {{{ */ in cli_completion_generator_class() argument
476 char *retval = cli_completion_generator_ht(text, textlen, state, EG(class_table), (void**)&ce); in cli_completion_generator_class()
485 static char *cli_completion_generator_define(const char *text, int textlen, int *state, HashTable *… in cli_completion_generator_define() argument
488 char *retval = cli_completion_generator_ht(text, textlen, state, ht, (void**)&pce); in cli_completion_generator_define()
511 int textlen = strlen(text); in cli_completion_generator() local
517 retval = cli_completion_generator_var(text, textlen, &cli_completion_state); in cli_completion_generator()
519 retval = cli_completion_generator_ini(text, textlen, &cli_completion_state); in cli_completion_generator()
535 lc_text = zend_str_tolower_dup(class_name_end + 2, textlen - 2 - class_name_len); in cli_completion_generator()
536 textlen -= (class_name_len + 2); in cli_completion_generator()
538 lc_text = zend_str_tolower_dup(text, textlen); in cli_completion_generator()
544 …retval = cli_completion_generator_func(lc_text, textlen, &cli_completion_state, ce ? &ce->function… in cli_completion_generator()
550 …retval = cli_completion_generator_define(text, textlen, &cli_completion_state, ce ? &ce->constants… in cli_completion_generator()
556 retval = cli_completion_generator_class(lc_text, textlen, &cli_completion_state); in cli_completion_generator()