• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/timemachine/gettext-0.17/gettext-tools/gnulib-lib/libcroco/

Lines Matching refs:a_value

244                                  CRTerm * a_value, enum CRDirection a_dir);
248 CRTerm * a_value,
252 CRTerm *a_value) ;
256 CRTerm * a_value,
260 CRTerm *a_value) ;
263 set_prop_margin_x_from_value (CRStyle * a_style, CRTerm * a_value,
267 set_prop_display_from_value (CRStyle * a_style, CRTerm * a_value);
270 set_prop_position_from_value (CRStyle * a_style, CRTerm * a_value);
273 set_prop_x_from_value (CRStyle * a_style, CRTerm * a_value,
277 set_prop_float (CRStyle * a_style, CRTerm * a_value);
280 set_prop_width (CRStyle * a_style, CRTerm * a_value);
283 set_prop_color (CRStyle * a_style, CRTerm * a_value);
286 set_prop_background_color (CRStyle * a_style, CRTerm * a_value);
289 set_prop_border_x_color_from_value (CRStyle * a_style, CRTerm * a_value,
293 set_prop_border_x_from_value (CRStyle * a_style, CRTerm * a_value,
297 set_prop_border_from_value (CRStyle * a_style, CRTerm * a_value);
300 set_prop_padding_from_value (CRStyle * a_style, CRTerm * a_value);
303 set_prop_margin_from_value (CRStyle * a_style, CRTerm * a_value);
306 set_prop_font_family_from_value (CRStyle * a_style, CRTerm * a_value);
312 set_prop_font_size_from_value (CRStyle * a_style, CRTerm * a_value);
315 set_prop_font_style_from_value (CRStyle * a_style, CRTerm * a_value);
318 set_prop_font_weight_from_value (CRStyle * a_style, CRTerm * a_value);
434 CRTerm * a_value, enum CRDirection a_dir)
439 g_return_val_if_fail (a_style && a_value, CR_BAD_PARAM_ERROR);
441 if (a_value->type != TERM_NUMBER && a_value->type != TERM_IDENT)
465 if (a_value->type == TERM_IDENT) {
466 if (a_value->content.str
467 && a_value->content.str->stryng
468 && a_value->content.str->stryng->str
470 a_value->content.str->stryng->str,
478 g_return_val_if_fail (a_value->type == TERM_NUMBER
479 && a_value->content.num, CR_UNKNOWN_TYPE_ERROR);
481 switch (a_value->content.num->type) {
491 status = cr_num_copy (num_val, a_value->content.num);
503 CRTerm * a_value,
509 g_return_val_if_fail (a_value && a_style, CR_BAD_PARAM_ERROR);
533 if (a_value->type == TERM_IDENT) {
534 if (a_value->content.str
535 && a_value->content.str->stryng
536 && a_value->content.str->stryng->str) {
538 a_value->content.str->stryng->str,
544 a_value->content.str->stryng->str,
549 a_value->content.str->stryng->str,
557 } else if (a_value->type == TERM_NUMBER) {
558 if (a_value->content.num) {
559 cr_num_copy (num_val, a_value->content.num);
561 } else if (a_value->type != TERM_NUMBER
562 || a_value->content.num == NULL) {
571 CRTerm *a_value)
576 g_return_val_if_fail (a_style && a_value,
578 cur_term = a_value ;
615 CRTerm * a_value, enum CRDirection a_dir)
620 g_return_val_if_fail (a_style && a_value, CR_BAD_PARAM_ERROR);
647 if (a_value->type != TERM_IDENT || !a_value->content.str) {
652 a_value->content.str->stryng->str,
656 a_value->content.str->stryng->str,
660 a_value->content.str->stryng->str,
664 a_value->content.str->stryng->str, sizeof ("dashed")-1)) {
667 a_value->content.str->stryng->str, sizeof ("solid")-1)) {
670 a_value->content.str->stryng->str, sizeof ("double")-1)) {
673 a_value->content.str->stryng->str, sizeof ("groove")-1)) {
676 a_value->content.str->stryng->str,
680 a_value->content.str->stryng->str,
684 a_value->content.str->stryng->str,
688 a_value->content.str->stryng->str,
700 CRTerm *a_value)
705 g_return_val_if_fail (a_style && a_value,
708 cur_term = a_value ;
748 set_prop_margin_x_from_value (CRStyle * a_style, CRTerm * a_value,
754 g_return_val_if_fail (a_style && a_value, CR_BAD_PARAM_ERROR);
777 switch (a_value->type) {
779 if (a_value->content.str
780 && a_value->content.str->stryng
781 && a_value->content.str->stryng->str
782 && !strcmp (a_value->content.str->stryng->str,
785 } else if (a_value->content.str
786 && a_value->content.str->stryng
787 && !strcmp (a_value->content.str->stryng->str,
796 status = cr_num_copy (num_val, a_value->content.num);
813 set_prop_display_from_value (CRStyle * a_style, CRTerm * a_value)
836 g_return_val_if_fail (a_style && a_value, CR_BAD_PARAM_ERROR);
838 switch (a_value->type) {
843 if (!a_value->content.str
844 || !a_value->content.str->stryng
845 || !a_value->content.str->stryng->str)
851 a_value->content.str->stryng->str,
874 set_prop_position_from_value (CRStyle * a_style, CRTerm * a_value)
887 g_return_val_if_fail (a_value, CR_BAD_PARAM_ERROR);
889 switch (a_value->type) {
894 if (!a_value->content.str
895 || !a_value->content.str->stryng
896 || !a_value->content.str->stryng->str)
901 a_value->content.str->stryng->str,
921 set_prop_x_from_value (CRStyle * a_style, CRTerm * a_value,
926 g_return_val_if_fail (a_style && a_value, CR_BAD_PARAM_ERROR);
928 if (!(a_value->type == TERM_NUMBER)
929 && !(a_value->type == TERM_IDENT)) {
955 if (a_value->type == TERM_NUMBER && a_value->content.num) {
956 cr_num_copy (box_offset, a_value->content.num);
957 } else if (a_value->type == TERM_IDENT
958 && a_value->content.str
959 && a_value->content.str->stryng
960 && a_value->content.str->stryng->str) {
962 a_value->content.str->stryng->str,
966 a_value->content.str->stryng->str,
976 set_prop_float (CRStyle * a_style, CRTerm * a_value)
978 g_return_val_if_fail (a_style && a_value,
984 if (a_value->type != TERM_IDENT
985 || !a_value->content.str
986 || !a_value->content.str->stryng
987 || !a_value->content.str->stryng->str) {
993 a_value->content.str->stryng->str,
997 a_value->content.str->stryng->str,
1001 a_value->content.str->stryng->str,
1005 a_value->content.str->stryng->str,
1013 set_prop_width (CRStyle * a_style, CRTerm * a_value)
1017 && a_value,
1023 if (a_value->type == TERM_IDENT) {
1024 if (a_value->content.str
1025 && a_value->content.str->stryng
1026 && a_value->content.str->stryng->str) {
1028 a_value->content.str->stryng->str,
1032 a_value->content.str->stryng->str,
1037 } else if (a_value->type == TERM_NUMBER) {
1038 if (a_value->content.num) {
1040 a_value->content.num);
1047 set_prop_color (CRStyle * a_style, CRTerm * a_value)
1053 && a_value, CR_BAD_PARAM_ERROR);
1055 status = cr_rgb_set_from_term (a_rgb, a_value);
1061 set_prop_background_color (CRStyle * a_style, CRTerm * a_value)
1066 g_return_val_if_fail (a_style && a_value, CR_BAD_PARAM_ERROR);
1068 status = cr_rgb_set_from_term (rgb, a_value);
1078 *@param a_value the css2 term to take the color information from.
1083 set_prop_border_x_color_from_value (CRStyle * a_style, CRTerm * a_value,
1089 g_return_val_if_fail (a_style && a_value, CR_BAD_PARAM_ERROR);
1118 if (a_value->type == TERM_IDENT) {
1119 if (a_value->content.str
1120 && a_value->content.str->stryng
1121 && a_value->content.str->stryng->str) {
1124 a_value->content.str->stryng->str);
1130 } else if (a_value->type == TERM_RGB) {
1131 if (a_value->content.rgb) {
1133 (rgb_color, a_value->content.rgb);
1140 set_prop_border_x_from_value (CRStyle * a_style, CRTerm * a_value,
1147 g_return_val_if_fail (a_style && a_value, CR_BAD_PARAM_ERROR);
1149 for (cur_term = a_value;
1168 set_prop_border_from_value (CRStyle * a_style, CRTerm * a_value)
1172 g_return_val_if_fail (a_style && a_value, CR_BAD_PARAM_ERROR);
1176 a_value,
1184 set_prop_padding_from_value (CRStyle * a_style, CRTerm * a_value)
1190 g_return_val_if_fail (a_style && a_value, CR_BAD_PARAM_ERROR);
1192 cur_term = a_value;
1235 set_prop_margin_from_value (CRStyle * a_style, CRTerm * a_value)
1241 g_return_val_if_fail (a_style && a_value, CR_BAD_PARAM_ERROR);
1243 cur_term = a_value;
1286 set_prop_font_family_from_value (CRStyle * a_style, CRTerm * a_value)
1293 g_return_val_if_fail (a_style && a_value, CR_BAD_PARAM_ERROR);
1295 if (a_value->type == TERM_IDENT &&
1296 a_value->content.str &&
1297 a_value->content.str->stryng &&
1298 a_value->content.str->stryng->str &&
1299 !strcmp ("inherit", a_value->content.str->stryng->str))
1305 for (cur_term = a_value; cur_term; cur_term = cur_term->next) {
1411 set_prop_font_size_from_value (CRStyle * a_style, CRTerm * a_value)
1415 g_return_val_if_fail (a_style && a_value, CR_BAD_PARAM_ERROR);
1417 switch (a_value->type) {
1419 if (a_value->content.str
1420 && a_value->content.str->stryng
1421 && a_value->content.str->stryng->str
1422 && !strcmp (a_value->content.str->stryng->str,
1432 } else if (a_value->content.str
1433 && a_value->content.str->stryng
1434 && a_value->content.str->stryng->str
1435 && !strcmp (a_value->content.str->stryng->str,
1444 } else if (a_value->content.str
1445 && a_value->content.str->stryng
1446 && a_value->content.str->stryng->str
1447 && !strcmp (a_value->content.str->stryng->str,
1456 } else if (a_value->content.str
1457 && a_value->content.str->stryng
1458 && a_value->content.str->stryng->str
1459 && !strcmp (a_value->content.str->stryng->str, "medium")) {
1467 } else if (a_value->content.str
1468 && a_value->content.str->stryng
1469 && a_value->content.str->stryng->str
1470 && !strcmp (a_value->content.str->stryng->str,
1479 } else if (a_value->content.str
1480 && a_value->content.str->stryng
1481 && a_value->content.str->stryng->str
1482 && !strcmp (a_value->content.str->stryng->str,
1491 } else if (a_value->content.str
1492 && a_value->content.str->stryng
1493 && a_value->content.str->stryng->str
1494 && !strcmp (a_value->content.str->stryng->str,
1503 } else if (a_value->content.str
1504 && a_value->content.str->stryng
1505 && a_value->content.str->stryng->str
1506 && !strcmp (a_value->content.str->stryng->str,
1513 } else if (a_value->content.str
1514 && a_value->content.str->stryng
1515 && a_value->content.str->stryng->str
1516 && !strcmp (a_value->content.str->stryng->str,
1524 } else if (a_value->content.str
1525 && a_value->content.str->stryng
1526 && a_value->content.str->stryng->str
1527 && !strcmp (a_value->content.str->stryng->str, "inherit")) {
1540 if (a_value->content.num) {
1546 a_value->content.num) ;
1558 set_prop_font_style_from_value (CRStyle * a_style, CRTerm * a_value)
1562 g_return_val_if_fail (a_style && a_value, CR_BAD_PARAM_ERROR);
1564 switch (a_value->type) {
1566 if (a_value->content.str
1567 && a_value->content.str->stryng
1568 && a_value->content.str->stryng->str) {
1569 if (!strcmp (a_value->content.str->stryng->str, "normal")) {
1572 (a_value->content.str->stryng->str,
1576 (a_value->content.str->stryng->str,
1580 (a_value->content.str->stryng->str,
1598 set_prop_font_weight_from_value (CRStyle * a_style, CRTerm * a_value)
1602 g_return_val_if_fail (a_style && a_value, CR_BAD_PARAM_ERROR);
1604 switch (a_value->type) {
1606 if (a_value->content.str
1607 && a_value->content.str->stryng
1608 && a_value->content.str->stryng->str) {
1609 if (!strcmp (a_value->content.str->stryng->str,
1612 } else if (!strcmp (a_value->content.str->stryng->str,
1615 } else if (!strcmp (a_value->content.str->stryng->str,
1618 } else if (!strcmp (a_value->content.str->stryng->str,
1621 } else if (!strcmp (a_value->content.str->stryng->str,
1633 if (a_value->content.num
1634 && (a_value->content.num->type == NUM_GENERIC
1635 || a_value->content.num->type == NUM_AUTO)) {
1636 if (a_value->content.num->val <= 150) {
1638 } else if (a_value->content.num->val <= 250) {
1640 } else if (a_value->content.num->val <= 350) {
1642 } else if (a_value->content.num->val <= 450) {
1644 } else if (a_value->content.num->val <= 550) {
1646 } else if (a_value->content.num->val <= 650) {
1648 } else if (a_value->content.num->val <= 750) {
1650 } else if (a_value->content.num->val <= 850) {
1667 set_prop_white_space_from_value (CRStyle * a_style, CRTerm * a_value)
1671 g_return_val_if_fail (a_style && a_value, CR_BAD_PARAM_ERROR);
1673 switch (a_value->type) {
1675 if (a_value->content.str && a_value->content.str->stryng) {
1676 if (!strcmp (a_value->content.str->stryng->str, "normal")) {
1678 } else if (!strcmp (a_value->content.str->stryng->str,
1681 } else if (!strcmp (a_value->content.str->stryng->str,
1684 } else if (!strcmp (a_value->content.str->stryng->str,