Lines Matching refs:PRIVATE

135 #define PRIVATE(obj) ((obj)->priv)
201 pnc_status = cr_tknzr_peek_char (PRIVATE (a_this)->tknzr, a_to_char) ; \
214 status = cr_tknzr_read_char (PRIVATE (a_this)->tknzr, a_to_char) ; \
228 status = cr_tknzr_get_cur_pos (PRIVATE \
241 (PRIVATE (a_this)->tknzr, a_addr) ; \
256 status = cr_tknzr_peek_byte (PRIVATE (a_this)->tknzr, \
262 cr_tknzr_peek_byte2 (PRIVATE (a_this)->tknzr, a_offset, a_eof)
272 status = cr_tknzr_read_byte (PRIVATE (a_this)->tknzr, a_byte_ptr) ; \
284 status = cr_tknzr_seek_index (PRIVATE (a_this)->tknzr, \
299 (PRIVATE (a_parser)->tknzr,0, &nb_chars) ; \
322 status = cr_tknzr_get_next_token (PRIVATE (a_this)->tknzr, \
525 g_return_val_if_fail (a_this && PRIVATE (a_this)
537 PRIVATE (a_this)->err_stack =
538 g_list_prepend (PRIVATE (a_this)->err_stack, error);
540 if (PRIVATE (a_this)->err_stack == NULL)
568 g_return_val_if_fail (a_this && PRIVATE (a_this), CR_BAD_PARAM_ERROR);
570 if (PRIVATE (a_this)->err_stack == NULL)
573 for (cur = PRIVATE (a_this)->err_stack; cur; cur = cur->next) {
594 g_return_val_if_fail (a_this && PRIVATE (a_this), CR_BAD_PARAM_ERROR);
596 for (cur = PRIVATE (a_this)->err_stack; cur; cur = cur->next) {
603 if (PRIVATE (a_this)->err_stack) {
604 g_list_free (PRIVATE (a_this)->err_stack);
605 PRIVATE (a_this)->err_stack = NULL;
626 g_return_val_if_fail (a_this && PRIVATE (a_this)
627 && PRIVATE (a_this)->tknzr, CR_BAD_PARAM_ERROR);
634 status = cr_tknzr_get_next_token (PRIVATE (a_this)->tknzr,
642 cr_tknzr_unget_token (PRIVATE (a_this)->tknzr, token);
683 g_return_val_if_fail (a_this && PRIVATE (a_this), CR_BAD_PARAM_ERROR);
695 status = cr_tknzr_get_next_token (PRIVATE (a_this)->tknzr, &token);
710 status = cr_tknzr_unget_token (PRIVATE (a_this)->tknzr,
745 cr_tknzr_set_cur_pos (PRIVATE (a_this)->tknzr, &init_pos);
765 g_return_val_if_fail (a_this && PRIVATE (a_this), CR_BAD_PARAM_ERROR);
769 status = cr_tknzr_get_next_token (PRIVATE (a_this)->tknzr,
790 status = cr_tknzr_get_next_token (PRIVATE (a_this)->tknzr,
795 cr_tknzr_unget_token (PRIVATE (a_this)->tknzr,
821 cr_tknzr_set_cur_pos (PRIVATE (a_this)->tknzr,
840 g_return_val_if_fail (a_this && PRIVATE (a_this), CR_BAD_PARAM_ERROR);
849 status = cr_tknzr_get_next_token (PRIVATE (a_this)->tknzr, &token);
864 status = cr_tknzr_get_next_token (PRIVATE (a_this)->tknzr, &token);
879 status = cr_tknzr_get_next_token (PRIVATE (a_this)->tknzr, &token);
887 status = cr_tknzr_unget_token (PRIVATE (a_this)->tknzr,
909 cr_tknzr_set_cur_pos (PRIVATE (a_this)->tknzr, &init_pos);
929 g_return_val_if_fail (a_this && PRIVATE (a_this), CR_BAD_PARAM_ERROR);
949 cr_tknzr_set_cur_pos (PRIVATE (a_this)->tknzr, &init_pos);
968 g_return_val_if_fail (a_this && PRIVATE (a_this), CR_BAD_PARAM_ERROR);
972 status = cr_tknzr_get_next_token (PRIVATE (a_this)->tknzr, &token);
985 status = cr_tknzr_get_next_token (PRIVATE (a_this)->tknzr, &token);
997 cr_tknzr_unget_token (PRIVATE (a_this)->tknzr, token);
1003 cr_tknzr_unget_token (PRIVATE (a_this)->tknzr, token);
1025 cr_tknzr_set_cur_pos (PRIVATE (a_this)->tknzr, &init_pos);
1038 g_return_val_if_fail (a_this && PRIVATE (a_this), CR_BAD_PARAM_ERROR);
1049 status = cr_tknzr_get_next_token (PRIVATE (a_this)->tknzr, &token);
1074 cr_tknzr_set_cur_pos (PRIVATE (a_this)->tknzr, &init_pos);
1094 g_return_val_if_fail (a_this && PRIVATE (a_this), CR_BAD_PARAM_ERROR);
1104 status = cr_tknzr_get_next_token (PRIVATE (a_this)->tknzr, &token);
1109 status = cr_tknzr_unget_token (PRIVATE (a_this)->tknzr,
1123 status = cr_tknzr_unget_token (PRIVATE (a_this)->tknzr,
1152 cr_tknzr_set_cur_pos (PRIVATE (a_this)->tknzr, &init_pos);
1179 status = cr_tknzr_get_next_token (PRIVATE (a_this)->tknzr, &token1);
1219 status = cr_tknzr_get_next_token (PRIVATE (a_this)->tknzr,
1225 status = cr_tknzr_get_next_token (PRIVATE (a_this)->tknzr,
1235 (PRIVATE (a_this)->tknzr, token2);
1245 status = cr_tknzr_get_next_token (PRIVATE (a_this)->tknzr,
1253 status = cr_tknzr_get_next_token (PRIVATE (a_this)->tknzr,
1263 (PRIVATE (a_this)->tknzr, token2);
1273 status = cr_tknzr_get_next_token (PRIVATE (a_this)->tknzr,
1309 cr_tknzr_set_cur_pos (PRIVATE (a_this)->tknzr, &init_pos);
1338 status = cr_tknzr_get_next_token (PRIVATE (a_this)->tknzr, &token);
1356 status = cr_tknzr_get_next_token (PRIVATE (a_this)->tknzr, &token);
1367 status = cr_tknzr_get_next_token (PRIVATE (a_this)->tknzr, &token);
1393 status = cr_tknzr_get_next_token (PRIVATE (a_this)->tknzr, &token);
1414 status = cr_tknzr_get_next_token (PRIVATE (a_this)->tknzr, &token);
1446 cr_tknzr_set_cur_pos (PRIVATE (a_this)->tknzr, &init_pos);
1471 g_return_val_if_fail (a_this && PRIVATE (a_this)
1472 && PRIVATE (a_this)->tknzr
1488 cr_tknzr_set_cur_pos (PRIVATE (a_this)->tknzr, &init_pos);
1523 status = cr_tknzr_get_next_token (PRIVATE (a_this)->tknzr,
1534 status = cr_tknzr_get_next_token (PRIVATE (a_this)->tknzr,
1543 status = cr_tknzr_get_next_token (PRIVATE (a_this)->tknzr,
1562 status = cr_tknzr_unget_token (PRIVATE (a_this)->tknzr,
1643 cr_tknzr_set_cur_pos (PRIVATE (a_this)->tknzr, &init_pos);
1676 status = cr_tknzr_get_next_token (PRIVATE (a_this)->tknzr, &token);
1701 (PRIVATE (a_this)->tknzr,
1720 (PRIVATE (a_this)->tknzr,
1748 (PRIVATE (a_this)->tknzr, &token);
1778 (PRIVATE (a_this)->tknzr, token);
1815 (PRIVATE (a_this)->tknzr, &token);
1862 (PRIVATE (a_this)->tknzr, token);
1910 cr_tknzr_set_cur_pos (PRIVATE (a_this)->tknzr, &init_pos);
1940 && PRIVATE (a_this)
1989 cr_tknzr_set_cur_pos (PRIVATE (a_this)->tknzr, &init_pos);
2037 status = cr_tknzr_peek_char (PRIVATE (a_this)->tknzr,
2052 status = cr_tknzr_peek_char (PRIVATE (a_this)->tknzr,
2110 cr_tknzr_set_cur_pos (PRIVATE (a_this)->tknzr, &init_pos);
2138 g_return_val_if_fail (a_this && PRIVATE (a_this)
2144 status = cr_tknzr_get_next_token (PRIVATE (a_this)->tknzr, &token);
2164 status = cr_tknzr_get_next_token (PRIVATE (a_this)->tknzr, &token);
2198 cr_tknzr_set_cur_pos (PRIVATE (a_this)->tknzr, &init_pos);
2220 g_return_val_if_fail (a_this && PRIVATE (a_this)
2221 && PRIVATE (a_this)->tknzr, CR_BAD_PARAM_ERROR);
2223 status = cr_tknzr_parse_token (PRIVATE (a_this)->tknzr,
2250 g_return_val_if_fail (a_this && PRIVATE (a_this)
2251 && PRIVATE (a_this)->tknzr
2254 status = cr_tknzr_parse_token (PRIVATE (a_this)->tknzr,
2278 g_return_val_if_fail (a_this && PRIVATE (a_this)
2279 && PRIVATE (a_this)->tknzr
2282 status = cr_tknzr_parse_token (PRIVATE (a_this)->tknzr,
2313 g_return_val_if_fail (a_this && PRIVATE (a_this)
2314 && PRIVATE (a_this)->tknzr, CR_BAD_PARAM_ERROR);
2318 PRIVATE (a_this)->state = READY_STATE;
2320 if (PRIVATE (a_this)->sac_handler
2321 && PRIVATE (a_this)->sac_handler->start_document) {
2322 PRIVATE (a_this)->sac_handler->start_document
2323 (PRIVATE (a_this)->sac_handler);
2327 status = cr_tknzr_get_next_token (PRIVATE (a_this)->tknzr, &token);
2335 status = cr_tknzr_unget_token (PRIVATE (a_this)->tknzr,
2345 if (PRIVATE (a_this)->sac_handler
2346 && PRIVATE (a_this)->sac_handler->charset) {
2347 PRIVATE (a_this)->sac_handler->charset
2348 (PRIVATE (a_this)->sac_handler,
2363 status = cr_tknzr_unget_token (PRIVATE (a_this)->tknzr,
2371 status = cr_tknzr_unget_token (PRIVATE (a_this)->tknzr,
2385 (PRIVATE (a_this)->tknzr, &token);
2395 status = cr_tknzr_unget_token (PRIVATE (a_this)->tknzr,
2402 (PRIVATE (a_this)->tknzr, &token);
2413 (PRIVATE (a_this)->tknzr, token);
2423 && PRIVATE (a_this)->sac_handler
2424 && PRIVATE (a_this)->sac_handler->import_style) {
2425 PRIVATE (a_this)->sac_handler->import_style
2426 (PRIVATE(a_this)->sac_handler,
2431 if (PRIVATE (a_this)->sac_handler->resolve_import == TRUE) {
2438 if (PRIVATE (a_this)->sac_handler->import_style_result) {
2439 PRIVATE (a_this)->sac_handler->import_style_result
2440 (PRIVATE (a_this)->sac_handler,
2446 if (PRIVATE (a_this)->sac_handler
2447 && PRIVATE (a_this)->sac_handler->error) {
2448 PRIVATE (a_this)->sac_handler->error
2449 (PRIVATE (a_this)->sac_handler);
2487 (PRIVATE (a_this)->tknzr, token);
2497 (PRIVATE (a_this)->tknzr, &token);
2509 (PRIVATE (a_this)->tknzr, token);
2522 (PRIVATE (a_this)->tknzr, &token);
2531 (PRIVATE (a_this)->tknzr, token);
2543 (PRIVATE (a_this)->tknzr, &token);
2551 (PRIVATE (a_this)->tknzr, token);
2570 (PRIVATE (a_this)->tknzr, token);
2579 if (PRIVATE (a_this)->sac_handler
2580 && PRIVATE (a_this)->sac_handler->error) {
2581 PRIVATE (a_this)->sac_handler->
2583 (PRIVATE (a_this)->
2598 (PRIVATE (a_this)->tknzr, token);
2606 if (PRIVATE (a_this)->sac_handler
2607 && PRIVATE (a_this)->sac_handler->error) {
2608 PRIVATE (a_this)->sac_handler->
2610 (PRIVATE (a_this)->
2625 (PRIVATE (a_this)->tknzr, token);
2633 if (PRIVATE (a_this)->sac_handler
2634 && PRIVATE (a_this)->sac_handler->error) {
2635 PRIVATE (a_this)->sac_handler->
2637 (PRIVATE (a_this)->
2651 (PRIVATE (a_this)->tknzr, token);
2659 if (PRIVATE (a_this)->sac_handler
2660 && PRIVATE (a_this)->sac_handler->error) {
2661 PRIVATE (a_this)->sac_handler->
2663 (PRIVATE (a_this)->
2677 (PRIVATE (a_this)->tknzr, token);
2698 if (PRIVATE (a_this)->sac_handler
2699 && PRIVATE (a_this)->sac_handler->end_document) {
2700 PRIVATE (a_this)->sac_handler->end_document
2701 (PRIVATE (a_this)->sac_handler);
2710 if (PRIVATE (a_this)->sac_handler
2711 && PRIVATE (a_this)->sac_handler->unrecoverable_error) {
2712 PRIVATE (a_this)->sac_handler->
2713 unrecoverable_error (PRIVATE (a_this)->sac_handler);
2727 if (PRIVATE (a_this)->sac_handler
2728 && PRIVATE (a_this)->sac_handler->unrecoverable_error) {
2729 PRIVATE (a_this)->sac_handler->
2730 unrecoverable_error (PRIVATE (a_this)->sac_handler);
2733 cr_tknzr_set_cur_pos (PRIVATE (a_this)->tknzr, &init_pos);
2760 PRIVATE (result) = g_malloc0 (sizeof (CRParserPriv));
2869 if (PRIVATE (a_this)->sac_handler) {
2870 cr_doc_handler_unref (PRIVATE (a_this)->sac_handler);
2873 PRIVATE (a_this)->sac_handler = a_handler;
2895 *a_handler = PRIVATE (a_this)->sac_handler;
2915 g_return_val_if_fail (a_this && PRIVATE (a_this), CR_BAD_PARAM_ERROR);
2942 g_return_val_if_fail (a_this && PRIVATE (a_this), CR_BAD_PARAM_ERROR);
2944 PRIVATE (a_this)->use_core_grammar = a_use_core_grammar;
2960 g_return_val_if_fail (a_this && PRIVATE (a_this), CR_BAD_PARAM_ERROR);
2962 *a_use_core_grammar = PRIVATE (a_this)->use_core_grammar;
2985 g_return_val_if_fail (a_this && PRIVATE (a_this)
3022 g_return_val_if_fail (a_this && PRIVATE (a_this)
3034 status = cr_tknzr_peek_byte (PRIVATE (a_this)->tknzr,
3101 cr_tknzr_set_cur_pos (PRIVATE (a_this)->tknzr, &init_pos);
3126 g_return_val_if_fail (a_this && PRIVATE (a_this)
3132 status = cr_tknzr_get_next_token (PRIVATE (a_this)->tknzr, &token);
3150 cr_tknzr_set_cur_pos (PRIVATE (a_this)->tknzr, &init_pos);
3181 g_return_val_if_fail (a_this && PRIVATE (a_this)
3249 cr_tknzr_set_cur_pos (PRIVATE (a_this)->tknzr, &init_pos);
3271 g_return_val_if_fail (a_this && PRIVATE (a_this), CR_BAD_PARAM_ERROR);
3275 status = cr_tknzr_get_next_token (PRIVATE (a_this)->tknzr, &token);
3286 cr_tknzr_unget_token (PRIVATE (a_this)->tknzr, token);
3293 cr_tknzr_unget_token (PRIVATE (a_this)->tknzr, token);
3308 cr_tknzr_set_cur_pos (PRIVATE (a_this)->tknzr, &init_pos);
3357 if (PRIVATE (a_this)->sac_handler
3358 && PRIVATE (a_this)->sac_handler->start_selector) {
3367 PRIVATE (a_this)->sac_handler->start_selector
3368 (PRIVATE (a_this)->sac_handler, selector);
3374 PRIVATE (a_this)->state = TRY_PARSE_RULESET_STATE;
3383 && PRIVATE (a_this)->sac_handler
3384 && PRIVATE (a_this)->sac_handler->property) {
3385 PRIVATE (a_this)->sac_handler->property
3386 (PRIVATE (a_this)->sac_handler, property, expr,
3410 status = cr_tknzr_peek_char (PRIVATE (a_this)->tknzr, &c) ;
3438 && PRIVATE (a_this)->sac_handler
3439 && PRIVATE (a_this)->sac_handler->property) {
3440 PRIVATE (a_this)->sac_handler->property
3441 (PRIVATE (a_this)->sac_handler,
3464 if (PRIVATE (a_this)->sac_handler
3465 && PRIVATE (a_this)->sac_handler->end_selector) {
3466 PRIVATE (a_this)->sac_handler->end_selector
3467 (PRIVATE (a_this)->sac_handler, selector);
3487 PRIVATE (a_this)->state = RULESET_PARSED_STATE;
3493 && PRIVATE (a_this)->sac_handler
3494 && PRIVATE (a_this)->sac_handler->error) {
3495 PRIVATE (a_this)->sac_handler->error
3496 (PRIVATE (a_this)->sac_handler);
3514 cr_tknzr_set_cur_pos (PRIVATE (a_this)->tknzr, &init_pos);
3584 PRIVATE (a_this)->state = TRY_PARSE_IMPORT_STATE;
3610 if ((status = cr_tknzr_peek_char (PRIVATE (a_this)->tknzr,
3646 PRIVATE (a_this)->state = IMPORT_PARSED_STATE;
3685 cr_tknzr_set_cur_pos (PRIVATE (a_this)->tknzr, &init_pos);
3718 && PRIVATE (a_this),
3723 status = cr_tknzr_get_next_token (PRIVATE (a_this)->tknzr,
3734 status = cr_tknzr_get_next_token (PRIVATE (a_this)->tknzr, &token);
3777 if (PRIVATE (a_this)->sac_handler
3778 && PRIVATE (a_this)->sac_handler->start_media) {
3779 PRIVATE (a_this)->sac_handler->start_media
3780 (PRIVATE (a_this)->sac_handler, media_list,
3786 PRIVATE (a_this)->state = TRY_PARSE_MEDIA_STATE;
3800 if (PRIVATE (a_this)->sac_handler
3801 && PRIVATE (a_this)->sac_handler->end_media) {
3802 PRIVATE (a_this)->sac_handler->end_media
3803 (PRIVATE (a_this)->sac_handler, media_list);
3829 PRIVATE (a_this)->state = MEDIA_PARSED_STATE;
3856 cr_tknzr_set_cur_pos (PRIVATE (a_this)->tknzr, &init_pos);
3892 status = cr_tknzr_get_next_token (PRIVATE (a_this)->tknzr,
3904 status = cr_tknzr_get_next_token (PRIVATE (a_this)->tknzr, &token);
3913 cr_tknzr_unget_token (PRIVATE (a_this)->tknzr, token);
3921 status = cr_tknzr_get_next_token (PRIVATE (a_this)->tknzr, &token);
3930 cr_tknzr_unget_token (PRIVATE (a_this)->tknzr, token);
3940 status = cr_tknzr_get_next_token (PRIVATE (a_this)->tknzr, &token);
3951 if (PRIVATE (a_this)->sac_handler
3952 && PRIVATE (a_this)->sac_handler->start_page) {
3953 PRIVATE (a_this)->sac_handler->start_page
3954 (PRIVATE (a_this)->sac_handler,
3960 PRIVATE (a_this)->state = TRY_PARSE_PAGE_STATE;
3970 if (PRIVATE (a_this)->sac_handler
3971 && PRIVATE (a_this)->sac_handler->property) {
3975 PRIVATE (a_this)->sac_handler->property
3976 (PRIVATE (a_this)->sac_handler,
3999 (PRIVATE (a_this)->tknzr, &token);
4005 (PRIVATE (a_this)->tknzr,
4024 if (PRIVATE (a_this)->sac_handler
4025 && PRIVATE (a_this)->sac_handler->property) {
4027 PRIVATE (a_this)->sac_handler->property
4028 (PRIVATE (a_this)->sac_handler,
4052 (PRIVATE (a_this)->tknzr, &token);
4061 if (PRIVATE (a_this)->sac_handler
4062 && PRIVATE (a_this)->sac_handler->end_page) {
4063 PRIVATE (a_this)->sac_handler->end_page
4064 (PRIVATE (a_this)->sac_handler,
4083 PRIVATE (a_this)->state = PAGE_PARSED_STATE;
4108 cr_tknzr_set_cur_pos (PRIVATE (a_this)->tknzr, &init_pos);
4141 status = cr_tknzr_get_next_token (PRIVATE (a_this)->tknzr, &token);
4152 PRIVATE (a_this)->state = TRY_PARSE_CHARSET_STATE;
4156 status = cr_tknzr_get_next_token (PRIVATE (a_this)->tknzr, &token);
4166 status = cr_tknzr_get_next_token (PRIVATE (a_this)->tknzr, &token);
4178 PRIVATE (a_this)->state = CHARSET_PARSED_STATE;
4198 cr_tknzr_set_cur_pos (PRIVATE (a_this)->tknzr, &init_pos);
4234 status = cr_tknzr_get_next_token (PRIVATE (a_this)->tknzr, &token);
4246 status = cr_tknzr_get_next_token (PRIVATE (a_this)->tknzr,
4257 if (PRIVATE (a_this)->sac_handler
4258 && PRIVATE (a_this)->sac_handler->start_font_face) {
4259 PRIVATE (a_this)->sac_handler->start_font_face
4260 (PRIVATE (a_this)->sac_handler, &location);
4262 PRIVATE (a_this)->state = TRY_PARSE_FONT_FACE_STATE;
4274 if (PRIVATE (a_this)->sac_handler &&
4275 PRIVATE (a_this)->sac_handler->property) {
4276 PRIVATE (a_this)->sac_handler->property
4277 (PRIVATE (a_this)->sac_handler,
4309 if (PRIVATE (a_this)->sac_handler->property) {
4310 PRIVATE (a_this)->sac_handler->property
4311 (PRIVATE (a_this)->sac_handler,
4333 if (PRIVATE (a_this)->sac_handler->end_font_face) {
4334 PRIVATE (a_this)->sac_handler->end_font_face
4335 (PRIVATE (a_this)->sac_handler);
4344 PRIVATE (a_this)->state = FONT_FACE_PARSED_STATE;
4360 cr_tknzr_set_cur_pos (PRIVATE (a_this)->tknzr, &init_pos);
4379 g_return_val_if_fail (a_this && PRIVATE (a_this)
4380 && PRIVATE (a_this)->tknzr, CR_BAD_PARAM_ERROR);
4382 if (PRIVATE (a_this)->use_core_grammar == FALSE) {
4401 g_return_val_if_fail (a_this && PRIVATE (a_this), CR_BAD_PARAM_ERROR);
4403 if (PRIVATE (a_this)->tknzr) {
4404 cr_tknzr_unref (PRIVATE (a_this)->tknzr);
4407 PRIVATE (a_this)->tknzr = a_tknzr;
4428 g_return_val_if_fail (a_this && PRIVATE (a_this)
4431 *a_tknzr = PRIVATE (a_this)->tknzr;
4450 && PRIVATE (a_this)
4454 (PRIVATE (a_this)->tknzr, a_loc) ;
4476 g_return_val_if_fail (a_this && PRIVATE (a_this)
4502 g_return_if_fail (a_this && PRIVATE (a_this));
4504 if (PRIVATE (a_this)->tknzr) {
4505 if (cr_tknzr_unref (PRIVATE (a_this)->tknzr) == TRUE)
4506 PRIVATE (a_this)->tknzr = NULL;
4509 if (PRIVATE (a_this)->sac_handler) {
4510 cr_doc_handler_unref (PRIVATE (a_this)->sac_handler);
4511 PRIVATE (a_this)->sac_handler = NULL;
4514 if (PRIVATE (a_this)->err_stack) {
4516 PRIVATE (a_this)->err_stack = NULL;
4519 if (PRIVATE (a_this)) {
4520 g_free (PRIVATE (a_this));
4521 PRIVATE (a_this) = NULL;