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

/PHP_TRUNK/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->val, text, textlen)) {
435 static char *cli_completion_generator_var(const char *text, int textlen, int *state TSRMLS_DC) /* {{{ */ argument
440 tmp = retval = cli_completion_generator_ht(text + 1, textlen - 1, state, symbol_table ? &symbol_table->ht : NULL, NULL TSRMLS_CC);
450 static char *cli_completion_generator_ini(const char *text, int textlen, int *state TSRMLS_DC) /* {{{ */ argument
454 tmp = retval = cli_completion_generator_ht(text + 1, textlen - 1, state, EG(ini_directives), NULL TSRMLS_CC);
464 static char *cli_completion_generator_func(const char *text, int textlen, int *state, HashTable *ht TSRMLS_DC) /* {{{ */ argument
467 char *retval = cli_completion_generator_ht(text, textlen, state, ht, (void**)&func TSRMLS_CC);
476 static char *cli_completion_generator_class(const char *text, int textlen, in argument
488 cli_completion_generator_define(const char *text, int textlen, int *state, HashTable *ht TSRMLS_DC) argument
514 int textlen = strlen(text); local
[all...]
/PHP_TRUNK/ext/standard/
H A Dstring.c880 int textlen, breakcharlen = 1, newtextlen, chk; local
887 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s|lsb", &text, &textlen, &linelength, &breakchar, &breakcharlen, &docut) == FAILURE) {
891 if (textlen == 0) {
908 newtext = STR_INIT(text, textlen, 0);
911 for (current = 0; current < textlen; current++) {
930 chk = (int)(textlen/linelength + 1);
931 newtext = STR_ALLOC(chk * breakcharlen + textlen, 0);
932 alloced = textlen + chk * breakcharlen + 1;
934 chk = textlen;
935 alloced = textlen * (breakcharle
[all...]

Completed in 7 milliseconds