/external/v8/test/mjsunit/es6/ |
D | proxies-function.js | 40 var receiver variable 55 receiver = 333 57 receiver = 333 59 assertSame(o, receiver) 60 receiver = 333 62 assertSame(o, receiver) 63 receiver = 333 65 assertSame(o, receiver) 66 receiver = 333 68 assertSame(o, receiver) [all …]
|
D | reflect.js | 93 var receiver = {bla: false}; variable 98 assertEquals(true, Reflect.get(target, "bla", receiver)); 101 assertEquals(42, Reflect.get(target, 4, receiver)); 104 assertEquals(42, Reflect.get(target, "4", receiver)); 107 assertEquals("foo", Reflect.get(target, sym, receiver)); 110 assertEquals(43, Reflect.get(target, "noconf", receiver)); 113 assertEquals(false, Reflect.get(target, "getter", receiver)); 116 assertEquals(undefined, Reflect.get(target, "setter", receiver)); 119 assertEquals(undefined, Reflect.get(target, "foo", receiver)); 122 assertEquals(undefined, Reflect.get(target, 666, receiver)); [all …]
|
D | tail-call-megatest.js | 77 var receiver = cfg.f_receiver != undefined ? cfg.f_receiver 80 ` assertEquals_(${receiver}, this);`, 104 var receiver = cfg.f_receiver != undefined ? cfg.f_receiver 107 ` assertEquals_(${receiver}, this);`, 132 var receiver = cfg.f_receiver != undefined ? cfg.f_receiver 135 ` assertEquals_(${receiver}, this);`, 188 var receiver = cfg.f_receiver != undefined ? cfg.f_receiver 191 ` assertEquals_(${receiver}, this);`, 214 receiver: undefined, property 231 receiver: "the_receiver", property [all …]
|
/external/v8/test/mjsunit/ |
D | array-functions-prototype-misc.js | 318 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 …]
|
D | debug-receiver.js | 80 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/ |
D | regress-crbug-323942.js | 34 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));
|
D | regress-252797.js | 40 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/runtime/ |
D | runtime-forin.cc | 23 MaybeHandle<HeapObject> Enumerate(Handle<JSReceiver> receiver) { in Enumerate() argument 24 Isolate* const isolate = receiver->GetIsolate(); in Enumerate() 25 JSObject::MakePrototypesFast(receiver, kStartAtReceiver, isolate); in Enumerate() 26 FastKeyAccumulator accumulator(isolate, receiver, in Enumerate() 40 return handle(receiver->map(), isolate); in Enumerate() 46 Handle<JSReceiver> receiver, in HasEnumerableProperty() argument 51 LookupIterator::PropertyOrElement(isolate, receiver, key, &success); in HasEnumerableProperty() 102 MaybeHandle<Object> Filter(Handle<JSReceiver> receiver, Handle<Object> key) { in Filter() argument 103 Isolate* const isolate = receiver->GetIsolate(); in Filter() 104 return HasEnumerableProperty(isolate, receiver, key); in Filter() [all …]
|
D | runtime-classes.cc | 192 Handle<Object> receiver, in LoadFromSuper() argument 207 LookupIterator it(receiver, name, Handle<JSReceiver>::cast(proto)); in LoadFromSuper() 214 Handle<Object> receiver, in LoadElementFromSuper() argument 230 LookupIterator it(isolate, receiver, index, Handle<JSReceiver>::cast(proto)); in LoadElementFromSuper() 240 CONVERT_ARG_HANDLE_CHECKED(Object, receiver, 0); in RUNTIME_FUNCTION() 245 LoadFromSuper(isolate, receiver, home_object, name)); in RUNTIME_FUNCTION() 252 CONVERT_ARG_HANDLE_CHECKED(Object, receiver, 0); in RUNTIME_FUNCTION() 260 isolate, LoadElementFromSuper(isolate, receiver, home_object, index)); in RUNTIME_FUNCTION() 269 isolate, LoadElementFromSuper(isolate, receiver, home_object, index)); in RUNTIME_FUNCTION() 272 LoadFromSuper(isolate, receiver, home_object, name)); in RUNTIME_FUNCTION() [all …]
|
/external/v8/src/ic/x87/ |
D | ic-x87.cc | 139 Register receiver, Register map, in GenerateKeyedLoadReceiverCheck() argument 147 __ JumpIfSmi(receiver, slow); in GenerateKeyedLoadReceiverCheck() 150 __ mov(map, FieldOperand(receiver, HeapObject::kMapOffset)); in GenerateKeyedLoadReceiverCheck() 168 static void GenerateFastArrayLoad(MacroAssembler* masm, Register receiver, in GenerateFastArrayLoad() argument 183 __ mov(scratch, FieldOperand(receiver, JSObject::kElementsOffset)); in GenerateFastArrayLoad() 194 __ mov(scratch2, FieldOperand(receiver, HeapObject::kMapOffset)); in GenerateFastArrayLoad() 266 Register receiver = LoadDescriptor::ReceiverRegister(); in GenerateMegamorphic() local 268 DCHECK(receiver.is(edx)); in GenerateMegamorphic() 277 GenerateKeyedLoadReceiverCheck(masm, receiver, eax, in GenerateMegamorphic() 283 GenerateFastArrayLoad(masm, receiver, key, eax, ebx, eax, &slow); in GenerateMegamorphic() [all …]
|
/external/v8/src/ic/ia32/ |
D | ic-ia32.cc | 139 Register receiver, Register map, in GenerateKeyedLoadReceiverCheck() argument 147 __ JumpIfSmi(receiver, slow); in GenerateKeyedLoadReceiverCheck() 150 __ mov(map, FieldOperand(receiver, HeapObject::kMapOffset)); in GenerateKeyedLoadReceiverCheck() 168 static void GenerateFastArrayLoad(MacroAssembler* masm, Register receiver, in GenerateFastArrayLoad() argument 183 __ mov(scratch, FieldOperand(receiver, JSObject::kElementsOffset)); in GenerateFastArrayLoad() 194 __ mov(scratch2, FieldOperand(receiver, HeapObject::kMapOffset)); in GenerateFastArrayLoad() 266 Register receiver = LoadDescriptor::ReceiverRegister(); in GenerateMegamorphic() local 268 DCHECK(receiver.is(edx)); in GenerateMegamorphic() 277 GenerateKeyedLoadReceiverCheck(masm, receiver, eax, in GenerateMegamorphic() 283 GenerateFastArrayLoad(masm, receiver, key, eax, ebx, eax, &slow); in GenerateMegamorphic() [all …]
|
/external/v8/src/ |
D | lookup.h | 44 LookupIterator(Handle<Object> receiver, Handle<Name> name, 51 receiver_(receiver), in configuration_() 52 initial_holder_(GetRoot(isolate_, receiver)), in configuration_() 63 LookupIterator(Handle<Object> receiver, Handle<Name> name, 71 receiver_(receiver), in configuration_() 83 LookupIterator(Isolate* isolate, Handle<Object> receiver, uint32_t index, 89 receiver_(receiver), in configuration_() 90 initial_holder_(GetRoot(isolate, receiver, index)), in configuration_() 98 LookupIterator(Isolate* isolate, Handle<Object> receiver, uint32_t index, 105 receiver_(receiver), in configuration_() [all …]
|
D | lookup.cc | 19 Handle<Object> receiver, in PropertyOrElement() argument 26 return LookupIterator(isolate, receiver, index, configuration); in PropertyOrElement() 34 return LookupIterator(receiver, isolate->factory()->empty_string()); in PropertyOrElement() 38 LookupIterator it(isolate, receiver, index, configuration); in PropertyOrElement() 45 return LookupIterator(receiver, name, configuration); in PropertyOrElement() 121 Isolate* isolate, Handle<Object> receiver, uint32_t index) { in GetRootForNonJSReceiver() argument 124 if (index != kMaxUInt32 && receiver->IsString() && in GetRootForNonJSReceiver() 125 index < static_cast<uint32_t>(String::cast(*receiver)->length())) { in GetRootForNonJSReceiver() 130 Handle<JSValue>::cast(result)->set_value(*receiver); in GetRootForNonJSReceiver() 133 auto root = handle(receiver->GetRootMap(isolate)->prototype(), isolate); in GetRootForNonJSReceiver() [all …]
|
/external/webrtc/talk/app/webrtc/androidtests/src/org/webrtc/ |
D | NetworkMonitorTest.java | 146 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/ |
D | remote_bitrate_estimators_test.cc | 46 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/ |
D | ic-x64.cc | 140 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() 277 Register receiver = LoadDescriptor::ReceiverRegister(); in GenerateMegamorphic() local 279 DCHECK(receiver.is(rdx)); in GenerateMegamorphic() 288 GenerateKeyedLoadReceiverCheck(masm, receiver, rax, in GenerateMegamorphic() 294 GenerateFastArrayLoad(masm, receiver, key, rax, rbx, rax, &slow); in GenerateMegamorphic() [all …]
|
D | handler-compiler-x64.cc | 43 MacroAssembler* masm, Label* miss_label, Register receiver, in GenerateDictionaryNegativeLookup() argument 46 DCHECK(!receiver.is(scratch0)); in GenerateDictionaryNegativeLookup() 51 __ movp(scratch0, FieldOperand(receiver, HeapObject::kMapOffset)); in GenerateDictionaryNegativeLookup() 67 __ movp(properties, FieldOperand(receiver, JSObject::kPropertiesOffset)); in GenerateDictionaryNegativeLookup() 94 MacroAssembler* masm, Register receiver, Register result, Register scratch, in GenerateLoadFunctionPrototype() argument 96 __ TryGetFunctionPrototype(receiver, result, miss_label); in GenerateLoadFunctionPrototype() 102 static void PushInterceptorArguments(MacroAssembler* masm, Register receiver, in PushInterceptorArguments() argument 110 __ Push(receiver); in PushInterceptorArguments() 116 MacroAssembler* masm, Register receiver, Register holder, Register name, in CompileCallLoadPropertyWithInterceptor() argument 120 PushInterceptorArguments(masm, receiver, holder, name, holder_obj); in CompileCallLoadPropertyWithInterceptor() [all …]
|
/external/v8/src/ic/ |
D | ic.cc | 272 bool IC::ShouldRecomputeHandler(Handle<Object> receiver, Handle<String> name) { in ShouldRecomputeHandler() argument 313 void IC::UpdateState(Handle<Object> receiver, Handle<Object> name) { in UpdateState() argument 314 update_receiver_map(receiver); in UpdateState() 317 if (receiver->IsUndefined(isolate()) || receiver->IsNull(isolate())) return; in UpdateState() 322 if (ShouldRecomputeHandler(receiver, Handle<String>::cast(name))) { in UpdateState() 515 Handle<JSObject> receiver = Handle<JSObject>::cast(object); in MigrateDeprecated() local 516 if (!receiver->map()->is_deprecated()) return false; in MigrateDeprecated() 877 Handle<Object> receiver = lookup->GetReceiver(); in IsCompatibleReceiver() local 881 if (!receiver->IsJSObject() && !function->shared()->IsBuiltin() && in IsCompatibleReceiver() 927 Handle<Object> receiver = lookup->GetReceiver(); in UpdateCaches() local [all …]
|
/external/v8/src/ic/arm64/ |
D | handler-compiler-arm64.cc | 43 MacroAssembler* masm, Label* miss_label, Register receiver, in GenerateDictionaryNegativeLookup() argument 45 DCHECK(!AreAliased(receiver, scratch0, scratch1)); in GenerateDictionaryNegativeLookup() 58 __ Ldr(map, FieldMemOperand(receiver, HeapObject::kMapOffset)); in GenerateDictionaryNegativeLookup() 70 __ Ldr(properties, FieldMemOperand(receiver, JSObject::kPropertiesOffset)); in GenerateDictionaryNegativeLookup() 76 masm, miss_label, &done, receiver, properties, name, scratch1); in GenerateDictionaryNegativeLookup() 94 MacroAssembler* masm, Register receiver, Register scratch1, in GenerateLoadFunctionPrototype() argument 96 __ TryGetFunctionPrototype(receiver, scratch1, scratch2, miss_label); in GenerateLoadFunctionPrototype() 122 static void PushInterceptorArguments(MacroAssembler* masm, Register receiver, in PushInterceptorArguments() argument 130 __ Push(name, receiver, holder); in PushInterceptorArguments() 135 MacroAssembler* masm, Register receiver, Register holder, Register name, in CompileCallLoadPropertyWithInterceptor() argument [all …]
|
D | ic-arm64.cc | 124 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 168 DCHECK(!AreAliased(receiver, key, elements, scratch1, scratch2)); in GenerateFastArrayLoad() 174 __ Ldr(elements, FieldMemOperand(receiver, JSObject::kElementsOffset)); in GenerateFastArrayLoad() 187 __ Ldr(scratch2, FieldMemOperand(receiver, HeapObject::kMapOffset)); in GenerateFastArrayLoad() 327 Register receiver, Register scratch1, in GenerateKeyedLoadWithSmiKey() argument 331 DCHECK(!AreAliased(key, receiver, scratch1, scratch2, scratch3, scratch4, in GenerateKeyedLoadWithSmiKey() 339 GenerateKeyedLoadReceiverCheck(masm, receiver, scratch1, scratch2, in GenerateKeyedLoadWithSmiKey() [all …]
|
/external/v8/src/ic/ppc/ |
D | handler-compiler-ppc.cc | 22 MacroAssembler* masm, Handle<Map> map, Register receiver, Register holder, in GenerateLoadViaGetter() argument 37 DCHECK(!receiver.is(scratch)); in GenerateLoadViaGetter() 42 FieldMemOperand(receiver, JSGlobalObject::kGlobalProxyOffset)); in GenerateLoadViaGetter() 43 receiver = scratch; in GenerateLoadViaGetter() 45 __ push(receiver); in GenerateLoadViaGetter() 65 MacroAssembler* masm, Handle<Map> map, Register receiver, Register holder, in GenerateStoreViaSetter() argument 79 DCHECK(!receiver.is(scratch)); in GenerateStoreViaSetter() 85 FieldMemOperand(receiver, JSGlobalObject::kGlobalProxyOffset)); in GenerateStoreViaSetter() 86 receiver = scratch; in GenerateStoreViaSetter() 88 __ Push(receiver, value()); in GenerateStoreViaSetter() [all …]
|
/external/v8/src/ic/mips/ |
D | handler-compiler-mips.cc | 22 MacroAssembler* masm, Handle<Map> map, Register receiver, Register holder, in GenerateLoadViaGetter() argument 37 DCHECK(!receiver.is(scratch)); in GenerateLoadViaGetter() 42 FieldMemOperand(receiver, JSGlobalObject::kGlobalProxyOffset)); in GenerateLoadViaGetter() 43 receiver = scratch; in GenerateLoadViaGetter() 45 __ push(receiver); in GenerateLoadViaGetter() 65 MacroAssembler* masm, Handle<Map> map, Register receiver, Register holder, in GenerateStoreViaSetter() argument 78 DCHECK(!receiver.is(scratch)); in GenerateStoreViaSetter() 84 FieldMemOperand(receiver, JSGlobalObject::kGlobalProxyOffset)); in GenerateStoreViaSetter() 85 receiver = scratch; in GenerateStoreViaSetter() 87 __ Push(receiver, value()); in GenerateStoreViaSetter() [all …]
|
/external/v8/src/ic/mips64/ |
D | handler-compiler-mips64.cc | 22 MacroAssembler* masm, Handle<Map> map, Register receiver, Register holder, in GenerateLoadViaGetter() argument 37 DCHECK(!receiver.is(scratch)); in GenerateLoadViaGetter() 42 FieldMemOperand(receiver, JSGlobalObject::kGlobalProxyOffset)); in GenerateLoadViaGetter() 43 receiver = scratch; in GenerateLoadViaGetter() 45 __ push(receiver); in GenerateLoadViaGetter() 65 MacroAssembler* masm, Handle<Map> map, Register receiver, Register holder, in GenerateStoreViaSetter() argument 78 DCHECK(!receiver.is(scratch)); in GenerateStoreViaSetter() 84 FieldMemOperand(receiver, JSGlobalObject::kGlobalProxyOffset)); in GenerateStoreViaSetter() 85 receiver = scratch; in GenerateStoreViaSetter() 87 __ Push(receiver, value()); in GenerateStoreViaSetter() [all …]
|
/external/v8/src/ic/s390/ |
D | handler-compiler-s390.cc | 21 MacroAssembler* masm, Handle<Map> map, Register receiver, Register holder, in GenerateLoadViaGetter() argument 36 DCHECK(!receiver.is(scratch)); in GenerateLoadViaGetter() 41 FieldMemOperand(receiver, JSGlobalObject::kGlobalProxyOffset)); in GenerateLoadViaGetter() 42 receiver = scratch; in GenerateLoadViaGetter() 44 __ Push(receiver); in GenerateLoadViaGetter() 63 MacroAssembler* masm, Handle<Map> map, Register receiver, Register holder, in GenerateStoreViaSetter() argument 77 DCHECK(!receiver.is(scratch)); in GenerateStoreViaSetter() 83 FieldMemOperand(receiver, JSGlobalObject::kGlobalProxyOffset)); in GenerateStoreViaSetter() 84 receiver = scratch; in GenerateStoreViaSetter() 86 __ Push(receiver, value()); in GenerateStoreViaSetter() [all …]
|
/external/v8/src/arm64/ |
D | codegen-arm64.cc | 45 Register receiver, in GenerateMapChangeElementsTransition() argument 53 DCHECK(!AreAliased(receiver, key, value, target_map)); in GenerateMapChangeElementsTransition() 57 __ JumpIfJSArrayHasAllocationMemento(receiver, x10, x11, in GenerateMapChangeElementsTransition() 62 __ Str(target_map, FieldMemOperand(receiver, HeapObject::kMapOffset)); in GenerateMapChangeElementsTransition() 63 __ RecordWriteField(receiver, in GenerateMapChangeElementsTransition() 76 Register receiver, in GenerateSmiToDouble() argument 92 DCHECK(!AreAliased(receiver, key, value, target_map, in GenerateSmiToDouble() 96 __ JumpIfJSArrayHasAllocationMemento(receiver, x10, x11, fail); in GenerateSmiToDouble() 101 __ Ldr(elements, FieldMemOperand(receiver, JSObject::kElementsOffset)); in GenerateSmiToDouble() 121 __ Str(target_map, FieldMemOperand(receiver, HeapObject::kMapOffset)); in GenerateSmiToDouble() [all …]
|