Lines Matching defs:isolate

64     Utf8Value name(env->isolate(), args[1]);
146 FIXED_ONE_BYTE_STRING(env->isolate(), "mode"),
147 OneByteString(env->isolate(), mode_label)).IsNothing()) {
157 env->isolate(),
164 FIXED_ONE_BYTE_STRING(env->isolate(), "nid"),
165 Int32::New(env->isolate(), EVP_CIPHER_nid(cipher))).IsNothing()) {
173 FIXED_ONE_BYTE_STRING(env->isolate(), "blockSize"),
174 Int32::New(env->isolate(), block_length)).IsNothing()) {
182 FIXED_ONE_BYTE_STRING(env->isolate(), "ivLength"),
183 Int32::New(env->isolate(), iv_length)).IsNothing()) {
189 FIXED_ONE_BYTE_STRING(env->isolate(), "keyLength"),
190 Int32::New(env->isolate(), key_length)).IsNothing()) {
230 arr[i] = OneByteString(env->isolate(), SSL_CIPHER_get_name(cipher));
235 arr[n + i] = OneByteString(env->isolate(), name);
238 args.GetReturnValue().Set(Array::New(env->isolate(), arr.data(), arr.size()));
276 Isolate* isolate = env->isolate();
279 Local<FunctionTemplate> t = NewFunctionTemplate(isolate, New);
285 SetProtoMethod(isolate, t, "init", Init);
286 SetProtoMethod(isolate, t, "initiv", InitIv);
287 SetProtoMethod(isolate, t, "update", Update);
288 SetProtoMethod(isolate, t, "final", Final);
289 SetProtoMethod(isolate, t, "setAutoPadding", SetAutoPadding);
290 SetProtoMethodNoSideEffect(isolate, t, "getAuthTag", GetAuthTag);
291 SetProtoMethod(isolate, t, "setAuthTag", SetAuthTag);
292 SetProtoMethod(isolate, t, "setAAD", SetAAD);
408 HandleScope scope(env()->isolate());
480 HandleScope scope(env()->isolate());
530 const Utf8Value cipher_type(env->isolate(), args[0]);
825 *out = ArrayBuffer::NewBackingStore(env()->isolate(), buf_len);
836 *out = ArrayBuffer::NewBackingStore(env()->isolate(), 0);
838 *out = BackingStore::Reallocate(env()->isolate(), std::move(*out), buf_len);
869 Local<ArrayBuffer> ab = ArrayBuffer::New(env->isolate(), std::move(out));
898 *out = ArrayBuffer::NewBackingStore(env()->isolate(),
918 *out = ArrayBuffer::NewBackingStore(env()->isolate(), 0);
928 BackingStore::Reallocate(env()->isolate(), std::move(*out), out_len);
930 *out = ArrayBuffer::NewBackingStore(env()->isolate(), 0);
974 Local<ArrayBuffer> ab = ArrayBuffer::New(env->isolate(), std::move(out));
1017 *out = ArrayBuffer::NewBackingStore(env->isolate(), out_len);
1031 *out = BackingStore::Reallocate(env->isolate(), std::move(*out), out_len);
1033 *out = ArrayBuffer::NewBackingStore(env->isolate(), 0);
1087 const Utf8Value oaep_str(env->isolate(), args[offset + 2]);
1104 Local<ArrayBuffer> ab = ArrayBuffer::New(env->isolate(), std::move(out));