Searched refs:mode_length (Results 1 – 4 of 4) sorted by relevance
167 Py_ssize_t mode_length; in _io_open() local168 mode = PyUnicode_AsUTF8AndSize(args[1], &mode_length); in _io_open()172 if (strlen(mode) != (size_t)mode_length) { in _io_open()
75 Py_ssize_t mode_length; in _io__WindowsConsoleIO___init__() local76 mode = PyUnicode_AsUTF8AndSize(fastargs[1], &mode_length); in _io__WindowsConsoleIO___init__()80 if (strlen(mode) != (size_t)mode_length) { in _io__WindowsConsoleIO___init__()
76 Py_ssize_t mode_length; in _io_FileIO___init__() local77 mode = PyUnicode_AsUTF8AndSize(fastargs[1], &mode_length); in _io_FileIO___init__()81 if (strlen(mode) != (size_t)mode_length) { in _io_FileIO___init__()
201 Py_ssize_t mode_length; in builtin_compile() local202 mode = PyUnicode_AsUTF8AndSize(args[2], &mode_length); in builtin_compile()206 if (strlen(mode) != (size_t)mode_length) { in builtin_compile()