Lines Matching refs:Take
66 auto str = Take<PythonString>(str_obj); in As()
324 *this = Take<PythonBytes>(PyBytes_FromStringAndSize(data, bytes.size())); in SetBytes()
341 *this = Take<PythonByteArray>(PyByteArray_FromStringAndSize(str, length)); in PythonByteArray()
380 return Take<PythonString>(str); in FromUTF8()
459 *this = Take<PythonInteger>(PyLong_FromLongLong(value)); in SetInteger()
492 *this = Take<PythonBoolean>(PyBool_FromLong(value)); in SetValue()
505 *this = Take<PythonList>(PyList_New(0)); in PythonList()
509 *this = Take<PythonList>(PyList_New(list_size)); in PythonList()
561 *this = Take<PythonTuple>(PyTuple_New(0)); in PythonTuple()
565 *this = Take<PythonTuple>(PyTuple_New(tuple_size)); in PythonTuple()
632 *this = Take<PythonDictionary>(PyDict_New()); in PythonDictionary()
740 return Take<PythonModule>(mod); in Import()
1206 auto pybuffer = Take<PythonObject>(pybuffer_p); in Write()
1423 return Take<PythonFile>(file_obj); in FromFile()
1438 Take<PythonObject>(o); in Init()
1463 auto code_ref = Take<PythonObject>(code); in runStringOneLine()
1470 return Take<PythonObject>(result); in runStringOneLine()
1483 return Take<PythonObject>(result); in runStringMultiLine()