Home
last modified time | relevance | path

Searched refs:ToCString (Results 1 – 25 of 48) sorted by relevance

12

/external/protobuf/gtest/test/
Dgtest-message_test.cc44 const char* ToCString(const Message& msg) { in ToCString() function
55 EXPECT_STREQ("", ToCString(msg)); in TEST()
62 EXPECT_STREQ("Hello", ToCString(msg2)); in TEST()
68 EXPECT_STREQ("Hello", ToCString(msg)); in TEST()
75 EXPECT_STRNE("(null)", ToCString(Message() << p)); in TEST()
81 EXPECT_STREQ("(null)", ToCString(Message() << p)); in TEST()
86 EXPECT_STREQ("Foo", ToCString(Message() << "Foo")); in TEST()
92 EXPECT_STREQ("(null)", ToCString(Message() << p)); in TEST()
103 EXPECT_STREQ("Hello", ToCString(Message() << str)); in TEST()
113 ToCString(Message() << string_with_nul)); in TEST()
[all …]
/external/chromium_org/v8/samples/
Dlineprocessor.cc80 const char* ToCString(const v8::String::Utf8Value& value);
248 const char* cstr = ToCString(str); in RunCppCycle()
270 const char* ToCString(const v8::String::Utf8Value& value) { in ToCString() function
301 const char* exception_string = ToCString(exception); in ReportException()
310 const char* filename_string = ToCString(filename); in ReportException()
315 const char* sourceline_string = ToCString(sourceline); in ReportException()
344 const char* cstr = ToCString(str); in Print()
Dshell.cc113 const char* ToCString(const v8::String::Utf8Value& value) { in ToCString() function
156 const char* cstr = ToCString(str); in Print()
349 const char* cstr = ToCString(str); in ExecuteString()
361 const char* exception_string = ToCString(exception); in ReportException()
370 const char* filename_string = ToCString(filename); in ReportException()
375 const char* sourceline_string = ToCString(sourceline); in ReportException()
389 const char* stack_trace_string = ToCString(stack_trace); in ReportException()
/external/chromium_org/v8/src/compiler/
Djs-inlining.cc384 function->shared()->DebugName()->ToCString(); in TryInlineCall()
386 info_->shared_info()->DebugName()->ToCString().get()); in TryInlineCall()
396 SmartArrayPointer<char> name = function->shared()->DebugName()->ToCString(); in TryInlineCall()
401 name.get(), info_->shared_info()->DebugName()->ToCString().get()); in TryInlineCall()
407 SmartArrayPointer<char> name = function->shared()->DebugName()->ToCString(); in TryInlineCall()
409 info_->shared_info()->DebugName()->ToCString().get()); in TryInlineCall()
Dpipeline.cc96 info_->shared_info()->DebugName()->ToCString(); in VerifyAndPrintGraph()
171 << info()->function()->debug_name()->ToCString().get() in GenerateCode()
323 << info()->function()->debug_name()->ToCString().get() in GenerateCode()
Dcode-generator.cc156 file->ToCString().get(), ln, cn); in AssembleSourcePosition()
/external/chromium_org/v8/src/
Dcodegen.cc120 PrintF("%s", info->function()->debug_name()->ToCString().get()); in MakeCodePrologue()
203 function->debug_name()->ToCString().get(), os); in PrintCode()
217 code->Disassemble(function->debug_name()->ToCString().get(), os); in PrintCode()
Dlog.cc876 String::cast(key)->ToCString(DISALLOW_NULLS, ROBUST_STRING_TRAVERSAL); in ApiNamedSecurityCheck()
883 SmartArrayPointer<char> str = String::cast(symbol->name())->ToCString( in ApiNamedSecurityCheck()
1045 class_name_obj->ToCString(DISALLOW_NULLS, ROBUST_STRING_TRAVERSAL); in ApiNamedPropertyAccess()
1048 String::cast(name)->ToCString(DISALLOW_NULLS, ROBUST_STRING_TRAVERSAL); in ApiNamedPropertyAccess()
1057 SmartArrayPointer<char> str = String::cast(symbol->name())->ToCString( in ApiNamedPropertyAccess()
1071 class_name_obj->ToCString(DISALLOW_NULLS, ROBUST_STRING_TRAVERSAL); in ApiIndexedPropertyAccess()
1080 class_name_obj->ToCString(DISALLOW_NULLS, ROBUST_STRING_TRAVERSAL); in ApiObjectAccess()
1128 String::cast(name)->ToCString(DISALLOW_NULLS, ROBUST_STRING_TRAVERSAL); in CallbackEventInternal()
1135 SmartArrayPointer<char> str = String::cast(symbol->name())->ToCString( in CallbackEventInternal()
1231 String::cast(name)->ToCString(DISALLOW_NULLS, ROBUST_STRING_TRAVERSAL); in CodeCreateEvent()
[all …]
Dmessages.cc29 data_str = Handle<String>::cast(data)->ToCString(DISALLOW_NULLS); in DefaultMessageReport()
161 return GetMessage(isolate, data)->ToCString(DISALLOW_NULLS); in GetLocalizedMessage()
Dstring-stream.h114 SmartArrayPointer<const char> ToCString() const;
Dregexp-macro-assembler-tracer.cc409 PrintF(" GetCode(%s);\n", source->ToCString().get()); in GetCode()
Dd8.cc174 const char* Shell::ToCString(const v8::String::Utf8Value& value) { in ToCString() function in v8::Shell
597 const char* exception_string = ToCString(exception); in ReportException()
606 const char* filename_string = ToCString(filename); in ReportException()
611 const char* sourceline_string = ToCString(sourceline); in ReportException()
625 const char* stack_trace_string = ToCString(stack_trace); in ReportException()
Ddisassembler.cc202 SmartArrayPointer<const char> obj_name = accumulator.ToCString(); in DecodeIt()
Dhydrogen-instructions.cc1096 os << name()->ToCString().get() << " "; in PrintDataTo()
1104 << class_name()->ToCString().get() << "\")"; in PrintDataTo()
1291 os << NameOf(value()) << " == " << type_literal()->ToCString().get(); in PrintDataTo()
2650 return os << function()->debug_name()->ToCString().get() in PrintDataTo()
3410 return os << NameOf(object()) << "." << n->ToCString().get(); in PrintDataTo()
3546 return os << NameOf(object()) << "." << n->ToCString().get() << " = " in PrintDataTo()
3612 return os << name()->ToCString().get() << " "; in PrintDataTo()
4766 os << Handle<String>::cast(access.name())->ToCString().get(); in operator <<()
4772 os << Handle<String>::cast(access.name())->ToCString().get(); in operator <<()
Dgdb-jit.cc997 return String::cast(script_->name())->ToCString(); in GetFilename()
1132 scope->parameter(param)->name()->ToCString(DISALLOW_NULLS).get()); in WriteBodyInternal()
1183 stack_locals[local]->name()->ToCString(DISALLOW_NULLS).get()); in WriteBodyInternal()
2009 Handle<String>::cast(name)->ToCString(DISALLOW_NULLS); in AddCode()
Dd8.h259 static const char* ToCString(const v8::String::Utf8Value& value);
Dstring-stream.cc241 SmartArrayPointer<const char> StringStream::ToCString() const { in ToCString() function in v8::internal::StringStream
Disolate.cc1119 String::cast(exception)->ToCString().get(), in DoThrow()
1120 String::cast(location->script()->name())->ToCString().get(), in DoThrow()
1125 String::cast(location->script()->name())->ToCString().get(), in DoThrow()
Dprofile-generator.cc94 str->ToCString(DISALLOW_NULLS, ROBUST_STRING_TRAVERSAL, 0, length, in GetName()
Dobjects-printer.cc808 source->ToCString(DISALLOW_NULLS, in SharedFunctionInfoPrint()
/external/chromium_org/v8/src/ic/
Daccess-compiler.cc35 Handle<String>::cast(name)->ToCString().get()) in GetCodeWithFlags()
/external/chromium_org/v8/test/cctest/
Dtest-parsing.cc1300 source->ToCString().get(), message_string->ToCString().get()); in TestParserSyncWithFlags()
1311 source->ToCString().get(), message_string->ToCString().get()); in TestParserSyncWithFlags()
1324 source->ToCString().get(), in TestParserSyncWithFlags()
1325 message_string->ToCString().get(), in TestParserSyncWithFlags()
1326 preparser_message->ToCString().get()); in TestParserSyncWithFlags()
1336 source->ToCString().get(), in TestParserSyncWithFlags()
1337 FormatMessage(log.ErrorMessageData())->ToCString().get()); in TestParserSyncWithFlags()
1344 source->ToCString().get()); in TestParserSyncWithFlags()
Dtest-strings.cc1179 CHECK_EQ("bcdefghijklmnopqrstuvwxy", string->ToCString().get()); in TEST()
1201 CHECK_EQ("bcdefghijklmnopqrstuvwxy", string->ToCString().get()); in TEST()
1208 CHECK_EQ("cdefghijklmnopqrstuvwx", string->ToCString().get()); in TEST()
1271 CHECK_EQ("cde", string->ToCString().get()); in TEST()
1286 CHECK_EQ("cdefghijklmnopq", string->ToCString().get()); in TEST()
Dtest-func-name-inference.cc90 shared_func_info->inferred_name()->ToCString(); in CheckFunctionName()
/external/chromium_org/v8/test/cctest/compiler/
Dtest-run-inlining.cc23 frame->function()->shared()->DebugName()->ToCString().get(), in AssertInlineCount()

12