Lines Matching refs:opt

501 	TidyOption opt = tidyGetOptionByName(doc, optname);  in _php_tidy_set_tidy_opt()  local
506 if (!opt) { in _php_tidy_set_tidy_opt()
511 if (tidyOptIsReadOnly(opt)) { in _php_tidy_set_tidy_opt()
516 switch(tidyOptGetType(opt)) { in _php_tidy_set_tidy_opt()
522 if (tidyOptSetValue(doc, tidyOptGetId(opt), Z_STRVAL(conv))) { in _php_tidy_set_tidy_opt()
538 if (tidyOptSetInt(doc, tidyOptGetId(opt), Z_LVAL(conv))) { in _php_tidy_set_tidy_opt()
548 if (tidyOptSetBool(doc, tidyOptGetId(opt), Z_LVAL(conv))) { in _php_tidy_set_tidy_opt()
931 static void *php_tidy_get_opt_val(PHPTidyDoc *ptdoc, TidyOption opt, TidyOptionType *type) in php_tidy_get_opt_val() argument
933 *type = tidyOptGetType(opt); in php_tidy_get_opt_val()
937 char *val = (char *) tidyOptGetValue(ptdoc->doc, tidyOptGetId(opt)); in php_tidy_get_opt_val()
947 return (void *) (uintptr_t) tidyOptGetInt(ptdoc->doc, tidyOptGetId(opt)); in php_tidy_get_opt_val()
951 return (void *) tidyOptGetBool(ptdoc->doc, tidyOptGetId(opt)); in php_tidy_get_opt_val()
1370 TidyOption opt; in PHP_FUNCTION() local
1386 opt = tidyGetOptionByName(obj->ptdoc->doc, optname); in PHP_FUNCTION()
1388 if (!opt) { in PHP_FUNCTION()
1393 if ( (optval = (char *) tidyOptGetDoc(obj->ptdoc->doc, opt)) ) { in PHP_FUNCTION()
1419 TidyOption opt = tidyGetNextOption(obj->ptdoc->doc, &itOpt); in PHP_FUNCTION() local
1421 opt_name = (char *)tidyOptGetName(opt); in PHP_FUNCTION()
1422 opt_value = php_tidy_get_opt_val(obj->ptdoc, opt, &optt); in PHP_FUNCTION()
1530 TidyOption opt; in PHP_FUNCTION() local
1547 opt = tidyGetOptionByName(obj->ptdoc->doc, optname); in PHP_FUNCTION()
1549 if (!opt) { in PHP_FUNCTION()
1554 optval = php_tidy_get_opt_val(obj->ptdoc, opt, &optt); in PHP_FUNCTION()