Home
last modified time | relevance | path

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

/third_party/cef/tests/cefclient/renderer/
Dperformance_test_tests.cc18 CefRefPtr<CefV8Value> value = CefV8Value::CreateNull(); in PERF_TEST_FUNC()
24 CefRefPtr<CefV8Value> value = CefV8Value::CreateBool(true); in PERF_TEST_FUNC()
30 CefRefPtr<CefV8Value> value = CefV8Value::CreateInt(-5); in PERF_TEST_FUNC()
36 CefRefPtr<CefV8Value> value = CefV8Value::CreateUInt(10); in PERF_TEST_FUNC()
42 CefRefPtr<CefV8Value> value = CefV8Value::CreateDouble(12.432); in PERF_TEST_FUNC()
50 CefRefPtr<CefV8Value> value = CefV8Value::CreateDate(time); in PERF_TEST_FUNC()
58 CefRefPtr<CefV8Value> value = CefV8Value::CreateString(str); in PERF_TEST_FUNC()
64 CefRefPtr<CefV8Value> value = CefV8Value::CreateArray(1); in PERF_TEST_FUNC()
69 CefRefPtr<CefV8Value> val = CefV8Value::CreateBool(true); in PERF_TEST_FUNC()
70 CefRefPtr<CefV8Value> array = CefV8Value::CreateArray(1); in PERF_TEST_FUNC()
[all …]
Dperformance_test.cc35 CefRefPtr<CefV8Value> object, in Execute()
37 CefRefPtr<CefV8Value>& retval, in Execute()
50 retval = CefV8Value::CreateInt(delta); in Execute()
66 retval = CefV8Value::CreateArray(kPerfTestsCount); in Execute()
68 CefRefPtr<CefV8Value> val = CefV8Value::CreateArray(2); in Execute()
69 val->SetValue(0, CefV8Value::CreateString(kPerfTests[i].name)); in Execute()
70 val->SetValue(1, CefV8Value::CreateUInt(kPerfTests[i].iterations)); in Execute()
75 retval = CefV8Value::CreateInt(1); in Execute()
81 retval = CefV8Value::CreateUndefined(); in Execute()
84 retval = CefV8Value::CreateNull(); in Execute()
[all …]
/third_party/cef/include/
Dcef_v8.h50 class CefV8Value; variable
179 virtual CefRefPtr<CefV8Value> GetGlobal() = 0;
217 CefRefPtr<CefV8Value>& retval,
221 typedef std::vector<CefRefPtr<CefV8Value>> CefV8ValueList;
239 CefRefPtr<CefV8Value> object,
241 CefRefPtr<CefV8Value>& retval,
262 const CefRefPtr<CefV8Value> object,
263 CefRefPtr<CefV8Value>& retval,
275 const CefRefPtr<CefV8Value> object,
276 const CefRefPtr<CefV8Value> value,
[all …]
/third_party/cef/tests/ceftests/
Dv8_unittest.cc262 CefRefPtr<CefV8Value> value = CefV8Value::CreateNull(); in RunNullCreateTest()
281 CefRefPtr<CefV8Value> value = CefV8Value::CreateBool(true); in RunBoolCreateTest()
301 CefRefPtr<CefV8Value> value = CefV8Value::CreateInt(12); in RunIntCreateTest()
323 CefRefPtr<CefV8Value> value = CefV8Value::CreateUInt(12); in RunUIntCreateTest()
345 CefRefPtr<CefV8Value> value = CefV8Value::CreateDouble(12.1223); in RunDoubleCreateTest()
381 CefRefPtr<CefV8Value> value = CefV8Value::CreateDate(date); in RunDateCreateTest()
404 CefRefPtr<CefV8Value> value = CefV8Value::CreateString("My string"); in RunStringCreateTest()
424 CefRefPtr<CefV8Value> value = CefV8Value::CreateString(CefString()); in RunEmptyStringCreateTest()
449 CefRefPtr<CefV8Value> value = CefV8Value::CreateArray(2); in RunArrayCreateTest()
479 CefRefPtr<CefV8Value> value = CefV8Value::CreateArray(0); in RunArrayValueTest()
[all …]
Dmessage_router_unittest.cc48 CefRefPtr<CefV8Value> object, in Execute()
50 CefRefPtr<CefV8Value>& retval, in Execute()
125 CefRefPtr<CefV8Value> window = context->GetGlobal(); in OnContextCreated()
128 CefV8Value::PropertyAttribute attributes = in OnContextCreated()
129 static_cast<CefV8Value::PropertyAttribute>( in OnContextCreated()
133 CefRefPtr<CefV8Value> notify_func = in OnContextCreated()
134 CefV8Value::CreateFunction(kJSNotifyFunc, handler.get()); in OnContextCreated()
137 CefRefPtr<CefV8Value> total_count_func = in OnContextCreated()
138 CefV8Value::CreateFunction(kJSAssertTotalCountFunc, handler.get()); in OnContextCreated()
141 CefRefPtr<CefV8Value> browser_count_func = in OnContextCreated()
[all …]
/third_party/cef/libcef_dll/ctocpp/
Dv8value_ctocpp.cc27 NO_SANITIZE("cfi-icall") CefRefPtr<CefV8Value> CefV8Value::CreateUndefined() { in CreateUndefined()
37 NO_SANITIZE("cfi-icall") CefRefPtr<CefV8Value> CefV8Value::CreateNull() { in CreateNull()
48 CefRefPtr<CefV8Value> CefV8Value::CreateBool(bool value) { in CreateBool()
59 CefRefPtr<CefV8Value> CefV8Value::CreateInt(int32 value) { in CreateInt()
70 CefRefPtr<CefV8Value> CefV8Value::CreateUInt(uint32 value) { in CreateUInt()
81 CefRefPtr<CefV8Value> CefV8Value::CreateDouble(double value) { in CreateDouble()
92 CefRefPtr<CefV8Value> CefV8Value::CreateDate(const CefTime& date) { in CreateDate()
103 CefRefPtr<CefV8Value> CefV8Value::CreateString(const CefString& value) { in CreateString()
116 CefRefPtr<CefV8Value> CefV8Value::CreateObject( in CreateObject()
133 CefRefPtr<CefV8Value> CefV8Value::CreateArray(int length) { in CreateArray()
[all …]
Dv8interceptor_ctocpp.h39 const CefRefPtr<CefV8Value> object,
40 CefRefPtr<CefV8Value>& retval,
43 const CefRefPtr<CefV8Value> object,
44 CefRefPtr<CefV8Value>& retval,
47 const CefRefPtr<CefV8Value> object,
48 const CefRefPtr<CefV8Value> value,
51 const CefRefPtr<CefV8Value> object,
52 const CefRefPtr<CefV8Value> value,
Dv8value_ctocpp.h31 : public CefCToCppRefCounted<CefV8ValueCToCpp, CefV8Value, cef_v8value_t> {
50 bool IsSame(CefRefPtr<CefV8Value> that) override;
67 CefRefPtr<CefV8Value> GetValue(const CefString& key) override;
68 CefRefPtr<CefV8Value> GetValue(int index) override;
70 CefRefPtr<CefV8Value> value,
72 bool SetValue(int index, CefRefPtr<CefV8Value> value) override;
87 CefRefPtr<CefV8Value> ExecuteFunction(
88 CefRefPtr<CefV8Value> object,
90 CefRefPtr<CefV8Value> ExecuteFunctionWithContext(
92 CefRefPtr<CefV8Value> object,
Dv8interceptor_ctocpp.cc22 const CefRefPtr<CefV8Value> object, in Get()
23 CefRefPtr<CefV8Value>& retval, in Get()
66 const CefRefPtr<CefV8Value> object, in Get()
67 CefRefPtr<CefV8Value>& retval, in Get()
110 const CefRefPtr<CefV8Value> object, in Set()
111 const CefRefPtr<CefV8Value> value, in Set()
143 const CefRefPtr<CefV8Value> object, in Set()
144 const CefRefPtr<CefV8Value> value, in Set()
Dv8accessor_ctocpp.h38 const CefRefPtr<CefV8Value> object,
39 CefRefPtr<CefV8Value>& retval,
42 const CefRefPtr<CefV8Value> object,
43 const CefRefPtr<CefV8Value> value,
Dv8accessor_ctocpp.cc22 const CefRefPtr<CefV8Value> object, in Get()
23 CefRefPtr<CefV8Value>& retval, in Get()
66 const CefRefPtr<CefV8Value> object, in Set()
67 const CefRefPtr<CefV8Value> value, in Set()
Dv8handler_ctocpp.h38 CefRefPtr<CefV8Value> object,
40 CefRefPtr<CefV8Value>& retval,
Dv8context_ctocpp.h41 CefRefPtr<CefV8Value> GetGlobal() override;
48 CefRefPtr<CefV8Value>& retval,
Dv8handler_ctocpp.cc22 CefRefPtr<CefV8Value> object, in Execute()
24 CefRefPtr<CefV8Value>& retval, in Execute()
Dv8context_ctocpp.cc116 NO_SANITIZE("cfi-icall") CefRefPtr<CefV8Value> CefV8ContextCToCpp::GetGlobal() { in GetGlobal()
182 CefRefPtr<CefV8Value>& retval, in Eval()
/third_party/cef/libcef_dll/cpptoc/
Dv8value_cpptoc.cc31 CefRefPtr<CefV8Value> _retval = CefV8Value::CreateUndefined(); in cef_v8value_create_undefined()
41 CefRefPtr<CefV8Value> _retval = CefV8Value::CreateNull(); in cef_v8value_create_null()
51 CefRefPtr<CefV8Value> _retval = CefV8Value::CreateBool(value ? true : false); in cef_v8value_create_bool()
61 CefRefPtr<CefV8Value> _retval = CefV8Value::CreateInt(value); in cef_v8value_create_int()
71 CefRefPtr<CefV8Value> _retval = CefV8Value::CreateUInt(value); in cef_v8value_create_uint()
81 CefRefPtr<CefV8Value> _retval = CefV8Value::CreateDouble(value); in cef_v8value_create_double()
99 CefRefPtr<CefV8Value> _retval = CefV8Value::CreateDate(dateVal); in cef_v8value_create_date()
111 CefRefPtr<CefV8Value> _retval = CefV8Value::CreateString(CefString(value)); in cef_v8value_create_string()
125 CefRefPtr<CefV8Value> _retval = in cef_v8value_create_object()
126 CefV8Value::CreateObject(CefV8AccessorCToCpp::Wrap(accessor), in cef_v8value_create_object()
[all …]
Dv8handler_cpptoc.cc56 std::vector<CefRefPtr<CefV8Value>> argumentsList; in v8handler_execute()
59 CefRefPtr<CefV8Value> argumentsVal = CefV8ValueCToCpp::Wrap(arguments[i]); in v8handler_execute()
64 CefRefPtr<CefV8Value> retvalPtr; in v8handler_execute()
67 CefV8Value* retvalOrig = retvalPtr.get(); in v8handler_execute()
Dv8interceptor_cpptoc.cc50 CefRefPtr<CefV8Value> retvalPtr; in v8interceptor_get_byname()
53 CefV8Value* retvalOrig = retvalPtr.get(); in v8interceptor_get_byname()
104 CefRefPtr<CefV8Value> retvalPtr; in v8interceptor_get_byindex()
107 CefV8Value* retvalOrig = retvalPtr.get(); in v8interceptor_get_byindex()
Dv8context_cpptoc.cc126 CefRefPtr<CefV8Value> _retval = CefV8ContextCppToC::Get(self)->GetGlobal(); in v8context_get_global()
206 CefRefPtr<CefV8Value> retvalPtr; in v8context_eval()
209 CefV8Value* retvalOrig = retvalPtr.get(); in v8context_eval()
Dv8accessor_cpptoc.cc50 CefRefPtr<CefV8Value> retvalPtr; in v8accessor_get()
53 CefV8Value* retvalOrig = retvalPtr.get(); in v8accessor_get()
Dv8value_cpptoc.h30 : public CefCppToCRefCounted<CefV8ValueCppToC, CefV8Value, cef_v8value_t> {
/third_party/cef/libcef/renderer/
Dv8_impl.h174 CefRefPtr<CefV8Value> GetGlobal() override;
181 CefRefPtr<CefV8Value>& retval,
197 class CefV8ValueImpl : public CefV8Value {
240 bool IsSame(CefRefPtr<CefV8Value> value) override;
257 CefRefPtr<CefV8Value> GetValue(const CefString& key) override;
258 CefRefPtr<CefV8Value> GetValue(int index) override;
260 CefRefPtr<CefV8Value> value,
262 bool SetValue(int index, CefRefPtr<CefV8Value> value) override;
277 CefRefPtr<CefV8Value> ExecuteFunction(
278 CefRefPtr<CefV8Value> object,
[all …]
Dv8_impl.cc526 CefRefPtr<CefV8Value> object = in FunctionCallbackImpl()
528 CefRefPtr<CefV8Value> retval; in FunctionCallbackImpl()
565 CefRefPtr<CefV8Value> retval; in AccessorNameGetterCallbackImpl()
566 CefRefPtr<CefV8Value> object = new CefV8ValueImpl(isolate, context, obj); in AccessorNameGetterCallbackImpl()
603 CefRefPtr<CefV8Value> object = new CefV8ValueImpl(isolate, context, obj); in AccessorNameSetterCallbackImpl()
604 CefRefPtr<CefV8Value> cefValue = in AccessorNameSetterCallbackImpl()
647 CefRefPtr<CefV8Value> object = new CefV8ValueImpl(isolate, context, obj); in InterceptorGetterCallbackImpl()
648 CefRefPtr<CefV8Value> retval; in InterceptorGetterCallbackImpl()
679 CefRefPtr<CefV8Value> object = new CefV8ValueImpl(isolate, context, obj); in InterceptorSetterCallbackImpl()
680 CefRefPtr<CefV8Value> cefValue = new CefV8ValueImpl(isolate, context, value); in InterceptorSetterCallbackImpl()
[all …]
/third_party/cef/libcef_dll/wrapper/
Dcef_message_router.cc609 CefRefPtr<CefV8Value> object, in Execute()
611 CefRefPtr<CefV8Value>& retval, in Execute()
619 CefRefPtr<CefV8Value> arg = arguments[0]; in Execute()
621 CefRefPtr<CefV8Value> requestVal = arg->GetValue(kMemberRequest); in Execute()
629 CefRefPtr<CefV8Value> successVal = nullptr; in Execute()
640 CefRefPtr<CefV8Value> failureVal = nullptr; in Execute()
651 CefRefPtr<CefV8Value> persistentVal = nullptr; in Execute()
670 retval = CefV8Value::CreateInt(request_id); in Execute()
687 retval = CefV8Value::CreateBool(result); in Execute()
780 CefRefPtr<CefV8Value> window = context->GetGlobal(); in OnContextCreated()
[all …]
/third_party/cef/tools/
Dtranslator.README.txt1351 C++: const std::vector<CefRefPtr<CefV8Value>>& value
1364 std::vector<CefRefPtr<CefV8Value>> valueList;
1465 C++: const std::vector<CefRefPtr<CefV8Value>>& value
1478 std::vector<CefRefPtr<CefV8Value>> valueList;
1644 // Create a new CefV8Value object of the specified type. These methods