Lines Matching refs:_c
68 self._c = constraint
76 if isinstance (self._c, list):
77 if constraint == self._c[:len (constraint)]:
78 self._c = constraint
79 elif self._c != constraint[:len (self._c)]:
80 self._c = {self._c[0]: ConstraintSet (self._c[1:])}
81 if isinstance (self._c, dict):
82 if first in self._c:
83 self._c[first].add (rest)
85 self._c[first] = ConstraintSet (rest)
93 if isinstance (self._c, list):
94 if len (self._c) == 0:
96 elif len (self._c) == 1:
97 … = 0x{:04X}u == buffer->cur ({}).codepoint;\n'.format (indent, next (iter (self._c)), index or ''))
99 … s.append ('{}if (0x{:04X}u == buffer->cur ({}).codepoint &&\n'.format (indent, self._c[0], index))
100 s.append ('{}buffer->idx + {} < count &&\n'.format (self._indent (depth + 2), len (self._c)))
101 for i, cp in enumerate (self._c[1:], start=1):
103 self._indent (depth + 2), cp, index + i, ')' if i == len (self._c) - 1 else ' &&'))
105 for i in range (len (self._c)):
113 for first, rest in sorted (self._c.items ()):