Lines Matching refs:name_obj
140 get_dialect_from_registry(PyObject *name_obj, _csvstate *module_state) in get_dialect_from_registry() argument
144 dialect_obj = PyDict_GetItemWithError(module_state->dialects, name_obj); in get_dialect_from_registry()
1490 PyObject *name_obj, *dialect_obj = NULL; in csv_register_dialect() local
1494 if (!PyArg_UnpackTuple(args, "", 1, 2, &name_obj, &dialect_obj)) in csv_register_dialect()
1496 if (!PyUnicode_Check(name_obj)) { in csv_register_dialect()
1501 if (PyUnicode_READY(name_obj) == -1) in csv_register_dialect()
1506 if (PyDict_SetItem(module_state->dialects, name_obj, dialect) < 0) { in csv_register_dialect()
1515 csv_unregister_dialect(PyObject *module, PyObject *name_obj) in csv_unregister_dialect() argument
1518 if (PyDict_DelItem(module_state->dialects, name_obj) < 0) { in csv_unregister_dialect()
1528 csv_get_dialect(PyObject *module, PyObject *name_obj) in csv_get_dialect() argument
1530 return get_dialect_from_registry(name_obj, get_csv_state(module)); in csv_get_dialect()