Lines Matching defs:arg
2270 Local<Value> arg = args[i];
2273 if (arg->IsSymbol()) {
2274 arg = arg.As<Symbol>()->Description(args.GetIsolate());
2276 if (!arg->ToString(args.GetIsolate()->GetCurrentContext())
2708 auto arg = args[1]
2711 switch (arg) {
3331 Local<String> arg =
3334 array->Set(context, index, arg).FromJust();
3536 void Dummy(char* arg) {}
3948 const char* arg = argv_[i];
3949 if (strcmp(arg, "-e") == 0 && i + 1 < end_offset_) {
3964 } else if (ends_with(arg, ".mjs")) {
3966 if (!Shell::ExecuteModule(isolate, arg)) {
3971 } else if (strcmp(arg, "--module") == 0 && i + 1 < end_offset_) {
3973 arg = argv_[++i];
3975 if (!Shell::ExecuteModule(isolate, arg)) {
3980 } else if (strcmp(arg, "--web-snapshot") == 0 && i + 1 < end_offset_) {
3982 arg = argv_[++i];
3984 if (!Shell::ExecuteWebSnapshot(isolate, arg)) {
3989 } else if (strcmp(arg, "--json") == 0 && i + 1 < end_offset_) {
3991 arg = argv_[++i];
3993 if (!Shell::LoadJSON(isolate, arg)) {
3998 } else if (arg[0] == '-') {
4006 String::NewFromUtf8(isolate, arg).ToLocalChecked();
4008 if (!Shell::ReadFile(isolate, arg).ToLocal(&source)) {
4009 printf("Error reading '%s'\n", arg);
4380 // to the utf8 encoded arg. We allocate memory for the utf8 encoded
4381 // arg, and we will free it and reset it to nullptr after using
4382 // the filename path arg. And because Execute may be called multiple