Lines Matching defs:args
148 void Debug(const char* format, Args&&... args) const {
150 DebugCategory::MKSNAPSHOT, format, std::forward<Args>(args)...);
1097 const std::vector<std::string> args,
1117 args,
1192 args,
1295 const std::vector<std::string> args,
1298 int exit_code = Generate(&data, args, exec_args);
1465 void CompileSerializeMain(const FunctionCallbackInfo<Value>& args) {
1466 CHECK(args[0]->IsString());
1467 Local<String> filename = args[0].As<String>();
1468 Local<String> source = args[1].As<String>();
1469 Isolate* isolate = args.GetIsolate();
1489 args.GetReturnValue().Set(fn);
1493 void SetSerializeCallback(const FunctionCallbackInfo<Value>& args) {
1494 Environment* env = Environment::GetCurrent(args);
1496 CHECK(args[0]->IsFunction());
1497 env->set_snapshot_serialize_callback(args[0].As<Function>());
1500 void SetDeserializeCallback(const FunctionCallbackInfo<Value>& args) {
1501 Environment* env = Environment::GetCurrent(args);
1503 CHECK(args[0]->IsFunction());
1504 env->set_snapshot_deserialize_callback(args[0].As<Function>());
1507 void SetDeserializeMainFunction(const FunctionCallbackInfo<Value>& args) {
1508 Environment* env = Environment::GetCurrent(args);
1510 CHECK(args[0]->IsFunction());
1511 env->set_snapshot_deserialize_main(args[0].As<Function>());