Lines Matching defs:string
81 Local<String> string;
82 if (!value->ToString(isolate->GetCurrentContext()).ToLocal(&string)) return;
85 if (!StringBytes::StorageSize(isolate, string, UTF8).To(&storage)) return;
91 string->WriteUtf8(isolate, target->out(), storage, nullptr, flags);
108 Local<String> string;
109 if (!value->ToString(isolate->GetCurrentContext()).ToLocal(&string)) return;
112 const size_t storage = string->Length() + 1;
116 const int length = string->Write(isolate, out(), 0, storage, flags);
122 // it will return a Utf8 encoded string. If value is a Buffer,
152 std::string GetProcessTitle(const char* default_title) {
153 std::string buf(16, '\0');
177 std::string GetHumanReadableProcessName() {
236 v8::Local<v8::String> string) {
237 node::Utf8Value utf8(isolate, string);
242 int ReadFileSync(std::string* result, const char* path) {
261 *result = std::string("");
292 std::string DiagnosticFilename::MakeFilename(
579 // external string at all in that case.