Home
last modified time | relevance | path

Searched refs:key_obj (Results 1 – 5 of 5) sorted by relevance

/external/python/cpython3/Modules/
D_hashopenssl.c635 PyObject *key_obj = NULL, *dklen_obj = Py_None; in pbkdf2_hmac() local
697 key_obj = PyBytes_FromStringAndSize(NULL, dklen); in pbkdf2_hmac()
698 if (key_obj == NULL) { in pbkdf2_hmac()
701 key = PyBytes_AS_STRING(key_obj); in pbkdf2_hmac()
718 Py_CLEAR(key_obj); in pbkdf2_hmac()
726 return key_obj; in pbkdf2_hmac()
760 PyObject *key_obj = NULL; in _hashlib_scrypt_impl() local
833 key_obj = PyBytes_FromStringAndSize(NULL, dklen); in _hashlib_scrypt_impl()
834 if (key_obj == NULL) { in _hashlib_scrypt_impl()
837 key = PyBytes_AS_STRING(key_obj); in _hashlib_scrypt_impl()
[all …]
/external/v8/src/builtins/
Dbuiltins-symbol.cc38 Handle<Object> key_obj = args.atOrUndefined(isolate, 1); in BUILTIN() local
41 Object::ToString(isolate, key_obj)); in BUILTIN()
/external/v8/src/runtime/
Druntime-object.cc54 Handle<Object> key_obj) { in KeyedGetObjectProperty() argument
70 if (key_obj->IsString() && String::cast(*key_obj)->AsArrayIndex(&index)) { in KeyedGetObjectProperty()
71 key_obj = isolate->factory()->NewNumberFromUint(index); in KeyedGetObjectProperty()
75 !receiver_obj->IsAccessCheckNeeded() && key_obj->IsName()) { in KeyedGetObjectProperty()
77 Handle<Name> key = Handle<Name>::cast(key_obj); in KeyedGetObjectProperty()
78 key_obj = key = isolate->factory()->InternalizeName(key); in KeyedGetObjectProperty()
106 } else if (key_obj->IsSmi()) { in KeyedGetObjectProperty()
116 if (Smi::ToInt(*key_obj) >= js_object->elements()->length()) { in KeyedGetObjectProperty()
126 } else if (receiver_obj->IsString() && key_obj->IsSmi()) { in KeyedGetObjectProperty()
129 int index = Handle<Smi>::cast(key_obj)->value(); in KeyedGetObjectProperty()
[all …]
/external/python/cpython2/Modules/
D_hashopenssl.c669 PyObject *key_obj = NULL, *dklen_obj = Py_None; in pbkdf2_hmac() local
731 key_obj = PyBytes_FromStringAndSize(NULL, dklen); in pbkdf2_hmac()
732 if (key_obj == NULL) { in pbkdf2_hmac()
735 key = PyBytes_AS_STRING(key_obj); in pbkdf2_hmac()
752 Py_CLEAR(key_obj); in pbkdf2_hmac()
760 return key_obj; in pbkdf2_hmac()
/external/v8/src/
Dapi.cc4101 auto key_obj = Utils::OpenHandle(*key); in Set() local
4104 i::Runtime::SetObjectProperty(isolate, self, key_obj, value_obj, in Set()
4145 i::Handle<i::Name> key_obj = Utils::OpenHandle(*key); in CreateDataProperty() local
4149 isolate, self, key_obj, value_obj, i::kDontThrow); in CreateDataProperty()
4272 i::Handle<i::Name> key_obj = Utils::OpenHandle(*key); in DefineOwnProperty() local
4285 isolate, self, key_obj, &desc, i::kDontThrow); in DefineOwnProperty()
4295 isolate, self, key_obj, &desc, i::kDontThrow); in DefineOwnProperty()
4308 i::Handle<i::Name> key_obj = Utils::OpenHandle(*key); in DefineProperty() local
4311 isolate, self, key_obj, &descriptor.get_private()->desc, i::kDontThrow); in DefineProperty()
4322 auto key_obj = Utils::OpenHandle(reinterpret_cast<Name*>(*key)); in SetPrivate() local
[all …]