/external/chromium_org/third_party/WebKit/Source/web/ |
WebScriptBindings.cpp | 41 v8::Local<v8::String> WebScriptBindings::toV8String(const WebString& string, v8::Isolate* isolate)
|
/external/chromium_org/gin/ |
per_isolate_data.cc | 13 using v8::Local; 37 Local<ObjectTemplate> templ) { 42 Local<FunctionTemplate> templ) { 46 v8::Local<v8::ObjectTemplate> PerIsolateData::GetObjectTemplate( 50 return v8::Local<v8::ObjectTemplate>(); 54 v8::Local<v8::FunctionTemplate> PerIsolateData::GetFunctionTemplate( 58 return v8::Local<v8::FunctionTemplate>();
|
/external/chromium_org/third_party/WebKit/Source/bindings/v8/ |
V8PerContextData.h | 74 v8::Local<v8::Object> createWrapperFromCache(const WrapperTypeInfo* type) 76 v8::Local<v8::Object> boilerplate = m_wrapperBoilerplates.Get(type); 80 v8::Local<v8::Function> constructorForType(const WrapperTypeInfo* type) 82 v8::Local<v8::Function> function = m_constructorMap.Get(type); 86 v8::Local<v8::Object> prototypeForType(const WrapperTypeInfo*); 100 v8::Local<v8::Object> createWrapperFromCacheSlowCase(const WrapperTypeInfo*); 101 v8::Local<v8::Function> constructorForTypeSlowCase(const WrapperTypeInfo*);
|
Dictionary.cpp | 99 v8::Local<v8::Object> options = m_options->ToObject(); 111 bool Dictionary::getKey(const String& key, v8::Local<v8::Value>& value) const 115 v8::Local<v8::Object> options = m_options->ToObject(); 129 bool Dictionary::get(const String& key, v8::Local<v8::Value>& value) const 136 v8::Local<v8::Value> v8Value; 140 v8::Local<v8::Boolean> v8Bool = v8Value->ToBoolean(); 156 v8::Local<v8::Value> v8Value; 160 v8::Local<v8::Int32> v8Int32 = v8Value->ToInt32(); 169 v8::Local<v8::Value> v8Value; 176 TONATIVE_DEFAULT(v8::Local<v8::Number>, v8Number, v8Value->ToNumber(), false) [all...] |
V8PerContextData.cpp | 77 v8::Local<v8::Object> V8PerContextData::createWrapperFromCacheSlowCase(const WrapperTypeInfo* type) 82 v8::Local<v8::Function> function = constructorForType(type); 83 v8::Local<v8::Object> instanceTemplate = V8ObjectConstructor::newInstance(m_isolate, function); 88 return v8::Local<v8::Object>(); 91 v8::Local<v8::Function> V8PerContextData::constructorForTypeSlowCase(const WrapperTypeInfo* type) 99 v8::Local<v8::Function> function = functionTemplate->GetFunction(); 101 return v8::Local<v8::Function>(); 104 v8::Local<v8::Object> prototypeTemplate = constructorForType(type->parentClass); 106 return v8::Local<v8::Function>(); 110 v8::Local<v8::Value> prototypeValue = function->Get(v8AtomicString(m_isolate, "prototype")) [all...] |
V8AbstractEventListener.cpp | 84 // The callback function on XMLHttpRequest can clear the event listener and destroys 'this' object. Keep a local reference to it. 96 invokeEventHandler(event, v8::Local<v8::Value>::New(isolate(), jsEvent)); 105 void V8AbstractEventListener::invokeEventHandler(Event* event, v8::Local<v8::Value> jsEvent) 112 v8::Local<v8::Value> returnValue; 119 v8::Local<v8::Value> savedEvent = V8HiddenValue::getHiddenValue(isolate(), scriptState()->context()->Global(), V8HiddenValue::event(isolate())); 157 bool V8AbstractEventListener::shouldPreventDefault(v8::Local<v8::Value> returnValue) 164 v8::Local<v8::Object> V8AbstractEventListener::getReceiverObject(Event* event) 166 v8::Local<v8::Object> listener = m_listener.newLocal(isolate()); 173 return v8::Local<v8::Object>(); 174 return v8::Local<v8::Object>::New(isolate(), v8::Handle<v8::Object>::Cast(value)) [all...] |
ScriptController.h | 86 v8::Local<v8::Value> executeScriptInMainWorldAndReturnValue(const ScriptSourceCode&); 87 v8::Local<v8::Value> executeScriptAndReturnValue(v8::Handle<v8::Context>, const ScriptSourceCode&, AccessControlStatus = NotSharableCrossOrigin); 97 void executeScriptInIsolatedWorld(int worldID, const Vector<ScriptSourceCode>& sources, int extensionGroup, Vector<v8::Local<v8::Value> >* results); 102 v8::Local<v8::Value> callFunction(v8::Handle<v8::Function>, v8::Handle<v8::Value>, int argc, v8::Handle<v8::Value> argv[]); 103 static v8::Local<v8::Value> callFunction(ExecutionContext*, v8::Handle<v8::Function>, v8::Handle<v8::Value> receiver, int argc, v8::Handle<v8::Value> info[], v8::Isolate*); 157 v8::Local<v8::Value> evaluateScriptInMainWorld(const ScriptSourceCode&, AccessControlStatus, ExecuteScriptPolicy);
|
ScriptRegexp.cpp | 52 v8::Local<v8::RegExp> regex = v8::RegExp::New(v8String(isolate, pattern), static_cast<v8::RegExp::Flags>(flags)); 78 v8::Local<v8::RegExp> regex = m_regex.newLocal(isolate); 79 v8::Local<v8::Function> exec = regex->Get(v8AtomicString(isolate, "exec")).As<v8::Function>(); 81 v8::Local<v8::Value> returnValue = V8ScriptRunner::callInternalFunction(exec, regex, WTF_ARRAY_LENGTH(argv), argv, isolate); 97 v8::Local<v8::Array> result = returnValue.As<v8::Array>(); 100 v8::Local<v8::String> match = result->Get(0).As<v8::String>();
|
ScriptFunction.cpp | 17 v8::Local<v8::Value> value = args.Length() > 0 ? args[0] : v8::Local<v8::Value>(v8::Undefined(isolate));
|
V8Callback.cpp | 39 bool invokeCallback(ScriptState* scriptState, v8::Local<v8::Function> callback, int argc, v8::Handle<v8::Value> argv[]) 44 bool invokeCallback(ScriptState* scriptState, v8::Local<v8::Function> callback, v8::Handle<v8::Value> thisValue, int argc, v8::Handle<v8::Value> argv[])
|
/external/chromium_org/third_party/skia/experimental/SkV8Example/ |
JsContext.cpp | 36 Local<ObjectTemplate> localTemplate = ObjectTemplate::New(); 46 Local<ObjectTemplate>::New(fGlobal->getIsolate(), gContextTemplate); 49 Local<Object> result = templ->NewInstance(); 72 // Create a local context from our global context. 73 Local<Context> context = fGlobal->getContext(); 88 Local<Function> onDraw = 89 Local<Function>::New(fGlobal->getIsolate(), fOnDraw); 115 // Create a local context from our global context. 116 Local<Context> context = fGlobal->getContext();
|
/external/skia/experimental/SkV8Example/ |
JsContext.cpp | 36 Local<ObjectTemplate> localTemplate = ObjectTemplate::New(); 46 Local<ObjectTemplate>::New(fGlobal->getIsolate(), gContextTemplate); 49 Local<Object> result = templ->NewInstance(); 72 // Create a local context from our global context. 73 Local<Context> context = fGlobal->getContext(); 88 Local<Function> onDraw = 89 Local<Function>::New(fGlobal->getIsolate(), fOnDraw); 115 // Create a local context from our global context. 116 Local<Context> context = fGlobal->getContext();
|
/external/chromium_org/third_party/WebKit/Source/bindings/v8/custom/ |
V8DeviceMotionEventCustom.cpp | 37 PassRefPtrWillBeRawPtr<DeviceMotionData::Acceleration> readAccelerationArgument(v8::Local<v8::Value> value, v8::Isolate* isolate) 43 v8::Local<v8::Object> object = value->ToObject(); 45 v8::Local<v8::Value> xValue = object->Get(v8AtomicString(isolate, "x")); 51 v8::Local<v8::Value> yValue = object->Get(v8AtomicString(isolate, "y")); 57 v8::Local<v8::Value> zValue = object->Get(v8AtomicString(isolate, "z")); 69 PassRefPtrWillBeRawPtr<DeviceMotionData::RotationRate> readRotationRateArgument(v8::Local<v8::Value> value, v8::Isolate* isolate) 75 v8::Local<v8::Object> object = value->ToObject(); 77 v8::Local<v8::Value> alphaValue = object->Get(v8AtomicString(isolate, "alpha")); 83 v8::Local<v8::Value> betaValue = object->Get(v8AtomicString(isolate, "beta")); 89 v8::Local<v8::Value> gammaValue = object->Get(v8AtomicString(isolate, "gamma")) [all...] |
V8GeolocationCustom.cpp | 39 static PositionOptions* createPositionOptions(v8::Local<v8::Value> value, v8::Isolate* isolate, bool& succeeded, ExceptionState& exceptionState) 53 v8::Local<v8::Object> object = value->ToObject(); 59 v8::Local<v8::Value> enableHighAccuracyValue = object->Get(v8AtomicString(isolate, "enableHighAccuracy")); 65 v8::Local<v8::Boolean> enableHighAccuracyBoolean = enableHighAccuracyValue->ToBoolean(); 73 v8::Local<v8::Value> timeoutValue = object->Get(v8AtomicString(isolate, "timeout")); 79 v8::Local<v8::Number> timeoutNumber = timeoutValue->ToNumber(); 90 v8::Local<v8::Value> maximumAgeValue = object->Get(v8AtomicString(isolate, "maximumAge")); 96 v8::Local<v8::Number> maximumAgeNumber = maximumAgeValue->ToNumber();
|
/external/chromium_org/v8/test/cctest/ |
test-javascript-arm64.cc | 49 using ::v8::Local; 63 static void ExpectBoolean(bool expected, Local<Value> result) { 69 static void ExpectInt32(int32_t expected, Local<Value> result) { 75 static void ExpectNumber(double expected, Local<Value> result) { 81 static void ExpectUndefined(Local<Value> result) { 91 Local<Value> result = CompileRun("0x271828;"); 99 Local<Value> result = CompileRun("var my_global_var = 0x123; my_global_var;"); 107 Local<Value> result = CompileRun( 117 Local<Value> result = CompileRun( 139 Local<Value> result = CompileRun(buffer) [all...] |
test-log-stack-tracer.cc | 45 using v8::Local; 65 static bool IsAddressWithinFuncCode(v8::Local<v8::Context> context, 68 v8::Local<v8::Value> func = context->Global()->Get(v8_str(func_name)); 105 void CreateFramePointerGrabberConstructor(v8::Local<v8::Context> context, 107 Local<v8::FunctionTemplate> constructor_template = 110 Local<Function> fun = constructor_template->GetFunction(); 118 static void CreateTraceCallerFunction(v8::Local<v8::Context> context, 150 v8::Local<v8::Context> context = CcTest::NewContext(TRACE_EXTENSION); 156 Local<Value> result = CompileRun( 198 v8::Local<v8::Context> context = CcTest::NewContext(TRACE_EXTENSION) [all...] |
/external/oprofile/events/x86-64/family11h/ |
unit_masks | 131 0xa1 Requests Local I/O to Local I/O 132 0xa2 Requests Local I/O to Local Memory 133 0xa3 Requests Local I/O to Local (I/O or Mem) 134 0xa4 Requests Local CPU to Local I/O 135 0xa5 Requests Local (CPU or I/O) to Local I/ [all...] |
/external/oprofile/events/x86-64/hammer/ |
unit_masks | 125 0xa1 Requests Local I/O to Local I/O 126 0xa2 Requests Local I/O to Local Memory 127 0xa3 Requests Local I/O to Local (I/O or Mem) 128 0xa4 Requests Local CPU to Local I/O 129 0xa5 Requests Local (CPU or I/O) to Local I/ [all...] |
/external/chromium_org/v8/src/ |
d8-debug.cc | 31 Local<String> to_json_fun_name = 34 Local<Function> to_json_fun = 35 Local<Function>::Cast(event_data->Get(to_json_fun_name)); 36 Local<Value> event_json = to_json_fun->Call(event_data, 0, NULL); 57 Local<String> fun_name = 60 Local<Function> fun = Local<Function>::Cast(exec_state->Get(fun_name)); 61 Local<Object> cmd_processor = 62 Local<Object>::Cast(fun->Call(exec_state, 0, NULL));
|
/external/dexmaker/src/test/java/com/google/dexmaker/examples/ |
FibonacciMaker.java | 24 import com.google.dexmaker.Local; 42 Local<Integer> i = code.getParameter(0, TypeId.INT); 43 Local<Integer> constant1 = code.newLocal(TypeId.INT); 44 Local<Integer> constant2 = code.newLocal(TypeId.INT); 45 Local<Integer> a = code.newLocal(TypeId.INT); 46 Local<Integer> b = code.newLocal(TypeId.INT); 47 Local<Integer> c = code.newLocal(TypeId.INT); 48 Local<Integer> d = code.newLocal(TypeId.INT); 49 Local<Integer> result = code.newLocal(TypeId.INT);
|
HelloWorldMaker.java | 23 import com.google.dexmaker.Local; 73 Local<Integer> a = code.newLocal(TypeId.INT); 74 Local<Integer> b = code.newLocal(TypeId.INT); 75 Local<Integer> c = code.newLocal(TypeId.INT); 76 Local<String> s = code.newLocal(TypeId.STRING); 77 Local<PrintStream> localSystemOut = code.newLocal(printStreamType);
|
/external/chromium_org/gin/modules/ |
console.cc | 37 v8::Local<v8::Value> Console::GetModule(v8::Isolate* isolate) { 39 v8::Local<ObjectTemplate> templ = data->GetObjectTemplate(&g_wrapper_info);
|
/external/chromium_org/mojo/apps/js/bindings/gl/ |
module.cc | 34 v8::Local<v8::Value> GetModule(v8::Isolate* isolate) { 36 v8::Local<v8::ObjectTemplate> templ = data->GetObjectTemplate(&kWrapperInfo);
|
/external/chromium_org/mojo/bindings/js/ |
support.cc | 41 v8::Local<v8::Value> Support::GetModule(v8::Isolate* isolate) { 43 v8::Local<v8::ObjectTemplate> templ = data->GetObjectTemplate(
|
/external/chromium_org/third_party/WebKit/Source/core/testing/v8/ |
WebCoreTestSupport.cpp | 40 void injectInternalsObject(v8::Local<v8::Context> context) 50 void resetInternalsObject(v8::Local<v8::Context> context)
|