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

/PHP_TRUNK/ext/pspell/
H A Dpspell.c870 size_t repl_len; local
873 if (zend_parse_parameters(ZEND_NUM_ARGS(), "lp", &conf, &repl, &repl_len) == FAILURE) {
/PHP_TRUNK/ext/standard/
H A Dstring.c2493 size_t repl_len = 0; local
2536 repl_len = Z_STRLEN_P(tmp_repl);
2539 repl_len = Z_STRLEN_P(repl);
2542 result = zend_string_alloc(Z_STRLEN_P(str) - l + repl_len, 0);
2545 if (repl_len) {
2546 memcpy((ZSTR_VAL(result) + f), (Z_TYPE_P(repl) == IS_ARRAY ? Z_STRVAL_P(tmp_repl) : Z_STRVAL_P(repl)), repl_len);
2548 memcpy((ZSTR_VAL(result) + f + repl_len), Z_STRVAL_P(str) + f + l, Z_STRLEN_P(str) - f - l);
4405 size_t repl_len = is_xhtml ? (sizeof("<br />") - 1) : (sizeof("<br>") - 1); local
4407 result = zend_string_alloc(repl_cnt * repl_len + ZSTR_LEN(str), 0);

Completed in 11 milliseconds