Lines Matching refs:v8

11 protocol::Response toProtocolValue(v8::Local<v8::Context> context,  in toProtocolValue()
12 v8::Local<v8::Value> value, int maxDepth, in toProtocolValue()
28 protocol::FundamentalValue::create(value.As<v8::Boolean>()->Value()); in toProtocolValue()
32 double doubleValue = value.As<v8::Number>()->Value(); in toProtocolValue()
43 toProtocolString(context->GetIsolate(), value.As<v8::String>())); in toProtocolValue()
47 v8::Local<v8::Array> array = value.As<v8::Array>(); in toProtocolValue()
52 v8::Local<v8::Value> value; in toProtocolValue()
66 v8::Local<v8::Object> object = v8::Local<v8::Object>::Cast(value); in toProtocolValue()
67 v8::Local<v8::Array> propertyNames; in toProtocolValue()
72 v8::Local<v8::Value> name; in toProtocolValue()
77 v8::Maybe<bool> hasRealNamedProperty = object->HasRealNamedProperty( in toProtocolValue()
78 context, v8::Local<v8::String>::Cast(name)); in toProtocolValue()
83 v8::Local<v8::String> propertyName; in toProtocolValue()
85 v8::Local<v8::Value> property; in toProtocolValue()
105 v8::Maybe<bool> createDataProperty(v8::Local<v8::Context> context, in createDataProperty()
106 v8::Local<v8::Object> object, in createDataProperty()
107 v8::Local<v8::Name> key, in createDataProperty()
108 v8::Local<v8::Value> value) { in createDataProperty()
109 v8::TryCatch tryCatch(context->GetIsolate()); in createDataProperty()
110 v8::Isolate::DisallowJavascriptExecutionScope throwJs( in createDataProperty()
112 v8::Isolate::DisallowJavascriptExecutionScope::THROW_ON_FAILURE); in createDataProperty()
116 v8::Maybe<bool> createDataProperty(v8::Local<v8::Context> context, in createDataProperty()
117 v8::Local<v8::Array> array, int index, in createDataProperty()
118 v8::Local<v8::Value> value) { in createDataProperty()
119 v8::TryCatch tryCatch(context->GetIsolate()); in createDataProperty()
120 v8::Isolate::DisallowJavascriptExecutionScope throwJs( in createDataProperty()
122 v8::Isolate::DisallowJavascriptExecutionScope::THROW_ON_FAILURE); in createDataProperty()
126 protocol::Response toProtocolValue(v8::Local<v8::Context> context, in toProtocolValue()
127 v8::Local<v8::Value> value, in toProtocolValue()