Lines Matching defs:args
46 // 2.2 Formatter(args) [https://console.spec.whatwg.org/#formatter]
58 // This implementation updates the |args| in-place with the results
62 // |args| (starting with 1, since |args| also includes the receiver),
65 bool Formatter(Isolate* isolate, BuiltinArguments& args, int index) {
66 if (args.length() < index + 2 || !args[index].IsString()) {
76 states.push({args.at<String>(index++), 0});
77 while (!states.empty() && index < args.length()) {
84 Handle<Object> current = args.at(index);
137 args.set_at(index++, *current);
144 Isolate* isolate, const internal::BuiltinArguments& args,
151 debug::ConsoleCallArguments wrapper(args);
153 isolate, args.target(), isolate->factory()->console_context_id_symbol());
157 isolate, args.target(),
167 void LogTimerEvent(Isolate* isolate, BuiltinArguments args,
173 if (args.length() > 1 && args[1].IsString()) {
175 name = args.at<String>(1)->ToCString();
185 ConsoleCall(isolate, args, &debug::ConsoleDelegate::call); \
194 if (!Formatter(isolate, args, index)) { \
197 ConsoleCall(isolate, args, &debug::ConsoleDelegate::call); \
205 LogTimerEvent(isolate, args, v8::LogEventStatus::kStart);
206 ConsoleCall(isolate, args, &debug::ConsoleDelegate::Time);
212 LogTimerEvent(isolate, args, v8::LogEventStatus::kEnd);
213 ConsoleCall(isolate, args, &debug::ConsoleDelegate::TimeEnd);
219 LogTimerEvent(isolate, args, v8::LogEventStatus::kStamp);
220 ConsoleCall(isolate, args, &debug::ConsoleDelegate::TimeStamp);
283 args.at(1));
288 args.at(1));
290 id, args.at(1));
292 Builtin::kConsoleTimeStamp, id, args.at(1));