Lines Matching defs:args

128     const FunctionCallbackInfo<Value>& args,
131 Environment* env = Environment::GetCurrent(args);
133 CHECK(args[*offset]->IsUint32()); // Variant
134 CHECK(args[*offset + 1]->IsUint32()); // Modulus bits
135 CHECK(args[*offset + 2]->IsUint32()); // Exponent
138 static_cast<RSAKeyVariant>(args[*offset].As<Uint32>()->Value());
141 args.Length() == 10);
143 args.Length() == 13);
145 params->params.modulus_bits = args[*offset + 1].As<Uint32>()->Value();
146 params->params.exponent = args[*offset + 2].As<Uint32>()->Value();
151 if (!args[*offset]->IsUndefined()) {
152 CHECK(args[*offset]->IsString());
153 Utf8Value digest(env->isolate(), args[*offset]);
161 if (!args[*offset + 1]->IsUndefined()) {
162 CHECK(args[*offset + 1]->IsString());
163 Utf8Value digest(env->isolate(), args[*offset + 1]);
172 if (!args[*offset + 2]->IsUndefined()) {
173 CHECK(args[*offset + 2]->IsInt32());
174 params->params.saltlen = args[*offset + 2].As<Int32>()->Value();
252 const FunctionCallbackInfo<Value>& args,
255 CHECK(args[offset]->IsUint32()); // RSAKeyVariant
257 static_cast<RSAKeyVariant>(args[offset].As<Uint32>()->Value());
300 const FunctionCallbackInfo<Value>& args,
304 Environment* env = Environment::GetCurrent(args);
309 CHECK(args[offset]->IsUint32());
311 static_cast<RSAKeyVariant>(args[offset].As<Uint32>()->Value());
315 CHECK(args[offset + 1]->IsString()); // digest
316 Utf8Value digest(env->isolate(), args[offset + 1]);
324 if (IsAnyByteSource(args[offset + 2])) {
325 ArrayBufferOrViewContents<char> label(args[offset + 2]);
422 const FunctionCallbackInfo<Value>& args,