Lines Matching refs:status

82         enum CRStatus status;
147 *Checks if 'status' equals CR_OK. If not, goto the 'error' label.
149 *@param status the status (of type enum CRStatus) to test.
150 *@param is_exception if set to FALSE, the final status returned
152 *current status will be the current value of the 'status' variable.
155 #define CHECK_PARSING_STATUS(status, is_exception) \
156 if ((status) != CR_OK) \
160 status = CR_PARSING_ERROR ; \
168 *@a_status: the status to check. Is of type enum #CRStatus.
169 *@a_is_exception: in case of error, if is TRUE, the status
171 *real low level status is kept and will be returned by the
191 *invokes CHECK_PARSING_STATUS on the status returned by
214 status = cr_tknzr_read_char (PRIVATE (a_this)->tknzr, a_to_char) ; \
215 CHECK_PARSING_STATUS (status, TRUE)
222 *returns a status code of type enum #CRStatus.
228 status = cr_tknzr_get_cur_pos (PRIVATE \
230 g_return_val_if_fail (status == CR_OK, status)
240 status = cr_tknzr_get_cur_byte_addr \
242 CHECK_PARSING_STATUS (status, TRUE)
256 status = cr_tknzr_peek_byte (PRIVATE (a_this)->tknzr, \
259 CHECK_PARSING_STATUS (status, TRUE) ;
272 status = cr_tknzr_read_byte (PRIVATE (a_this)->tknzr, a_byte_ptr) ; \
273 CHECK_PARSING_STATUS (status, TRUE) ;
284 status = cr_tknzr_seek_index (PRIVATE (a_this)->tknzr, \
286 CHECK_PARSING_STATUS (status, TRUE) ;
298 status = cr_tknzr_consume_chars \
300 CHECK_PARSING_STATUS (status, TRUE) ; \
305 *status to "CR_PARSING_ERROR" and goto the 'error'
310 if (! (condition)) {status = CR_PARSING_ERROR; goto error ;}
316 status = CR_PARSING_ERROR; \
322 status = cr_tknzr_get_next_token (PRIVATE (a_this)->tknzr, \
324 ENSURE_PARSING_COND (status == CR_OK) ;
410 *@param a_status the error status.
451 *Sets the error status.
453 *@param a_status the new error status.
461 a_this->status = a_status;
513 *@param a_status the error status.
520 enum CRStatus status = CR_OK;
552 return status;
623 enum CRStatus status = CR_ERROR;
634 status = cr_tknzr_get_next_token (PRIVATE (a_this)->tknzr,
636 if (status != CR_OK)
644 return status;
653 return status;
681 enum CRStatus status = CR_ERROR;
695 status = cr_tknzr_get_next_token (PRIVATE (a_this)->tknzr, &token);
696 if (status == CR_END_OF_INPUT_ERROR) {
697 status = CR_OK;
699 } else if (status != CR_OK) {
710 status = cr_tknzr_unget_token (PRIVATE (a_this)->tknzr,
712 CHECK_PARSING_STATUS (status, TRUE);
714 status = cr_parser_parse_statement_core (a_this);
716 if (status == CR_OK) {
718 } else if (status == CR_END_OF_INPUT_ERROR) {
747 return status;
763 enum CRStatus status = CR_ERROR;
769 status = cr_tknzr_get_next_token (PRIVATE (a_this)->tknzr,
771 ENSURE_PARSING_COND (status == CR_OK
787 status = cr_parser_parse_any_core (a_this);
788 } while (status == CR_OK);
790 status = cr_tknzr_get_next_token (PRIVATE (a_this)->tknzr,
792 ENSURE_PARSING_COND (status == CR_OK && token);
798 status = cr_parser_parse_block_core (a_this);
799 CHECK_PARSING_STATUS (status,
805 status = CR_PARSING_ERROR ;
823 return status;
838 enum CRStatus status = CR_ERROR;
843 status = cr_parser_parse_selector_core (a_this);
845 ENSURE_PARSING_COND (status == CR_OK
846 || status == CR_PARSING_ERROR
847 || status == CR_END_OF_INPUT_ERROR);
849 status = cr_tknzr_get_next_token (PRIVATE (a_this)->tknzr, &token);
850 ENSURE_PARSING_COND (status == CR_OK && token
856 status = cr_parser_parse_declaration_core (a_this);
864 status = cr_tknzr_get_next_token (PRIVATE (a_this)->tknzr, &token);
865 ENSURE_PARSING_COND (status == CR_OK && token);
870 ENSURE_PARSING_COND (status == CR_OK
876 status = cr_parser_parse_declaration_core (a_this);
878 ENSURE_PARSING_COND (status == CR_OK || status == CR_PARSING_ERROR);
879 status = cr_tknzr_get_next_token (PRIVATE (a_this)->tknzr, &token);
880 ENSURE_PARSING_COND (status == CR_OK && token);
887 status = cr_tknzr_unget_token (PRIVATE (a_this)->tknzr,
899 if (status == CR_OK) {
911 return status;
927 enum CRStatus status = CR_ERROR;
933 status = cr_parser_parse_any_core (a_this);
934 CHECK_PARSING_STATUS (status, FALSE);
937 status = cr_parser_parse_any_core (a_this);
939 } while (status == CR_OK);
951 return status;
966 enum CRStatus status = CR_ERROR;
972 status = cr_tknzr_get_next_token (PRIVATE (a_this)->tknzr, &token);
973 ENSURE_PARSING_COND (status == CR_OK && token
985 status = cr_tknzr_get_next_token (PRIVATE (a_this)->tknzr, &token);
986 ENSURE_PARSING_COND (status == CR_OK && token);
999 status = cr_parser_parse_block_core (a_this);
1000 CHECK_PARSING_STATUS (status, FALSE);
1005 status = cr_parser_parse_any_core (a_this);
1006 CHECK_PARSING_STATUS (status, FALSE);
1016 if (status == CR_OK)
1027 return status;
1035 enum CRStatus status = CR_ERROR;
1042 status = cr_parser_parse_property (a_this, &prop);
1043 CHECK_PARSING_STATUS (status, FALSE);
1045 ENSURE_PARSING_COND (status == CR_OK && prop);
1049 status = cr_tknzr_get_next_token (PRIVATE (a_this)->tknzr, &token);
1050 ENSURE_PARSING_COND (status == CR_OK
1057 status = cr_parser_parse_value_core (a_this);
1058 CHECK_PARSING_STATUS (status, FALSE);
1076 return status;
1091 enum CRStatus status = CR_ERROR;
1104 status = cr_tknzr_get_next_token (PRIVATE (a_this)->tknzr, &token);
1105 ENSURE_PARSING_COND (status == CR_OK && token);
1109 status = cr_tknzr_unget_token (PRIVATE (a_this)->tknzr,
1112 status = cr_parser_parse_block_core (a_this);
1113 CHECK_PARSING_STATUS (status, FALSE);
1123 status = cr_tknzr_unget_token (PRIVATE (a_this)->tknzr,
1126 status = cr_parser_parse_any_core (a_this);
1127 if (status == CR_OK) {
1130 } else if (status == CR_PARSING_ERROR) {
1131 status = CR_OK;
1144 if (status == CR_OK && ref)
1154 return status;
1173 enum CRStatus status = CR_ERROR;
1179 status = cr_tknzr_get_next_token (PRIVATE (a_this)->tknzr, &token1);
1181 ENSURE_PARSING_COND (status == CR_OK && token1);
1205 status = CR_OK;
1215 status = cr_parser_parse_any_core (a_this);
1216 } while (status == CR_OK);
1218 ENSURE_PARSING_COND (status == CR_PARSING_ERROR);
1219 status = cr_tknzr_get_next_token (PRIVATE (a_this)->tknzr,
1221 ENSURE_PARSING_COND (status == CR_OK
1225 status = cr_tknzr_get_next_token (PRIVATE (a_this)->tknzr,
1227 ENSURE_PARSING_COND (status == CR_OK && token2);
1234 status = cr_tknzr_unget_token
1240 status = cr_parser_parse_any_core (a_this);
1241 } while (status == CR_OK);
1243 ENSURE_PARSING_COND (status == CR_PARSING_ERROR);
1245 status = cr_tknzr_get_next_token (PRIVATE (a_this)->tknzr,
1247 ENSURE_PARSING_COND (status == CR_OK
1249 status = CR_OK;
1253 status = cr_tknzr_get_next_token (PRIVATE (a_this)->tknzr,
1255 ENSURE_PARSING_COND (status == CR_OK && token2);
1262 status = cr_tknzr_unget_token
1268 status = cr_parser_parse_any_core (a_this);
1269 } while (status == CR_OK);
1271 ENSURE_PARSING_COND (status == CR_PARSING_ERROR);
1273 status = cr_tknzr_get_next_token (PRIVATE (a_this)->tknzr,
1275 ENSURE_PARSING_COND (status == CR_OK
1277 status = CR_OK;
1280 status = CR_PARSING_ERROR;
1310 return status;
1328 enum CRStatus status = CR_OK;
1338 status = cr_tknzr_get_next_token (PRIVATE (a_this)->tknzr, &token);
1339 ENSURE_PARSING_COND (status == CR_OK && token
1351 status = CR_OUT_OF_MEMORY_ERROR ;
1356 status = cr_tknzr_get_next_token (PRIVATE (a_this)->tknzr, &token);
1357 ENSURE_PARSING_COND (status == CR_OK
1367 status = cr_tknzr_get_next_token (PRIVATE (a_this)->tknzr, &token);
1368 ENSURE_PARSING_COND (status == CR_OK && token);
1393 status = cr_tknzr_get_next_token (PRIVATE (a_this)->tknzr, &token);
1394 ENSURE_PARSING_COND (status == CR_OK && token);
1403 status = CR_PARSING_ERROR;
1414 status = cr_tknzr_get_next_token (PRIVATE (a_this)->tknzr, &token);
1416 ENSURE_PARSING_COND (status == CR_OK && token
1425 status = cr_attr_sel_append_attr_sel (*a_sel, result);
1426 CHECK_PARSING_STATUS (status, FALSE);
1448 return status;
1468 enum CRStatus status = CR_OK;
1478 status = cr_parser_parse_ident (a_this, a_property);
1479 CHECK_PARSING_STATUS (status, TRUE);
1490 return status;
1509 enum CRStatus status = CR_PARSING_ERROR;
1523 status = cr_tknzr_get_next_token (PRIVATE (a_this)->tknzr,
1525 if (status != CR_OK || !token)
1534 status = cr_tknzr_get_next_token (PRIVATE (a_this)->tknzr,
1536 if (status != CR_OK || !token)
1543 status = cr_tknzr_get_next_token (PRIVATE (a_this)->tknzr,
1545 if (status != CR_OK || !token)
1557 status = cr_term_set_number (result, token->u.num);
1558 CHECK_PARSING_STATUS (status, TRUE);
1560 status = CR_OK;
1562 status = cr_tknzr_unget_token (PRIVATE (a_this)->tknzr,
1565 status = cr_parser_parse_function (a_this, &func_name,
1568 if (status == CR_OK) {
1569 status = cr_term_set_function (result,
1572 CHECK_PARSING_STATUS (status, TRUE);
1575 status = cr_term_set_string (result,
1577 CHECK_PARSING_STATUS (status, TRUE);
1580 status = cr_term_set_ident (result, token->u.str);
1581 CHECK_PARSING_STATUS (status, TRUE);
1584 status = cr_term_set_uri (result, token->u.str);
1585 CHECK_PARSING_STATUS (status, TRUE);
1588 status = cr_term_set_rgb (result, token->u.rgb);
1589 CHECK_PARSING_STATUS (status, TRUE);
1593 status = CR_PARSING_ERROR;
1595 status = cr_term_set_hash (result, token->u.str);
1596 CHECK_PARSING_STATUS (status, TRUE);
1599 status = CR_PARSING_ERROR;
1602 if (status != CR_OK) {
1645 return status;
1664 enum CRStatus status = CR_ERROR;
1676 status = cr_tknzr_get_next_token (PRIVATE (a_this)->tknzr, &token);
1677 if (status != CR_OK)
1700 status = cr_tknzr_unget_token
1719 status = cr_tknzr_get_next_token
1722 if (status != CR_OK)
1747 status = cr_tknzr_get_next_token
1749 if (status != CR_OK)
1770 status = CR_PARSING_ERROR;
1777 status = cr_tknzr_unget_token
1779 if (status != CR_OK)
1783 status = cr_parser_parse_attribute_selector
1785 CHECK_PARSING_STATUS (status, FALSE);
1814 status = cr_tknzr_get_next_token
1816 ENSURE_PARSING_COND (status == CR_OK && token);
1832 status = cr_parser_parse_ident
1835 ENSURE_PARSING_COND (status == CR_OK);
1841 status = CR_PARSING_ERROR;
1845 if (status == CR_OK) {
1858 status = CR_OK;
1861 status = cr_tknzr_unget_token
1868 if (status == CR_OK && found_sel == TRUE) {
1890 status = CR_PARSING_ERROR;
1912 return status;
1934 enum CRStatus status = CR_ERROR;
1946 status = cr_parser_parse_simple_selector (a_this, &sel);
1947 CHECK_PARSING_STATUS (status, FALSE);
1971 status = cr_parser_parse_simple_selector (a_this, &sel);
1972 if (status != CR_OK)
1991 return status;
2009 enum CRStatus status = CR_OK;
2020 status = cr_parser_parse_simple_sels (a_this, &simple_sels);
2021 CHECK_PARSING_STATUS (status, FALSE);
2033 status = CR_PARSING_ERROR ;
2037 status = cr_tknzr_peek_char (PRIVATE (a_this)->tknzr,
2039 if (status != CR_OK) {
2040 if (status == CR_END_OF_INPUT_ERROR) {
2041 status = CR_OK;
2052 status = cr_tknzr_peek_char (PRIVATE (a_this)->tknzr,
2054 if (status != CR_OK) {
2055 if (status == CR_END_OF_INPUT_ERROR) {
2056 status = CR_OK;
2071 status = cr_parser_parse_simple_sels
2074 CHECK_PARSING_STATUS (status, FALSE);
2112 return status;
2134 enum CRStatus status = CR_OK;
2144 status = cr_tknzr_get_next_token (PRIVATE (a_this)->tknzr, &token);
2145 if (status != CR_OK)
2152 status = CR_PARSING_ERROR;
2160 status = cr_parser_parse_expr (a_this, &expr);
2162 CHECK_PARSING_STATUS (status, FALSE);
2164 status = cr_tknzr_get_next_token (PRIVATE (a_this)->tknzr, &token);
2165 if (status != CR_OK)
2200 return status;
2218 enum CRStatus status = CR_PARSING_ERROR;
2223 status = cr_tknzr_parse_token (PRIVATE (a_this)->tknzr,
2225 return status;
2248 enum CRStatus status = CR_OK;
2254 status = cr_tknzr_parse_token (PRIVATE (a_this)->tknzr,
2256 return status;
2276 enum CRStatus status = CR_OK;
2282 status = cr_tknzr_parse_token (PRIVATE (a_this)->tknzr,
2284 return status;
2308 enum CRStatus status = CR_OK;
2327 status = cr_tknzr_get_next_token (PRIVATE (a_this)->tknzr, &token);
2329 if (status == CR_END_OF_INPUT_ERROR)
2331 CHECK_PARSING_STATUS (status, TRUE);
2335 status = cr_tknzr_unget_token (PRIVATE (a_this)->tknzr,
2337 CHECK_PARSING_STATUS (status, TRUE);
2340 status = cr_parser_parse_charset (a_this,
2344 if (status == CR_OK && charset) {
2351 } else if (status != CR_END_OF_INPUT_ERROR) {
2352 status = cr_parser_parse_atrule_core (a_this);
2353 CHECK_PARSING_STATUS (status, FALSE);
2363 status = cr_tknzr_unget_token (PRIVATE (a_this)->tknzr,
2366 CHECK_PARSING_STATUS (status, TRUE);
2371 status = cr_tknzr_unget_token (PRIVATE (a_this)->tknzr,
2374 CHECK_PARSING_STATUS (status, TRUE);
2384 status = cr_tknzr_get_next_token
2387 if (status == CR_END_OF_INPUT_ERROR)
2389 CHECK_PARSING_STATUS (status, TRUE);
2395 status = cr_tknzr_unget_token (PRIVATE (a_this)->tknzr,
2401 status = cr_tknzr_get_next_token
2403 if (status == CR_END_OF_INPUT_ERROR)
2405 CHECK_PARSING_STATUS (status, TRUE);
2412 status = cr_tknzr_unget_token
2415 CHECK_PARSING_STATUS (status, TRUE);
2417 status = cr_parser_parse_import (a_this,
2421 if (status == CR_OK) {
2445 } else if (status != CR_END_OF_INPUT_ERROR) {
2451 status = cr_parser_parse_atrule_core (a_this);
2452 CHECK_PARSING_STATUS (status, TRUE) ;
2486 status = cr_tknzr_unget_token
2496 status = cr_tknzr_get_next_token
2499 if (status == CR_END_OF_INPUT_ERROR)
2501 CHECK_PARSING_STATUS (status, TRUE);
2508 status = cr_tknzr_unget_token
2521 status = cr_tknzr_get_next_token
2523 if (status == CR_END_OF_INPUT_ERROR)
2525 CHECK_PARSING_STATUS (status, TRUE);
2530 status = cr_tknzr_unget_token
2542 status = cr_tknzr_get_next_token
2569 status = cr_tknzr_unget_token
2571 CHECK_PARSING_STATUS (status, TRUE);
2574 status = cr_parser_parse_ruleset (a_this);
2576 if (status == CR_OK) {
2587 status = cr_parser_parse_ruleset_core
2590 if (status == CR_OK) {
2597 status = cr_tknzr_unget_token
2599 CHECK_PARSING_STATUS (status, TRUE);
2602 status = cr_parser_parse_media (a_this);
2603 if (status == CR_OK) {
2614 status = cr_parser_parse_atrule_core (a_this);
2616 if (status == CR_OK) {
2624 status = cr_tknzr_unget_token
2626 CHECK_PARSING_STATUS (status, TRUE);
2628 status = cr_parser_parse_page (a_this);
2630 if (status == CR_OK) {
2641 status = cr_parser_parse_atrule_core (a_this);
2643 if (status == CR_OK) {
2650 status = cr_tknzr_unget_token
2652 CHECK_PARSING_STATUS (status, TRUE);
2654 status = cr_parser_parse_font_face (a_this);
2656 if (status == CR_OK) {
2667 status = cr_parser_parse_atrule_core (a_this);
2669 if (status == CR_OK) {
2676 status = cr_tknzr_unget_token
2678 CHECK_PARSING_STATUS (status, TRUE);
2680 status = cr_parser_parse_statement_core (a_this);
2682 if (status == CR_OK) {
2696 if (status == CR_END_OF_INPUT_ERROR || status == CR_OK) {
2718 return status;
2735 return status;
2756 enum CRStatus status = CR_OK;
2763 status = cr_parser_set_tknzr (result, a_tknzr);
2766 g_return_val_if_fail (status == CR_OK, NULL);
2913 enum CRStatus status = CR_ERROR;
2921 status = cr_parser_set_sac_handler (a_this, default_sac_handler);
2923 if (status != CR_OK) {
2928 return status;
2982 enum CRStatus status = CR_ERROR;
2992 status = cr_parser_set_tknzr (a_this, tknzr);
2993 g_return_val_if_fail (status == CR_OK, CR_ERROR);
2995 status = cr_parser_parse (a_this);
2997 return status;
3015 enum CRStatus status = CR_ERROR;
3027 status = cr_parser_parse_term (a_this, &expr);
3029 CHECK_PARSING_STATUS (status, FALSE);
3034 status = cr_tknzr_peek_byte (PRIVATE (a_this)->tknzr,
3036 if (status != CR_OK) {
3037 if (status == CR_END_OF_INPUT_ERROR) {
3044 status = CR_OK;
3057 status = cr_parser_parse_term (a_this, &expr2);
3059 if (status != CR_OK || expr2 == NULL) {
3060 status = CR_OK;
3081 if (status == CR_OK) {
3103 return status;
3122 enum CRStatus status = CR_ERROR;
3132 status = cr_tknzr_get_next_token (PRIVATE (a_this)->tknzr, &token);
3133 if (status == CR_END_OF_INPUT_ERROR) {
3136 ENSURE_PARSING_COND (status == CR_OK
3152 return status;
3175 enum CRStatus status = CR_ERROR;
3187 status = cr_parser_parse_property (a_this, a_property);
3189 if (status == CR_END_OF_INPUT_ERROR)
3193 (a_this, status, FALSE,
3200 status = CR_PARSING_ERROR;
3210 status = cr_parser_parse_expr (a_this, &expr);
3213 (a_this, status, FALSE,
3218 status = cr_parser_parse_prio (a_this, &prio);
3251 return status;
3269 enum CRStatus status = CR_ERROR;
3275 status = cr_tknzr_get_next_token (PRIVATE (a_this)->tknzr, &token);
3277 ENSURE_PARSING_COND (status == CR_OK && token);
3288 status = cr_parser_parse_atrule_core (a_this);
3289 CHECK_PARSING_STATUS (status, TRUE);
3295 status = cr_parser_parse_ruleset_core (a_this);
3297 CHECK_PARSING_STATUS (status, TRUE);
3310 return status;
3331 enum CRStatus status = CR_OK;
3347 status = cr_parser_parse_selector (a_this, &selector);
3348 CHECK_PARSING_STATUS (status, FALSE);
3376 status = cr_parser_parse_declaration (a_this, &property,
3382 if (status == CR_OK
3389 if (status == CR_OK) {
3403 } else {/*status != CR_OK*/
3410 status = cr_tknzr_peek_char (PRIVATE (a_this)->tknzr, &c) ;
3411 if (status == CR_OK && c == '}') {
3412 status = CR_OK ;
3417 (a_this, status, FALSE,
3431 status = cr_parser_parse_declaration (a_this, &property,
3437 if (status == CR_OK
3516 return status;
3550 enum CRStatus status = CR_OK;
3576 status = CR_OK;
3578 status = CR_PARSING_ERROR;
3589 status = cr_parser_parse_string (a_this, a_import_string);
3591 CHECK_PARSING_STATUS (status, FALSE);
3593 status = cr_parser_parse_uri (a_this, a_import_string);
3595 CHECK_PARSING_STATUS (status, FALSE);
3600 status = cr_parser_parse_ident (a_this, &medium);
3602 if (status == CR_OK && medium) {
3609 for (; status == CR_OK;) {
3610 if ((status = cr_tknzr_peek_char (PRIVATE (a_this)->tknzr,
3612 if (status == CR_END_OF_INPUT_ERROR) {
3613 status = CR_OK;
3627 status = cr_parser_parse_ident (a_this, &medium);
3631 if ((status == CR_OK) && medium) {
3637 CHECK_PARSING_STATUS (status, FALSE);
3687 return status;
3708 enum CRStatus status = CR_OK;
3723 status = cr_tknzr_get_next_token (PRIVATE (a_this)->tknzr,
3725 ENSURE_PARSING_COND (status == CR_OK
3734 status = cr_tknzr_get_next_token (PRIVATE (a_this)->tknzr, &token);
3735 ENSURE_PARSING_COND (status == CR_OK
3748 for (; status == CR_OK;) {
3760 status = cr_parser_parse_ident (a_this, &medium);
3762 CHECK_PARSING_STATUS (status, FALSE);
3788 for (; status == CR_OK;) {
3789 status = cr_parser_parse_ruleset (a_this);
3858 return status;
3878 enum CRStatus status = CR_OK;
3892 status = cr_tknzr_get_next_token (PRIVATE (a_this)->tknzr,
3894 ENSURE_PARSING_COND (status == CR_OK
3904 status = cr_tknzr_get_next_token (PRIVATE (a_this)->tknzr, &token);
3905 ENSURE_PARSING_COND (status == CR_OK && token);
3921 status = cr_tknzr_get_next_token (PRIVATE (a_this)->tknzr, &token);
3922 ENSURE_PARSING_COND (status == CR_OK && token);
3927 status = cr_parser_parse_ident (a_this, &page_pseudo_class);
3928 CHECK_PARSING_STATUS (status, FALSE);
3940 status = cr_tknzr_get_next_token (PRIVATE (a_this)->tknzr, &token);
3942 ENSURE_PARSING_COND (status == CR_OK && token
3962 status = cr_parser_parse_declaration (a_this, &property,
3965 ENSURE_PARSING_COND (status == CR_OK);
3998 status = cr_tknzr_get_next_token
4001 ENSURE_PARSING_COND (status == CR_OK && token);
4015 status = cr_parser_parse_declaration (a_this, &property,
4018 if (status != CR_OK)
4051 status = cr_tknzr_get_next_token
4053 ENSURE_PARSING_COND (status == CR_OK
4109 return status;
4130 enum CRStatus status = CR_OK;
4141 status = cr_tknzr_get_next_token (PRIVATE (a_this)->tknzr, &token);
4143 ENSURE_PARSING_COND (status == CR_OK
4156 status = cr_tknzr_get_next_token (PRIVATE (a_this)->tknzr, &token);
4157 ENSURE_PARSING_COND (status == CR_OK
4166 status = cr_tknzr_get_next_token (PRIVATE (a_this)->tknzr, &token);
4168 ENSURE_PARSING_COND (status == CR_OK
4200 return status;
4220 enum CRStatus status = CR_ERROR;
4234 status = cr_tknzr_get_next_token (PRIVATE (a_this)->tknzr, &token);
4235 ENSURE_PARSING_COND (status == CR_OK
4246 status = cr_tknzr_get_next_token (PRIVATE (a_this)->tknzr,
4248 ENSURE_PARSING_COND (status == CR_OK && token
4267 status = cr_parser_parse_declaration (a_this, &property,
4269 if (status == CR_OK) {
4299 status = cr_parser_parse_declaration (a_this,
4303 if (status != CR_OK)
4361 return status;
4377 enum CRStatus status = CR_ERROR;
4383 status = cr_parser_parse_stylesheet (a_this);
4385 status = cr_parser_parse_stylesheet_core (a_this);
4388 return status;
4473 enum CRStatus status = CR_ERROR;
4483 status = cr_parser_set_tknzr (a_this, tknzr);
4484 g_return_val_if_fail (status == CR_OK, CR_ERROR);
4486 status = cr_parser_parse (a_this);
4488 return status;