Lines Matching refs:config

196 	PspellConfig *config;  in PHP_FUNCTION()  local
203 config = new_pspell_config(); in PHP_FUNCTION()
220 pspell_config_replace(config, "data-dir", data_dir); in PHP_FUNCTION()
221 pspell_config_replace(config, "dict-dir", dict_dir); in PHP_FUNCTION()
226 pspell_config_replace(config, "language-tag", language); in PHP_FUNCTION()
229 pspell_config_replace(config, "spelling", spelling); in PHP_FUNCTION()
233 pspell_config_replace(config, "jargon", jargon); in PHP_FUNCTION()
237 pspell_config_replace(config, "encoding", encoding); in PHP_FUNCTION()
245 pspell_config_replace(config, "sug-mode", "fast"); in PHP_FUNCTION()
247 pspell_config_replace(config, "sug-mode", "normal"); in PHP_FUNCTION()
249 pspell_config_replace(config, "sug-mode", "bad-spellers"); in PHP_FUNCTION()
254 pspell_config_replace(config, "run-together", "true"); in PHP_FUNCTION()
258 ret = new_pspell_manager(config); in PHP_FUNCTION()
259 delete_pspell_config(config); in PHP_FUNCTION()
289 PspellConfig *config; in PHP_FUNCTION() local
296 config = new_pspell_config(); in PHP_FUNCTION()
313 pspell_config_replace(config, "data-dir", data_dir); in PHP_FUNCTION()
314 pspell_config_replace(config, "dict-dir", dict_dir); in PHP_FUNCTION()
320 delete_pspell_config(config); in PHP_FUNCTION()
324 pspell_config_replace(config, "personal", personal); in PHP_FUNCTION()
325 pspell_config_replace(config, "save-repl", "false"); in PHP_FUNCTION()
327 pspell_config_replace(config, "language-tag", language); in PHP_FUNCTION()
330 pspell_config_replace(config, "spelling", spelling); in PHP_FUNCTION()
334 pspell_config_replace(config, "jargon", jargon); in PHP_FUNCTION()
338 pspell_config_replace(config, "encoding", encoding); in PHP_FUNCTION()
346 pspell_config_replace(config, "sug-mode", "fast"); in PHP_FUNCTION()
348 pspell_config_replace(config, "sug-mode", "normal"); in PHP_FUNCTION()
350 pspell_config_replace(config, "sug-mode", "bad-spellers"); in PHP_FUNCTION()
355 pspell_config_replace(config, "run-together", "true"); in PHP_FUNCTION()
359 ret = new_pspell_manager(config); in PHP_FUNCTION()
360 delete_pspell_config(config); in PHP_FUNCTION()
378 PspellConfig *config; in PHP_FUNCTION() local
383 config = php_pspell_config_object_from_zend_object(Z_OBJ_P(zcfg))->cfg; in PHP_FUNCTION()
385 ret = new_pspell_manager(config); in PHP_FUNCTION()
573 PspellConfig *config; in PHP_FUNCTION() local
588 config = new_pspell_config(); in PHP_FUNCTION()
605 pspell_config_replace(config, "data-dir", data_dir); in PHP_FUNCTION()
606 pspell_config_replace(config, "dict-dir", dict_dir); in PHP_FUNCTION()
611 pspell_config_replace(config, "language-tag", language); in PHP_FUNCTION()
614 pspell_config_replace(config, "spelling", spelling); in PHP_FUNCTION()
618 pspell_config_replace(config, "jargon", jargon); in PHP_FUNCTION()
622 pspell_config_replace(config, "encoding", encoding); in PHP_FUNCTION()
627 pspell_config_replace(config, "save-repl", "false"); in PHP_FUNCTION()
630 php_pspell_config_object_from_zend_object(Z_OBJ_P(return_value))->cfg = config; in PHP_FUNCTION()
639 PspellConfig *config; in PHP_FUNCTION() local
644 config = php_pspell_config_object_from_zend_object(Z_OBJ_P(zcfg))->cfg; in PHP_FUNCTION()
646 pspell_config_replace(config, "run-together", runtogether ? "true" : "false"); in PHP_FUNCTION()
657 PspellConfig *config; in PHP_FUNCTION() local
662 config = php_pspell_config_object_from_zend_object(Z_OBJ_P(zcfg))->cfg; in PHP_FUNCTION()
666 pspell_config_replace(config, "sug-mode", "fast"); in PHP_FUNCTION()
668 pspell_config_replace(config, "sug-mode", "normal"); in PHP_FUNCTION()
670 pspell_config_replace(config, "sug-mode", "bad-spellers"); in PHP_FUNCTION()
683 PspellConfig *config; in PHP_FUNCTION() local
688 config = php_pspell_config_object_from_zend_object(Z_OBJ_P(zcfg))->cfg; in PHP_FUNCTION()
692 pspell_config_replace(config, "ignore", ignore_str); in PHP_FUNCTION()
701 PspellConfig *config; in pspell_config_path() local
706 config = php_pspell_config_object_from_zend_object(Z_OBJ_P(zcfg))->cfg; in pspell_config_path()
712 pspell_config_replace(config, option, ZSTR_VAL(value)); in pspell_config_path()
743 PspellConfig *config; in PHP_FUNCTION() local
748 config = php_pspell_config_object_from_zend_object(Z_OBJ_P(zcfg))->cfg; in PHP_FUNCTION()
750 pspell_config_replace(config, "save-repl", "true"); in PHP_FUNCTION()
756 pspell_config_replace(config, "repl", ZSTR_VAL(repl)); in PHP_FUNCTION()
767 PspellConfig *config; in PHP_FUNCTION() local
772 config = php_pspell_config_object_from_zend_object(Z_OBJ_P(zcfg))->cfg; in PHP_FUNCTION()
774 pspell_config_replace(config, "save-repl", save ? "true" : "false"); in PHP_FUNCTION()