Lines Matching defs:argv
249 Handle<Value> argv[1] = { result };
250 Handle<Value> s = Handle<Function>::Cast(fun)->Call(global, 1, argv);
623 Handle<Value> argv[kArgc] = { evaluation_context->Global(), text, full };
624 Handle<Value> val = Handle<Function>::Cast(fun)->Call(global, kArgc, argv);
640 Handle<Value> argv[kArgc] = { message };
641 Handle<Value> val = Handle<Function>::Cast(fun)->Call(global, kArgc, argv);
656 Handle<Value> argv[kArgc] = { command };
657 Handle<Value> val = Handle<Function>::Cast(fun)->Call(global, kArgc, argv);
1383 bool Shell::SetOptions(int argc, char* argv[]) {
1385 if (strcmp(argv[i], "--stress-opt") == 0) {
1387 argv[i] = NULL;
1388 } else if (strcmp(argv[i], "--nostress-opt") == 0) {
1390 argv[i] = NULL;
1391 } else if (strcmp(argv[i], "--stress-deopt") == 0) {
1393 argv[i] = NULL;
1394 } else if (strcmp(argv[i], "--mock-arraybuffer-allocator") == 0) {
1396 argv[i] = NULL;
1397 } else if (strcmp(argv[i], "--noalways-opt") == 0) {
1401 } else if (strcmp(argv[i], "--shell") == 0) {
1403 argv[i] = NULL;
1404 } else if (strcmp(argv[i], "--test") == 0) {
1406 argv[i] = NULL;
1407 } else if (strcmp(argv[i], "--send-idle-notification") == 0) {
1409 argv[i] = NULL;
1410 } else if (strcmp(argv[i], "-f") == 0) {
1414 } else if (strcmp(argv[i], "--isolate") == 0) {
1420 } else if (strcmp(argv[i], "-p") == 0) {
1427 } else if (strcmp(argv[i], "--dump-heap-constants") == 0) {
1433 argv[i] = NULL;
1435 } else if (strcmp(argv[i], "--throws") == 0) {
1437 argv[i] = NULL;
1440 else if (strcmp(argv[i], "--dump-counters") == 0) {
1443 } else if (strcmp(argv[i], "--debugger") == 0) {
1455 if (argv[i] == NULL) continue;
1456 if (strcmp(argv[i], "-p") == 0 && i + 1 < argc) {
1461 argv[i] = NULL;
1463 options.parallel_files[parallel_files_set] = argv[i];
1465 argv[i] = NULL;
1474 v8::V8::SetFlagsFromCommandLine(&argc, argv, true);
1479 current->Begin(argv, 1);
1481 const char* str = argv[i];
1485 current->Begin(argv, i + 1);
1486 } else if (strncmp(argv[i], "--", 2) == 0) {
1487 printf("Warning: unknown flag %s.\nTry --help for options\n", argv[i]);
1496 int Shell::RunMain(Isolate* isolate, int argc, char* argv[]) {
1669 int Shell::Main(int argc, char* argv[]) {
1670 if (!SetOptions(argc, argv)) return 1;
1718 result = RunMain(isolate, argc, argv);
1728 result = RunMain(isolate, argc, argv);
1732 result = RunMain(isolate, argc, argv);
1769 int main(int argc, char* argv[]) {
1770 return v8::Shell::Main(argc, argv);