Home | History | Annotate | Download | only in cctest

Lines Matching defs:program

298     const char* program = programs[i];
300 reinterpret_cast<const i::byte*>(program),
301 static_cast<unsigned>(strlen(program)));
332 const char* program = programs[i];
334 reinterpret_cast<const i::byte*>(program),
335 static_cast<unsigned>(strlen(program)));
397 const char* program = "var x = 'something';\n"
405 reinterpret_cast<const i::byte*>(program),
406 static_cast<unsigned>(strlen(program)));
434 const char* program =
439 i::Handle<i::String> source = factory->NewStringFromAsciiChecked(program);
454 static_cast<int>(strstr(program, "function") - program);
456 CHECK_EQ('{', program[first_lbrace]);
461 static_cast<int>(strstr(program + first_lbrace, "function") - program);
464 CHECK_EQ('{', program[second_lbrace]);
467 CHECK_EQ('}', program[entry2.end_pos() - 1]);
479 i::SmartArrayPointer<char> program(i::NewArray<char>(kProgramSize + 1));
480 memset(program.get(), '(', kProgramSize);
481 program[kProgramSize] = '\0';
486 reinterpret_cast<const i::byte*>(program.get()),
915 // nested in the global scope of a program. 'inner source' is the
1107 i::ScopedVector<char> program(kProgramByteSize + 1);
1108 i::SNPrintF(program, "%s%s%s",
1113 // Parse program source.
1115 i::CStrVector(program.start())).ToHandleChecked();
1409 i::ScopedVector<char> program(kProgramSize + 1);
1410 int length = i::SNPrintF(program,
1417 TestParserSync(program.start(), flags1, ARRAY_SIZE(flags1));
1486 i::ScopedVector<char> program(kProgramSize + 1);
1487 int length = i::SNPrintF(program,
1493 TestParserSync(program.start(),
1974 const char* program;
1990 for (int i = 0; test_cases[i].program; i++) {
1991 const char* program = test_cases[i].program;
1994 factory->NewStringFromUtf8(i::CStrVector(program)).ToHandleChecked();
2005 "Expected preparse data for program:\n"
2008 program, test_cases[i].functions,