Home
last modified time | relevance | path

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

12345678910>>...17

/external/v8/test/mjsunit/
Darray-functions-prototype-misc.js318 var receiver; variable
320 receiver = 'a string';
322 Array.prototype.push.call(receiver); argument
325 receiver = 0;
326 assertEquals(undefined, receiver.length);
327 assertEquals(0, Array.prototype.push.call(receiver));
328 assertEquals(1, Array.prototype.push.call(receiver, 'first'));
329 assertEquals(undefined, receiver.length);
331 receiver = {};
332 assertEquals(undefined, receiver.length);
[all …]
Ddebug-receiver.js80 function TestStrict(receiver) { argument
81 expected_receiver = receiver;
82 Strict.call(receiver);
86 var receiver = exec_state.frame().receiver();
87 assertTrue(!receiver.isObject());
88 assertEquals(expected_receiver, receiver.value())
102 function TestNonStrict(receiver) { argument
105 expected_receiver = (receiver == null) ? this : Object(receiver);
106 NonStrict.call(receiver);
110 var receiver = exec_state.frame().receiver();
[all …]
/external/v8/test/mjsunit/regress/
Dregress-crbug-323942.js34 var receiver = { }; variable
35 receiver.__proto__ = { };
36 receiver.__proto__.__proto__ = holder;
43 assertEquals(42, g(receiver));
44 assertEquals(42, g(receiver));
48 receiver.__proto__.__proto__ = {};
53 assertThrows(function() { g(receiver); });
56 receiver.__proto__.__proto__ = holder;
57 assertEquals(42, g(receiver));
Dregress-252797.js40 var receiver = Object.create(holder, {
43 delete receiver.killMe;
44 assertFalse(%HasFastProperties(receiver));
51 callConstantFunctionOnPrototype(receiver);
52 callConstantFunctionOnPrototype(receiver);
54 callConstantFunctionOnPrototype(receiver);
/external/v8/src/ic/x87/
Dic-x87.cc139 Register receiver, Register map, in GenerateKeyedLoadReceiverCheck() argument
147 __ JumpIfSmi(receiver, slow); in GenerateKeyedLoadReceiverCheck()
150 __ mov(map, FieldOperand(receiver, HeapObject::kMapOffset)); in GenerateKeyedLoadReceiverCheck()
167 static void GenerateFastArrayLoad(MacroAssembler* masm, Register receiver, in GenerateFastArrayLoad() argument
182 __ mov(scratch, FieldOperand(receiver, JSObject::kElementsOffset)); in GenerateFastArrayLoad()
193 __ mov(scratch2, FieldOperand(receiver, HeapObject::kMapOffset)); in GenerateFastArrayLoad()
272 Register receiver = LoadDescriptor::ReceiverRegister(); in GenerateMegamorphic() local
274 DCHECK(receiver.is(edx)); in GenerateMegamorphic()
283 GenerateKeyedLoadReceiverCheck(masm, receiver, eax, in GenerateMegamorphic()
289 GenerateFastArrayLoad(masm, receiver, key, eax, ebx, eax, &slow, in GenerateMegamorphic()
[all …]
Dhandler-compiler-x87.cc19 MacroAssembler* masm, Handle<Map> map, Register receiver, Register holder, in GenerateLoadViaGetter() argument
26 DCHECK(!receiver.is(scratch)); in GenerateLoadViaGetter()
31 FieldOperand(receiver, JSGlobalObject::kGlobalProxyOffset)); in GenerateLoadViaGetter()
32 receiver = scratch; in GenerateLoadViaGetter()
34 __ push(receiver); in GenerateLoadViaGetter()
76 MacroAssembler* masm, Label* miss_label, Register receiver, in GenerateDictionaryNegativeLookup() argument
79 DCHECK(!receiver.is(scratch0)); in GenerateDictionaryNegativeLookup()
84 __ mov(scratch0, FieldOperand(receiver, HeapObject::kMapOffset)); in GenerateDictionaryNegativeLookup()
100 __ mov(properties, FieldOperand(receiver, JSObject::kPropertiesOffset)); in GenerateDictionaryNegativeLookup()
127 MacroAssembler* masm, Register receiver, Register scratch1, in GenerateLoadFunctionPrototype() argument
[all …]
/external/v8/src/ic/ia32/
Dic-ia32.cc139 Register receiver, Register map, in GenerateKeyedLoadReceiverCheck() argument
147 __ JumpIfSmi(receiver, slow); in GenerateKeyedLoadReceiverCheck()
150 __ mov(map, FieldOperand(receiver, HeapObject::kMapOffset)); in GenerateKeyedLoadReceiverCheck()
167 static void GenerateFastArrayLoad(MacroAssembler* masm, Register receiver, in GenerateFastArrayLoad() argument
182 __ mov(scratch, FieldOperand(receiver, JSObject::kElementsOffset)); in GenerateFastArrayLoad()
193 __ mov(scratch2, FieldOperand(receiver, HeapObject::kMapOffset)); in GenerateFastArrayLoad()
272 Register receiver = LoadDescriptor::ReceiverRegister(); in GenerateMegamorphic() local
274 DCHECK(receiver.is(edx)); in GenerateMegamorphic()
283 GenerateKeyedLoadReceiverCheck(masm, receiver, eax, in GenerateMegamorphic()
289 GenerateFastArrayLoad(masm, receiver, key, eax, ebx, eax, &slow, in GenerateMegamorphic()
[all …]
Dhandler-compiler-ia32.cc19 MacroAssembler* masm, Handle<Map> map, Register receiver, Register holder, in GenerateLoadViaGetter() argument
26 DCHECK(!receiver.is(scratch)); in GenerateLoadViaGetter()
31 FieldOperand(receiver, JSGlobalObject::kGlobalProxyOffset)); in GenerateLoadViaGetter()
32 receiver = scratch; in GenerateLoadViaGetter()
34 __ push(receiver); in GenerateLoadViaGetter()
76 MacroAssembler* masm, Label* miss_label, Register receiver, in GenerateDictionaryNegativeLookup() argument
79 DCHECK(!receiver.is(scratch0)); in GenerateDictionaryNegativeLookup()
84 __ mov(scratch0, FieldOperand(receiver, HeapObject::kMapOffset)); in GenerateDictionaryNegativeLookup()
100 __ mov(properties, FieldOperand(receiver, JSObject::kPropertiesOffset)); in GenerateDictionaryNegativeLookup()
127 MacroAssembler* masm, Register receiver, Register scratch1, in GenerateLoadFunctionPrototype() argument
[all …]
/external/webrtc/talk/app/webrtc/androidtests/src/org/webrtc/
DNetworkMonitorTest.java146 private NetworkMonitorAutoDetect receiver; field in NetworkMonitorTest
166 receiver = NetworkMonitor.getAutoDetectorForTest(); in createTestMonitor()
167 assertNotNull(receiver); in createTestMonitor()
171 receiver.setConnectivityManagerDelegateForTests(connectivityDelegate); in createTestMonitor()
174 receiver.setWifiManagerDelegateForTests(wifiDelegate); in createTestMonitor()
180 receiver.getCurrentNetworkState(); in getCurrentConnectionType()
181 return receiver.getCurrentConnectionType(networkState); in getCurrentConnectionType()
204 NetworkMonitorAutoDetect receiver = new NetworkMonitorAutoDetect(observer, context); in testNetworkMonitorRegistersInConstructor() local
206 assertTrue(receiver.isReceiverRegisteredForTesting()); in testNetworkMonitorRegistersInConstructor()
218 receiver.onReceive(getInstrumentation().getTargetContext(), connectivityIntent); in testNetworkMonitorJavaObservers()
[all …]
/external/webrtc/webrtc/modules/remote_bitrate_estimator/
Dremote_bitrate_estimators_test.cc46 PacketReceiver receiver(&uplink_, 0, GetParam(), false, false); in TEST_P() local
54 PacketReceiver receiver(&uplink_, 0, GetParam(), false, false); in TEST_P() local
63 PacketReceiver receiver(&uplink_, 0, GetParam(), false, false); in TEST_P() local
74 PacketReceiver receiver(&uplink_, 0, GetParam(), false, false); in TEST_P() local
83 PacketReceiver receiver(&uplink_, 0, GetParam(), false, false); in TEST_P() local
97 PacketReceiver receiver(&uplink_, 0, GetParam(), false, false); in TEST_P() local
111 PacketReceiver receiver(&uplink_, 0, GetParam(), false, false); in TEST_P() local
128 PacketReceiver receiver(&uplink_, 0, GetParam(), false, false); in TEST_P() local
137 PacketReceiver receiver(&uplink_, 0, GetParam(), false, false); in TEST_P() local
149 PacketReceiver receiver(&uplink_, 0, GetParam(), false, false); in TEST_P() local
[all …]
/external/v8/src/ic/x64/
Dic-x64.cc140 Register receiver, Register map, in GenerateKeyedLoadReceiverCheck() argument
148 __ JumpIfSmi(receiver, slow); in GenerateKeyedLoadReceiverCheck()
155 __ CmpObjectType(receiver, JS_OBJECT_TYPE, map); in GenerateKeyedLoadReceiverCheck()
167 static void GenerateFastArrayLoad(MacroAssembler* masm, Register receiver, in GenerateFastArrayLoad() argument
192 __ movp(elements, FieldOperand(receiver, JSObject::kElementsOffset)); in GenerateFastArrayLoad()
204 __ movp(scratch, FieldOperand(receiver, HeapObject::kMapOffset)); in GenerateFastArrayLoad()
284 Register receiver = LoadDescriptor::ReceiverRegister(); in GenerateMegamorphic() local
286 DCHECK(receiver.is(rdx)); in GenerateMegamorphic()
295 GenerateKeyedLoadReceiverCheck(masm, receiver, rax, in GenerateMegamorphic()
301 GenerateFastArrayLoad(masm, receiver, key, rax, rbx, rax, &slow, in GenerateMegamorphic()
[all …]
/external/v8/src/
Dlookup.h47 LookupIterator(Handle<Object> receiver, Handle<Name> name,
58 receiver_(receiver), in configuration_()
59 holder_(GetRoot(isolate_, receiver)), in configuration_()
70 LookupIterator(Handle<Object> receiver, Handle<Name> name,
82 receiver_(receiver), in configuration_()
94 LookupIterator(Isolate* isolate, Handle<Object> receiver, uint32_t index,
104 receiver_(receiver), in configuration_()
105 holder_(GetRoot(isolate, receiver, index)), in configuration_()
114 LookupIterator(Isolate* isolate, Handle<Object> receiver, uint32_t index,
125 receiver_(receiver), in configuration_()
[all …]
Dlookup.cc18 Handle<Object> receiver, in PropertyOrElement() argument
25 return LookupIterator(isolate, receiver, index, configuration); in PropertyOrElement()
33 return LookupIterator(receiver, isolate->factory()->empty_string()); in PropertyOrElement()
37 LookupIterator it(isolate, receiver, index, configuration); in PropertyOrElement()
44 return LookupIterator(receiver, name, configuration); in PropertyOrElement()
96 Isolate* isolate, Handle<Object> receiver, uint32_t index) { in GetRootForNonJSReceiver() argument
99 if (index != kMaxUInt32 && receiver->IsString() && in GetRootForNonJSReceiver()
100 index < static_cast<uint32_t>(String::cast(*receiver)->length())) { in GetRootForNonJSReceiver()
105 Handle<JSValue>::cast(result)->set_value(*receiver); in GetRootForNonJSReceiver()
108 auto root = handle(receiver->GetRootMap(isolate)->prototype(), isolate); in GetRootForNonJSReceiver()
[all …]
Dexecution.cc57 Handle<Object> receiver, int argc, in Invoke() argument
60 DCHECK(!receiver->IsJSGlobalObject()); in Invoke()
75 Object* receiver, int argc, in Invoke()
92 Object* recv = *receiver; in Invoke()
125 Handle<Object> receiver, int argc, in Call() argument
130 if (receiver->IsJSGlobalObject()) { in Call()
131 receiver = in Call()
132 handle(Handle<JSGlobalObject>::cast(receiver)->global_proxy(), isolate); in Call()
142 if (!receiver->IsJSReceiver() && in Call()
144 if (receiver->IsUndefined() || receiver->IsNull()) { in Call()
[all …]
/external/v8/src/ic/arm64/
Dic-arm64.cc124 Register receiver, in GenerateKeyedLoadReceiverCheck() argument
131 __ JumpIfSmi(receiver, slow); in GenerateKeyedLoadReceiverCheck()
133 __ Ldr(map_scratch, FieldMemOperand(receiver, HeapObject::kMapOffset)); in GenerateKeyedLoadReceiverCheck()
164 static void GenerateFastArrayLoad(MacroAssembler* masm, Register receiver, in GenerateFastArrayLoad() argument
169 DCHECK(!AreAliased(receiver, key, elements, scratch1, scratch2)); in GenerateFastArrayLoad()
175 __ Ldr(elements, FieldMemOperand(receiver, JSObject::kElementsOffset)); in GenerateFastArrayLoad()
188 __ Ldr(scratch2, FieldMemOperand(receiver, HeapObject::kMapOffset)); in GenerateFastArrayLoad()
341 Register receiver, Register scratch1, in GenerateKeyedLoadWithSmiKey() argument
346 DCHECK(!AreAliased(key, receiver, scratch1, scratch2, scratch3, scratch4, in GenerateKeyedLoadWithSmiKey()
354 GenerateKeyedLoadReceiverCheck(masm, receiver, scratch1, scratch2, in GenerateKeyedLoadWithSmiKey()
[all …]
Dhandler-compiler-arm64.cc40 MacroAssembler* masm, Label* miss_label, Register receiver, in GenerateDictionaryNegativeLookup() argument
42 DCHECK(!AreAliased(receiver, scratch0, scratch1)); in GenerateDictionaryNegativeLookup()
55 __ Ldr(map, FieldMemOperand(receiver, HeapObject::kMapOffset)); in GenerateDictionaryNegativeLookup()
67 __ Ldr(properties, FieldMemOperand(receiver, JSObject::kPropertiesOffset)); in GenerateDictionaryNegativeLookup()
73 masm, miss_label, &done, receiver, properties, name, scratch1); in GenerateDictionaryNegativeLookup()
91 MacroAssembler* masm, Register receiver, Register scratch1, in GenerateLoadFunctionPrototype() argument
93 __ TryGetFunctionPrototype(receiver, scratch1, scratch2, miss_label); in GenerateLoadFunctionPrototype()
118 static void PushInterceptorArguments(MacroAssembler* masm, Register receiver, in PushInterceptorArguments() argument
126 __ Push(name, receiver, holder); in PushInterceptorArguments()
131 MacroAssembler* masm, Register receiver, Register holder, Register name, in CompileCallLoadPropertyWithInterceptor() argument
[all …]
/external/v8/test/mjsunit/harmony/
Dreflect.js95 var receiver = {bla: false}; variable
100 assertEquals(true, Reflect.get(target, "bla", receiver));
103 assertEquals(42, Reflect.get(target, 4, receiver));
106 assertEquals(42, Reflect.get(target, "4", receiver));
109 assertEquals("foo", Reflect.get(target, sym, receiver));
112 assertEquals(43, Reflect.get(target, "noconf", receiver));
115 assertEquals(false, Reflect.get(target, "getter", receiver));
118 assertEquals(undefined, Reflect.get(target, "setter", receiver));
121 assertEquals(undefined, Reflect.get(target, "foo", receiver));
124 assertEquals(undefined, Reflect.get(target, 666, receiver));
[all …]
/external/v8/src/runtime/
Druntime-classes.cc249 Handle<Object> receiver, in LoadFromSuper() argument
265 LookupIterator it(receiver, name, Handle<JSReceiver>::cast(proto)); in LoadFromSuper()
274 Handle<Object> receiver, in LoadElementFromSuper() argument
291 LookupIterator it(isolate, receiver, index, Handle<JSReceiver>::cast(proto)); in LoadElementFromSuper()
304 CONVERT_ARG_HANDLE_CHECKED(Object, receiver, 0); in RUNTIME_FUNCTION()
312 LoadFromSuper(isolate, receiver, home_object, name, language_mode)); in RUNTIME_FUNCTION()
320 CONVERT_ARG_HANDLE_CHECKED(Object, receiver, 0); in RUNTIME_FUNCTION()
330 isolate, result, LoadElementFromSuper(isolate, receiver, home_object, in RUNTIME_FUNCTION()
341 isolate, result, LoadElementFromSuper(isolate, receiver, home_object, in RUNTIME_FUNCTION()
347 LoadFromSuper(isolate, receiver, home_object, name, language_mode)); in RUNTIME_FUNCTION()
[all …]
/external/v8/src/ic/arm/
Dic-arm.cc133 Register receiver, Register map, in GenerateKeyedLoadReceiverCheck() argument
137 __ JumpIfSmi(receiver, slow); in GenerateKeyedLoadReceiverCheck()
139 __ ldr(map, FieldMemOperand(receiver, HeapObject::kMapOffset)); in GenerateKeyedLoadReceiverCheck()
157 static void GenerateFastArrayLoad(MacroAssembler* masm, Register receiver, in GenerateFastArrayLoad() argument
185 __ ldr(elements, FieldMemOperand(receiver, JSObject::kElementsOffset)); in GenerateFastArrayLoad()
197 __ ldr(scratch2, FieldMemOperand(receiver, HeapObject::kMapOffset)); in GenerateFastArrayLoad()
292 Register receiver = LoadDescriptor::ReceiverRegister(); in LoadIC_PushArgs() local
297 __ Push(receiver, name, slot, vector); in LoadIC_PushArgs()
364 Register receiver = LoadDescriptor::ReceiverRegister(); in GenerateMegamorphic() local
366 DCHECK(receiver.is(r1)); in GenerateMegamorphic()
[all …]
Dhandler-compiler-arm.cc19 MacroAssembler* masm, Handle<Map> map, Register receiver, Register holder, in GenerateLoadViaGetter() argument
31 DCHECK(!receiver.is(scratch)); in GenerateLoadViaGetter()
36 FieldMemOperand(receiver, JSGlobalObject::kGlobalProxyOffset)); in GenerateLoadViaGetter()
37 receiver = scratch; in GenerateLoadViaGetter()
39 __ push(receiver); in GenerateLoadViaGetter()
59 MacroAssembler* masm, Handle<Map> map, Register receiver, Register holder, in GenerateStoreViaSetter() argument
72 DCHECK(!receiver.is(scratch)); in GenerateStoreViaSetter()
78 FieldMemOperand(receiver, JSGlobalObject::kGlobalProxyOffset)); in GenerateStoreViaSetter()
79 receiver = scratch; in GenerateStoreViaSetter()
81 __ Push(receiver, value()); in GenerateStoreViaSetter()
[all …]
/external/v8/src/ic/ppc/
Dic-ppc.cc138 Register receiver, Register map, in GenerateKeyedLoadReceiverCheck() argument
142 __ JumpIfSmi(receiver, slow); in GenerateKeyedLoadReceiverCheck()
144 __ LoadP(map, FieldMemOperand(receiver, HeapObject::kMapOffset)); in GenerateKeyedLoadReceiverCheck()
163 static void GenerateFastArrayLoad(MacroAssembler* masm, Register receiver, in GenerateFastArrayLoad() argument
191 __ LoadP(elements, FieldMemOperand(receiver, JSObject::kElementsOffset)); in GenerateFastArrayLoad()
203 __ LoadP(scratch2, FieldMemOperand(receiver, HeapObject::kMapOffset)); in GenerateFastArrayLoad()
302 Register receiver = LoadDescriptor::ReceiverRegister(); in LoadIC_PushArgs() local
307 __ Push(receiver, name, slot, vector); in LoadIC_PushArgs()
373 Register receiver = LoadDescriptor::ReceiverRegister(); in GenerateMegamorphic() local
375 DCHECK(receiver.is(r4)); in GenerateMegamorphic()
[all …]
Dhandler-compiler-ppc.cc19 MacroAssembler* masm, Handle<Map> map, Register receiver, Register holder, in GenerateLoadViaGetter() argument
31 DCHECK(!receiver.is(scratch)); in GenerateLoadViaGetter()
36 FieldMemOperand(receiver, JSGlobalObject::kGlobalProxyOffset)); in GenerateLoadViaGetter()
37 receiver = scratch; in GenerateLoadViaGetter()
39 __ push(receiver); in GenerateLoadViaGetter()
59 MacroAssembler* masm, Handle<Map> map, Register receiver, Register holder, in GenerateStoreViaSetter() argument
72 DCHECK(!receiver.is(scratch)); in GenerateStoreViaSetter()
78 FieldMemOperand(receiver, JSGlobalObject::kGlobalProxyOffset)); in GenerateStoreViaSetter()
79 receiver = scratch; in GenerateStoreViaSetter()
81 __ Push(receiver, value()); in GenerateStoreViaSetter()
[all …]
/external/sl4a/Common/src/com/googlecode/android_scripting/facade/bluetooth/
DBluetoothConnectionFacade.java287 ConnectStateChangeReceiver receiver = new ConnectStateChangeReceiver(deviceID); in connectProfile() local
288 mService.registerReceiver(receiver, mA2dpStateChangeFilter); in connectProfile()
289 listeningDevices.put("A2dpConnecting" + deviceID, receiver); in connectProfile()
301 ConnectStateChangeReceiver receiver = new ConnectStateChangeReceiver(deviceID); in connectProfile() local
302 mService.registerReceiver(receiver, mA2dpSinkStateChangeFilter); in connectProfile()
303 listeningDevices.put("A2dpSinkConnecting" + deviceID, receiver); in connectProfile()
315 ConnectStateChangeReceiver receiver = new ConnectStateChangeReceiver(deviceID); in connectProfile() local
316 mService.registerReceiver(receiver, mHidStateChangeFilter); in connectProfile()
317 listeningDevices.put("HidConnecting" + deviceID, receiver); in connectProfile()
327 ConnectStateChangeReceiver receiver = new ConnectStateChangeReceiver(deviceID); in connectProfile() local
[all …]
/external/v8/src/ic/mips64/
Dic-mips64.cc135 Register receiver, Register map, in GenerateKeyedLoadReceiverCheck() argument
139 __ JumpIfSmi(receiver, slow); in GenerateKeyedLoadReceiverCheck()
141 __ ld(map, FieldMemOperand(receiver, HeapObject::kMapOffset)); in GenerateKeyedLoadReceiverCheck()
158 static void GenerateFastArrayLoad(MacroAssembler* masm, Register receiver, in GenerateFastArrayLoad() argument
186 __ ld(elements, FieldMemOperand(receiver, JSObject::kElementsOffset)); in GenerateFastArrayLoad()
197 __ ld(scratch2, FieldMemOperand(receiver, HeapObject::kMapOffset)); in GenerateFastArrayLoad()
296 Register receiver = LoadDescriptor::ReceiverRegister(); in LoadIC_PushArgs() local
301 __ Push(receiver, name, slot, vector); in LoadIC_PushArgs()
367 Register receiver = LoadDescriptor::ReceiverRegister(); in GenerateMegamorphic() local
369 DCHECK(receiver.is(a1)); in GenerateMegamorphic()
[all …]
/external/v8/src/ic/mips/
Dic-mips.cc136 Register receiver, Register map, in GenerateKeyedLoadReceiverCheck() argument
140 __ JumpIfSmi(receiver, slow); in GenerateKeyedLoadReceiverCheck()
142 __ lw(map, FieldMemOperand(receiver, HeapObject::kMapOffset)); in GenerateKeyedLoadReceiverCheck()
159 static void GenerateFastArrayLoad(MacroAssembler* masm, Register receiver, in GenerateFastArrayLoad() argument
187 __ lw(elements, FieldMemOperand(receiver, JSObject::kElementsOffset)); in GenerateFastArrayLoad()
198 __ lw(scratch2, FieldMemOperand(receiver, HeapObject::kMapOffset)); in GenerateFastArrayLoad()
299 Register receiver = LoadDescriptor::ReceiverRegister(); in LoadIC_PushArgs() local
304 __ Push(receiver, name, slot, vector); in LoadIC_PushArgs()
370 Register receiver = LoadDescriptor::ReceiverRegister(); in GenerateMegamorphic() local
372 DCHECK(receiver.is(a1)); in GenerateMegamorphic()
[all …]

12345678910>>...17