Searched refs:textlen (Results 1 - 2 of 2) sorted by relevance

/PHP_5_6/ext/readline/
H A Dreadline_cli.c409 static char *cli_completion_generator_ht(const char *text, int textlen, int *state, HashTable *ht, void **pData TSRMLS_DC) /* {{{ */ argument
420 if (!textlen || !strncmp(name, text, textlen)) {
435 static char *cli_completion_generator_var(const char *text, int textlen, int *state TSRMLS_DC) /* {{{ */ argument
439 tmp = retval = cli_completion_generator_ht(text + 1, textlen - 1, state, EG(active_symbol_table), NULL TSRMLS_CC);
449 static char *cli_completion_generator_ini(const char *text, int textlen, int *state TSRMLS_DC) /* {{{ */ argument
453 tmp = retval = cli_completion_generator_ht(text + 1, textlen - 1, state, EG(ini_directives), NULL TSRMLS_CC);
463 static char *cli_completion_generator_func(const char *text, int textlen, int *state, HashTable *ht TSRMLS_DC) /* {{{ */ argument
466 char *retval = cli_completion_generator_ht(text, textlen, state, ht, (void**)&func TSRMLS_CC);
475 static char *cli_completion_generator_class(const char *text, int textlen, in argument
487 cli_completion_generator_define(const char *text, int textlen, int *state, HashTable *ht TSRMLS_DC) argument
513 int textlen = strlen(text); local
[all...]
/PHP_5_6/ext/standard/
H A Dstring.c886 int textlen, breakcharlen = 1, newtextlen, chk; local
892 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s|lsb", &text, &textlen, &linelength, &breakchar, &breakcharlen, &docut) == FAILURE) {
896 if (textlen == 0) {
913 newtext = estrndup(text, textlen);
916 for (current = 0; current < textlen; current++) {
931 RETURN_STRINGL(newtext, textlen, 0);
935 chk = (int)(textlen/linelength + 1);
936 newtext = safe_emalloc(chk, breakcharlen, textlen + 1);
937 alloced = textlen + chk * breakcharlen + 1;
939 chk = textlen;
[all...]

Completed in 7 milliseconds