Searched refs:repl (Results 1 - 4 of 4) sorted by relevance

/PHP_TRUNK/ext/fileinfo/libmagic/
H A Dfuncs.c446 zval repl; local
461 ZVAL_STRING(&repl, rep);
462 res = php_pcre_replace_impl(pce, ms->o.buf, strlen(ms->o.buf), &repl, 0, -1, &rep_cnt TSRMLS_CC);
464 zval_ptr_dtor(&repl);
/PHP_TRUNK/ext/pspell/
H A Dpspell.c170 ZEND_ARG_INFO(0, repl)
415 pspell_config_replace(config, "save-repl", "false");
744 pspell_config_replace(config, "save-repl", "false");
864 /* {{{ proto bool pspell_config_repl(int conf, string repl)
869 char *repl; local
873 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "lp", &conf, &repl, &repl_len) == FAILURE) {
879 pspell_config_replace(config, "save-repl", "true");
881 if (php_check_open_basedir(repl TSRMLS_CC)) {
885 pspell_config_replace(config, "repl", repl);
[all...]
/PHP_TRUNK/ext/standard/
H A Darray.c2145 *repl = NULL; /* Replacement elements */ local
2173 repl = (zval *)safe_emalloc(repl_num, sizeof(zval), 0);
2177 ZVAL_COPY_VALUE(&repl[i++], &p->val);
2206 new_hash = php_splice(Z_ARRVAL_P(array), offset, length, repl, repl_num, rem_hash);
2216 efree(repl);
H A Dstring.c2299 /* {{{ proto mixed substr_replace(mixed str, mixed repl, mixed start [, mixed length])
2306 zval *repl; local
2315 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "zzz|z/", &str, &repl, &from, &len) == FAILURE) {
2322 if (Z_TYPE_P(repl) != IS_ARRAY) {
2323 convert_to_string_ex(repl);
2391 if (Z_TYPE_P(repl) == IS_ARRAY) {
2392 zend_hash_internal_pointer_reset_ex(Z_ARRVAL_P(repl), &pos_repl);
2393 if (NULL != (tmp_repl = zend_hash_get_current_data_ex(Z_ARRVAL_P(repl), &pos_repl))) {
2398 repl_len = Z_STRLEN_P(repl);
2405 memcpy((result->val + f), (Z_TYPE_P(repl)
[all...]

Completed in 16 milliseconds