Lines Matching refs:opt
496 TidyOption opt = tidyGetOptionByName(doc, optname); in _php_tidy_set_tidy_opt() local
501 if (!opt) { in _php_tidy_set_tidy_opt()
506 if (tidyOptIsReadOnly(opt)) { in _php_tidy_set_tidy_opt()
511 switch(tidyOptGetType(opt)) { in _php_tidy_set_tidy_opt()
517 if (tidyOptSetValue(doc, tidyOptGetId(opt), Z_STRVAL(conv))) { in _php_tidy_set_tidy_opt()
533 if (tidyOptSetInt(doc, tidyOptGetId(opt), Z_LVAL(conv))) { in _php_tidy_set_tidy_opt()
543 if (tidyOptSetBool(doc, tidyOptGetId(opt), Z_LVAL(conv))) { in _php_tidy_set_tidy_opt()
926 static void *php_tidy_get_opt_val(PHPTidyDoc *ptdoc, TidyOption opt, TidyOptionType *type) in php_tidy_get_opt_val() argument
928 *type = tidyOptGetType(opt); in php_tidy_get_opt_val()
932 char *val = (char *) tidyOptGetValue(ptdoc->doc, tidyOptGetId(opt)); in php_tidy_get_opt_val()
942 return (void *) (uintptr_t) tidyOptGetInt(ptdoc->doc, tidyOptGetId(opt)); in php_tidy_get_opt_val()
946 return (void *) tidyOptGetBool(ptdoc->doc, tidyOptGetId(opt)); in php_tidy_get_opt_val()
1362 TidyOption opt; in PHP_FUNCTION() local
1378 opt = tidyGetOptionByName(obj->ptdoc->doc, optname); in PHP_FUNCTION()
1380 if (!opt) { in PHP_FUNCTION()
1385 if ( (optval = (char *) tidyOptGetDoc(obj->ptdoc->doc, opt)) ) { in PHP_FUNCTION()
1411 TidyOption opt = tidyGetNextOption(obj->ptdoc->doc, &itOpt); in PHP_FUNCTION() local
1413 opt_name = (char *)tidyOptGetName(opt); in PHP_FUNCTION()
1414 opt_value = php_tidy_get_opt_val(obj->ptdoc, opt, &optt); in PHP_FUNCTION()
1522 TidyOption opt; in PHP_FUNCTION() local
1539 opt = tidyGetOptionByName(obj->ptdoc->doc, optname); in PHP_FUNCTION()
1541 if (!opt) { in PHP_FUNCTION()
1546 optval = php_tidy_get_opt_val(obj->ptdoc, opt, &optt); in PHP_FUNCTION()