Lines Matching defs:args
19 static void GetSSLCiphers(const v8::FunctionCallbackInfo<v8::Value>& args);
20 static void GetCiphers(const v8::FunctionCallbackInfo<v8::Value>& args);
74 static void New(const v8::FunctionCallbackInfo<v8::Value>& args);
75 static void Init(const v8::FunctionCallbackInfo<v8::Value>& args);
76 static void InitIv(const v8::FunctionCallbackInfo<v8::Value>& args);
77 static void Update(const v8::FunctionCallbackInfo<v8::Value>& args);
78 static void Final(const v8::FunctionCallbackInfo<v8::Value>& args);
79 static void SetAutoPadding(const v8::FunctionCallbackInfo<v8::Value>& args);
81 static void GetAuthTag(const v8::FunctionCallbackInfo<v8::Value>& args);
82 static void SetAuthTag(const v8::FunctionCallbackInfo<v8::Value>& args);
83 static void SetAAD(const v8::FunctionCallbackInfo<v8::Value>& args);
123 static void Cipher(const v8::FunctionCallbackInfo<v8::Value>& args);
148 static void New(const v8::FunctionCallbackInfo<v8::Value>& args) {
149 Environment* env = Environment::GetCurrent(args);
150 CHECK(args.IsConstructCall());
152 CryptoJobMode mode = GetCryptoJobMode(args[0]);
154 CHECK(args[1]->IsUint32()); // Cipher Mode
156 uint32_t cmode = args[1].As<v8::Uint32>()->Value();
160 CHECK(args[2]->IsObject()); // KeyObject
162 ASSIGN_OR_RETURN_UNWRAP(&key, args[2]);
165 ArrayBufferOrViewContents<char> data(args[3]); // data to operate on
170 if (CipherTraits::AdditionalConfig(mode, args, 4, cipher_mode, ¶ms)
180 args.This(),