Home
last modified time | relevance | path

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

12345678910>>...19

/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 …]
Dcpdf_object_avail.cpp16 CPDF_IndirectObjectHolder* holder, in CPDF_ObjectAvail() argument
18 : validator_(validator), holder_(holder), root_(root) { in CPDF_ObjectAvail()
20 ASSERT(holder); in CPDF_ObjectAvail()
27 CPDF_IndirectObjectHolder* holder, in CPDF_ObjectAvail() argument
30 holder_(holder), in CPDF_ObjectAvail()
31 root_(pdfium::MakeUnique<CPDF_Reference>(holder, obj_num)) { in CPDF_ObjectAvail()
33 ASSERT(holder); in CPDF_ObjectAvail()
/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/v8/src/runtime/
Druntime-collections.cc24 CONVERT_ARG_HANDLE_CHECKED(JSSet, holder, 0); in RUNTIME_FUNCTION()
25 Handle<OrderedHashSet> table(OrderedHashSet::cast(holder->table()), isolate); in RUNTIME_FUNCTION()
27 holder->set_table(*table); in RUNTIME_FUNCTION()
35 CONVERT_ARG_HANDLE_CHECKED(JSSet, holder, 0); in RUNTIME_FUNCTION()
36 Handle<OrderedHashSet> table(OrderedHashSet::cast(holder->table()), isolate); in RUNTIME_FUNCTION()
38 holder->set_table(*table); in RUNTIME_FUNCTION()
45 CONVERT_ARG_HANDLE_CHECKED(JSSetIterator, holder, 0); in RUNTIME_FUNCTION()
47 handle(holder->map(), isolate), in RUNTIME_FUNCTION()
48 handle(OrderedHashSet::cast(holder->table()), isolate), in RUNTIME_FUNCTION()
49 Smi::ToInt(holder->index())); in RUNTIME_FUNCTION()
[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/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/x509/
DAttributeCertificateHolder.java55 final Holder holder; field in AttributeCertificateHolder
59 holder = Holder.getInstance(seq); in AttributeCertificateHolder()
65 holder = new com.android.org.bouncycastle.asn1.x509.Holder(new IssuerSerial( in AttributeCertificateHolder()
90 holder = new Holder(new IssuerSerial(generateGeneralNames(name), in AttributeCertificateHolder()
96 holder = new Holder(generateGeneralNames(principal)); in AttributeCertificateHolder()
130 holder = new Holder(new ObjectDigestInfo(digestedObjectType, in AttributeCertificateHolder()
151 if (holder.getObjectDigestInfo() != null) in getDigestedObjectType()
153 return holder.getObjectDigestInfo().getDigestedObjectType() in getDigestedObjectType()
167 if (holder.getObjectDigestInfo() != null) in getDigestAlgorithm()
169 return holder.getObjectDigestInfo().getDigestAlgorithm().getAlgorithm() in getDigestAlgorithm()
[all …]
/external/v8/src/objects/
Dobject-macros.h56 #define INT_ACCESSORS(holder, name, offset) \ argument
57 int holder::name() const { return READ_INT_FIELD(this, offset); } \
58 void holder::set_##name(int value) { WRITE_INT_FIELD(this, offset, value); }
60 #define INT32_ACCESSORS(holder, name, offset) \ argument
61 int32_t holder::name() const { return READ_INT32_FIELD(this, offset); } \
62 void holder::set_##name(int32_t value) { \
66 #define UINT16_ACCESSORS(holder, name, offset) \ argument
67 uint16_t holder::name() const { return READ_UINT16_FIELD(this, offset); } \
68 void holder::set_##name(int value) { \
74 #define UINT8_ACCESSORS(holder, name, offset) \ argument
[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/v8/src/
Dlookup.cc20 bool* success, Handle<JSReceiver> holder, Configuration configuration) { in PropertyOrElement() argument
24 return LookupIterator(isolate, receiver, index, holder, configuration); in PropertyOrElement()
37 LookupIterator it(isolate, receiver, index, holder, configuration); in PropertyOrElement()
44 return LookupIterator(receiver, name, holder, configuration); in PropertyOrElement()
150 JSReceiver* holder = *holder_; in Start() local
151 Map* map = holder->map(); in Start()
153 state_ = LookupInHolder<is_element>(map, holder); in Start()
156 NextInternal<is_element>(map, holder); in Start()
168 JSReceiver* holder = *holder_; in Next() local
169 Map* map = holder->map(); in Next()
[all …]
Dlookup.h53 Handle<JSReceiver> holder,
57 Handle<Name> name, Handle<JSReceiver> holder,
66 Handle<JSReceiver> holder,
73 initial_holder_(holder), in configuration_()
87 Handle<JSReceiver> holder, Configuration configuration = DEFAULT);
91 bool* success, Handle<JSReceiver> holder,
229 void NextInternal(Map* map, JSReceiver* holder);
231 inline State LookupInHolder(Map* map, JSReceiver* holder) { in LookupInHolder() argument
233 ? LookupInSpecialHolder<is_element>(map, holder) in LookupInHolder()
234 : LookupInRegularHolder<is_element>(map, holder); in LookupInHolder()
[all …]
Delements.h46 virtual bool HasElement(JSObject* holder, uint32_t index,
50 inline bool HasElement(JSObject* holder, uint32_t index,
55 virtual bool HasEntry(JSObject* holder, uint32_t entry) = 0;
59 virtual Handle<Object> Get(Handle<JSObject> holder, uint32_t entry) = 0;
61 virtual bool HasAccessors(JSObject* holder) = 0;
62 virtual uint32_t NumberOfElements(JSObject* holder) = 0;
69 virtual void SetLength(Handle<JSArray> holder, uint32_t new_length) = 0;
120 virtual void Set(Handle<JSObject> holder, uint32_t entry, Object* value) = 0;
148 virtual uint32_t GetCapacity(JSObject* holder,
200 virtual uint32_t GetEntryForIndex(Isolate* isolate, JSObject* holder,
[all …]
Dapi-arguments-inl.h33 inline JSObject* PropertyCallbackArguments::holder() { in holder() function
37 inline JSObject* FunctionCallbackArguments::holder() { in holder() function
74 ApiNamedPropertyAccess("interceptor-named-" #TYPE, holder(), *name)); \
95 holder(), index)); \
107 LOG(isolate, ApiObjectAccess("call", holder())); in FOR_EACH_CALLBACK()
126 LOG(isolate(), ApiObjectAccess("interceptor-named-enumerator", holder())); in CallNamedEnumerator()
135 LOG(isolate(), ApiObjectAccess("interceptor-indexed-enumerator", holder())); in CallIndexedEnumerator()
148 ApiNamedPropertyAccess("interceptor-named-getter", holder(), *name)); in CallNamedGetter()
161 ApiNamedPropertyAccess("interceptor-named-descriptor", holder(), *name)); in CallNamedDescriptor()
191 ApiNamedPropertyAccess("interceptor-named-set", holder(), *name)); in CallNamedSetter()
[all …]
Dlookup-inl.h21 Handle<JSReceiver> holder, in LookupIterator() argument
23 : LookupIterator(holder->GetIsolate(), receiver, name, holder, in LookupIterator()
27 Handle<Name> name, Handle<JSReceiver> holder, in LookupIterator() argument
35 initial_holder_(holder), in LookupIterator()
48 Handle<JSReceiver> holder, Configuration configuration) { in PropertyOrElement() argument
52 LookupIterator(isolate, receiver, index, holder, configuration); in PropertyOrElement()
56 return LookupIterator(receiver, name, holder, configuration); in PropertyOrElement()
/external/tensorflow/tensorflow/python/ops/
Dsession_ops.py98 holder, reader = _get_handle_reader(self._session.graph, self._handle,
100 return self._session.run(reader, feed_dict={holder: self._handle})
108 holder, deleter = _get_handle_deleter(self._session.graph, 0, self._handle)
109 self._session.run(deleter, feed_dict={holder: self.handle})
217 holder = array_ops.placeholder(dtypes.string)
218 _register_handle_feeder(holder.graph, holder, dtype)
219 tensor = gen_data_flow_ops.get_session_tensor(holder, dtype, name=name)
220 return (holder, tensor)
242 holder = array_ops.placeholder(dtypes.string)
243 deleter = gen_data_flow_ops.delete_session_tensor(holder, name=name)
[all …]
/external/grpc-grpc-java/core/src/test/java/io/grpc/internal/
DSharedResourceHolderTest.java51 private SharedResourceHolder holder; field in SharedResourceHolderTest
74 holder = new SharedResourceHolder(new MockExecutorFactory()); in setUp()
78 ResourceInstance foo1 = holder.getInternal(SHARED_FOO); in destroyResourceWhenRefCountReachesZero()
80 ResourceInstance foo2 = holder.getInternal(SHARED_FOO); in destroyResourceWhenRefCountReachesZero()
83 ResourceInstance bar1 = holder.getInternal(SHARED_BAR); in destroyResourceWhenRefCountReachesZero()
86 foo2 = holder.releaseInternal(SHARED_FOO, foo2); in destroyResourceWhenRefCountReachesZero()
92 foo1 = holder.releaseInternal(SHARED_FOO, foo1); in destroyResourceWhenRefCountReachesZero()
106 ResourceInstance foo3 = holder.getInternal(SHARED_FOO); in destroyResourceWhenRefCountReachesZero()
109 bar1 = holder.releaseInternal(SHARED_BAR, bar1); in destroyResourceWhenRefCountReachesZero()
123 ResourceInstance foo1 = holder.getInternal(SHARED_FOO); in cancelDestroyTask()
[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/conscrypt/repackaged/common/src/main/java/com/android/org/conscrypt/
DNativeCrypto.java420 static native byte[] i2d_X509(long x509ctx, OpenSSLX509Certificate holder); in i2d_X509() argument
423 static native byte[] i2d_X509_PUBKEY(long x509ctx, OpenSSLX509Certificate holder); in i2d_X509_PUBKEY() argument
431 static native void X509_free(long x509ctx, OpenSSLX509Certificate holder); in X509_free() argument
433 static native long X509_dup(long x509ctx, OpenSSLX509Certificate holder); in X509_dup() argument
435 …static native int X509_cmp(long x509ctx1, OpenSSLX509Certificate holder, long x509ctx2, OpenSSLX50… in X509_cmp() argument
437 …static native void X509_print_ex(long bioCtx, long x509ctx, OpenSSLX509Certificate holder, long nm… in X509_print_ex() argument
439 static native byte[] X509_get_issuer_name(long x509ctx, OpenSSLX509Certificate holder); in X509_get_issuer_name() argument
441 static native byte[] X509_get_subject_name(long x509ctx, OpenSSLX509Certificate holder); in X509_get_subject_name() argument
443 static native String get_X509_sig_alg_oid(long x509ctx, OpenSSLX509Certificate holder); in get_X509_sig_alg_oid() argument
445 static native byte[] get_X509_sig_alg_parameter(long x509ctx, OpenSSLX509Certificate holder); in get_X509_sig_alg_parameter() argument
[all …]
/external/v8/src/ic/
Dhandler-configuration.cc31 Handle<JSReceiver> holder, MaybeObjectHandle data1, in InitPrototypeChecksImpl() argument
91 Handle<JSReceiver> holder, MaybeObjectHandle data1, in GetPrototypeCheckCount() argument
96 holder, data1, maybe_data2); in GetPrototypeCheckCount()
101 Handle<Map> receiver_map, Handle<JSReceiver> holder, in InitPrototypeChecks() argument
105 isolate, handler, nullptr, receiver_map, holder, data1, maybe_data2); in InitPrototypeChecks()
113 Handle<JSReceiver> holder, in LoadFromPrototype() argument
119 data1 = MaybeObjectHandle::Weak(holder); in LoadFromPrototype()
125 isolate, &smi_handler, receiver_map, holder, data1, maybe_data2); in LoadFromPrototype()
135 InitPrototypeChecks(isolate, handler, receiver_map, holder, data1, in LoadFromPrototype()
143 MaybeObjectHandle holder, in LoadFullChain() argument
[all …]
/external/v8/src/compiler/
Daccess-info.cc76 MaybeHandle<JSObject> holder) { in NotFound() argument
77 return PropertyAccessInfo(holder, receiver_maps); in NotFound()
83 MaybeHandle<JSObject> holder) { in DataConstant() argument
84 return PropertyAccessInfo(kDataConstant, holder, constant, receiver_maps); in DataConstant()
91 Type field_type, MaybeHandle<Map> field_map, MaybeHandle<JSObject> holder, in DataField() argument
95 return PropertyAccessInfo(kind, holder, transition_map, field_index, in DataField()
103 MaybeHandle<JSObject> holder) { in AccessorConstant() argument
104 return PropertyAccessInfo(kAccessorConstant, holder, constant, receiver_maps); in AccessorConstant()
119 PropertyAccessInfo::PropertyAccessInfo(MaybeHandle<JSObject> holder, in PropertyAccessInfo() argument
123 holder_(holder), in PropertyAccessInfo()
[all …]
/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/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/skia/platform_tools/android/apps/skar_java/src/main/java/com/google/skar/examples/helloskar/app/
DCanvasARSurfaceView.java38 SurfaceHolder holder = getHolder(); in CanvasARSurfaceView() local
41 holder.setFormat(PixelFormat.TRANSPARENT); in CanvasARSurfaceView()
42 holder.addCallback(this); in CanvasARSurfaceView()
50 public void surfaceCreated(SurfaceHolder holder) { in surfaceCreated() argument
55 public void surfaceDestroyed(SurfaceHolder holder) { in surfaceDestroyed() argument
60 public void surfaceChanged(SurfaceHolder holder, int format, int width, int height) {} in surfaceChanged() argument
/external/skqp/platform_tools/android/apps/skar_java/src/main/java/com/google/skar/examples/helloskar/app/
DCanvasARSurfaceView.java38 SurfaceHolder holder = getHolder(); in CanvasARSurfaceView() local
41 holder.setFormat(PixelFormat.TRANSPARENT); in CanvasARSurfaceView()
42 holder.addCallback(this); in CanvasARSurfaceView()
50 public void surfaceCreated(SurfaceHolder holder) { in surfaceCreated() argument
55 public void surfaceDestroyed(SurfaceHolder holder) { in surfaceDestroyed() argument
60 public void surfaceChanged(SurfaceHolder holder, int format, int width, int height) {} in surfaceChanged() argument
/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()

12345678910>>...19