Lines Matching refs:textlen

417 static char *cli_completion_generator_ht(const char *text, size_t textlen, int *state, HashTable *h…  in cli_completion_generator_ht()  argument
428 if (!textlen || !strncmp(ZSTR_VAL(name), text, textlen)) { in cli_completion_generator_ht()
443 static char *cli_completion_generator_var(const char *text, size_t textlen, int *state) /* {{{ */ in cli_completion_generator_var() argument
448 tmp = retval = cli_completion_generator_ht(text + 1, textlen - 1, state, symbol_table, NULL); in cli_completion_generator_var()
458 static char *cli_completion_generator_ini(const char *text, size_t textlen, int *state) /* {{{ */ in cli_completion_generator_ini() argument
462 tmp = retval = cli_completion_generator_ht(text + 1, textlen - 1, state, EG(ini_directives), NULL); in cli_completion_generator_ini()
472 static char *cli_completion_generator_func(const char *text, size_t textlen, int *state, HashTable … in cli_completion_generator_func() argument
475 char *retval = cli_completion_generator_ht(text, textlen, state, ht, (void**)&func); in cli_completion_generator_func()
484 static char *cli_completion_generator_class(const char *text, size_t textlen, int *state) /* {{{ */ in cli_completion_generator_class() argument
487 char *retval = cli_completion_generator_ht(text, textlen, state, EG(class_table), (void**)&ce); in cli_completion_generator_class()
496 static char *cli_completion_generator_define(const char *text, size_t textlen, int *state, HashTabl… in cli_completion_generator_define() argument
499 char *retval = cli_completion_generator_ht(text, textlen, state, ht, (void**)&pce); in cli_completion_generator_define()
522 size_t textlen = strlen(text); in cli_completion_generator() local
528 retval = cli_completion_generator_var(text, textlen, &cli_completion_state); in cli_completion_generator()
530 retval = cli_completion_generator_ini(text, textlen, &cli_completion_state); in cli_completion_generator()
545 lc_text = zend_str_tolower_dup(class_name_end + 2, textlen - 2 - class_name_len); in cli_completion_generator()
546 textlen -= (class_name_len + 2); in cli_completion_generator()
548 lc_text = zend_str_tolower_dup(text, textlen); in cli_completion_generator()
554 …retval = cli_completion_generator_func(lc_text, textlen, &cli_completion_state, ce ? &ce->function… in cli_completion_generator()
561 …retval = cli_completion_generator_define(text, textlen, &cli_completion_state, ce ? &ce->constants… in cli_completion_generator()
568 retval = cli_completion_generator_class(lc_text, textlen, &cli_completion_state); in cli_completion_generator()