Lines Matching refs:cls2
1549 fn uunion(cls1: &ClassUnicode, cls2: &ClassUnicode) -> ClassUnicode { in uunion()
1551 cls_.union(cls2); in uunion()
1555 fn uintersect(cls1: &ClassUnicode, cls2: &ClassUnicode) -> ClassUnicode { in uintersect()
1557 cls_.intersect(cls2); in uintersect()
1561 fn udifference(cls1: &ClassUnicode, cls2: &ClassUnicode) -> ClassUnicode { in udifference()
1563 cls_.difference(cls2); in udifference()
1569 cls2: &ClassUnicode, in usymdifference()
1572 cls_.symmetric_difference(cls2); in usymdifference()
1592 fn bunion(cls1: &ClassBytes, cls2: &ClassBytes) -> ClassBytes { in bunion()
1594 cls_.union(cls2); in bunion()
1598 fn bintersect(cls1: &ClassBytes, cls2: &ClassBytes) -> ClassBytes { in bintersect()
1600 cls_.intersect(cls2); in bintersect()
1604 fn bdifference(cls1: &ClassBytes, cls2: &ClassBytes) -> ClassBytes { in bdifference()
1606 cls_.difference(cls2); in bdifference()
1610 fn bsymdifference(cls1: &ClassBytes, cls2: &ClassBytes) -> ClassBytes { in bsymdifference()
1612 cls_.symmetric_difference(cls2); in bsymdifference()
1942 let cls2 = uclass(&[('a', 'z')]); in class_union_unicode() localVariable
1944 assert_eq!(expected, uunion(&cls1, &cls2)); in class_union_unicode()
1950 let cls2 = bclass(&[(b'a', b'z')]); in class_union_bytes() localVariable
1952 assert_eq!(expected, bunion(&cls1, &cls2)); in class_union_bytes()
1958 let cls2 = uclass(&[('a', 'a')]); in class_intersect_unicode() localVariable
1960 assert_eq!(expected, uintersect(&cls1, &cls2)); in class_intersect_unicode()
1963 let cls2 = uclass(&[('a', 'a')]); in class_intersect_unicode() localVariable
1965 assert_eq!(expected, uintersect(&cls1, &cls2)); in class_intersect_unicode()
1968 let cls2 = uclass(&[('b', 'b')]); in class_intersect_unicode() localVariable
1970 assert_eq!(expected, uintersect(&cls1, &cls2)); in class_intersect_unicode()
1973 let cls2 = uclass(&[('a', 'c')]); in class_intersect_unicode() localVariable
1975 assert_eq!(expected, uintersect(&cls1, &cls2)); in class_intersect_unicode()
1978 let cls2 = uclass(&[('a', 'c')]); in class_intersect_unicode() localVariable
1980 assert_eq!(expected, uintersect(&cls1, &cls2)); in class_intersect_unicode()
1983 let cls2 = uclass(&[('b', 'c')]); in class_intersect_unicode() localVariable
1985 assert_eq!(expected, uintersect(&cls1, &cls2)); in class_intersect_unicode()
1988 let cls2 = uclass(&[('c', 'd')]); in class_intersect_unicode() localVariable
1990 assert_eq!(expected, uintersect(&cls1, &cls2)); in class_intersect_unicode()
1993 let cls2 = uclass(&[('a', 'd')]); in class_intersect_unicode() localVariable
1995 assert_eq!(expected, uintersect(&cls1, &cls2)); in class_intersect_unicode()
1998 let cls2 = uclass(&[('a', 'h')]); in class_intersect_unicode() localVariable
2000 assert_eq!(expected, uintersect(&cls1, &cls2)); in class_intersect_unicode()
2003 let cls2 = uclass(&[('a', 'b'), ('d', 'e'), ('g', 'h')]); in class_intersect_unicode() localVariable
2005 assert_eq!(expected, uintersect(&cls1, &cls2)); in class_intersect_unicode()
2008 let cls2 = uclass(&[('d', 'e'), ('k', 'l')]); in class_intersect_unicode() localVariable
2010 assert_eq!(expected, uintersect(&cls1, &cls2)); in class_intersect_unicode()
2013 let cls2 = uclass(&[('h', 'h')]); in class_intersect_unicode() localVariable
2015 assert_eq!(expected, uintersect(&cls1, &cls2)); in class_intersect_unicode()
2018 let cls2 = uclass(&[('c', 'd'), ('g', 'h'), ('k', 'l')]); in class_intersect_unicode() localVariable
2020 assert_eq!(expected, uintersect(&cls1, &cls2)); in class_intersect_unicode()
2023 let cls2 = uclass(&[('b', 'c'), ('d', 'e'), ('f', 'g')]); in class_intersect_unicode() localVariable
2025 assert_eq!(expected, uintersect(&cls1, &cls2)); in class_intersect_unicode()
2031 let cls2 = bclass(&[(b'a', b'a')]); in class_intersect_bytes() localVariable
2033 assert_eq!(expected, bintersect(&cls1, &cls2)); in class_intersect_bytes()
2036 let cls2 = bclass(&[(b'a', b'a')]); in class_intersect_bytes() localVariable
2038 assert_eq!(expected, bintersect(&cls1, &cls2)); in class_intersect_bytes()
2041 let cls2 = bclass(&[(b'b', b'b')]); in class_intersect_bytes() localVariable
2043 assert_eq!(expected, bintersect(&cls1, &cls2)); in class_intersect_bytes()
2046 let cls2 = bclass(&[(b'a', b'c')]); in class_intersect_bytes() localVariable
2048 assert_eq!(expected, bintersect(&cls1, &cls2)); in class_intersect_bytes()
2051 let cls2 = bclass(&[(b'a', b'c')]); in class_intersect_bytes() localVariable
2053 assert_eq!(expected, bintersect(&cls1, &cls2)); in class_intersect_bytes()
2056 let cls2 = bclass(&[(b'b', b'c')]); in class_intersect_bytes() localVariable
2058 assert_eq!(expected, bintersect(&cls1, &cls2)); in class_intersect_bytes()
2061 let cls2 = bclass(&[(b'c', b'd')]); in class_intersect_bytes() localVariable
2063 assert_eq!(expected, bintersect(&cls1, &cls2)); in class_intersect_bytes()
2066 let cls2 = bclass(&[(b'a', b'd')]); in class_intersect_bytes() localVariable
2068 assert_eq!(expected, bintersect(&cls1, &cls2)); in class_intersect_bytes()
2071 let cls2 = bclass(&[(b'a', b'h')]); in class_intersect_bytes() localVariable
2073 assert_eq!(expected, bintersect(&cls1, &cls2)); in class_intersect_bytes()
2076 let cls2 = bclass(&[(b'a', b'b'), (b'd', b'e'), (b'g', b'h')]); in class_intersect_bytes() localVariable
2078 assert_eq!(expected, bintersect(&cls1, &cls2)); in class_intersect_bytes()
2081 let cls2 = bclass(&[(b'd', b'e'), (b'k', b'l')]); in class_intersect_bytes() localVariable
2083 assert_eq!(expected, bintersect(&cls1, &cls2)); in class_intersect_bytes()
2086 let cls2 = bclass(&[(b'h', b'h')]); in class_intersect_bytes() localVariable
2088 assert_eq!(expected, bintersect(&cls1, &cls2)); in class_intersect_bytes()
2091 let cls2 = bclass(&[(b'c', b'd'), (b'g', b'h'), (b'k', b'l')]); in class_intersect_bytes() localVariable
2093 assert_eq!(expected, bintersect(&cls1, &cls2)); in class_intersect_bytes()
2096 let cls2 = bclass(&[(b'b', b'c'), (b'd', b'e'), (b'f', b'g')]); in class_intersect_bytes() localVariable
2098 assert_eq!(expected, bintersect(&cls1, &cls2)); in class_intersect_bytes()
2104 let cls2 = uclass(&[('a', 'a')]); in class_difference_unicode() localVariable
2106 assert_eq!(expected, udifference(&cls1, &cls2)); in class_difference_unicode()
2109 let cls2 = uclass(&[]); in class_difference_unicode() localVariable
2111 assert_eq!(expected, udifference(&cls1, &cls2)); in class_difference_unicode()
2114 let cls2 = uclass(&[('a', 'a')]); in class_difference_unicode() localVariable
2116 assert_eq!(expected, udifference(&cls1, &cls2)); in class_difference_unicode()
2119 let cls2 = uclass(&[('a', 'a')]); in class_difference_unicode() localVariable
2121 assert_eq!(expected, udifference(&cls1, &cls2)); in class_difference_unicode()
2124 let cls2 = uclass(&[('z', 'z')]); in class_difference_unicode() localVariable
2126 assert_eq!(expected, udifference(&cls1, &cls2)); in class_difference_unicode()
2129 let cls2 = uclass(&[('m', 'm')]); in class_difference_unicode() localVariable
2131 assert_eq!(expected, udifference(&cls1, &cls2)); in class_difference_unicode()
2134 let cls2 = uclass(&[('a', 'z')]); in class_difference_unicode() localVariable
2136 assert_eq!(expected, udifference(&cls1, &cls2)); in class_difference_unicode()
2139 let cls2 = uclass(&[('d', 'v')]); in class_difference_unicode() localVariable
2141 assert_eq!(expected, udifference(&cls1, &cls2)); in class_difference_unicode()
2144 let cls2 = uclass(&[('b', 'g'), ('s', 'u')]); in class_difference_unicode() localVariable
2146 assert_eq!(expected, udifference(&cls1, &cls2)); in class_difference_unicode()
2149 let cls2 = uclass(&[('b', 'd'), ('e', 'g'), ('s', 'u')]); in class_difference_unicode() localVariable
2151 assert_eq!(expected, udifference(&cls1, &cls2)); in class_difference_unicode()
2154 let cls2 = uclass(&[('a', 'c'), ('e', 'g'), ('s', 'u')]); in class_difference_unicode() localVariable
2156 assert_eq!(expected, udifference(&cls1, &cls2)); in class_difference_unicode()
2159 let cls2 = uclass(&[('a', 'c'), ('e', 'g'), ('s', 'u')]); in class_difference_unicode() localVariable
2161 assert_eq!(expected, udifference(&cls1, &cls2)); in class_difference_unicode()
2167 let cls2 = bclass(&[(b'a', b'a')]); in class_difference_bytes() localVariable
2169 assert_eq!(expected, bdifference(&cls1, &cls2)); in class_difference_bytes()
2172 let cls2 = bclass(&[]); in class_difference_bytes() localVariable
2174 assert_eq!(expected, bdifference(&cls1, &cls2)); in class_difference_bytes()
2177 let cls2 = bclass(&[(b'a', b'a')]); in class_difference_bytes() localVariable
2179 assert_eq!(expected, bdifference(&cls1, &cls2)); in class_difference_bytes()
2182 let cls2 = bclass(&[(b'a', b'a')]); in class_difference_bytes() localVariable
2184 assert_eq!(expected, bdifference(&cls1, &cls2)); in class_difference_bytes()
2187 let cls2 = bclass(&[(b'z', b'z')]); in class_difference_bytes() localVariable
2189 assert_eq!(expected, bdifference(&cls1, &cls2)); in class_difference_bytes()
2192 let cls2 = bclass(&[(b'm', b'm')]); in class_difference_bytes() localVariable
2194 assert_eq!(expected, bdifference(&cls1, &cls2)); in class_difference_bytes()
2197 let cls2 = bclass(&[(b'a', b'z')]); in class_difference_bytes() localVariable
2199 assert_eq!(expected, bdifference(&cls1, &cls2)); in class_difference_bytes()
2202 let cls2 = bclass(&[(b'd', b'v')]); in class_difference_bytes() localVariable
2204 assert_eq!(expected, bdifference(&cls1, &cls2)); in class_difference_bytes()
2207 let cls2 = bclass(&[(b'b', b'g'), (b's', b'u')]); in class_difference_bytes() localVariable
2209 assert_eq!(expected, bdifference(&cls1, &cls2)); in class_difference_bytes()
2212 let cls2 = bclass(&[(b'b', b'd'), (b'e', b'g'), (b's', b'u')]); in class_difference_bytes() localVariable
2214 assert_eq!(expected, bdifference(&cls1, &cls2)); in class_difference_bytes()
2217 let cls2 = bclass(&[(b'a', b'c'), (b'e', b'g'), (b's', b'u')]); in class_difference_bytes() localVariable
2219 assert_eq!(expected, bdifference(&cls1, &cls2)); in class_difference_bytes()
2222 let cls2 = bclass(&[(b'a', b'c'), (b'e', b'g'), (b's', b'u')]); in class_difference_bytes() localVariable
2224 assert_eq!(expected, bdifference(&cls1, &cls2)); in class_difference_bytes()
2230 let cls2 = uclass(&[('g', 't')]); in class_symmetric_difference_unicode() localVariable
2232 assert_eq!(expected, usymdifference(&cls1, &cls2)); in class_symmetric_difference_unicode()
2238 let cls2 = bclass(&[(b'g', b't')]); in class_symmetric_difference_bytes() localVariable
2240 assert_eq!(expected, bsymdifference(&cls1, &cls2)); in class_symmetric_difference_bytes()