Lines Matching refs:opt
499 TidyOption opt = tidyGetOptionByName(doc, optname); in _php_tidy_set_tidy_opt() local
502 if (!opt) { in _php_tidy_set_tidy_opt()
507 if (tidyOptIsReadOnly(opt)) { in _php_tidy_set_tidy_opt()
512 switch(tidyOptGetType(opt)) { in _php_tidy_set_tidy_opt()
518 if (tidyOptSetValue(doc, tidyOptGetId(opt), Z_STRVAL(conv))) { in _php_tidy_set_tidy_opt()
534 if (tidyOptSetInt(doc, tidyOptGetId(opt), Z_LVAL(conv))) { in _php_tidy_set_tidy_opt()
544 if (tidyOptSetBool(doc, tidyOptGetId(opt), Z_LVAL(conv))) { in _php_tidy_set_tidy_opt()
940 static void *php_tidy_get_opt_val(PHPTidyDoc *ptdoc, TidyOption opt, TidyOptionType *type TSRMLS_DC) in php_tidy_get_opt_val() argument
942 *type = tidyOptGetType(opt); in php_tidy_get_opt_val()
946 char *val = (char *) tidyOptGetValue(ptdoc->doc, tidyOptGetId(opt)); in php_tidy_get_opt_val()
956 return (void *) tidyOptGetInt(ptdoc->doc, tidyOptGetId(opt)); in php_tidy_get_opt_val()
960 return (void *) tidyOptGetBool(ptdoc->doc, tidyOptGetId(opt)); in php_tidy_get_opt_val()
1325 TidyOption opt; in PHP_FUNCTION() local
1341 opt = tidyGetOptionByName(obj->ptdoc->doc, optname); in PHP_FUNCTION()
1343 if (!opt) { in PHP_FUNCTION()
1348 if ( (optval = (char *) tidyOptGetDoc(obj->ptdoc->doc, opt)) ) { in PHP_FUNCTION()
1374 TidyOption opt = tidyGetNextOption(obj->ptdoc->doc, &itOpt); in PHP_FUNCTION() local
1376 opt_name = (char *)tidyOptGetName(opt); in PHP_FUNCTION()
1377 opt_value = php_tidy_get_opt_val(obj->ptdoc, opt, &optt TSRMLS_CC); in PHP_FUNCTION()
1485 TidyOption opt; in PHP_FUNCTION() local
1502 opt = tidyGetOptionByName(obj->ptdoc->doc, optname); in PHP_FUNCTION()
1504 if (!opt) { in PHP_FUNCTION()
1509 optval = php_tidy_get_opt_val(obj->ptdoc, opt, &optt TSRMLS_CC); in PHP_FUNCTION()