Lines Matching refs:start_position
212 gint start_position,
220 string, pattern, start_position, string_len);
224 start_position, match_opts2, NULL, NULL);
236 if (string_len == -1 && start_position == 0)
255 string_len, start_position, match_opts2, expected) { \
258 string_len, start_position, match_opts2, expected)) \
285 gint start_position,
297 string, pattern, start_position, string_len);
301 va_start (args, start_position);
320 start_position, 0, &match_info, NULL);
389 #define TEST_MATCH_NEXT0(pattern, string, string_len, start_position) { \
391 if (test_match_next (pattern, string, string_len, start_position, NULL)) \
397 #define TEST_MATCH_NEXT1(pattern, string, string_len, start_position, \
400 if (test_match_next (pattern, string, string_len, start_position, \
407 #define TEST_MATCH_NEXT2(pattern, string, string_len, start_position, \
410 if (test_match_next (pattern, string, string_len, start_position, \
417 #define TEST_MATCH_NEXT3(pattern, string, string_len, start_position, \
420 if (test_match_next (pattern, string, string_len, start_position, \
427 #define TEST_MATCH_NEXT4(pattern, string, string_len, start_position, \
430 if (test_match_next (pattern, string, string_len, start_position, \
440 gint start_position,
449 string, pattern, start_position);
453 g_regex_match_full (regex, string, -1, start_position,
470 #define TEST_MATCH_COUNT(pattern, string, start_position, match_opts, expected_count) { \
472 if (test_match_count (pattern, string, start_position, match_opts, expected_count)) \
531 gint start_position,
546 g_regex_match_full (regex, string, -1, start_position, 0, &match_info, NULL);
575 #define TEST_SUB_PATTERN(pattern, string, start_position, sub_n, expected_sub, \
578 if (test_sub_pattern (pattern, string, start_position, sub_n, expected_sub, \
589 gint start_position,
605 g_regex_match_full (regex, string, -1, start_position, 0, &match_info, NULL);
633 #define TEST_NAMED_SUB_PATTERN(pattern, string, start_position, sub_name, \
636 if (test_named_sub_pattern (pattern, 0, string, start_position, sub_name, \
643 #define TEST_NAMED_SUB_PATTERN_DUPNAMES(pattern, string, start_position, sub_name, \
646 if (test_named_sub_pattern (pattern, G_REGEX_DUPNAMES, string, start_position, \
859 gint start_position,
873 string, pattern, start_position, max_tokens);
889 tokens = g_regex_split_full (regex, string, -1, start_position,
998 #define TEST_SPLIT0(pattern, string, start_position, max_tokens) { \
1000 if (test_split_full (pattern, string, start_position, max_tokens, NULL)) \
1004 if (start_position == 0 && max_tokens <= 0) \
1014 #define TEST_SPLIT1(pattern, string, start_position, max_tokens, e1) { \
1016 if (test_split_full (pattern, string, start_position, max_tokens, e1, NULL)) \
1020 if (start_position == 0 && max_tokens <= 0) \
1030 #define TEST_SPLIT2(pattern, string, start_position, max_tokens, e1, e2) { \
1032 if (test_split_full (pattern, string, start_position, max_tokens, e1, e2, NULL)) \
1036 if (start_position == 0 && max_tokens <= 0) \
1046 #define TEST_SPLIT3(pattern, string, start_position, max_tokens, e1, e2, e3) { \
1048 if (test_split_full (pattern, string, start_position, max_tokens, e1, e2, e3, NULL)) \
1052 if (start_position == 0 && max_tokens <= 0) \
1152 gint start_position,
1160 replacement, string, pattern, start_position);
1163 res = g_regex_replace (regex, string, -1, start_position, replacement, 0, NULL);
1179 #define TEST_REPLACE(pattern, string, start_position, replacement, expected) { \
1181 if (test_replace (pattern, string, start_position, replacement, expected)) \
1190 gint start_position,
1198 replacement, string, pattern, start_position);
1201 res = g_regex_replace_literal (regex, string, -1, start_position,
1218 #define TEST_REPLACE_LIT(pattern, string, start_position, replacement, expected) { \
1220 if (test_replace_lit (pattern, string, start_position, replacement, expected)) \
1297 gint start_position,
1311 string, pattern, start_position, string_len);
1315 va_start (args, start_position);
1332 match_ok = g_regex_match_all_full (regex, string, string_len, start_position,
1509 #define TEST_MATCH_ALL0(pattern, string, string_len, start_position) { \
1511 if (test_match_all_full (pattern, string, string_len, start_position, NULL)) \
1515 if (string_len == -1 && start_position == 0) \
1525 #define TEST_MATCH_ALL1(pattern, string, string_len, start_position, \
1528 if (test_match_all_full (pattern, string, string_len, start_position, \
1533 if (string_len == -1 && start_position == 0) \
1543 #define TEST_MATCH_ALL2(pattern, string, string_len, start_position, \
1546 if (test_match_all_full (pattern, string, string_len, start_position, \
1551 if (string_len == -1 && start_position == 0) \
1561 #define TEST_MATCH_ALL3(pattern, string, string_len, start_position, \
1564 if (test_match_all_full (pattern, string, string_len, start_position, \
1569 if (string_len == -1 && start_position == 0) \
1696 * string_len, start_position, match_opts2, expected) */
1768 /* TEST_MATCH_NEXT#(pattern, string, string_len, start_position, ...) */
1792 /* TEST_MATCH_COUNT(pattern, string, start_position, match_opts, expected_count) */
1813 /* TEST_SUB_PATTERN(pattern, string, start_position, sub_n, expected_sub,
1826 /* TEST_NAMED_SUB_PATTERN(pattern, string, start_position, sub_name,
1838 /* TEST_NAMED_SUB_PATTERN_DUPNAMES(pattern, string, start_position, sub_name,
1889 /* TEST_SPLIT#(pattern, string, start_position, max_tokens, ...) */
2004 /* TEST_REPLACE(pattern, string, start_position, replacement, expected) */
2032 /* TEST_REPLACE_LIT(pattern, string, start_position, replacement, expected) */
2088 /* TEST_MATCH_ALL#(pattern, string, string_len, start_position, ...) */