Home
last modified time | relevance | path

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

12

/external/v8/test/cctest/interpreter/
Dtest-interpreter-intrinsics.cc36 Handle<Object> NewObject(const char* script) { in NewObject() function in v8::internal::interpreter::__anone0fa7cde0111::InvokeIntrinsicHelper
60 *helper.Invoke(helper.NewObject("new Date()"))); in TEST()
62 *helper.Invoke(helper.NewObject("(function() {})"))); in TEST()
63 CHECK_EQ(*factory->true_value(), *helper.Invoke(helper.NewObject("([1])"))); in TEST()
64 CHECK_EQ(*factory->true_value(), *helper.Invoke(helper.NewObject("({})"))); in TEST()
65 CHECK_EQ(*factory->true_value(), *helper.Invoke(helper.NewObject("(/x/)"))); in TEST()
69 *helper.Invoke(helper.NewObject("'string'"))); in TEST()
70 CHECK_EQ(*factory->false_value(), *helper.Invoke(helper.NewObject("42"))); in TEST()
81 *helper.Invoke(helper.NewObject("new Date()"))); in TEST()
83 *helper.Invoke(helper.NewObject("(function() {})"))); in TEST()
[all …]
Dinterpreter-tester.cc54 Handle<Object> InterpreterTester::NewObject(const char* script) { in NewObject() function in v8::internal::interpreter::InterpreterTester
Dinterpreter-tester.h74 static Handle<Object> NewObject(const char* script);
Dtest-interpreter.cc613 Handle<Object> object = InterpreterTester::NewObject("({ val : 123 })"); in TEST()
624 InterpreterTester::NewObject("({ val : 456, other : 123 })"); in TEST()
630 InterpreterTester::NewObject("({ val : 789, val2 : 123 })"); in TEST()
633 InterpreterTester::NewObject("({ val : 789, val3 : 123 })"); in TEST()
636 InterpreterTester::NewObject("({ val : 789, val4 : 123 })"); in TEST()
668 Handle<Object> object = InterpreterTester::NewObject("({ key : 123 })"); in TEST()
679 InterpreterTester::NewObject("({ key : 789, val2 : 123 })"); in TEST()
711 Handle<Object> object = InterpreterTester::NewObject("({ val : 123 })"); in TEST()
725 InterpreterTester::NewObject("({ val : 456, other : 123 })"); in TEST()
732 InterpreterTester::NewObject("({ val : 789, val2 : 123 })"); in TEST()
[all …]
/external/v8/test/cctest/compiler/
Dtest-run-intrinsics.cc18 T.CheckCall(T.Val(129), T.NewObject("({d:123})"), T.NewObject("f")); in TEST()
19 T.CheckCall(T.Val("6x"), T.NewObject("({d:'x'})"), T.NewObject("f")); in TEST()
26 T.CheckCall(T.Val("Function"), T.NewObject("(function() {})")); in TEST()
27 T.CheckCall(T.Val("Array"), T.NewObject("([1])")); in TEST()
28 T.CheckCall(T.Val("Object"), T.NewObject("({})")); in TEST()
29 T.CheckCall(T.Val("RegExp"), T.NewObject("(/x/)")); in TEST()
40 T.CheckFalse(T.NewObject("new Date()")); in TEST()
41 T.CheckFalse(T.NewObject("(function() {})")); in TEST()
42 T.CheckTrue(T.NewObject("([1])")); in TEST()
43 T.CheckFalse(T.NewObject("({})")); in TEST()
[all …]
Dtest-run-jsops.cc21 T.CheckCall(T.Val("31"), T.Val("3"), T.NewObject("([1])")); in TEST()
22 T.CheckCall(T.Val("3[object Object]"), T.Val("3"), T.NewObject("({})")); in TEST()
35 T.CheckCall(T.Val(2), T.Val("3"), T.NewObject("([1])")); in TEST()
36 T.CheckCall(T.nan(), T.Val("3"), T.NewObject("({})")); in TEST()
49 T.CheckCall(T.Val(3), T.Val("3"), T.NewObject("([1])")); in TEST()
50 T.CheckCall(T.nan(), T.Val("3"), T.NewObject("({})")); in TEST()
65 T.CheckCall(T.Val(1.5), T.Val("3"), T.NewObject("([2])")); in TEST()
66 T.CheckCall(T.nan(), T.Val("3"), T.NewObject("({})")); in TEST()
78 T.CheckCall(T.Val(1), T.Val("3"), T.NewObject("([2])")); in TEST()
79 T.CheckCall(T.nan(), T.Val("3"), T.NewObject("({})")); in TEST()
[all …]
Dtest-run-jscalls.cc61 T.CheckCall(T.Val(32), T.NewObject("({ foo:foo, x:4 })"), T.Val(5)); in TEST()
62 T.CheckCall(T.Val("xy23"), T.NewObject("({ foo:foo, x:'x' })"), T.Val("y")); in TEST()
63 T.CheckCall(T.nan(), T.NewObject("({ foo:foo, y:0 })"), T.Val(3)); in TEST()
71 T.CheckCall(T.Val(32), T.NewObject("({ foo:foo, x:4 })"), T.Val(5)); in TEST()
72 T.CheckCall(T.Val("xy23"), T.NewObject("({ foo:foo, x:'x' })"), T.Val("y")); in TEST()
73 T.CheckCall(T.nan(), T.NewObject("({ foo:foo, y:0 })"), T.Val(3)); in TEST()
92 T.CheckCall(T.Val(5), T.NewObject("({ foo:f1, val:2 })"), T.Val(3)); in TEST()
93 T.CheckCall(T.Val("xy"), T.NewObject("({ foo:f1, val:'x' })"), T.Val("y")); in TEST()
96 T.CheckCall(T.Val(9), T.NewObject("({ foo:f2, val:4 })"), T.Val(5)); in TEST()
97 T.CheckCall(T.Val("xy"), T.NewObject("({ foo:f2, val:'x' })"), T.Val("y")); in TEST()
[all …]
Dtest-run-jsbranches.cc111 T.CheckCall(T.undefined(), T.NewObject("({})")); in TestForIn()
114 T.CheckCall(T.Val("a"), T.NewObject("({'a' : 1})")); in TestForIn()
115 T.CheckCall(T.Val("2"), T.NewObject("([1, 2, 3])")); in TestForIn()
116 T.CheckCall(T.Val("a"), T.NewObject("({'a' : 1, 'b' : 1})"), T.Val("b")); in TestForIn()
117 T.CheckCall(T.Val("1"), T.NewObject("([1, 2, 3])"), T.Val("2")); in TestForIn()
163 T.CheckCall(T.Val("-A-B-"), T.NewObject("({x:1})"), T.false_value()); in TEST()
164 T.CheckCall(T.Val("-A-B-A-B-"), T.NewObject("({x:1,y:2})"), T.false_value()); in TEST()
165 T.CheckCall(T.Val("-A-"), T.NewObject("({x:1})"), T.true_value()); in TEST()
166 T.CheckCall(T.Val("-A-A-"), T.NewObject("({x:1,y:2})"), T.true_value()); in TEST()
191 T.CheckCall(T.Val("-"), T.NewObject("wrap([])"), T.true_value()); in TEST()
[all …]
Dtest-run-bytecode-graph-builder.cc105 static Handle<Object> NewObject(const char* script) { in NewObject() function in v8::internal::compiler::BytecodeGraphTester
319 BytecodeGraphTester::NewObject("({val : 10})")}}, in TEST()
322 BytecodeGraphTester::NewObject("({name : 'abc'})")}}, in TEST()
325 BytecodeGraphTester::NewObject("({val : 10 })")}}, in TEST()
328 BytecodeGraphTester::NewObject("({val : 10, name : 'abc'})")}}, in TEST()
331 BytecodeGraphTester::NewObject("({name : 'abc'})")}}, in TEST()
336 BytecodeGraphTester::NewObject("({ name : 'abc'})")}}, in TEST()
362 BytecodeGraphTester::NewObject("({val : 10})"), in TEST()
366 BytecodeGraphTester::NewObject("({100 : 'abc'})"), in TEST()
370 BytecodeGraphTester::NewObject("({100 : 'abc'})"), in TEST()
[all …]
Dtest-run-jsexceptions.cc14 T.CheckThrows(T.true_value(), T.NewObject("new Error")); in TEST()
270 T.CheckThrows(T.NewObject("new Error"), T.Val(1)); in TEST()
Dfunction-tester.h166 Handle<JSObject> NewObject(const char* source) { in NewObject() function
/external/webrtc/talk/app/webrtc/java/jni/
Dpeerconnection_jni.cc220 jobject j_candidate = jni()->NewObject( in OnIceCandidate()
279 jni()->NewObject(*j_media_stream_class_, j_media_stream_ctor_, in OnAddStream()
289 jni()->NewObject(*j_audio_track_class_, j_audio_track_ctor_, in OnAddStream()
312 jni()->NewObject(*j_video_track_class_, j_video_track_ctor_, in OnAddStream()
351 jobject j_channel = jni()->NewObject( in OnDataChannel()
494 jobject j_sdp = jni->NewObject( in JavaSdpFromNativeSdp()
614 jobject j_buffer = jni()->NewObject(*j_buffer_class_, j_buffer_ctor_, in OnMessage()
675 jobject j_report = jni->NewObject(*j_stats_report_class_, in ReportsToJava()
697 jni->NewObject(*j_value_class_, j_value_ctor_, j_name, j_value); in ValuesToJava()
807 return jni()->NewObject( in CricketToJavaI420Frame()
[all …]
Dandroidvideocapturer_jni.cc89 jni()->NewObject(*j_observer_class_, in Start()
/external/webrtc/webrtc/modules/utility/include/
Djvm_android.h79 rtc::scoped_ptr<GlobalRef> NewObject(
/external/libchrome/base/memory/
Dweak_ptr_unittest.cc23 static T* NewObject() { in NewObject() function in base::__anon6d07a1780111::OffThreadObjectCreator
298 scoped_ptr<Target> target(OffThreadObjectCreator<Target>::NewObject()); in TEST()
307 scoped_ptr<Arrow> arrow(OffThreadObjectCreator<Arrow>::NewObject()); in TEST()
/external/v8/src/interpreter/
Dinterpreter-intrinsics.h37 V(NewObject, new_object, 2) \
Dinterpreter-intrinsics.cc245 Node* IntrinsicsHelper::NewObject(Node* input, Node* arg_count, Node* context) { in NewObject() function in v8::internal::interpreter::IntrinsicsHelper
/external/sl4a/ScriptingLayerForAndroid/jni/
Dcom_googlecode_android_scripting_Exec.cpp168 jobject result = env->NewObject(Class_java_io_FileDescriptor, init); in Java_com_googlecode_android_1scripting_Exec_createSubprocess()
/external/webrtc/webrtc/modules/audio_device/android/
Daudio_manager.cc89 j_native_registration_->NewObject( in AudioManager()
Daudio_record_jni.cc101 j_native_registration_->NewObject( in AudioRecordJni()
Daudio_track_jni.cc94 j_native_registration_->NewObject( in AudioTrackJni()
/external/webrtc/webrtc/modules/utility/source/
Djvm_android.cc142 rtc::scoped_ptr<GlobalRef> NativeRegistration::NewObject( in NewObject() function in webrtc::NativeRegistration
/external/deqp/framework/platform/android/
DtcuAndroidExecService.cpp100 remote = env->NewObject(m_remoteCls, ctorId, context, logFileName); in TestProcess()
/external/opencv/
Dcvjni.cpp440 jobject jrect = env->NewObject(jcls, jconstruct, rect->x, rect->y, in seqRectsToAndroidRects()
547 return env->NewObject(jcls, jconstruct, rect->x, rect->y, in rectToAndroidRect()
/external/webrtc/webrtc/modules/video_render/android/
Dvideo_render_android_surface_view.cc163 jobject javaRenderObjLocal = env->NewObject(_javaRenderClass, in Init()

12