Home
last modified time | relevance | path

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

12345678910>>...13

/third_party/node/deps/v8/src/objects/
Dobject-macros.h87 #define DEF_GETTER(holder, name, type) \ argument
88 type holder::name() const { \
90 return holder::name(cage_base); \
92 type holder::name(PtrComprCageBase cage_base) const
94 #define DEF_RELAXED_GETTER(holder, name, type) \ argument
95 type holder::name(RelaxedLoadTag tag) const { \
97 return holder::name(cage_base, tag); \
99 type holder::name(PtrComprCageBase cage_base, RelaxedLoadTag) const
101 #define DEF_ACQUIRE_GETTER(holder, name, type) \ argument
102 type holder::name(AcquireLoadTag tag) const { \
[all …]
Dlookup.cc76 JSReceiver holder = *holder_; in Start() local
77 Map map = holder.map(isolate_); in Start()
79 state_ = LookupInHolder<is_element>(map, holder); in Start()
82 NextInternal<is_element>(map, holder); in Start()
95 JSReceiver holder = *holder_; in Next() local
96 Map map = holder.map(isolate_); in Next()
99 state_ = IsElement() ? LookupInSpecialHolder<true>(map, holder) in Next()
100 : LookupInSpecialHolder<false>(map, holder); in Next()
104 IsElement() ? NextInternal<true>(map, holder) in Next()
105 : NextInternal<false>(map, holder); in Next()
[all …]
Delements.h48 virtual bool HasElement(JSObject holder, uint32_t index,
52 inline bool HasElement(JSObject holder, uint32_t index,
57 virtual bool HasEntry(JSObject holder, InternalIndex entry) = 0;
59 virtual Handle<Object> Get(Handle<JSObject> holder, InternalIndex entry) = 0;
61 virtual bool HasAccessors(JSObject holder) = 0;
62 virtual size_t NumberOfElements(JSObject holder) = 0;
69 V8_WARN_UNUSED_RESULT virtual Maybe<bool> SetLength(Handle<JSArray> holder,
112 virtual void Set(Handle<JSObject> holder, InternalIndex entry,
140 virtual size_t GetCapacity(JSObject holder, FixedArrayBase backing_store) = 0;
192 virtual InternalIndex GetEntryForIndex(Isolate* isolate, JSObject holder,
[all …]
Dlookup.h245 void NextInternal(Map map, JSReceiver holder);
247 inline State LookupInHolder(Map map, JSReceiver holder) { in LookupInHolder() argument
249 ? LookupInSpecialHolder<is_element>(map, holder) in LookupInHolder()
250 : LookupInRegularHolder<is_element>(map, holder); in LookupInHolder()
253 State LookupInRegularHolder(Map map, JSReceiver holder);
255 State LookupInSpecialHolder(Map map, JSReceiver holder);
271 bool SkipInterceptor(JSObject holder);
273 inline InterceptorInfo GetInterceptor(JSObject holder) const;
292 State NotFound(JSReceiver const holder) const;
348 JSObject holder, FixedArrayBase elements, ElementsKind elements_kind,
[all …]
Delements.cc541 InternalIndex GetEntryForIndex(Isolate* isolate, JSObject holder,
545 PropertyDetails GetDetails(JSObject holder, InternalIndex entry) override = 0;
577 static void ValidateContents(JSObject holder, size_t length) {} in ValidateContents() argument
579 static void ValidateImpl(JSObject holder) { in ValidateImpl() argument
580 FixedArrayBase fixed_array_base = holder.elements(); in ValidateImpl()
585 if (holder.IsJSArray()) { in ValidateImpl()
586 Object length_obj = JSArray::cast(holder).length(); in ValidateImpl()
590 } else if (holder.IsJSTypedArray()) { in ValidateImpl()
591 length = JSTypedArray::cast(holder).length(); in ValidateImpl()
595 Subclass::ValidateContents(holder, length); in ValidateImpl()
[all …]
Delements-inl.h32 inline bool ElementsAccessor::HasElement(JSObject holder, uint32_t index, in HasElement() argument
34 return HasElement(holder, index, holder.elements(), filter); in HasElement()
/third_party/node/deps/v8/src/compiler/
Daccess-info.cc104 Zone* zone, MapRef receiver_map, base::Optional<JSObjectRef> holder) { in NotFound() argument
105 return PropertyAccessInfo(zone, kNotFound, holder, {{receiver_map}, zone}); in NotFound()
114 base::Optional<JSObjectRef> holder, base::Optional<MapRef> transition_map) { in DataField() argument
121 : holder.has_value() ? holder->map().object() in DataField()
123 return PropertyAccessInfo(kDataField, holder, transition_map, field_index, in DataField()
135 base::Optional<JSObjectRef> holder, base::Optional<MapRef> transition_map) { in FastDataConstant() argument
137 return PropertyAccessInfo(kFastDataConstant, holder, transition_map, in FastDataConstant()
146 base::Optional<JSObjectRef> holder) { in FastAccessorConstant() argument
147 return PropertyAccessInfo(zone, kFastAccessorConstant, holder, constant, {}, in FastAccessorConstant()
167 Zone* zone, MapRef receiver_map, JSObjectRef holder, in DictionaryProtoDataConstant() argument
[all …]
Daccess-info.h72 base::Optional<JSObjectRef> holder);
78 base::Optional<JSObjectRef> holder,
85 base::Optional<JSObjectRef> holder,
89 base::Optional<JSObjectRef> holder);
95 Zone* zone, MapRef receiver_map, JSObjectRef holder,
98 Zone* zone, MapRef receiver_map, base::Optional<JSObjectRef> holder,
130 base::Optional<JSObjectRef> holder() const { in holder() function
179 PropertyAccessInfo(Zone* zone, Kind kind, base::Optional<JSObjectRef> holder,
181 PropertyAccessInfo(Zone* zone, Kind kind, base::Optional<JSObjectRef> holder,
185 PropertyAccessInfo(Kind kind, base::Optional<JSObjectRef> holder,
[all …]
Dproperty-access-builder.cc127 base::Optional<JSObjectRef> holder = access_info.holder(); in ResolveHolder() local
128 if (holder.has_value()) { in ResolveHolder()
129 return jsgraph()->Constant(holder.value()); in ResolveHolder()
157 access_info.holder()->GetOwnDictionaryProperty(index, dependencies()); in FoldLoadDictPrototypeConstant()
189 base::Optional<JSObjectRef> holder = access_info.holder(); in TryFoldLoadConstantDataField() local
192 if (!holder.has_value()) { in TryFoldLoadConstantDataField()
209 holder = m.Ref(broker()).AsJSObject(); in TryFoldLoadConstantDataField()
213 holder->GetOwnFastDataProperty(access_info.field_representation(), in TryFoldLoadConstantDataField()
219 Node* holder, in BuildLoadDataField() argument
223 Node* storage = holder; in BuildLoadDataField()
/third_party/node/deps/v8/src/runtime/
Druntime-collections.cc26 Handle<JSSet> holder = args.at<JSSet>(0); in RUNTIME_FUNCTION() local
27 Handle<OrderedHashSet> table(OrderedHashSet::cast(holder->table()), isolate); in RUNTIME_FUNCTION()
36 holder->set_table(*table); in RUNTIME_FUNCTION()
43 Handle<JSSet> holder = args.at<JSSet>(0); in RUNTIME_FUNCTION() local
44 Handle<OrderedHashSet> table(OrderedHashSet::cast(holder->table()), isolate); in RUNTIME_FUNCTION()
46 holder->set_table(*table); in RUNTIME_FUNCTION()
53 Handle<JSMap> holder = args.at<JSMap>(0); in RUNTIME_FUNCTION() local
54 Handle<OrderedHashMap> table(OrderedHashMap::cast(holder->table()), isolate); in RUNTIME_FUNCTION()
56 holder->set_table(*table); in RUNTIME_FUNCTION()
63 Handle<JSMap> holder = args.at<JSMap>(0); in RUNTIME_FUNCTION() local
[all …]
Druntime-scopes.cc255 Handle<Object> holder = in DeclareEvalHelper() local
258 DCHECK(holder.is_null() || !holder->IsSourceTextModule()); in DeclareEvalHelper()
263 if (attributes != ABSENT && holder->IsJSGlobalObject()) { in DeclareEvalHelper()
266 return DeclareGlobal(isolate, Handle<JSGlobalObject>::cast(holder), name, in DeclareEvalHelper()
289 DCHECK(holder.is_identical_to(context)); in DeclareEvalHelper()
294 object = Handle<JSObject>::cast(holder); in DeclareEvalHelper()
635 Handle<Object> holder = Context::Lookup(context, name, FOLLOW_CHAINS, &index, in RUNTIME_FUNCTION() local
639 if (holder.is_null()) { in RUNTIME_FUNCTION()
648 if (holder->IsContext() || holder->IsSourceTextModule()) { in RUNTIME_FUNCTION()
655 Handle<JSReceiver> object = Handle<JSReceiver>::cast(holder); in RUNTIME_FUNCTION()
[all …]
/third_party/skia/tools/copyright/
Dmain.py53 (year, holder) = parser.GetCopyrightBlockAttributes(old_copyright_block)
54 if holder and not ConfirmAllowedCopyrightHolder(holder):
57 holder, filepath))
59 new_copyright_block = parser.CreateCopyrightBlock(year, holder)
108 def ConfirmAllowedCopyrightHolder(holder): argument
113 return holder in ALLOWED_COPYRIGHT_HOLDERS
Dfileparser.py81 def CreateCopyrightBlock(self, year, holder): argument
90 if not holder:
91 holder = self.DEFAULT_HOLDER
92 return self.COPYRIGHT_BLOCK_FORMAT % (year, holder)
/third_party/typescript/tests/baselines/reference/
DtypeGuardFunctionOfFormThisErrors.js42 let holder = {invalidGuard}; variable
44 if (holder.invalidGuard(c)) {
46 holder;
50 holder;
124 var holder = { invalidGuard: invalidGuard }; variable
125 if (holder.invalidGuard(c)) {
127 holder;
131 holder;
159 declare let holder: {
DtypeGuardFunctionOfFormThisErrors.symbols108 let holder = {invalidGuard};
109 >holder : Symbol(holder, Decl(typeGuardFunctionOfFormThisErrors.ts, 40, 3))
112 if (holder.invalidGuard(c)) {
113 >holder.invalidGuard : Symbol(invalidGuard, Decl(typeGuardFunctionOfFormThisErrors.ts, 40, 14))
114 >holder : Symbol(holder, Decl(typeGuardFunctionOfFormThisErrors.ts, 40, 3))
121 holder;
122 >holder : Symbol(holder, Decl(typeGuardFunctionOfFormThisErrors.ts, 40, 3))
128 holder;
129 >holder : Symbol(holder, Decl(typeGuardFunctionOfFormThisErrors.ts, 40, 3))
DtypeGuardFunctionOfFormThisErrors.types111 let holder = {invalidGuard};
112 >holder : { invalidGuard: (c: any) => this is number; }
116 if (holder.invalidGuard(c)) {
117 >holder.invalidGuard(c) : boolean
118 >holder.invalidGuard : (c: any) => this is number
119 >holder : { invalidGuard: (c: any) => this is number; }
126 holder;
127 >holder : { invalidGuard: (c: any) => this is number; } & number
133 holder;
134 >holder : { invalidGuard: (c: any) => this is number; }
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/serializable/
DCompatibilityTest.java82 public void testCompatibility(FileHolder holder) throws ClassNotFoundException, IOException { in testCompatibility() argument
83 if (holder.skip) { in testCompatibility()
84 logln("Skipping File = " + holder); in testCompatibility()
88 Object[] oldObjects = SerializableTestUtility.getSerializedObjects(holder.b); in testCompatibility()
89 Handler classHandler = SerializableTestUtility.getHandler(holder.className); in testCompatibility()
94 … errln("Input object " + i + ", className " + holder.className + ": failed behavior test."); in testCompatibility()
185 FileHolder holder = new FileHolder(entryName, in getJarList() local
187 classList.add(holder); in getJarList()
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/serializable/
DCompatibilityTest.java85 public void testCompatibility(FileHolder holder) throws ClassNotFoundException, IOException { in testCompatibility() argument
86 if (holder.skip) { in testCompatibility()
87 logln("Skipping File = " + holder); in testCompatibility()
91 Object[] oldObjects = SerializableTestUtility.getSerializedObjects(holder.b); in testCompatibility()
92 Handler classHandler = SerializableTestUtility.getHandler(holder.className); in testCompatibility()
97 … errln("Input object " + i + ", className " + holder.className + ": failed behavior test."); in testCompatibility()
188 FileHolder holder = new FileHolder(entryName, in getJarList() local
190 classList.add(holder); in getJarList()
/third_party/skia/third_party/externals/spirv-cross/
Dspirv_common.hpp1379 if (holder) in ~Variant()
1380 group->pools[type]->free_opaque(holder); in ~Variant()
1398 if (holder) in operator =()
1399 group->pools[type]->free_opaque(holder); in operator =()
1400 holder = other.holder; in operator =()
1405 other.holder = nullptr; in operator =()
1422 if (holder) in operator =()
1423 group->pools[type]->free_opaque(holder); in operator =()
1425 if (other.holder) in operator =()
1426 holder = other.holder->clone(group->pools[other.type].get()); in operator =()
[all …]
/third_party/typescript/tests/cases/conformance/expressions/typeGuards/
DtypeGuardFunctionOfFormThisErrors.ts42 let holder = {invalidGuard}; variable
44 if (holder.invalidGuard(c)) {
46 holder;
50 holder;
/third_party/skia/third_party/externals/oboe/apps/fxlab/app/src/main/java/com/mobileer/androidfxlab/
DEffectsAdapter.kt137 override fun onBindViewHolder(holder: EffectsHolder, position: Int) { in <lambda>()
138 holder.bindEffect(effectList[position], position) in <lambda>()
178 var holder = mRecyclerView.findViewHolderForAdapterPosition(i) as EffectsHolder in <lambda>() variable
179 holder.bindEffect(holder.effect, i) in <lambda>()
202 var holder = mRecyclerView.findViewHolderForAdapterPosition(i) as EffectsHolder in <lambda>() variable
203 holder.bindEffect(holder.effect, i) in <lambda>()
/third_party/skia/platform_tools/android/apps/AndroidKit/src/main/java/org/skia/androidkit/util/
DSurfaceRenderer.java63 public void surfaceCreated(SurfaceHolder holder) { in surfaceCreated() argument
68 public void surfaceChanged(SurfaceHolder holder, int format, int width, int height) { in surfaceChanged() argument
69 mAndroidSurface = holder.getSurface(); in surfaceChanged()
76 public void surfaceDestroyed(SurfaceHolder holder) { in surfaceDestroyed() argument
/third_party/node/lib/internal/http2/
Dutil.js282 const holder = ObjectCreate(null);
288 holder.headerTableSize =
294 holder.enablePush =
300 holder.initialWindowSize =
306 holder.maxFrameSize =
312 holder.maxConcurrentStreams =
318 holder.maxHeaderListSize = holder.maxHeaderSize =
324 holder.enableConnectProtocol =
328 return holder;
/third_party/node/deps/v8/src/api/
Dapi-arguments.cc13 Isolate* isolate, Object data, Object self, JSObject holder, in PropertyCallbackArguments() argument
17 slot_at(T::kHolderIndex).store(holder); in PropertyCallbackArguments()
37 internal::HeapObject callee, internal::Object holder, in FunctionCallbackArguments() argument
41 slot_at(T::kHolderIndex).store(holder); in FunctionCallbackArguments()
/third_party/node/deps/v8/src/ic/
Dic.cc216 Handle<JSObject> holder = it->GetHolder<JSObject>(); in LookupForRead() local
217 if (!holder->GetNamedInterceptor().getter().IsUndefined( in LookupForRead()
222 !holder->GetNamedInterceptor().query().IsUndefined(it->isolate())) { in LookupForRead()
897 Handle<JSReceiver> holder, in MakeLoadWasmStructFieldHandler() argument
899 DCHECK(holder->IsWasmObject(isolate)); in MakeLoadWasmStructFieldHandler()
902 if (holder->IsWasmArray(isolate)) { in MakeLoadWasmStructFieldHandler()
909 wasm::StructType* struct_type = Handle<WasmStruct>::cast(holder)->type(); in MakeLoadWasmStructFieldHandler()
968 Handle<JSObject> holder = lookup->GetHolder<JSObject>(); in ComputeHandler() local
971 if (holder->GetNamedInterceptor().non_masking()) { in ComputeHandler()
974 holder_ref = MaybeObjectHandle::Weak(holder); in ComputeHandler()
[all …]

12345678910>>...13