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.c2478 size_t repl_len = 0; local
2523 repl_len = Z_STRLEN_P(tmp_repl);
2526 repl_len = Z_STRLEN_P(repl);
2529 result = zend_string_alloc(Z_STRLEN_P(str) - l + repl_len, 0);
2532 if (repl_len) {
2533 memcpy((result->val + f), (Z_TYPE_P(repl) == IS_ARRAY ? Z_STRVAL_P(tmp_repl) : Z_STRVAL_P(repl)), repl_len);
2535 memcpy((result->val + f + repl_len), Z_STRVAL_P(str) + f + l, Z_STRLEN_P(str) - f - l);
4402 size_t repl_len = is_xhtml ? (sizeof("<br />") - 1) : (sizeof("<br>") - 1); local
4404 result = zend_string_alloc(repl_cnt * repl_len + str->len, 0);

Completed in 12 milliseconds