Lines Matching refs:textlen
424 static char *cli_completion_generator_ht(const char *text, size_t textlen, int *state, HashTable *h… in cli_completion_generator_ht() argument
435 if (!textlen || !strncmp(ZSTR_VAL(name), text, textlen)) { in cli_completion_generator_ht()
450 static char *cli_completion_generator_var(const char *text, size_t textlen, int *state) /* {{{ */ in cli_completion_generator_var() argument
455 tmp = retval = cli_completion_generator_ht(text + 1, textlen - 1, state, symbol_table, NULL); in cli_completion_generator_var()
465 static char *cli_completion_generator_ini(const char *text, size_t textlen, int *state) /* {{{ */ in cli_completion_generator_ini() argument
469 tmp = retval = cli_completion_generator_ht(text + 1, textlen - 1, state, EG(ini_directives), NULL); in cli_completion_generator_ini()
479 static char *cli_completion_generator_func(const char *text, size_t textlen, int *state, HashTable … in cli_completion_generator_func() argument
482 char *retval = cli_completion_generator_ht(text, textlen, state, ht, (void**)&func); in cli_completion_generator_func()
491 static char *cli_completion_generator_class(const char *text, size_t textlen, int *state) /* {{{ */ in cli_completion_generator_class() argument
494 char *retval = cli_completion_generator_ht(text, textlen, state, EG(class_table), (void**)&ce); in cli_completion_generator_class()
503 static char *cli_completion_generator_define(const char *text, size_t textlen, int *state, HashTabl… in cli_completion_generator_define() argument
506 char *retval = cli_completion_generator_ht(text, textlen, state, ht, (void**)&pce); in cli_completion_generator_define()
529 size_t textlen = strlen(text); in cli_completion_generator() local
535 retval = cli_completion_generator_var(text, textlen, &cli_completion_state); in cli_completion_generator()
537 retval = cli_completion_generator_ini(text, textlen, &cli_completion_state); in cli_completion_generator()
552 lc_text = zend_str_tolower_dup(class_name_end + 2, textlen - 2 - class_name_len); in cli_completion_generator()
553 textlen -= (class_name_len + 2); in cli_completion_generator()
555 lc_text = zend_str_tolower_dup(text, textlen); in cli_completion_generator()
561 …retval = cli_completion_generator_func(lc_text, textlen, &cli_completion_state, ce ? &ce->function… in cli_completion_generator()
568 …retval = cli_completion_generator_define(text, textlen, &cli_completion_state, ce ? &ce->constants… in cli_completion_generator()
575 retval = cli_completion_generator_class(lc_text, textlen, &cli_completion_state); in cli_completion_generator()