Searched refs:py_code (Results 1 – 2 of 2) sorted by relevance
75 std::string py_code = "test_clone_simple"; in TEST_F() local77 FuncGraphPtr g = getPyFun.CallAndParseRet(py_code); in TEST_F()104 std::string py_code = "test_clone_closure"; in TEST_F() local107 FuncGraphPtr parsed_f = getPyFun(py_code); in TEST_F()128 std::string py_code = "test_clone_closure"; in TEST_F() local131 FuncGraphPtr parsed_f = getPyFun(py_code); in TEST_F()144 std::string py_code = "test_clone_scoping"; in TEST_F() local147 FuncGraphPtr g = getPyFun.CallAndParseRet(py_code); in TEST_F()171 std::string py_code = "test_clone_total"; in TEST_F() local175 FuncGraphPtr g = getPyFun.CallAndParseRet(py_code); in TEST_F()
6266 PyObject *py_code; /* code as a Python int */ in load_extension() local6283 py_code = PyLong_FromLong(code); in load_extension()6284 if (py_code == NULL) in load_extension()6286 obj = PyDict_GetItemWithError(st->extension_cache, py_code); in load_extension()6289 Py_DECREF(py_code); in load_extension()6294 Py_DECREF(py_code); in load_extension()6299 pair = PyDict_GetItemWithError(st->inverted_registry, py_code); in load_extension()6301 Py_DECREF(py_code); in load_extension()6328 Py_DECREF(py_code); in load_extension()6332 code = PyDict_SetItem(st->extension_cache, py_code, obj); in load_extension()[all …]