Lines Matching defs:stringp

93 	const char *stringp);
112 push_stringp(const char *stringp);
134 const char *stringp,
139 const char *stringp,
144 const char *stringp,
148 test_string(const char *stringp,
172 regex(const char *regexp, const char *stringp, ...)
191 if ((stringp == (char *)0) || (regexp == (char *)0)) {
200 va_start(arg_listp, stringp);
221 __loc1 = (char *)stringp;
223 end_of_matchp = test_string(stringp, regexp);
236 while ((*stringp != *(regexp + 1)) && (*stringp != '\0')) {
237 stringp++;
239 while ((end_of_matchp == (char *)0) && (*stringp != '\0')) {
240 end_of_matchp = test_string(stringp, regexp);
242 __loc1 = (char *)stringp;
244 stringp++;
245 while ((*stringp != *(regexp + 1)) && (*stringp != '\0')) {
246 stringp++;
263 end_of_matchp = test_string(stringp, regexp);
264 while ((end_of_matchp == (char *)0) && (*stringp != '\0')) {
265 stringp++;
266 end_of_matchp = test_string(stringp, regexp);
269 __loc1 = (char *)stringp;
284 char_size = get_wchar(&string_wchar, stringp);
286 stringp += char_size;
287 char_size = get_wchar(&string_wchar, stringp);
290 end_of_matchp = test_string(stringp, regexp);
292 __loc1 = (char *)stringp;
294 stringp += char_size;
295 char_size = get_wchar(&string_wchar, stringp);
297 stringp += char_size;
298 char_size = get_wchar(&string_wchar, stringp);
313 end_of_matchp = test_string(stringp, regexp);
314 char_size = get_wchar(&string_wchar, stringp);
316 stringp += char_size;
317 end_of_matchp = test_string(stringp, regexp);
318 char_size = get_wchar(&string_wchar, stringp);
321 __loc1 = (char *)stringp;
363 const char *stringp)
367 if (stringp == (char *)0) {
370 } else if (*stringp == '\0') {
372 *wcharp = (wchar_t)((unsigned int)*stringp);
373 } else if ((unsigned char)*stringp <= (unsigned char)0x7f) {
375 *wcharp = (wchar_t)((unsigned int)*stringp);
377 char_size = mbtowc(wcharp, stringp, MB_LEN_MAX);
423 const char *stringp;
428 stringp = *stringp_stackp;
430 return (stringp);
463 push_stringp(const char *stringp)
469 *stringp_stackp = stringp;
470 return (stringp);
654 const char *stringp,
659 end_of_matchp = test_string(stringp, regexp);
661 (stringp > repeat_startp)) {
662 stringp--;
663 end_of_matchp = test_string(stringp, regexp);
670 const char *stringp,
675 end_of_matchp = test_string(stringp, regexp);
677 (stringp > repeat_startp)) {
678 stringp = previous_charp(stringp);
679 end_of_matchp = test_string(stringp, regexp);
686 const char *stringp,
691 end_of_matchp = test_string(stringp, regexp);
693 (stringp > repeat_startp)) {
694 stringp = pop_stringp();
695 if (stringp == (char *)0) {
698 end_of_matchp = test_string(stringp, regexp);
704 test_string(const char *stringp,
709 * substring of the string addressed by stringp that matches
737 * Each case ends with either a return or with stringp
764 if (*regexp == *stringp) {
766 stringp++;
778 string_char_size = get_wchar(&string_wchar, stringp);
783 stringp += string_char_size;
792 if (*stringp == '\0') {
796 stringp++;
799 string_char_size = get_wchar(&string_wchar, stringp);
804 stringp += string_char_size;
826 if ((*stringp != '\0') &&
827 (test_char_against_ascii_class(*stringp, regexp,
830 stringp++;
853 string_char_size = get_wchar(&string_wchar, stringp);
858 stringp += string_char_size;
881 if ((*stringp != '\0') &&
882 (test_char_against_old_ascii_class(*stringp, regexp,
885 stringp++;
913 substring_startp[substringn] = stringp;
928 substring_endp[substringn] = stringp;
942 repeat_startp = stringp;
943 while (*stringp == *regexp) {
944 stringp++;
948 stringp, regexp));
957 if (*stringp != *regexp) {
960 stringp++;
961 repeat_startp = stringp;
962 while (*stringp == *regexp) {
963 stringp++;
966 return (test_repeated_ascii_char(repeat_startp, stringp,
981 while ((*stringp == *regexp) && (nmust_match > 0)) {
983 stringp++;
988 repeat_startp = stringp;
989 while (*stringp == *regexp) {
990 stringp++;
993 return (test_repeated_ascii_char(repeat_startp, stringp,
996 repeat_startp = stringp;
997 while ((*stringp == *regexp) &&
1000 stringp++;
1003 return (test_repeated_ascii_char(repeat_startp, stringp,
1014 repeat_startp = stringp;
1015 string_char_size = get_wchar(&string_wchar, stringp);
1018 stringp += string_char_size;
1019 string_char_size = get_wchar(&string_wchar, stringp);
1022 return (test_repeated_multibyte_char(repeat_startp, stringp,
1033 string_char_size = get_wchar(&string_wchar, stringp);
1037 stringp += string_char_size;
1038 repeat_startp = stringp;
1039 string_char_size = get_wchar(&string_wchar, stringp);
1042 stringp += string_char_size;
1043 string_char_size = get_wchar(&string_wchar, stringp);
1046 return (test_repeated_multibyte_char(repeat_startp, stringp,
1062 string_char_size = get_wchar(&string_wchar, stringp);
1068 stringp += string_char_size;
1069 string_char_size = get_wchar(&string_wchar, stringp);
1074 repeat_startp = stringp;
1077 stringp += string_char_size;
1078 string_char_size = get_wchar(&string_wchar, stringp);
1081 return (test_repeated_multibyte_char(repeat_startp, stringp,
1084 repeat_startp = stringp;
1089 stringp += string_char_size;
1090 string_char_size = get_wchar(&string_wchar, stringp);
1093 return (test_repeated_multibyte_char(repeat_startp, stringp,
1102 repeat_startp = stringp;
1104 while (*stringp != '\0') {
1105 stringp++;
1108 return (test_repeated_ascii_char(repeat_startp, stringp,
1111 string_char_size = get_wchar(&string_wchar, stringp);
1113 stringp += string_char_size;
1114 string_char_size = get_wchar(&string_wchar, stringp);
1117 return (test_repeated_multibyte_char(repeat_startp, stringp,
1127 if (*stringp == '\0') {
1130 stringp++;
1131 repeat_startp = stringp;
1132 while (*stringp != '\0') {
1133 stringp++;
1136 return (test_repeated_ascii_char(repeat_startp, stringp,
1140 string_char_size = get_wchar(&string_wchar, stringp);
1144 stringp += string_char_size;
1145 repeat_startp = stringp;
1146 string_char_size = get_wchar(&string_wchar, stringp);
1148 stringp += string_char_size;
1150 get_wchar(&string_wchar, stringp);
1154 stringp, regexp));
1169 while ((*stringp != '\0') && (nmust_match > 0)) {
1171 stringp++;
1176 repeat_startp = stringp;
1177 while (*stringp != '\0') {
1178 stringp++;
1181 return (test_repeated_ascii_char(repeat_startp, stringp,
1184 repeat_startp = stringp;
1185 while ((*stringp != '\0') &&
1188 stringp++;
1191 return (test_repeated_ascii_char(repeat_startp, stringp,
1196 string_char_size = get_wchar(&string_wchar, stringp);
1199 stringp += string_char_size;
1200 string_char_size = get_wchar(&string_wchar, stringp);
1205 repeat_startp = stringp;
1207 stringp += string_char_size;
1209 get_wchar(&string_wchar, stringp);
1213 stringp, regexp));
1215 repeat_startp = stringp;
1219 stringp += string_char_size;
1221 get_wchar(&string_wchar, stringp);
1225 stringp, regexp));
1248 repeat_startp = stringp;
1249 while ((*stringp != '\0') &&
1250 (test_char_against_ascii_class(*stringp, regexp,
1252 stringp++;
1255 return (test_repeated_ascii_char(repeat_startp, stringp,
1279 if ((*stringp == '\0') ||
1280 (test_char_against_ascii_class(*stringp, regexp,
1284 stringp++;
1285 repeat_startp = stringp;
1286 while ((*stringp != '\0') &&
1287 (test_char_against_ascii_class(*stringp, regexp,
1289 stringp++;
1292 return (test_repeated_ascii_char(repeat_startp, stringp,
1322 while ((*stringp != '\0') &&
1323 (test_char_against_ascii_class(*stringp, regexp,
1327 stringp++;
1332 repeat_startp = stringp;
1333 while ((*stringp != '\0') &&
1334 (test_char_against_ascii_class(*stringp, regexp,
1336 stringp++;
1339 return (test_repeated_ascii_char(repeat_startp, stringp,
1342 repeat_startp = stringp;
1343 while ((*stringp != '\0') &&
1344 (test_char_against_ascii_class(*stringp, regexp,
1348 stringp++;
1351 return (test_repeated_ascii_char(repeat_startp, stringp,
1376 repeat_startp = stringp;
1377 string_char_size = get_wchar(&string_wchar, stringp);
1381 stringp += string_char_size;
1382 string_char_size = get_wchar(&string_wchar, stringp);
1385 return (test_repeated_multibyte_char(repeat_startp, stringp,
1410 string_char_size = get_wchar(&string_wchar, stringp);
1416 stringp += string_char_size;
1417 repeat_startp = stringp;
1418 string_char_size = get_wchar(&string_wchar, stringp);
1422 stringp += string_char_size;
1423 string_char_size = get_wchar(&string_wchar, stringp);
1426 return (test_repeated_multibyte_char(repeat_startp, stringp,
1454 string_char_size = get_wchar(&string_wchar, stringp);
1460 stringp += string_char_size;
1461 string_char_size = get_wchar(&string_wchar, stringp);
1466 repeat_startp = stringp;
1470 stringp += string_char_size;
1471 string_char_size = get_wchar(&string_wchar, stringp);
1474 return (test_repeated_multibyte_char(repeat_startp, stringp,
1477 repeat_startp = stringp;
1483 stringp += string_char_size;
1484 string_char_size = get_wchar(&string_wchar, stringp);
1487 return (test_repeated_multibyte_char(repeat_startp, stringp,
1512 repeat_startp = stringp;
1513 while ((*stringp != '\0') &&
1514 (test_char_against_old_ascii_class(*stringp, regexp,
1516 stringp++;
1519 return (test_repeated_ascii_char(repeat_startp, stringp,
1544 if ((*stringp == '\0') ||
1545 (test_char_against_old_ascii_class(*stringp, regexp,
1549 stringp++;
1550 repeat_startp = stringp;
1551 while ((*stringp != '\0') &&
1552 (test_char_against_old_ascii_class(*stringp, regexp,
1554 stringp++;
1557 return (test_repeated_ascii_char(repeat_startp, stringp,
1587 while ((*stringp != '\0') &&
1588 (test_char_against_old_ascii_class(*stringp, regexp,
1592 stringp++;
1597 repeat_startp = stringp;
1598 while ((*stringp != '\0') &&
1599 (test_char_against_old_ascii_class(*stringp, regexp,
1601 stringp++;
1604 return (test_repeated_ascii_char(repeat_startp, stringp,
1607 repeat_startp = stringp;
1608 while ((*stringp != '\0') &&
1609 (test_char_against_old_ascii_class(*stringp, regexp,
1613 stringp++;
1616 return (test_repeated_ascii_char(repeat_startp, stringp,
1645 repeat_startp = stringp;
1646 test_stringp = test_string(stringp, regexp);
1648 if (push_stringp(stringp) == (char *)0)
1650 stringp = test_stringp;
1651 test_stringp = test_string(stringp, regexp);
1654 return (test_repeated_group(repeat_startp, stringp, regexp));
1664 return ((char *)stringp);
1691 stringp = test_string(stringp, regexp);
1692 if (stringp == (char *)0)
1694 repeat_startp = stringp;
1695 test_stringp = test_string(stringp, regexp);
1697 if (push_stringp(stringp) == (char *)0)
1699 stringp = test_stringp;
1700 test_stringp = test_string(stringp, regexp);
1703 return (test_repeated_group(repeat_startp, stringp, regexp));
1713 return ((char *)stringp);
1744 test_stringp = test_string(stringp, regexp);
1746 stringp = test_stringp;
1748 test_stringp = test_string(stringp, regexp);
1753 repeat_startp = stringp;
1755 if (push_stringp(stringp) == (char *)0)
1757 stringp = test_stringp;
1758 test_stringp = test_string(stringp, regexp);
1761 return (test_repeated_group(repeat_startp, stringp,
1764 repeat_startp = stringp;
1768 if (push_stringp(stringp) == (char *)0)
1770 stringp = test_stringp;
1771 test_stringp = test_string(stringp, regexp);
1774 return (test_repeated_group(repeat_startp, stringp,
1785 return (stringp);
1793 if (*stringp == '\0') {
1804 return (stringp);