Lines Matching refs:opt
495 TidyOption opt = tidyGetOptionByName(doc, optname); in _php_tidy_set_tidy_opt() local
498 if (!opt) { in _php_tidy_set_tidy_opt()
503 if (tidyOptIsReadOnly(opt)) { in _php_tidy_set_tidy_opt()
508 switch(tidyOptGetType(opt)) { in _php_tidy_set_tidy_opt()
514 if (tidyOptSetValue(doc, tidyOptGetId(opt), Z_STRVAL(conv))) { in _php_tidy_set_tidy_opt()
530 if (tidyOptSetInt(doc, tidyOptGetId(opt), Z_LVAL(conv))) { in _php_tidy_set_tidy_opt()
540 if (tidyOptSetBool(doc, tidyOptGetId(opt), Z_LVAL(conv))) { in _php_tidy_set_tidy_opt()
938 static void *php_tidy_get_opt_val(PHPTidyDoc *ptdoc, TidyOption opt, TidyOptionType *type TSRMLS_DC) in php_tidy_get_opt_val() argument
940 *type = tidyOptGetType(opt); in php_tidy_get_opt_val()
944 char *val = (char *) tidyOptGetValue(ptdoc->doc, tidyOptGetId(opt)); in php_tidy_get_opt_val()
954 return (void *) tidyOptGetInt(ptdoc->doc, tidyOptGetId(opt)); in php_tidy_get_opt_val()
958 return (void *) tidyOptGetBool(ptdoc->doc, tidyOptGetId(opt)); in php_tidy_get_opt_val()
1373 TidyOption opt; in PHP_FUNCTION() local
1389 opt = tidyGetOptionByName(obj->ptdoc->doc, optname); in PHP_FUNCTION()
1391 if (!opt) { in PHP_FUNCTION()
1396 if ( (optval = (char *) tidyOptGetDoc(obj->ptdoc->doc, opt)) ) { in PHP_FUNCTION()
1422 TidyOption opt = tidyGetNextOption(obj->ptdoc->doc, &itOpt); in PHP_FUNCTION() local
1424 opt_name = (char *)tidyOptGetName(opt); in PHP_FUNCTION()
1425 opt_value = php_tidy_get_opt_val(obj->ptdoc, opt, &optt TSRMLS_CC); in PHP_FUNCTION()
1533 TidyOption opt; in PHP_FUNCTION() local
1550 opt = tidyGetOptionByName(obj->ptdoc->doc, optname); in PHP_FUNCTION()
1552 if (!opt) { in PHP_FUNCTION()
1557 optval = php_tidy_get_opt_val(obj->ptdoc, opt, &optt TSRMLS_CC); in PHP_FUNCTION()