Lines Matching refs:config

194 	PspellConfig *config;  in PHP_FUNCTION()  local
201 config = new_pspell_config(); in PHP_FUNCTION()
218 pspell_config_replace(config, "data-dir", data_dir); in PHP_FUNCTION()
219 pspell_config_replace(config, "dict-dir", dict_dir); in PHP_FUNCTION()
224 pspell_config_replace(config, "language-tag", language); in PHP_FUNCTION()
227 pspell_config_replace(config, "spelling", spelling); in PHP_FUNCTION()
231 pspell_config_replace(config, "jargon", jargon); in PHP_FUNCTION()
235 pspell_config_replace(config, "encoding", encoding); in PHP_FUNCTION()
243 pspell_config_replace(config, "sug-mode", "fast"); in PHP_FUNCTION()
245 pspell_config_replace(config, "sug-mode", "normal"); in PHP_FUNCTION()
247 pspell_config_replace(config, "sug-mode", "bad-spellers"); in PHP_FUNCTION()
252 pspell_config_replace(config, "run-together", "true"); in PHP_FUNCTION()
256 ret = new_pspell_manager(config); in PHP_FUNCTION()
257 delete_pspell_config(config); in PHP_FUNCTION()
287 PspellConfig *config; in PHP_FUNCTION() local
294 config = new_pspell_config(); in PHP_FUNCTION()
311 pspell_config_replace(config, "data-dir", data_dir); in PHP_FUNCTION()
312 pspell_config_replace(config, "dict-dir", dict_dir); in PHP_FUNCTION()
318 delete_pspell_config(config); in PHP_FUNCTION()
322 pspell_config_replace(config, "personal", personal); in PHP_FUNCTION()
323 pspell_config_replace(config, "save-repl", "false"); in PHP_FUNCTION()
325 pspell_config_replace(config, "language-tag", language); in PHP_FUNCTION()
328 pspell_config_replace(config, "spelling", spelling); in PHP_FUNCTION()
332 pspell_config_replace(config, "jargon", jargon); in PHP_FUNCTION()
336 pspell_config_replace(config, "encoding", encoding); in PHP_FUNCTION()
344 pspell_config_replace(config, "sug-mode", "fast"); in PHP_FUNCTION()
346 pspell_config_replace(config, "sug-mode", "normal"); in PHP_FUNCTION()
348 pspell_config_replace(config, "sug-mode", "bad-spellers"); in PHP_FUNCTION()
353 pspell_config_replace(config, "run-together", "true"); in PHP_FUNCTION()
357 ret = new_pspell_manager(config); in PHP_FUNCTION()
358 delete_pspell_config(config); in PHP_FUNCTION()
376 PspellConfig *config; in PHP_FUNCTION() local
381 config = php_pspell_config_object_from_zend_object(Z_OBJ_P(zcfg))->cfg; in PHP_FUNCTION()
383 ret = new_pspell_manager(config); in PHP_FUNCTION()
571 PspellConfig *config; in PHP_FUNCTION() local
586 config = new_pspell_config(); in PHP_FUNCTION()
603 pspell_config_replace(config, "data-dir", data_dir); in PHP_FUNCTION()
604 pspell_config_replace(config, "dict-dir", dict_dir); in PHP_FUNCTION()
609 pspell_config_replace(config, "language-tag", language); in PHP_FUNCTION()
612 pspell_config_replace(config, "spelling", spelling); in PHP_FUNCTION()
616 pspell_config_replace(config, "jargon", jargon); in PHP_FUNCTION()
620 pspell_config_replace(config, "encoding", encoding); in PHP_FUNCTION()
625 pspell_config_replace(config, "save-repl", "false"); in PHP_FUNCTION()
628 php_pspell_config_object_from_zend_object(Z_OBJ_P(return_value))->cfg = config; in PHP_FUNCTION()
637 PspellConfig *config; in PHP_FUNCTION() local
642 config = php_pspell_config_object_from_zend_object(Z_OBJ_P(zcfg))->cfg; in PHP_FUNCTION()
644 pspell_config_replace(config, "run-together", runtogether ? "true" : "false"); in PHP_FUNCTION()
655 PspellConfig *config; in PHP_FUNCTION() local
660 config = php_pspell_config_object_from_zend_object(Z_OBJ_P(zcfg))->cfg; in PHP_FUNCTION()
664 pspell_config_replace(config, "sug-mode", "fast"); in PHP_FUNCTION()
666 pspell_config_replace(config, "sug-mode", "normal"); in PHP_FUNCTION()
668 pspell_config_replace(config, "sug-mode", "bad-spellers"); in PHP_FUNCTION()
681 PspellConfig *config; in PHP_FUNCTION() local
686 config = php_pspell_config_object_from_zend_object(Z_OBJ_P(zcfg))->cfg; in PHP_FUNCTION()
690 pspell_config_replace(config, "ignore", ignore_str); in PHP_FUNCTION()
699 PspellConfig *config; in pspell_config_path() local
704 config = php_pspell_config_object_from_zend_object(Z_OBJ_P(zcfg))->cfg; in pspell_config_path()
710 pspell_config_replace(config, option, ZSTR_VAL(value)); in pspell_config_path()
741 PspellConfig *config; in PHP_FUNCTION() local
746 config = php_pspell_config_object_from_zend_object(Z_OBJ_P(zcfg))->cfg; in PHP_FUNCTION()
748 pspell_config_replace(config, "save-repl", "true"); in PHP_FUNCTION()
754 pspell_config_replace(config, "repl", ZSTR_VAL(repl)); in PHP_FUNCTION()
765 PspellConfig *config; in PHP_FUNCTION() local
770 config = php_pspell_config_object_from_zend_object(Z_OBJ_P(zcfg))->cfg; in PHP_FUNCTION()
772 pspell_config_replace(config, "save-repl", save ? "true" : "false"); in PHP_FUNCTION()