Home
last modified time | relevance | path

Searched refs:name_obj (Results 1 – 16 of 16) sorted by relevance

/external/python/pybind11/include/pybind11/detail/
Dclass.h50 auto name_obj = reinterpret_steal<object>(PYBIND11_FROM_STRING(name)); in make_static_property_type() local
60 heap_type->ht_name = name_obj.inc_ref().ptr(); in make_static_property_type()
62 heap_type->ht_qualname = name_obj.inc_ref().ptr(); in make_static_property_type()
76 PYBIND11_SET_OLDPY_QUALNAME(type, name_obj); in make_static_property_type()
164 auto name_obj = reinterpret_steal<object>(PYBIND11_FROM_STRING(name)); in make_default_metaclass() local
174 heap_type->ht_name = name_obj.inc_ref().ptr(); in make_default_metaclass()
176 heap_type->ht_qualname = name_obj.inc_ref().ptr(); in make_default_metaclass()
193 PYBIND11_SET_OLDPY_QUALNAME(type, name_obj); in make_default_metaclass()
373 auto name_obj = reinterpret_steal<object>(PYBIND11_FROM_STRING(name)); in make_object_base_type() local
383 heap_type->ht_name = name_obj.inc_ref().ptr(); in make_object_base_type()
[all …]
/external/pdfium/core/fpdfdoc/
Dcpdf_filespec_unittest.cpp122 auto name_obj = pdfium::MakeRetain<CPDF_Name>(nullptr, "test.pdf"); in TEST() local
123 CPDF_FileSpec file_spec(name_obj.Get()); in TEST()
175 auto name_obj = pdfium::MakeRetain<CPDF_Name>(nullptr, "test.pdf"); in TEST() local
176 CPDF_FileSpec file_spec(name_obj.Get()); in TEST()
234 auto name_obj = pdfium::MakeRetain<CPDF_Name>(nullptr, "test.pdf"); in TEST() local
235 CPDF_FileSpec file_spec(name_obj.Get()); in TEST()
/external/python/cpython2/Modules/
D_hashopenssl.c390 PyObject *name_obj = NULL; in EVP_tp_init() local
396 &name_obj, &view)) { in EVP_tp_init()
400 if (!PyArg_Parse(name_obj, "s", &nameStr)) { in EVP_tp_init()
414 self->name = name_obj; in EVP_tp_init()
494 EVPnew(PyObject *name_obj, in EVPnew() argument
505 if ((self = newEVPobject(name_obj)) == NULL) in EVPnew()
541 PyObject *name_obj = NULL; in EVP_new() local
548 &name_obj, &view)) { in EVP_new()
552 if (!PyArg_Parse(name_obj, "s", &name)) { in EVP_new()
560 ret_obj = EVPnew(name_obj, digest, NULL, (unsigned char*)view.buf, in EVP_new()
D_csv.c150 get_dialect_from_registry(PyObject * name_obj) in get_dialect_from_registry() argument
154 dialect_obj = PyDict_GetItem(dialects, name_obj); in get_dialect_from_registry()
1401 PyObject *name_obj, *dialect_obj = NULL; in csv_register_dialect() local
1404 if (!PyArg_UnpackTuple(args, "", 1, 2, &name_obj, &dialect_obj)) in csv_register_dialect()
1406 if (!IS_BASESTRING(name_obj)) { in csv_register_dialect()
1414 if (PyDict_SetItem(dialects, name_obj, dialect) < 0) { in csv_register_dialect()
1424 csv_unregister_dialect(PyObject *module, PyObject *name_obj) in csv_unregister_dialect() argument
1426 if (PyDict_DelItem(dialects, name_obj) < 0) in csv_unregister_dialect()
1433 csv_get_dialect(PyObject *module, PyObject *name_obj) in csv_get_dialect() argument
1435 return get_dialect_from_registry(name_obj); in csv_get_dialect()
D_ssl.c751 PyObject *name_obj = NULL; in _asn1obj2py() local
776 name_obj = Py_None; in _asn1obj2py()
779 name_obj = PyString_FromStringAndSize(namebuf, buflen); in _asn1obj2py()
786 return name_obj; in _asn1obj2py()
/external/python/cpython3/Modules/
D_hashopenssl.c476 PyObject *name_obj, *repr; in EVP_repr() local
477 name_obj = py_digest_name(EVP_MD_CTX_md(self->ctx)); in EVP_repr()
478 if (!name_obj) { in EVP_repr()
481 repr = PyUnicode_FromFormat("<%U HASH object @ %p>", name_obj, self); in EVP_repr()
482 Py_DECREF(name_obj); in EVP_repr()
600 EVP_new_impl(PyObject *module, PyObject *name_obj, PyObject *data_obj) in EVP_new_impl() argument
608 if (!PyArg_Parse(name_obj, "s", &name)) { in EVP_new_impl()
D_csv.c131 get_dialect_from_registry(PyObject * name_obj) in get_dialect_from_registry() argument
135 dialect_obj = PyDict_GetItemWithError(_csvstate_global->dialects, name_obj); in get_dialect_from_registry()
1416 PyObject *name_obj, *dialect_obj = NULL; in csv_register_dialect() local
1419 if (!PyArg_UnpackTuple(args, "", 1, 2, &name_obj, &dialect_obj)) in csv_register_dialect()
1421 if (!PyUnicode_Check(name_obj)) { in csv_register_dialect()
1426 if (PyUnicode_READY(name_obj) == -1) in csv_register_dialect()
1431 if (PyDict_SetItem(_csvstate_global->dialects, name_obj, dialect) < 0) { in csv_register_dialect()
1440 csv_unregister_dialect(PyObject *module, PyObject *name_obj) in csv_unregister_dialect() argument
1442 if (PyDict_DelItem(_csvstate_global->dialects, name_obj) < 0) { in csv_unregister_dialect()
1452 csv_get_dialect(PyObject *module, PyObject *name_obj) in csv_get_dialect() argument
[all …]
D_ssl.c1124 PyObject *name_obj = NULL; in _asn1obj2py() local
1149 name_obj = Py_None; in _asn1obj2py()
1152 name_obj = PyUnicode_FromStringAndSize(namebuf, buflen); in _asn1obj2py()
1159 return name_obj; in _asn1obj2py()
/external/pdfium/core/fpdfapi/parser/
Dfpdf_parser_utility.cpp169 const CPDF_Name* name_obj = ToName(dict->GetObjectFor("Type")); in ValidateDictType() local
170 return name_obj && name_obj->GetString() == type; in ValidateDictType()
Dcpdf_object_unittest.cpp62 auto name_obj = pdfium::MakeRetain<CPDF_Name>(nullptr, "space"); in SetUp() local
88 name_obj.Get(), m_ArrayObj.Get(), m_DictObj.Get(), in SetUp()
103 m_ObjHolder->AddIndirectObject(name_obj->Clone()), in SetUp()
742 auto name_obj = pdfium::MakeRetain<CPDF_Name>(nullptr, "Title:"); in TEST() local
745 str_obj, name_obj, null_obj}; in TEST()
/external/python/cpython3/Modules/clinic/
D_hashopenssl.c.h83 EVP_new_impl(PyObject *module, PyObject *name_obj, PyObject *data_obj);
93 PyObject *name_obj; in EVP_new() local
100 name_obj = args[0]; in EVP_new()
106 return_value = EVP_new_impl(module, name_obj, data_obj); in EVP_new()
/external/v8/src/codegen/
Dcompiler.h122 name_obj(script_name), in ScriptDetails()
127 i::MaybeHandle<i::Object> name_obj; member
Dcompiler.cc2454 if (script_details.name_obj.ToHandle(&script_name)) { in SetScriptFieldsFromDetails()
2677 source, script_details.name_obj, script_details.line_offset, in GetSharedFunctionInfoForScript()
2865 source, script_details.name_obj, script_details.line_offset, in GetSharedFunctionInfoForStreamedScript()
/external/v8/src/execution/
Dmessages.cc277 Handle<Object> name_obj = handle(eval_from_script->name(), isolate); in FormatEvalOrigin() local
279 builder.AppendString(Handle<String>::cast(name_obj)); in FormatEvalOrigin()
/external/python/cpython3/Objects/
Dunicodeobject.c15690 PyObject *name_obj = NULL; in config_get_codec_name() local
15697 name_obj = PyObject_GetAttrString(codec, "name"); in config_get_codec_name()
15699 if (!name_obj) { in config_get_codec_name()
15703 wchar_t *wname = PyUnicode_AsWideCharString(name_obj, NULL); in config_get_codec_name()
15704 Py_DECREF(name_obj); in config_get_codec_name()
15724 Py_XDECREF(name_obj); in config_get_codec_name()
/external/v8/src/api/
Dapi.cc2423 script_details.name_obj = Utils::OpenHandle(*(resource_name)); in GetScriptDetails()