Home
last modified time | relevance | path

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

12345678910>>...20

/external/pdfium/core/fpdfapi/parser/
Dcpdf_object_avail_unittest.cpp132 TestHolder holder; in TEST() local
133 holder.AddObject(1, pdfium::MakeUnique<CPDF_String>(nullptr, "string", false), in TEST()
135 CPDF_ObjectAvail avail(holder.GetValidator().Get(), &holder, 1); in TEST()
138 holder.SetObjectState(1, TestHolder::ObjectState::Available); in TEST()
143 TestHolder holder; in TEST() local
144 holder.AddObject(1, pdfium::MakeUnique<CPDF_Reference>(&holder, 2), in TEST()
146 holder.AddObject(2, pdfium::MakeUnique<CPDF_String>(nullptr, "string", false), in TEST()
148 CPDF_ObjectAvail avail(holder.GetValidator().Get(), &holder, 1); in TEST()
152 holder.SetObjectState(1, TestHolder::ObjectState::Available); in TEST()
156 holder.SetObjectState(2, TestHolder::ObjectState::Available); in TEST()
[all …]
Dcpdf_page_object_avail_unittest.cpp101 TestHolder holder; in TEST() local
102 holder.AddObject(1, pdfium::MakeUnique<CPDF_Dictionary>(), in TEST()
104 holder.GetTestObject(1)->GetDict()->SetNewFor<CPDF_Reference>("Kids", &holder, in TEST()
106 holder.AddObject(2, pdfium::MakeUnique<CPDF_Array>(), in TEST()
108 holder.GetTestObject(2)->AsArray()->AddNew<CPDF_Reference>(&holder, 3); in TEST()
110 holder.AddObject(3, pdfium::MakeUnique<CPDF_Dictionary>(), in TEST()
112 holder.GetTestObject(3)->GetDict()->SetFor( in TEST()
114 holder.GetTestObject(3)->GetDict()->SetNewFor<CPDF_Reference>("OtherPageData", in TEST()
115 &holder, 4); in TEST()
117 holder.AddObject( in TEST()
[all …]
/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/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/tensorflow/tensorflow/python/ops/
Dsession_ops.py104 holder, reader = _get_handle_reader(self._session.graph, self._handle,
106 return self._session.run(reader, feed_dict={holder: self._handle})
114 holder, deleter = _get_handle_deleter(self._session.graph, 0, self._handle)
115 self._session.run(deleter, feed_dict={holder: self.handle})
223 holder = array_ops.placeholder(dtypes.string)
224 _register_handle_feeder(holder.graph, holder, dtype)
225 tensor = gen_data_flow_ops._get_session_tensor(holder, dtype, name=name)
226 return (holder, tensor)
248 holder = array_ops.placeholder(dtypes.string)
249 deleter = gen_data_flow_ops._delete_session_tensor(holder, name=name)
[all …]
/external/conscrypt/common/src/main/java/org/conscrypt/
DNativeCrypto.java401 static native byte[] i2d_X509(long x509ctx, OpenSSLX509Certificate holder); in i2d_X509() argument
404 static native byte[] i2d_X509_PUBKEY(long x509ctx, OpenSSLX509Certificate holder); in i2d_X509_PUBKEY() argument
410 static native void X509_free(long x509ctx, OpenSSLX509Certificate holder); in X509_free() argument
412 static native long X509_dup(long x509ctx, OpenSSLX509Certificate holder); in X509_dup() argument
414 …static native int X509_cmp(long x509ctx1, OpenSSLX509Certificate holder, long x509ctx2, OpenSSLX50… in X509_cmp() argument
416 …static native void X509_print_ex(long bioCtx, long x509ctx, OpenSSLX509Certificate holder, long nm… in X509_print_ex() argument
418 static native byte[] X509_get_issuer_name(long x509ctx, OpenSSLX509Certificate holder); in X509_get_issuer_name() argument
420 static native byte[] X509_get_subject_name(long x509ctx, OpenSSLX509Certificate holder); in X509_get_subject_name() argument
422 static native String get_X509_sig_alg_oid(long x509ctx, OpenSSLX509Certificate holder); in get_X509_sig_alg_oid() argument
424 static native byte[] get_X509_sig_alg_parameter(long x509ctx, OpenSSLX509Certificate holder); in get_X509_sig_alg_parameter() argument
[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/skqp/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/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/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/v8/src/ic/ppc/
Dhandler-compiler-ppc.cc22 MacroAssembler* masm, Handle<Map> map, Register receiver, Register holder, in GenerateLoadViaGetter() argument
36 DCHECK(!holder.is(scratch)); in GenerateLoadViaGetter()
46 __ LoadAccessor(r4, holder, accessor_index, ACCESSOR_GETTER); in GenerateLoadViaGetter()
65 MacroAssembler* masm, Handle<Map> map, Register receiver, Register holder, in GenerateStoreViaSetter() argument
78 DCHECK(!holder.is(scratch)); in GenerateStoreViaSetter()
89 __ LoadAccessor(r4, holder, accessor_index, ACCESSOR_SETTER); in GenerateStoreViaSetter()
199 MacroAssembler* masm, Register receiver, Register holder, Register name, in CompileCallLoadPropertyWithInterceptor() argument
208 __ Push(name, receiver, holder); in CompileCallLoadPropertyWithInterceptor()
234 Register holder = r5; in GenerateApiAccessorCall() local
248 __ 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/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/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/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 …]
/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/x87/
Dhandler-compiler-x87.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 …]

12345678910>>...20