Lines Matching defs:input
27 /*[clinic input]
31 /*[clinic end generated code: output=da39a3ee5e6b4b0d input=e47113e05924be43]*/
116 /*[clinic input]
134 /*[clinic end generated code: output=be23376e1a185231 input=933f8107993f23d0]*/
169 /*[clinic input]
186 /*[clinic end generated code: output=96e18c950171fd2f input=e27d6e4565cd29f2]*/
204 /*[clinic input]
222 /*[clinic end generated code: output=53ce281fe85b10c4 input=fdf5871a5542893c]*/
256 /*[clinic input]
268 /*[clinic end generated code: output=8571539ee2e6783a input=27d6f3d85050bc06]*/
281 /*[clinic input]
295 /*[clinic end generated code: output=d36310ce2039bb92 input=b3d8f42cebfcf475]*/
310 /*[clinic input]
324 /*[clinic end generated code: output=cad056d0cb6a5920 input=9f2d6b2a95d0a22a]*/
337 /*[clinic input]
352 /*[clinic end generated code: output=2532dbf8121b50e6 input=5dd400d351ae6f3b]*/
367 /*[clinic input]
379 /*[clinic end generated code: output=484e8537d9ee8197 input=c4854798aab026e0]*/
394 /*[clinic input]
408 /*[clinic end generated code: output=7d699f3ec7565d27 input=e4c12459ad68507b]*/
497 nfd_nfkd(PyObject *self, PyObject *input, int k)
511 isize = PyUnicode_GET_LENGTH(input);
528 kind = PyUnicode_KIND(input);
529 data = PyUnicode_DATA(input);
646 nfc_nfkc(PyObject *self, PyObject *input, int k)
658 result = nfd_nfkd(self, input, k);
715 /* code is still input[i] here */
790 * Return YES or NO if quickcheck determines the input is certainly
801 is_normalized_quickcheck(PyObject *self, PyObject *input, bool nfc, bool k,
809 if (PyUnicode_IS_ASCII(input)) {
824 kind = PyUnicode_KIND(input);
825 data = PyUnicode_DATA(input);
826 len = PyUnicode_GET_LENGTH(input);
852 /*[clinic input]
857 unistr as input: unicode
867 PyObject *input)
868 /*[clinic end generated code: output=11e5a3694e723ca5 input=a544f14cea79e508]*/
870 if (PyUnicode_READY(input) == -1) {
874 if (PyUnicode_GET_LENGTH(input) == 0) {
875 /* special case empty input strings. */
905 m = is_normalized_quickcheck(self, input, nfc, k, false);
908 cmp = (nfc ? nfc_nfkc : nfd_nfkd)(self, input, k);
912 match = PyUnicode_Compare(input, cmp);
925 /*[clinic input]
930 unistr as input: unicode
940 PyObject *input)
941 /*[clinic end generated code: output=05ca4385a2ad6983 input=3a5206c0ad2833fb]*/
943 if (PyUnicode_GET_LENGTH(input) == 0) {
944 /* Special case empty input strings, since resizing
946 Py_INCREF(input);
947 return input;
951 if (is_normalized_quickcheck(self, input,
953 Py_INCREF(input);
954 return input;
956 return nfc_nfkc(self, input, 0);
959 if (is_normalized_quickcheck(self, input,
961 Py_INCREF(input);
962 return input;
964 return nfc_nfkc(self, input, 1);
967 if (is_normalized_quickcheck(self, input,
969 Py_INCREF(input);
970 return input;
972 return nfd_nfkd(self, input, 0);
975 if (is_normalized_quickcheck(self, input,
977 Py_INCREF(input);
978 return input;
980 return nfd_nfkd(self, input, 1);
1345 /*[clinic input]
1361 /*[clinic end generated code: output=6bbb37a326407707 input=3e0367f534de56d9]*/
1380 /*[clinic input]
1396 /*[clinic end generated code: output=7f03fc4959b242f6 input=a557be0f8607a0d6]*/