Home
last modified time | relevance | path

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

12345678910>>...58

/external/pdfium/fxjs/
Dcfx_v8.cpp12 CFX_V8::CFX_V8(v8::Isolate* isolate) : m_pIsolate(isolate) {} in CFX_V8()
16 v8::Local<v8::Value> CFX_V8::GetObjectProperty( in GetObjectProperty()
17 v8::Local<v8::Object> pObj, in GetObjectProperty()
20 return v8::Local<v8::Value>(); in GetObjectProperty()
21 v8::Local<v8::Value> val; in GetObjectProperty()
24 return v8::Local<v8::Value>(); in GetObjectProperty()
29 v8::Local<v8::Object> pObj) { in GetObjectPropertyNames()
33 v8::Local<v8::Array> val; in GetObjectPropertyNames()
34 v8::Local<v8::Context> context = m_pIsolate->GetCurrentContext(); in GetObjectPropertyNames()
46 bool CFX_V8::PutObjectProperty(v8::Local<v8::Object> pObj, in PutObjectProperty()
[all …]
Dcjs_publicmethods.h34 const std::vector<v8::Local<v8::Value>>& params);
37 const std::vector<v8::Local<v8::Value>>& params);
40 const std::vector<v8::Local<v8::Value>>& params);
43 const std::vector<v8::Local<v8::Value>>& params);
46 const std::vector<v8::Local<v8::Value>>& params);
49 const std::vector<v8::Local<v8::Value>>& params);
52 const std::vector<v8::Local<v8::Value>>& params);
55 const std::vector<v8::Local<v8::Value>>& params);
58 const std::vector<v8::Local<v8::Value>>& params);
61 const std::vector<v8::Local<v8::Value>>& params);
[all …]
Dcfx_v8.h18 explicit CFX_V8(v8::Isolate* pIsolate);
21 v8::Isolate* GetIsolate() const { return m_pIsolate.Get(); } in GetIsolate()
23 v8::Local<v8::Value> NewNull();
24 v8::Local<v8::Value> NewUndefined();
25 v8::Local<v8::Array> NewArray();
26 v8::Local<v8::Object> NewObject();
27 v8::Local<v8::Number> NewNumber(int number);
28 v8::Local<v8::Number> NewNumber(double number);
29 v8::Local<v8::Number> NewNumber(float number);
30 v8::Local<v8::Boolean> NewBoolean(bool b);
[all …]
Dcfxjs_engine.cpp25 v8::Isolate* g_isolate = nullptr;
28 v8::Global<v8::ObjectTemplate>* g_DefaultGlobalObjectTemplate = nullptr;
35 std::pair<int, int> GetLineAndColumnFromError(v8::Local<v8::Message> message, in GetLineAndColumnFromError()
36 v8::Local<v8::Context> context) { in GetLineAndColumnFromError()
47 : public v8::StdMapTraits<CFXJS_PerObjectData*, v8::Object> {
50 using MapType = v8::
51 GlobalValueMap<WeakCallbackDataType*, v8::Object, V8TemplateMapTraits>;
53 static const v8::PersistentContainerCallbackType kCallbackType =
54 v8::kWeakWithInternalFields;
59 v8::Local<v8::Object> value) { in WeakCallbackParameter()
[all …]
Dcjs_document.h28 CJS_Document(v8::Local<v8::Object> pObject, CJS_Runtime* pRuntime);
121 CJS_Result set_ADBE(CJS_Runtime* pRuntime, v8::Local<v8::Value> vp);
124 CJS_Result set_author(CJS_Runtime* pRuntime, v8::Local<v8::Value> vp);
127 CJS_Result set_base_URL(CJS_Runtime* pRuntime, v8::Local<v8::Value> vp);
130 CJS_Result set_bookmark_root(CJS_Runtime* pRuntime, v8::Local<v8::Value> vp);
133 CJS_Result set_calculate(CJS_Runtime* pRuntime, v8::Local<v8::Value> vp);
136 CJS_Result set_collab(CJS_Runtime* pRuntime, v8::Local<v8::Value> vp);
139 CJS_Result set_creation_date(CJS_Runtime* pRuntime, v8::Local<v8::Value> vp);
142 CJS_Result set_creator(CJS_Runtime* pRuntime, v8::Local<v8::Value> vp);
145 CJS_Result set_delay(CJS_Runtime* pRuntime, v8::Local<v8::Value> vp);
[all …]
Dcjs_field.h37 CJS_Field(v8::Local<v8::Object> pObject, CJS_Runtime* pRuntime);
123 CJS_Result set_text_color(CJS_Runtime* pRuntime, v8::Local<v8::Value> vp);
132 CJS_Result set_alignment(CJS_Runtime* pRuntime, v8::Local<v8::Value> vp);
135 CJS_Result set_border_style(CJS_Runtime* pRuntime, v8::Local<v8::Value> vp);
138 CJS_Result set_button_align_x(CJS_Runtime* pRuntime, v8::Local<v8::Value> vp);
141 CJS_Result set_button_align_y(CJS_Runtime* pRuntime, v8::Local<v8::Value> vp);
145 v8::Local<v8::Value> vp);
149 v8::Local<v8::Value> vp);
153 v8::Local<v8::Value> vp);
157 v8::Local<v8::Value> vp);
[all …]
Dcfxjs_engine.h51 static void SetUp(v8::Isolate* pIsolate);
52 static FXJS_PerIsolateData* Get(v8::Isolate* pIsolate);
63 explicit FXJS_PerIsolateData(v8::Isolate* pIsolate);
66 void FXJS_Initialize(unsigned int embedderDataSlot, v8::Isolate* pIsolate);
72 bool FXJS_GetIsolate(v8::Isolate** pResultIsolate);
79 explicit CFXJS_Engine(v8::Isolate* pIsolate);
83 std::function<void(CFXJS_Engine* pEngine, v8::Local<v8::Object> obj)>;
84 using Destructor = std::function<void(v8::Local<v8::Object> obj)>;
86 static int GetObjDefnID(v8::Local<v8::Object> pObj);
87 static CJS_Object* GetObjectPrivate(v8::Local<v8::Object> pObj);
[all …]
Dcjs_app.h25 CJS_App(v8::Local<v8::Object> pObject, CJS_Runtime* pRuntime);
75 CJS_Result set_active_docs(CJS_Runtime* pRuntime, v8::Local<v8::Value> vp);
78 CJS_Result set_calculate(CJS_Runtime* pRuntime, v8::Local<v8::Value> vp);
81 CJS_Result set_forms_version(CJS_Runtime* pRuntime, v8::Local<v8::Value> vp);
84 CJS_Result set_fs(CJS_Runtime* pRuntime, v8::Local<v8::Value> vp);
87 CJS_Result set_fullscreen(CJS_Runtime* pRuntime, v8::Local<v8::Value> vp);
90 CJS_Result set_language(CJS_Runtime* pRuntime, v8::Local<v8::Value> vp);
93 CJS_Result set_media(CJS_Runtime* pRuntime, v8::Local<v8::Value> vp);
96 CJS_Result set_platform(CJS_Runtime* pRuntime, v8::Local<v8::Value> vp);
100 v8::Local<v8::Value> vp);
[all …]
Djs_define.cpp19 void JSDestructor(v8::Local<v8::Object> obj) { in JSDestructor()
24 v8::Isolate* pIsolate = v8::Isolate::GetCurrent(); in JS_DateParse()
25 v8::Isolate::Scope isolate_scope(pIsolate); in JS_DateParse()
26 v8::HandleScope scope(pIsolate); in JS_DateParse()
28 v8::Local<v8::Context> context = pIsolate->GetCurrentContext(); in JS_DateParse()
31 v8::Local<v8::Value> v = in JS_DateParse()
33 ->Get(context, v8::String::NewFromUtf8(pIsolate, "Date", in JS_DateParse()
34 v8::NewStringType::kNormal) in JS_DateParse()
38 v8::Local<v8::Object> o = v->ToObject(context).ToLocalChecked(); in JS_DateParse()
39 v = o->Get(context, v8::String::NewFromUtf8(pIsolate, "parse", in JS_DateParse()
[all …]
Dcjs_runtime.cpp44 v8::Isolate* pIsolate = nullptr; in CJS_Runtime()
48 v8::Isolate* pExternalIsolate = nullptr; in CJS_Runtime()
50 pExternalIsolate = static_cast<v8::Isolate*>(pPlatform->m_isolate); in CJS_Runtime()
58 v8::Isolate::Scope isolate_scope(pIsolate); in CJS_Runtime()
59 v8::HandleScope handle_scope(pIsolate); in CJS_Runtime()
76 v8::Isolate::Scope isolate_scope(GetIsolate()); in DefineJSObjects()
77 v8::HandleScope handle_scope(GetIsolate()); in DefineJSObjects()
78 v8::Local<v8::Context> context = v8::Context::New(GetIsolate()); in DefineJSObjects()
79 v8::Context::Scope context_scope(context); in DefineJSObjects()
142 v8::Isolate::Scope isolate_scope(GetIsolate()); in SetFormFillEnvToDocument()
[all …]
Dcjs_global.h27 v8::Local<v8::Name> property,
28 const v8::PropertyCallbackInfo<v8::Integer>& info);
29 static void getprop_static(v8::Local<v8::Name> property,
30 const v8::PropertyCallbackInfo<v8::Value>& info);
31 static void putprop_static(v8::Local<v8::Name> property,
32 v8::Local<v8::Value> value,
33 const v8::PropertyCallbackInfo<v8::Value>& info);
34 static void delprop_static(v8::Local<v8::Name> property,
35 const v8::PropertyCallbackInfo<v8::Boolean>& info);
38 const v8::FunctionCallbackInfo<v8::Value>& info);
[all …]
Djs_define.h29 std::vector<v8::Local<v8::Value>> ExpandKeywordParams(
31 const std::vector<v8::Local<v8::Value>>& originals,
35 bool IsExpandedParamKnown(v8::Local<v8::Value> value);
45 static void JSConstructor(CFXJS_Engine* pEngine, v8::Local<v8::Object> obj) { in JSConstructor()
51 void JSDestructor(v8::Local<v8::Object> obj);
54 UnownedPtr<C> JSGetObject(v8::Local<v8::Object> obj) { in JSGetObject()
68 v8::Local<v8::String> property, in JSPropGetter()
69 const v8::PropertyCallbackInfo<v8::Value>& info) { in JSPropGetter()
89 template <class C, CJS_Result (C::*M)(CJS_Runtime*, v8::Local<v8::Value>)>
92 v8::Local<v8::String> property, in JSPropSetter()
[all …]
Dcjs_event.h18 CJS_Event(v8::Local<v8::Object> pObject, CJS_Runtime* pRuntime);
48 CJS_Result set_change(CJS_Runtime* pRuntime, v8::Local<v8::Value> vp);
51 CJS_Result set_change_ex(CJS_Runtime* pRuntime, v8::Local<v8::Value> vp);
54 CJS_Result set_commit_key(CJS_Runtime* pRuntime, v8::Local<v8::Value> vp);
57 CJS_Result set_field_full(CJS_Runtime* pRuntime, v8::Local<v8::Value> vp);
60 CJS_Result set_key_down(CJS_Runtime* pRuntime, v8::Local<v8::Value> vp);
63 CJS_Result set_modifier(CJS_Runtime* pRuntime, v8::Local<v8::Value> vp);
66 CJS_Result set_name(CJS_Runtime* pRuntime, v8::Local<v8::Value> vp);
69 CJS_Result set_rc(CJS_Runtime* pRuntime, v8::Local<v8::Value> vp);
72 CJS_Result set_rich_change(CJS_Runtime* pRuntime, v8::Local<v8::Value> vp);
[all …]
Dcfx_v8_unittest.cpp18 void FXV8UnitTest::V8IsolateDeleter::operator()(v8::Isolate* ptr) const { in operator ()()
29 v8::Isolate::CreateParams params; in SetUp()
31 isolate_.reset(v8::Isolate::New(params)); in SetUp()
37 v8::Isolate::Scope isolate_scope(isolate()); in TEST_F()
38 v8::HandleScope handle_scope(isolate()); in TEST_F()
39 v8::Context::Scope context_scope(v8::Context::New(isolate())); in TEST_F()
41 v8::Local<v8::Value> empty; in TEST_F()
51 v8::Local<v8::Value> marker = cfx_v8()->NewNumber(2); in TEST_F()
52 v8::Local<v8::Object> empty_object; in TEST_F()
58 v8::Local<v8::Array> empty_array; in TEST_F()
[all …]
/external/pdfium/fxjs/xfa/
Dcfxjse_value.cpp57 v8::Isolate* pIsolate = v8::Isolate::GetCurrent(); in FXJSE_ThrowMessage()
61 v8::Local<v8::String> hMessage = in FXJSE_ThrowMessage()
62 v8::String::NewFromUtf8(pIsolate, utf8Message.unterminated_c_str(), in FXJSE_ThrowMessage()
63 v8::NewStringType::kNormal, in FXJSE_ThrowMessage()
66 v8::Local<v8::Value> hError = v8::Exception::Error(hMessage); in FXJSE_ThrowMessage()
70 CFXJSE_Value::CFXJSE_Value(v8::Isolate* pIsolate) : m_pIsolate(pIsolate) {} in CFXJSE_Value()
76 v8::Local<v8::Value> pValue = in ToHostObject()
77 v8::Local<v8::Value>::New(GetIsolate(), m_hValue); in ToHostObject()
82 return FXJSE_RetrieveObjectBinding(pValue.As<v8::Object>()); in ToHostObject()
88 v8::Local<v8::FunctionTemplate> hClass = in SetHostObject()
[all …]
Dcfxjse_context.cpp58 v8::Local<v8::Object> CreateReturnValue(v8::Isolate* pIsolate, in CreateReturnValue()
59 v8::TryCatch* trycatch) { in CreateReturnValue()
60 v8::Local<v8::Object> hReturnValue = v8::Object::New(pIsolate); in CreateReturnValue()
64 v8::Local<v8::Message> hMessage = trycatch->Message(); in CreateReturnValue()
68 v8::Local<v8::Context> context = pIsolate->GetCurrentContext(); in CreateReturnValue()
69 v8::Local<v8::Value> hException = trycatch->Exception(); in CreateReturnValue()
71 v8::Local<v8::String> hNameStr = in CreateReturnValue()
72 v8::String::NewFromUtf8(pIsolate, "name", v8::NewStringType::kNormal) in CreateReturnValue()
74 v8::Local<v8::Value> hValue = in CreateReturnValue()
75 hException.As<v8::Object>()->Get(context, hNameStr).ToLocalChecked(); in CreateReturnValue()
[all …]
Dcfxjse_class.cpp36 const v8::FunctionCallbackInfo<v8::Value>& info) { in V8FunctionCallback_Wrapper()
38 AsFunctionDescriptor(info.Data().As<v8::External>()->Value()); in V8FunctionCallback_Wrapper()
53 const v8::FunctionCallbackInfo<v8::Value>& info) { in V8ConstructorCallback_Wrapper()
58 AsClassDescriptor(info.Data().As<v8::External>()->Value()); in V8ConstructorCallback_Wrapper()
68 const v8::FunctionCallbackInfo<v8::Value>& info) { in Context_GlobalObjToString()
70 AsClassDescriptor(info.Data().As<v8::External>()->Value()); in Context_GlobalObjToString()
77 v8::String::NewFromUtf8(info.GetIsolate(), szStringVal.c_str(), in Context_GlobalObjToString()
78 v8::NewStringType::kNormal, in Context_GlobalObjToString()
83 v8::Local<v8::String> local_str = in Context_GlobalObjToString()
86 .FromMaybe(v8::Local<v8::String>()); in Context_GlobalObjToString()
[all …]
/external/libsrtp2/crypto/cipher/
Daes.c1425 expanded_key->round[i].v8[0] = in aes_128_expand_encryption_key()
1426 aes_sbox[expanded_key->round[i - 1].v8[13]] ^ rc; in aes_128_expand_encryption_key()
1427 expanded_key->round[i].v8[1] = in aes_128_expand_encryption_key()
1428 aes_sbox[expanded_key->round[i - 1].v8[14]]; in aes_128_expand_encryption_key()
1429 expanded_key->round[i].v8[2] = in aes_128_expand_encryption_key()
1430 aes_sbox[expanded_key->round[i - 1].v8[15]]; in aes_128_expand_encryption_key()
1431 expanded_key->round[i].v8[3] = in aes_128_expand_encryption_key()
1432 aes_sbox[expanded_key->round[i - 1].v8[12]]; in aes_128_expand_encryption_key()
1483 expanded_key->round[i].v8[0] = in aes_256_expand_encryption_key()
1484 aes_sbox[expanded_key->round[i - 1].v8[13]] ^ rc; in aes_256_expand_encryption_key()
[all …]
/external/llvm/test/MC/AArch64/
Darm64-verbose-vector-case.s3 pmull v8.8h, v8.8b, v8.8b
4 pmull2 v8.8h, v8.16b, v8.16b
5 pmull v8.1q, v8.1d, v8.1d
6 pmull2 v8.1q, v8.2d, v8.2d
12 pmull v8.8H, v8.8B, v8.8B
13 pmull2 v8.8H, v8.16B, v8.16B
14 pmull v8.1Q, v8.1D, v8.1D
15 pmull2 v8.1Q, v8.2D, v8.2D
Dneon-simd-misc.s11 rev64 v6.4s, v8.4s
44 saddlp v8.4h, v5.8b
62 uaddlp v8.4h, v5.8b
80 sadalp v8.4h, v5.8b
98 uadalp v8.4h, v5.8b
117 suqadd v6.4s, v8.4s
118 suqadd v6.2d, v8.2d
137 usqadd v6.4s, v8.4s
138 usqadd v6.2d, v8.2d
157 sqabs v6.4s, v8.4s
[all …]
/external/llvm-project/llvm/test/MC/AArch64/
Darm64-verbose-vector-case.s3 pmull v8.8h, v8.8b, v8.8b
4 pmull2 v8.8h, v8.16b, v8.16b
5 pmull v8.1q, v8.1d, v8.1d
6 pmull2 v8.1q, v8.2d, v8.2d
12 pmull v8.8H, v8.8B, v8.8B
13 pmull2 v8.8H, v8.16B, v8.16B
14 pmull v8.1Q, v8.1D, v8.1D
15 pmull2 v8.1Q, v8.2D, v8.2D
Dneon-simd-misc.s11 rev64 v6.4s, v8.4s
44 saddlp v8.4h, v5.8b
62 uaddlp v8.4h, v5.8b
80 sadalp v8.4h, v5.8b
98 uadalp v8.4h, v5.8b
117 suqadd v6.4s, v8.4s
118 suqadd v6.2d, v8.2d
137 usqadd v6.4s, v8.4s
138 usqadd v6.2d, v8.2d
157 sqabs v6.4s, v8.4s
[all …]
/external/llvm-project/llvm/test/MC/AMDGPU/
Dds.s186 ds_add_rtn_u32 v8, v2, v4
190 ds_add_rtn_f32 v8, v2, v4
194 ds_sub_rtn_u32 v8, v2, v4
198 ds_rsub_rtn_u32 v8, v2, v4
202 ds_inc_rtn_u32 v8, v2, v4
206 ds_dec_rtn_u32 v8, v2, v4
210 ds_min_rtn_i32 v8, v2, v4
214 ds_max_rtn_i32 v8, v2, v4
218 ds_min_rtn_u32 v8, v2, v4
222 ds_max_rtn_u32 v8, v2, v4
[all …]
/external/capstone/suite/MC/AArch64/
Dneon-simd-misc.s.cs4 0x06,0x09,0xa0,0x4e = rev64 v6.4s, v8.4s
15 0xa8,0x28,0x20,0x0e = saddlp v8.4h, v5.8b
21 0xa8,0x28,0x20,0x2e = uaddlp v8.4h, v5.8b
27 0xa8,0x68,0x20,0x0e = sadalp v8.4h, v5.8b
33 0xa8,0x68,0x20,0x2e = uadalp v8.4h, v5.8b
40 0x06,0x39,0xa0,0x4e = suqadd v6.4s, v8.4s
41 0x06,0x39,0xe0,0x4e = suqadd v6.2d, v8.2d
47 0x06,0x39,0xa0,0x6e = usqadd v6.4s, v8.4s
48 0x06,0x39,0xe0,0x6e = usqadd v6.2d, v8.2d
54 0x06,0x79,0xa0,0x4e = sqabs v6.4s, v8.4s
[all …]
/external/llvm-project/llvm/test/MC/RISCV/rvv/
Dload.s11 vle8.v v8, (a0), v0.t
12 # CHECK-INST: vle8.v v8, (a0), v0.t
17 vle8.v v8, (a0)
18 # CHECK-INST: vle8.v v8, (a0)
23 vle16.v v8, (a0), v0.t
24 # CHECK-INST: vle16.v v8, (a0), v0.t
29 vle16.v v8, (a0)
30 # CHECK-INST: vle16.v v8, (a0)
35 vle32.v v8, (a0), v0.t
36 # CHECK-INST: vle32.v v8, (a0), v0.t
[all …]

12345678910>>...58