Home
last modified time | relevance | path

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

12345678910>>...20

/external/v8/src/runtime/
Druntime-collections.cc51 CONVERT_ARG_HANDLE_CHECKED(JSSet, holder, 0); in RUNTIME_FUNCTION()
52 JSSet::Initialize(holder, isolate); in RUNTIME_FUNCTION()
53 return *holder; in RUNTIME_FUNCTION()
60 CONVERT_ARG_HANDLE_CHECKED(JSSet, holder, 0); in RUNTIME_FUNCTION()
61 Handle<OrderedHashSet> table(OrderedHashSet::cast(holder->table())); in RUNTIME_FUNCTION()
63 holder->set_table(*table); in RUNTIME_FUNCTION()
71 CONVERT_ARG_HANDLE_CHECKED(JSSet, holder, 0); in RUNTIME_FUNCTION()
72 Handle<OrderedHashSet> table(OrderedHashSet::cast(holder->table())); in RUNTIME_FUNCTION()
74 holder->set_table(*table); in RUNTIME_FUNCTION()
82 CONVERT_ARG_HANDLE_CHECKED(JSSet, holder, 0); in RUNTIME_FUNCTION()
[all …]
Druntime-typedarray.cc19 CONVERT_ARG_CHECKED(JSArrayBuffer, holder, 0); in RUNTIME_FUNCTION()
20 return holder->byte_length(); in RUNTIME_FUNCTION()
101 CONVERT_ARG_HANDLE_CHECKED(JSTypedArray, holder, 0); in RUNTIME_FUNCTION()
116 CHECK(holder->map()->elements_kind() == fixed_elements_kind); in RUNTIME_FUNCTION()
143 holder->GetInternalFieldCount()); in RUNTIME_FUNCTION()
145 holder->SetInternalField(i, Smi::kZero); in RUNTIME_FUNCTION()
148 holder->set_length(*length_obj); in RUNTIME_FUNCTION()
149 holder->set_byte_offset(*byte_offset_object); in RUNTIME_FUNCTION()
150 holder->set_byte_length(*byte_length_object); in RUNTIME_FUNCTION()
154 holder->set_buffer(*buffer); in RUNTIME_FUNCTION()
[all …]
/external/bouncycastle/bcpkix/src/main/java/org/bouncycastle/cert/
DAttributeCertificateHolder.java49 final Holder holder; field in AttributeCertificateHolder
53 holder = Holder.getInstance(seq); in AttributeCertificateHolder()
65 holder = new Holder(new IssuerSerial( in AttributeCertificateHolder()
77 holder = new Holder(new IssuerSerial(generateGeneralNames(cert.getIssuer()), in AttributeCertificateHolder()
88 holder = new Holder(generateGeneralNames(principal)); in AttributeCertificateHolder()
117 holder = new Holder(new ObjectDigestInfo(digestedObjectType, in AttributeCertificateHolder()
138 if (holder.getObjectDigestInfo() != null) in getDigestedObjectType()
140 return holder.getObjectDigestInfo().getDigestedObjectType() in getDigestedObjectType()
153 if (holder.getObjectDigestInfo() != null) in getDigestAlgorithm()
155 return holder.getObjectDigestInfo().getDigestAlgorithm(); in getDigestAlgorithm()
[all …]
/external/r8/src/test/java/com/android/tools/r8/memberrebinding/
DMemberRebindingTest.java104 return !invoke.holder().is("java.io.PrintStream"); in coolInvokes()
112 assertTrue(iterator.next().holder().is("memberrebinding.ClassAtBottomOfChain")); in inspectOriginalMain()
113 assertTrue(iterator.next().holder().is("memberrebinding.ClassAtBottomOfChain")); in inspectOriginalMain()
114 assertTrue(iterator.next().holder().is("memberrebinding.ClassAtBottomOfChain")); in inspectOriginalMain()
115 assertTrue(iterator.next().holder().is("memberrebinding.ClassAtBottomOfChain")); in inspectOriginalMain()
116 assertTrue(iterator.next().holder().is("memberrebinding.ClassExtendsLibraryClass")); in inspectOriginalMain()
117 assertTrue(iterator.next().holder().is("memberrebinding.ClassExtendsLibraryClass")); in inspectOriginalMain()
118 assertTrue(iterator.next().holder().is("memberrebinding.ClassExtendsLibraryClass")); in inspectOriginalMain()
119 assertTrue(iterator.next().holder().is("memberrebinding.ClassExtendsLibraryClass")); in inspectOriginalMain()
120 assertTrue(iterator.next().holder().is("memberrebinding.ClassExtendsLibraryClass")); in inspectOriginalMain()
[all …]
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/x509/
DAttributeCertificateHolder.java53 final Holder holder; field in AttributeCertificateHolder
57 holder = Holder.getInstance(seq); in AttributeCertificateHolder()
63 holder = new org.bouncycastle.asn1.x509.Holder(new IssuerSerial( in AttributeCertificateHolder()
88 holder = new Holder(new IssuerSerial(generateGeneralNames(name), in AttributeCertificateHolder()
94 holder = new Holder(generateGeneralNames(principal)); in AttributeCertificateHolder()
128 holder = new Holder(new ObjectDigestInfo(digestedObjectType, in AttributeCertificateHolder()
149 if (holder.getObjectDigestInfo() != null) in getDigestedObjectType()
151 return holder.getObjectDigestInfo().getDigestedObjectType() in getDigestedObjectType()
165 if (holder.getObjectDigestInfo() != null) in getDigestAlgorithm()
167 return holder.getObjectDigestInfo().getDigestAlgorithm().getAlgorithm() in getDigestAlgorithm()
[all …]
/external/v8/src/
Dlookup.cc55 JSReceiver* holder = *holder_; in Start() local
56 Map* map = holder->map(); in Start()
58 state_ = LookupInHolder<is_element>(map, holder); in Start()
61 NextInternal<is_element>(map, holder); in Start()
73 JSReceiver* holder = *holder_; in Next() local
74 Map* map = holder->map(); in Next()
77 state_ = IsElement() ? LookupInSpecialHolder<true>(map, holder) in Next()
78 : LookupInSpecialHolder<false>(map, holder); in Next()
82 IsElement() ? NextInternal<true>(map, holder) in Next()
83 : NextInternal<false>(map, holder); in Next()
[all …]
Dlookup.h55 Handle<JSReceiver> holder,
57 : LookupIterator(name->GetIsolate(), receiver, name, holder,
61 Handle<JSReceiver> holder,
69 initial_holder_(holder), in configuration_()
86 Handle<JSReceiver> holder,
93 initial_holder_(holder), in configuration_()
116 Handle<JSReceiver> holder, Configuration configuration = DEFAULT) {
120 LookupIterator(isolate, receiver, index, holder, configuration);
124 return LookupIterator(receiver, name, holder, configuration);
291 void NextInternal(Map* map, JSReceiver* holder);
[all …]
Delements.h46 virtual bool HasElement(Handle<JSObject> holder, uint32_t index,
50 inline bool HasElement(Handle<JSObject> holder, uint32_t index,
52 return HasElement(holder, index, handle(holder->elements()), filter);
55 virtual Handle<Object> Get(Handle<JSObject> holder, uint32_t entry) = 0;
57 virtual bool HasAccessors(JSObject* holder) = 0;
58 virtual uint32_t NumberOfElements(JSObject* holder) = 0;
65 virtual void SetLength(Handle<JSArray> holder, uint32_t new_length) = 0;
121 virtual void Set(Handle<JSObject> holder, uint32_t entry, Object* value) = 0;
149 virtual uint32_t GetCapacity(JSObject* holder,
183 virtual uint32_t GetEntryForIndex(Isolate* isolate, JSObject* holder,
[all …]
/external/guava/guava-tests/test/com/google/common/collect/
DCountTest.java33 Count holder = new Count(20); in testGetAndAdd() local
34 assertEquals(20, holder.getAndAdd(1)); in testGetAndAdd()
35 assertEquals(21, holder.get()); in testGetAndAdd()
39 Count holder = new Count(20); in testAddAndGet() local
40 assertEquals(21, holder.addAndGet(1)); in testAddAndGet()
44 Count holder = new Count(10); in testGetAndSet() local
45 assertEquals(10, holder.getAndSet(20)); in testGetAndSet()
46 assertEquals(20, holder.get()); in testGetAndSet()
50 Count holder = new Count(10); in testSet() local
51 holder.set(20); in testSet()
[all …]
/external/r8/src/main/java/com/android/tools/r8/graph/
DDexMethod.java13 public final DexType holder; field in DexMethod
20 DexMethod(DexType holder, DexProto proto, DexString name) { in DexMethod() argument
21 this.holder = holder; in DexMethod()
32 return "Method " + holder + "." + name + " " + proto.toString(); in toString()
38 holder.collectIndexedItems(indexedItems); in collectIndexedItems()
50 return holder.hashCode() in computeHashCode()
58 return holder.equals(o.holder) in computeEquals()
72 int result = holder.slowCompareTo(other.holder); in slowCompareTo()
85 int result = holder.slowCompareTo(other.holder, namingLens); in slowCompareTo()
98 int result = holder.compareTo(other.holder); in layeredCompareTo()
[all …]
DAppInfoWithSubtyping.java60 private void populateAllSuperTypes(Hashtable<DexType, Set<DexType>> map, DexType holder, in populateAllSuperTypes() argument
62 DexClass holderClass = definitions.apply(holder); in populateAllSuperTypes()
67 holderClass.superType.addDirectSubtype(holder); in populateAllSuperTypes()
70 assert dexItemFactory.objectType == holder; in populateAllSuperTypes() local
74 inter.addInterfaceSubtype(holder); in populateAllSuperTypes()
78 missingClasses.add(holder); in populateAllSuperTypes()
81 if (holder != dexItemFactory.objectType) { in populateAllSuperTypes()
82 dexItemFactory.objectType.addDirectSubtype(holder); in populateAllSuperTypes()
104 DexClass root = definitionFor(method.holder); in lookupVirtualTargets()
109 DexEncodedMethod topMethod = lookupVirtualTarget(method.holder, method); in lookupVirtualTargets()
[all …]
DAppInfo.java92 assert method.holder.isClassType(); in lookupDirectStaticOrConstructorTarget()
93 return lookupTargetAlongSuperChain(method.holder, method, DexClass::findDirectTarget); in lookupDirectStaticOrConstructorTarget()
188 DexClass holder = definitionFor(type); in lookupTargetAlongSuperChain() local
189 while (holder != null) { in lookupTargetAlongSuperChain()
190 S result = lookup.apply(holder, desc); in lookupTargetAlongSuperChain()
194 if (holder.superType == null) { in lookupTargetAlongSuperChain()
197 holder = definitionFor(holder.superType); in lookupTargetAlongSuperChain()
209 DexClass holder = definitionFor(type); in lookupTargetAlongSuperAndInterfaceChain() local
210 if (holder == null) { in lookupTargetAlongSuperAndInterfaceChain()
213 S result = lookup.apply(holder, desc); in lookupTargetAlongSuperAndInterfaceChain()
[all …]
/external/v8/src/compiler/
Daccess-info.cc70 MaybeHandle<JSObject> holder) { in NotFound() argument
71 return PropertyAccessInfo(holder, receiver_maps); in NotFound()
77 MaybeHandle<JSObject> holder) { in DataConstant() argument
78 return PropertyAccessInfo(kDataConstant, holder, constant, receiver_maps); in DataConstant()
85 Type* field_type, MaybeHandle<Map> field_map, MaybeHandle<JSObject> holder, in DataField() argument
88 return PropertyAccessInfo(kind, holder, transition_map, field_index, in DataField()
96 MaybeHandle<JSObject> holder) { in AccessorConstant() argument
97 return PropertyAccessInfo(kAccessorConstant, holder, constant, receiver_maps); in AccessorConstant()
111 PropertyAccessInfo::PropertyAccessInfo(MaybeHandle<JSObject> holder, in PropertyAccessInfo() argument
115 holder_(holder), in PropertyAccessInfo()
[all …]
/external/skia/tools/copyright/
Dmain.py50 (year, holder) = parser.GetCopyrightBlockAttributes(old_copyright_block)
51 if holder and not ConfirmAllowedCopyrightHolder(holder):
54 holder, filepath))
56 new_copyright_block = parser.CreateCopyrightBlock(year, holder)
99 def ConfirmAllowedCopyrightHolder(holder): argument
104 return holder in ALLOWED_COPYRIGHT_HOLDERS
/external/testng/src/main/java/org/testng/internal/
DExpectedExceptionsHolder.java17 private final IExpectedExceptionsHolder holder; field in ExpectedExceptionsHolder
19 …xceptionsHolder(IAnnotationFinder finder, ITestNGMethod method, IExpectedExceptionsHolder holder) { in ExpectedExceptionsHolder() argument
23 this.holder = holder; in ExpectedExceptionsHolder()
62 if (exception.isAssignableFrom(realExceptionClass) && holder.isThrowableMatching(ite)) { in isExpectedException()
75 if (holder.isThrowableMatching(ite)) { in wrongException()
80 return new TestException(holder.getWrongExceptionMessage(ite), ite); in wrongException()
/external/r8/src/main/java/com/android/tools/r8/naming/
DMethodNameMinifier.java137 DexClass holder = appInfo.definitionFor(type); in assignNamesToClassesMethods() local
138 if (holder != null && !holder.isLibraryClass()) { in assignNamesToClassesMethods()
140 .computeIfAbsent(type, k -> states.get(holder.superType).createChild()); in assignNamesToClassesMethods()
141 assignNamesToMethods(holder.directMethods(), state, doPrivates, renaming); in assignNamesToClassesMethods()
142 assignNamesToMethods(holder.virtualMethods(), state, doPrivates, renaming); in assignNamesToClassesMethods()
308 DexClass holder = appInfo.definitionFor(type); in reserveNamesInClasses() local
309 NamingState<DexProto> state = allocateNamingStateAndReserve(holder, type, libraryFrontier, in reserveNamesInClasses()
316 holder == null || holder.isLibraryClass() ? subtype : libraryFrontier, in reserveNamesInClasses()
324 DexClass holder = appInfo.definitionFor(type); in reserveNamesInInterfaces() local
325 allocateNamingStateAndReserve(holder, type, type, null, frontierMap); in reserveNamesInInterfaces()
[all …]
/external/r8/src/main/java/com/android/tools/r8/shaking/
DEnqueuer.java168 DexType holder = item.getHolder(); in registerItemWithTarget() local
169 if (holder.isArrayType()) { in registerItemWithTarget()
170 holder = holder.toBaseType(appInfo.dexItemFactory); in registerItemWithTarget()
172 if (!holder.isClassType()) { in registerItemWithTarget()
175 markTypeAsLive(holder); in registerItemWithTarget()
335 DexClass holder = appInfo.definitionFor(type); in markTypeAsLive() local
336 if (holder == null) { in markTypeAsLive()
340 for (DexType iface : holder.interfaces.values) { in markTypeAsLive()
343 if (holder.superType != null) { in markTypeAsLive()
344 markTypeAsLive(holder.superType); in markTypeAsLive()
[all …]
DKeepReason.java42 public static KeepReason referencedInAnnotation(DexItem holder) { in referencedInAnnotation() argument
43 return new ReferencedInAnnotation(holder); in referencedInAnnotation()
165 private final DexItem holder; field in KeepReason.ReferencedInAnnotation
167 private ReferencedInAnnotation(DexItem holder) { in ReferencedInAnnotation() argument
168 this.holder = holder; in ReferencedInAnnotation()
173 formatter.addReason("is referenced in annotation on " + holder.toSourceString()); in print()
/external/v8/src/ic/x64/
Dhandler-compiler-x64.cc87 MacroAssembler* masm, Register receiver, Register holder, Register name, in CompileCallLoadPropertyWithInterceptor() argument
98 __ Push(holder); in CompileCallLoadPropertyWithInterceptor()
128 Register holder = rcx; in GenerateApiAccessorCall() local
143 __ Move(holder, receiver); in GenerateApiAccessorCall()
146 __ movp(holder, FieldOperand(receiver, HeapObject::kMapOffset)); in GenerateApiAccessorCall()
147 __ movp(holder, FieldOperand(holder, Map::kPrototypeOffset)); in GenerateApiAccessorCall()
149 __ movp(holder, FieldOperand(holder, HeapObject::kMapOffset)); in GenerateApiAccessorCall()
150 __ movp(holder, FieldOperand(holder, Map::kPrototypeOffset)); in GenerateApiAccessorCall()
214 MacroAssembler* masm, Handle<Map> map, Register receiver, Register holder, in GenerateStoreViaSetter() argument
228 DCHECK(!holder.is(scratch)); in GenerateStoreViaSetter()
[all …]
/external/v8/src/ic/arm64/
Dhandler-compiler-arm64.cc103 MacroAssembler* masm, Register receiver, Register holder, Register name, in CompileCallLoadPropertyWithInterceptor() argument
112 __ Push(name, receiver, holder); in CompileCallLoadPropertyWithInterceptor()
142 Register holder = x2; in GenerateApiAccessorCall() local
156 __ Mov(holder, receiver); in GenerateApiAccessorCall()
159 __ Ldr(holder, FieldMemOperand(receiver, HeapObject::kMapOffset)); in GenerateApiAccessorCall()
160 __ Ldr(holder, FieldMemOperand(holder, Map::kPrototypeOffset)); in GenerateApiAccessorCall()
162 __ Ldr(holder, FieldMemOperand(holder, HeapObject::kMapOffset)); in GenerateApiAccessorCall()
163 __ Ldr(holder, FieldMemOperand(holder, Map::kPrototypeOffset)); in GenerateApiAccessorCall()
215 MacroAssembler* masm, Handle<Map> map, Register receiver, Register holder, in GenerateStoreViaSetter() argument
230 DCHECK(!AreAliased(holder, scratch)); in GenerateStoreViaSetter()
[all …]
/external/v8/src/ic/ia32/
Dhandler-compiler-ia32.cc22 MacroAssembler* masm, Handle<Map> map, Register receiver, Register holder, in GenerateLoadViaGetter() argument
31 DCHECK(!holder.is(scratch)); in GenerateLoadViaGetter()
41 __ LoadAccessor(edi, holder, accessor_index, ACCESSOR_GETTER); in GenerateLoadViaGetter()
156 Register holder = ecx; in GenerateApiAccessorCall() local
171 __ Move(holder, receiver); in GenerateApiAccessorCall()
174 __ mov(holder, FieldOperand(receiver, HeapObject::kMapOffset)); in GenerateApiAccessorCall()
175 __ mov(holder, FieldOperand(holder, Map::kPrototypeOffset)); in GenerateApiAccessorCall()
177 __ mov(holder, FieldOperand(holder, HeapObject::kMapOffset)); in GenerateApiAccessorCall()
178 __ mov(holder, FieldOperand(holder, Map::kPrototypeOffset)); in GenerateApiAccessorCall()
240 MacroAssembler* masm, Handle<Map> map, Register receiver, Register holder, in GenerateStoreViaSetter() argument
[all …]
/external/v8/src/ic/s390/
Dhandler-compiler-s390.cc21 MacroAssembler* masm, Handle<Map> map, Register receiver, Register holder, in GenerateLoadViaGetter() argument
35 DCHECK(!holder.is(scratch)); in GenerateLoadViaGetter()
45 __ LoadAccessor(r3, holder, accessor_index, ACCESSOR_GETTER); in GenerateLoadViaGetter()
63 MacroAssembler* masm, Handle<Map> map, Register receiver, Register holder, in GenerateStoreViaSetter() argument
76 DCHECK(!holder.is(scratch)); in GenerateStoreViaSetter()
87 __ LoadAccessor(r3, holder, accessor_index, ACCESSOR_SETTER); in GenerateStoreViaSetter()
190 MacroAssembler* masm, Register receiver, Register holder, Register name, in CompileCallLoadPropertyWithInterceptor() argument
199 __ Push(name, receiver, holder); in CompileCallLoadPropertyWithInterceptor()
224 Register holder = r4; in GenerateApiAccessorCall() local
238 __ Move(holder, receiver); in GenerateApiAccessorCall()
[all …]
/external/v8/src/ic/mips64/
Dhandler-compiler-mips64.cc22 MacroAssembler* masm, Handle<Map> map, Register receiver, Register holder, in GenerateLoadViaGetter() argument
36 DCHECK(!holder.is(scratch)); in GenerateLoadViaGetter()
46 __ LoadAccessor(a1, holder, accessor_index, ACCESSOR_GETTER); in GenerateLoadViaGetter()
65 MacroAssembler* masm, Handle<Map> map, Register receiver, Register holder, in GenerateStoreViaSetter() argument
77 DCHECK(!holder.is(scratch)); in GenerateStoreViaSetter()
88 __ LoadAccessor(a1, holder, accessor_index, ACCESSOR_SETTER); in GenerateStoreViaSetter()
194 MacroAssembler* masm, Register receiver, Register holder, Register name, in CompileCallLoadPropertyWithInterceptor() argument
203 __ Push(name, receiver, holder); in CompileCallLoadPropertyWithInterceptor()
229 Register holder = a2; in GenerateApiAccessorCall() local
243 __ Move(holder, receiver); in GenerateApiAccessorCall()
[all …]
/external/v8/src/ic/mips/
Dhandler-compiler-mips.cc22 MacroAssembler* masm, Handle<Map> map, Register receiver, Register holder, in GenerateLoadViaGetter() argument
36 DCHECK(!holder.is(scratch)); in GenerateLoadViaGetter()
46 __ LoadAccessor(a1, holder, accessor_index, ACCESSOR_GETTER); in GenerateLoadViaGetter()
65 MacroAssembler* masm, Handle<Map> map, Register receiver, Register holder, in GenerateStoreViaSetter() argument
77 DCHECK(!holder.is(scratch)); in GenerateStoreViaSetter()
88 __ LoadAccessor(a1, holder, accessor_index, ACCESSOR_SETTER); in GenerateStoreViaSetter()
194 MacroAssembler* masm, Register receiver, Register holder, Register name, in CompileCallLoadPropertyWithInterceptor() argument
203 __ Push(name, receiver, holder); in CompileCallLoadPropertyWithInterceptor()
229 Register holder = a2; in GenerateApiAccessorCall() local
243 __ Move(holder, receiver); in GenerateApiAccessorCall()
[all …]
/external/v8/src/ic/arm/
Dhandler-compiler-arm.cc22 MacroAssembler* masm, Handle<Map> map, Register receiver, Register holder, in GenerateLoadViaGetter() argument
36 DCHECK(!holder.is(scratch)); in GenerateLoadViaGetter()
46 __ LoadAccessor(r1, holder, accessor_index, ACCESSOR_GETTER); in GenerateLoadViaGetter()
65 MacroAssembler* masm, Handle<Map> map, Register receiver, Register holder, in GenerateStoreViaSetter() argument
79 DCHECK(!holder.is(scratch)); in GenerateStoreViaSetter()
90 __ LoadAccessor(r1, holder, accessor_index, ACCESSOR_SETTER); in GenerateStoreViaSetter()
203 MacroAssembler* masm, Register receiver, Register holder, Register name, in CompileCallLoadPropertyWithInterceptor() argument
214 __ push(holder); in CompileCallLoadPropertyWithInterceptor()
240 Register holder = r2; in GenerateApiAccessorCall() local
254 __ Move(holder, receiver); in GenerateApiAccessorCall()
[all …]

12345678910>>...20