Lines Matching refs:frm
237 "maketrans(frm, to, /)\n"
242 "The returned table will be one where each byte in frm is mapped to the byte at\n"
245 "The bytes objects frm and to must be of the same length.");
251 bytearray_maketrans_impl(Py_buffer *frm, Py_buffer *to);
257 Py_buffer frm = {NULL, NULL};
263 if (PyObject_GetBuffer(args[0], &frm, PyBUF_SIMPLE) != 0) {
266 if (!PyBuffer_IsContiguous(&frm, 'C')) {
277 return_value = bytearray_maketrans_impl(&frm, &to);
280 /* Cleanup for frm */
281 if (frm.obj) {
282 PyBuffer_Release(&frm);