• 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_this

214 static enum CRStatus  cr_tknzr_parse_nl (CRTknzr * a_this, 
219 static enum CRStatus cr_tknzr_parse_w (CRTknzr * a_this,
224 static enum CRStatus cr_tknzr_parse_unicode_escape (CRTknzr * a_this,
228 static enum CRStatus cr_tknzr_parse_escape (CRTknzr * a_this,
232 static enum CRStatus cr_tknzr_parse_string (CRTknzr * a_this,
235 static enum CRStatus cr_tknzr_parse_comment (CRTknzr * a_this,
238 static enum CRStatus cr_tknzr_parse_nmstart (CRTknzr * a_this,
242 static enum CRStatus cr_tknzr_parse_num (CRTknzr * a_this,
253 *@param a_this the current instance of #CRTknzr.
262 cr_tknzr_parse_w (CRTknzr * a_this,
271 g_return_val_if_fail (a_this && PRIVATE (a_this)
272 && PRIVATE (a_this)->input
276 RECORD_INITIAL_POS (a_this, &init_pos);
281 READ_NEXT_CHAR (a_this, &cur_char);
288 cr_tknzr_get_parsing_location (a_this,
291 RECORD_CUR_BYTE_ADDR (a_this, a_start);
297 cr_input_get_end_of_file (PRIVATE (a_this)->input, &is_eof);
301 status = cr_tknzr_peek_char (a_this, &cur_char);
310 READ_NEXT_CHAR (a_this, &cur_char);
311 RECORD_CUR_BYTE_ADDR (a_this, a_end);
320 cr_tknzr_set_cur_pos (a_this, &init_pos);
329 *@param a_this the "this pointer" of the current instance of #CRTknzr.
337 cr_tknzr_parse_nl (CRTknzr * a_this,
346 g_return_val_if_fail (a_this && PRIVATE (a_this)
349 RECORD_INITIAL_POS (a_this, &init_pos);
351 PEEK_BYTE (a_this, 1, &next_chars[0]);
352 PEEK_BYTE (a_this, 2, &next_chars[1]);
355 SKIP_BYTES (a_this, 1);
358 (a_this, a_location) ;
360 SKIP_CHARS (a_this, 1);
362 RECORD_CUR_BYTE_ADDR (a_this, a_end);
367 SKIP_CHARS (a_this, 1);
370 (a_this, a_location) ;
372 RECORD_CUR_BYTE_ADDR (a_this, a_start);
382 cr_tknzr_set_cur_pos (a_this, &init_pos) ;
391 *@param a_this the current instance of #CRTknzr.
395 cr_tknzr_try_to_skip_spaces (CRTknzr * a_this)
400 g_return_val_if_fail (a_this && PRIVATE (a_this)
401 && PRIVATE (a_this)->input, CR_BAD_PARAM_ERROR);
403 status = cr_input_peek_char (PRIVATE (a_this)->input, &cur_char);
415 (PRIVATE (a_this)->input, &nb_chars);
431 cr_tknzr_parse_comment (CRTknzr * a_this,
440 g_return_val_if_fail (a_this && PRIVATE (a_this)
441 && PRIVATE (a_this)->input,
444 RECORD_INITIAL_POS (a_this, &init_pos);
445 READ_NEXT_CHAR (a_this, &cur_char) ;
447 cr_tknzr_get_parsing_location (a_this, &loc) ;
449 READ_NEXT_CHAR (a_this, &cur_char);
453 READ_NEXT_CHAR (a_this, &cur_char);
457 READ_NEXT_CHAR (a_this, &cur_char);
467 PEEK_NEXT_CHAR (a_this, &next_char);
474 SKIP_CHARS (a_this, 1) ;
498 cr_tknzr_set_cur_pos (a_this, &init_pos);
507 *@param a_this the current instance of #CRTknzr.
520 cr_tknzr_parse_unicode_escape (CRTknzr * a_this,
532 g_return_val_if_fail (a_this && PRIVATE (a_this)
536 RECORD_INITIAL_POS (a_this, &init_pos);
538 READ_NEXT_CHAR (a_this, &cur_char);
546 (a_this, a_location) ;
548 PEEK_NEXT_CHAR (a_this, &cur_char);
556 READ_NEXT_CHAR (a_this, &cur_char);
568 PEEK_NEXT_CHAR (a_this, &cur_char);
581 cr_tknzr_parse_w (a_this, &tmp_char_ptr1,
591 status = cr_tknzr_parse_w (a_this, &tmp_char_ptr1,
605 cr_tknzr_set_cur_pos (a_this, &init_pos);
613 *@param a_this the current instance of #CRTknzr .
616 cr_tknzr_parse_escape (CRTknzr * a_this, guint32 * a_esc_code,
624 g_return_val_if_fail (a_this && PRIVATE (a_this)
627 RECORD_INITIAL_POS (a_this, &init_pos);
629 PEEK_BYTE (a_this, 1, &next_chars[0]);
630 PEEK_BYTE (a_this, 2, &next_chars[1]);
640 status = cr_tknzr_parse_unicode_escape (a_this, a_esc_code,
644 READ_NEXT_CHAR (a_this, &cur_char);
646 cr_tknzr_get_parsing_location (a_this,
650 READ_NEXT_CHAR (a_this, &cur_char);
663 cr_tknzr_set_cur_pos (a_this, &init_pos);
674 *@param a_this the current instance of #CRTknzr.
683 cr_tknzr_parse_string (CRTknzr * a_this, CRString ** a_str)
691 g_return_val_if_fail (a_this && PRIVATE (a_this)
692 && PRIVATE (a_this)->input
695 RECORD_INITIAL_POS (a_this, &init_pos);
696 READ_NEXT_CHAR (a_this, &cur_char);
709 (a_this, &str->location) ;
714 PEEK_BYTE (a_this, 1, &next_chars[0]);
715 PEEK_BYTE (a_this, 2, &next_chars[1]);
725 SKIP_BYTES (a_this, 2);
729 (a_this, &esc_code, NULL);
743 READ_NEXT_CHAR (a_this, &cur_char);
746 (a_this, &tmp_char_ptr1,
753 READ_NEXT_CHAR (a_this, &cur_char);
760 READ_NEXT_CHAR (a_this, &cur_char);
763 READ_NEXT_CHAR (a_this, &cur_char);
791 cr_tknzr_set_cur_pos (a_this, &init_pos);
799 *@param a_this the current instance of #CRTknzr.
809 cr_tknzr_parse_nmstart (CRTknzr * a_this,
818 g_return_val_if_fail (a_this && PRIVATE (a_this)
819 && PRIVATE (a_this)->input
822 RECORD_INITIAL_POS (a_this, &init_pos);
824 PEEK_NEXT_CHAR (a_this, &next_char);
827 status = cr_tknzr_parse_escape (a_this, a_char,
837 READ_NEXT_CHAR (a_this, &cur_char);
839 cr_tknzr_get_parsing_location (a_this,
852 cr_tknzr_set_cur_pos (a_this, &init_pos);
866 *@param a_this the current instance of #CRTknzr.
876 cr_tknzr_parse_nmchar (CRTknzr * a_this, guint32 * a_char,
884 g_return_val_if_fail (a_this && PRIVATE (a_this) && a_char,
887 RECORD_INITIAL_POS (a_this, &init_pos);
889 status = cr_input_peek_char (PRIVATE (a_this)->input,
895 status = cr_tknzr_parse_escape (a_this, a_char,
908 READ_NEXT_CHAR (a_this, &cur_char);
913 (a_this, a_location) ;
922 cr_tknzr_set_cur_pos (a_this, &init_pos);
932 *@param a_this the currens instance of #CRTknzr.
943 cr_tknzr_parse_ident (CRTknzr * a_this, CRString ** a_str)
951 g_return_val_if_fail (a_this && PRIVATE (a_this)
952 && PRIVATE (a_this)->input
955 RECORD_INITIAL_POS (a_this, &init_pos);
956 PEEK_NEXT_CHAR (a_this, &tmp_char) ;
962 READ_NEXT_CHAR (a_this, &tmp_char) ;
964 (a_this, &stringue->location) ;
969 status = cr_tknzr_parse_nmstart (a_this, &tmp_char, NULL);
976 (a_this, &stringue->location) ;
981 status = cr_tknzr_parse_nmchar (a_this,
1010 cr_tknzr_set_cur_pos (a_this, &init_pos) ;
1020 *@param a_this the current instance of #CRTknzr.
1030 cr_tknzr_parse_name (CRTknzr * a_this,
1041 g_return_val_if_fail (a_this && PRIVATE (a_this)
1042 && PRIVATE (a_this)->input
1046 RECORD_INITIAL_POS (a_this, &init_pos);
1055 (a_this, &tmp_char,
1060 (a_this, &tmp_char, NULL) ;
1076 cr_tknzr_set_cur_pos (a_this, &init_pos);
1085 cr_tknzr_parse_hash (CRTknzr * a_this, CRString ** a_str)
1093 g_return_val_if_fail (a_this && PRIVATE (a_this)
1094 && PRIVATE (a_this)->input,
1097 RECORD_INITIAL_POS (a_this, &init_pos);
1098 READ_NEXT_CHAR (a_this, &cur_char);
1107 cr_tknzr_get_parsing_location (a_this,
1109 status = cr_tknzr_parse_name (a_this, a_str);
1122 cr_tknzr_set_cur_pos (a_this, &init_pos);
1131 *@param a_this the current instance of #CRTknzr.
1136 cr_tknzr_parse_uri (CRTknzr * a_this,
1146 g_return_val_if_fail (a_this
1147 && PRIVATE (a_this)
1148 && PRIVATE (a_this)->input
1152 RECORD_INITIAL_POS (a_this, &init_pos);
1154 PEEK_BYTE (a_this, 1, &tab[0]);
1155 PEEK_BYTE (a_this, 2, &tab[1]);
1156 PEEK_BYTE (a_this, 3, &tab[2]);
1157 PEEK_BYTE (a_this, 4, &tab[3]);
1169 SKIP_CHARS (a_this, 1);
1170 cr_tknzr_get_parsing_location (a_this, &location) ;
1171 SKIP_CHARS (a_this, 3);
1172 cr_tknzr_try_to_skip_spaces (a_this);
1173 status = cr_tknzr_parse_string (a_this, a_str);
1177 status = cr_tknzr_parse_w (a_this, &tmp_ptr1,
1179 cr_tknzr_try_to_skip_spaces (a_this);
1180 PEEK_NEXT_CHAR (a_this, &next_char);
1182 READ_NEXT_CHAR (a_this, &cur_char);
1192 PEEK_NEXT_CHAR (a_this, &next_char);
1196 READ_NEXT_CHAR (a_this, &cur_char);
1203 (a_this, &esc_code, NULL);
1214 cr_tknzr_try_to_skip_spaces (a_this);
1215 READ_NEXT_CHAR (a_this, &cur_char);
1245 cr_tknzr_set_cur_pos (a_this, &init_pos);
1253 *@param a_this the "this pointer" of the current instance of
1258 cr_tknzr_parse_rgb (CRTknzr * a_this, CRRgb ** a_rgb)
1271 g_return_val_if_fail (a_this && PRIVATE (a_this), CR_BAD_PARAM_ERROR);
1273 RECORD_INITIAL_POS (a_this, &init_pos);
1275 PEEK_BYTE (a_this, 1, &next_bytes[0]);
1276 PEEK_BYTE (a_this, 2, &next_bytes[1]);
1277 PEEK_BYTE (a_this, 3, &next_bytes[2]);
1282 SKIP_CHARS (a_this, 1);
1283 cr_tknzr_get_parsing_location (a_this, &location) ;
1284 SKIP_CHARS (a_this, 2);
1289 READ_NEXT_BYTE (a_this, &cur_byte);
1292 cr_tknzr_try_to_skip_spaces (a_this);
1293 status = cr_tknzr_parse_num (a_this, &num);
1300 PEEK_BYTE (a_this, 1, &next_bytes[0]);
1302 SKIP_CHARS (a_this, 1);
1305 cr_tknzr_try_to_skip_spaces (a_this);
1308 READ_NEXT_BYTE (a_this, &cur_byte);
1311 cr_tknzr_try_to_skip_spaces (a_this);
1312 status = cr_tknzr_parse_num (a_this, &num);
1315 PEEK_BYTE (a_this, 1, &next_bytes[0]);
1317 SKIP_CHARS (a_this, 1);
1331 cr_tknzr_try_to_skip_spaces (a_this);
1334 READ_NEXT_BYTE (a_this, &cur_byte);
1368 cr_tknzr_set_cur_pos (a_this, &init_pos);
1376 *@param a_this the "this pointer" of the current instance of
1388 cr_tknzr_parse_atkeyword (CRTknzr * a_this,
1396 g_return_val_if_fail (a_this && PRIVATE (a_this)
1397 && PRIVATE (a_this)->input
1400 RECORD_INITIAL_POS (a_this, &init_pos);
1402 READ_NEXT_CHAR (a_this, &cur_char);
1413 status = cr_tknzr_parse_ident (a_this, a_str);
1424 cr_tknzr_set_cur_pos (a_this, &init_pos);
1429 cr_tknzr_parse_important (CRTknzr * a_this,
1436 g_return_val_if_fail (a_this && PRIVATE (a_this)
1437 && PRIVATE (a_this)->input,
1440 RECORD_INITIAL_POS (a_this, &init_pos);
1441 READ_NEXT_CHAR (a_this, &cur_char);
1444 cr_tknzr_get_parsing_location (a_this,
1447 cr_tknzr_try_to_skip_spaces (a_this);
1449 if (BYTE (PRIVATE (a_this)->input, 1, NULL) == 'i'
1450 && BYTE (PRIVATE (a_this)->input, 2, NULL) == 'm'
1451 && BYTE (PRIVATE (a_this)->input, 3, NULL) == 'p'
1452 && BYTE (PRIVATE (a_this)->input, 4, NULL) == 'o'
1453 && BYTE (PRIVATE (a_this)->input, 5, NULL) == 'r'
1454 && BYTE (PRIVATE (a_this)->input, 6, NULL) == 't'
1455 && BYTE (PRIVATE (a_this)->input, 7, NULL) == 'a'
1456 && BYTE (PRIVATE (a_this)->input, 8, NULL) == 'n'
1457 && BYTE (PRIVATE (a_this)->input, 9, NULL) == 't') {
1458 SKIP_BYTES (a_this, 9);
1460 cr_tknzr_get_parsing_location (a_this,
1469 cr_tknzr_set_cur_pos (a_this, &init_pos);
1477 *@param a_this the current instance of #CRTknzr.
1483 cr_tknzr_parse_num (CRTknzr * a_this,
1498 g_return_val_if_fail (a_this && PRIVATE (a_this)
1499 && PRIVATE (a_this)->input,
1502 RECORD_INITIAL_POS (a_this, &init_pos);
1503 READ_NEXT_CHAR (a_this, &cur_char);
1514 cr_tknzr_get_parsing_location (a_this, &location) ;
1517 status = cr_tknzr_peek_char (a_this, &next_char);
1529 READ_NEXT_CHAR (a_this, &cur_char);
1533 READ_NEXT_CHAR (a_this, &cur_char);
1577 cr_tknzr_set_cur_pos (a_this, &init_pos);
1652 cr_tknzr_ref (CRTknzr * a_this)
1654 g_return_if_fail (a_this && PRIVATE (a_this));
1656 PRIVATE (a_this)->ref_count++;
1660 cr_tknzr_unref (CRTknzr * a_this)
1662 g_return_val_if_fail (a_this && PRIVATE (a_this), FALSE);
1664 if (PRIVATE (a_this)->ref_count > 0) {
1665 PRIVATE (a_this)->ref_count--;
1668 if (PRIVATE (a_this)->ref_count == 0) {
1669 cr_tknzr_destroy (a_this);
1677 cr_tknzr_set_input (CRTknzr * a_this, CRInput * a_input)
1679 g_return_val_if_fail (a_this && PRIVATE (a_this), CR_BAD_PARAM_ERROR);
1681 if (PRIVATE (a_this)->input) {
1682 cr_input_unref (PRIVATE (a_this)->input);
1685 PRIVATE (a_this)->input = a_input;
1687 cr_input_ref (PRIVATE (a_this)->input);
1693 cr_tknzr_get_input (CRTknzr * a_this, CRInput ** a_input)
1695 g_return_val_if_fail (a_this && PRIVATE (a_this), CR_BAD_PARAM_ERROR);
1697 *a_input = PRIVATE (a_this)->input;
1708 *@param a_this the "this pointer" of the current instance of
1716 cr_tknzr_read_byte (CRTknzr * a_this, guchar * a_byte)
1718 g_return_val_if_fail (a_this && PRIVATE (a_this), CR_BAD_PARAM_ERROR);
1720 return cr_input_read_byte (PRIVATE (a_this)->input, a_byte);
1726 *@param a_this the current instance of #CRTknzr.
1732 cr_tknzr_read_char (CRTknzr * a_this, guint32 * a_char)
1734 g_return_val_if_fail (a_this && PRIVATE (a_this)
1735 && PRIVATE (a_this)->input
1738 if (PRIVATE (a_this)->token_cache) {
1739 cr_input_set_cur_pos (PRIVATE (a_this)->input,
1740 &PRIVATE (a_this)->prev_pos);
1741 cr_token_destroy (PRIVATE (a_this)->token_cache);
1742 PRIVATE (a_this)->token_cache = NULL;
1745 return cr_input_read_char (PRIVATE (a_this)->input, a_char);
1752 *@param a_this the current instance of #CRTknzr.
1757 cr_tknzr_peek_char (CRTknzr * a_this, guint32 * a_char)
1759 g_return_val_if_fail (a_this && PRIVATE (a_this)
1760 && PRIVATE (a_this)->input
1763 if (PRIVATE (a_this)->token_cache) {
1764 cr_input_set_cur_pos (PRIVATE (a_this)->input,
1765 &PRIVATE (a_this)->prev_pos);
1766 cr_token_destroy (PRIVATE (a_this)->token_cache);
1767 PRIVATE (a_this)->token_cache = NULL;
1770 return cr_input_peek_char (PRIVATE (a_this)->input, a_char);
1775 *@param a_this the current instance of #CRTknzr.
1783 cr_tknzr_peek_byte (CRTknzr * a_this, gulong a_offset, guchar * a_byte)
1785 g_return_val_if_fail (a_this && PRIVATE (a_this)
1786 && PRIVATE (a_this)->input && a_byte,
1789 if (PRIVATE (a_this)->token_cache) {
1790 cr_input_set_cur_pos (PRIVATE (a_this)->input,
1791 &PRIVATE (a_this)->prev_pos);
1792 cr_token_destroy (PRIVATE (a_this)->token_cache);
1793 PRIVATE (a_this)->token_cache = NULL;
1796 return cr_input_peek_byte (PRIVATE (a_this)->input,
1802 *@param a_this the current instance of #CRTknzr.
1811 cr_tknzr_peek_byte2 (CRTknzr * a_this, gulong a_offset, gboolean * a_eof)
1813 g_return_val_if_fail (a_this && PRIVATE (a_this)
1814 && PRIVATE (a_this)->input, 0);
1816 return cr_input_peek_byte2 (PRIVATE (a_this)->input, a_offset, a_eof);
1822 *@param a_this the current instance of #CRTknzr
1826 cr_tknzr_get_nb_bytes_left (CRTknzr * a_this)
1828 g_return_val_if_fail (a_this && PRIVATE (a_this)
1829 && PRIVATE (a_this)->input, CR_BAD_PARAM_ERROR);
1831 if (PRIVATE (a_this)->token_cache) {
1832 cr_input_set_cur_pos (PRIVATE (a_this)->input,
1833 &PRIVATE (a_this)->prev_pos);
1834 cr_token_destroy (PRIVATE (a_this)->token_cache);
1835 PRIVATE (a_this)->token_cache = NULL;
1838 return cr_input_get_nb_bytes_left (PRIVATE (a_this)->input);
1842 cr_tknzr_get_cur_pos (CRTknzr * a_this, CRInputPos * a_pos)
1844 g_return_val_if_fail (a_this && PRIVATE (a_this)
1845 && PRIVATE (a_this)->input
1848 if (PRIVATE (a_this)->token_cache) {
1849 cr_input_set_cur_pos (PRIVATE (a_this)->input,
1850 &PRIVATE (a_this)->prev_pos);
1851 cr_token_destroy (PRIVATE (a_this)->token_cache);
1852 PRIVATE (a_this)->token_cache = NULL;
1855 return cr_input_get_cur_pos (PRIVATE (a_this)->input, a_pos);
1859 cr_tknzr_get_parsing_location (CRTknzr *a_this,
1862 g_return_val_if_fail (a_this
1863 && PRIVATE (a_this)
1868 (PRIVATE (a_this)->input, a_loc) ;
1872 cr_tknzr_get_cur_byte_addr (CRTknzr * a_this, guchar ** a_addr)
1874 g_return_val_if_fail (a_this && PRIVATE (a_this)
1875 && PRIVATE (a_this)->input, CR_BAD_PARAM_ERROR);
1876 if (PRIVATE (a_this)->token_cache) {
1877 cr_input_set_cur_pos (PRIVATE (a_this)->input,
1878 &PRIVATE (a_this)->prev_pos);
1879 cr_token_destroy (PRIVATE (a_this)->token_cache);
1880 PRIVATE (a_this)->token_cache = NULL;
1883 return cr_input_get_cur_byte_addr (PRIVATE (a_this)->input, a_addr);
1887 cr_tknzr_seek_index (CRTknzr * a_this, enum CRSeekPos a_origin, gint a_pos)
1889 g_return_val_if_fail (a_this && PRIVATE (a_this)
1890 && PRIVATE (a_this)->input, CR_BAD_PARAM_ERROR);
1892 if (PRIVATE (a_this)->token_cache) {
1893 cr_input_set_cur_pos (PRIVATE (a_this)->input,
1894 &PRIVATE (a_this)->prev_pos);
1895 cr_token_destroy (PRIVATE (a_this)->token_cache);
1896 PRIVATE (a_this)->token_cache = NULL;
1899 return cr_input_seek_index (PRIVATE (a_this)->input, a_origin, a_pos);
1903 cr_tknzr_consume_chars (CRTknzr * a_this, guint32 a_char, glong * a_nb_char)
1905 g_return_val_if_fail (a_this && PRIVATE (a_this)
1906 && PRIVATE (a_this)->input, CR_BAD_PARAM_ERROR);
1908 if (PRIVATE (a_this)->token_cache) {
1909 cr_input_set_cur_pos (PRIVATE (a_this)->input,
1910 &PRIVATE (a_this)->prev_pos);
1911 cr_token_destroy (PRIVATE (a_this)->token_cache);
1912 PRIVATE (a_this)->token_cache = NULL;
1915 return cr_input_consume_chars (PRIVATE (a_this)->input,
1920 cr_tknzr_set_cur_pos (CRTknzr * a_this, CRInputPos * a_pos)
1922 g_return_val_if_fail (a_this && PRIVATE (a_this)
1923 && PRIVATE (a_this)->input, CR_BAD_PARAM_ERROR);
1925 if (PRIVATE (a_this)->token_cache) {
1926 cr_token_destroy (PRIVATE (a_this)->token_cache);
1927 PRIVATE (a_this)->token_cache = NULL;
1930 return cr_input_set_cur_pos (PRIVATE (a_this)->input, a_pos);
1934 cr_tknzr_unget_token (CRTknzr * a_this, CRToken * a_token)
1936 g_return_val_if_fail (a_this && PRIVATE (a_this)
1937 && PRIVATE (a_this)->token_cache == NULL,
1940 PRIVATE (a_this)->token_cache = a_token;
1949 *@param a_this the current tokenizer.
1957 cr_tknzr_get_next_token (CRTknzr * a_this, CRToken ** a_tk)
1970 g_return_val_if_fail (a_this && PRIVATE (a_this)
1972 && PRIVATE (a_this)->input,
1975 if (PRIVATE (a_this)->token_cache) {
1976 *a_tk = PRIVATE (a_this)->token_cache;
1977 PRIVATE (a_this)->token_cache = NULL;
1981 RECORD_INITIAL_POS (a_this, &init_pos);
1984 (PRIVATE (a_this)->input, &reached_eof);
1992 input = PRIVATE (a_this)->input;
1994 PEEK_NEXT_CHAR (a_this, &next_char);
2010 SKIP_CHARS (a_this, 1);
2012 (a_this, &location) ;
2013 SKIP_CHARS (a_this, 9);
2028 SKIP_CHARS (a_this, 1);
2030 (a_this, &location) ;
2031 SKIP_CHARS (a_this, 7);
2045 SKIP_CHARS (a_this, 1);
2047 (a_this, &location) ;
2048 SKIP_CHARS (a_this, 6);
2061 SKIP_CHARS (a_this, 1);
2062 cr_tknzr_get_parsing_location (a_this,
2064 SKIP_CHARS (a_this, 5);
2076 SKIP_CHARS (a_this, 1);
2077 cr_tknzr_get_parsing_location (a_this,
2079 SKIP_CHARS (a_this, 4);
2086 status = cr_tknzr_parse_atkeyword (a_this, &str);
2106 status = cr_tknzr_parse_uri (a_this, &str);
2117 status = cr_tknzr_parse_ident (a_this, &str);
2134 status = cr_tknzr_parse_rgb (a_this, &rgb);
2147 status = cr_tknzr_parse_ident (a_this, &str);
2164 SKIP_CHARS (a_this, 1);
2165 cr_tknzr_get_parsing_location (a_this,
2167 SKIP_CHARS (a_this, 2);
2179 SKIP_CHARS (a_this, 1);
2180 cr_tknzr_get_parsing_location (a_this,
2182 SKIP_CHARS (a_this, 2);
2190 (a_this, &str);
2205 SKIP_CHARS (a_this, 1);
2206 cr_tknzr_get_parsing_location (a_this,
2208 SKIP_CHARS (a_this, 1);
2219 SKIP_CHARS (a_this, 1);
2220 cr_tknzr_get_parsing_location (a_this,
2222 SKIP_CHARS (a_this, 1);
2233 status = cr_tknzr_parse_comment (a_this, &str);
2249 SKIP_CHARS (a_this, 1);
2250 cr_tknzr_get_parsing_location (a_this,
2259 SKIP_CHARS (a_this, 1);
2260 cr_tknzr_get_parsing_location (a_this,
2264 cr_tknzr_get_parsing_location (a_this,
2269 SKIP_CHARS (a_this, 1);
2270 cr_tknzr_get_parsing_location (a_this,
2279 SKIP_CHARS (a_this, 1);
2280 cr_tknzr_get_parsing_location (a_this,
2289 SKIP_CHARS (a_this, 1);
2290 cr_tknzr_get_parsing_location (a_this,
2299 SKIP_CHARS (a_this, 1);
2300 cr_tknzr_get_parsing_location (a_this,
2309 SKIP_CHARS (a_this, 1);
2310 cr_tknzr_get_parsing_location (a_this,
2327 status = cr_tknzr_parse_w (a_this, &start,
2332 cr_tknzr_get_parsing_location (a_this,
2341 status = cr_tknzr_parse_hash (a_this, &str);
2357 status = cr_tknzr_parse_string (a_this, &str);
2371 status = cr_tknzr_parse_important (a_this, &location);
2395 status = cr_tknzr_parse_num (a_this, &num);
2408 SKIP_CHARS (a_this, 2);
2415 SKIP_CHARS (a_this, 2);
2422 SKIP_CHARS (a_this, 2);
2429 SKIP_CHARS (a_this, 2);
2436 SKIP_CHARS (a_this, 2);
2443 SKIP_CHARS (a_this, 2);
2450 SKIP_CHARS (a_this, 2);
2457 SKIP_CHARS (a_this, 2);
2465 SKIP_CHARS (a_this, 3);
2473 SKIP_CHARS (a_this, 3);
2482 SKIP_CHARS (a_this, 4);
2489 SKIP_CHARS (a_this, 2);
2495 SKIP_CHARS (a_this, 1);
2502 SKIP_CHARS (a_this, 2);
2510 SKIP_CHARS (a_this, 3);
2516 SKIP_CHARS (a_this, 1);
2518 status = cr_tknzr_parse_ident (a_this,
2554 status = cr_tknzr_parse_ident (a_this, &str);
2559 (PRIVATE (a_this)->input, &next_c);
2563 SKIP_CHARS (a_this, 1);
2596 READ_NEXT_CHAR (a_this, &next_char);
2597 cr_tknzr_get_parsing_location (a_this,
2610 memmove (&PRIVATE (a_this)->prev_pos,
2625 cr_tknzr_set_cur_pos (a_this, &init_pos);
2631 cr_tknzr_parse_token (CRTknzr * a_this, enum CRTokenType a_type,
2638 g_return_val_if_fail (a_this && PRIVATE (a_this)
2639 && PRIVATE (a_this)->input
2642 status = cr_tknzr_get_next_token (a_this, &token);
2724 cr_tknzr_unget_token (a_this, token);
2734 cr_tknzr_unget_token (a_this, token);
2742 cr_tknzr_destroy (CRTknzr * a_this)
2744 g_return_if_fail (a_this);
2746 if (PRIVATE (a_this) && PRIVATE (a_this)->input) {
2747 if (cr_input_unref (PRIVATE (a_this)->input)
2749 PRIVATE (a_this)->input = NULL;
2753 if (PRIVATE (a_this)->token_cache) {
2754 cr_token_destroy (PRIVATE (a_this)->token_cache);
2755 PRIVATE (a_this)->token_cache = NULL;
2758 if (PRIVATE (a_this)) {
2759 g_free (PRIVATE (a_this));
2760 PRIVATE (a_this) = NULL;
2763 g_free (a_this);