Home
last modified time | relevance | path

Searched refs:_factory (Results 1 – 25 of 38) sorted by relevance

12

/external/apache-commons-bcel/src/test/java/org/apache/bcel/verifier/tests/
DTestArrayAccess02Creator.java37 private final InstructionFactory _factory; field in TestArrayAccess02Creator
46 _factory = new InstructionFactory(_cg, _cp); in TestArrayAccess02Creator()
63 …il.append(_factory.createInvoke("java.lang.Object", "<init>", Type.VOID, Type.NO_ARGS, Const.INVOK… in createMethod_0()
79 … il.append(_factory.createNewArray(new ObjectType(TEST_PACKAGE+".TestArrayAccess02"), (short) 1)); in createMethod_1()
83 il.append(_factory.createNewArray(Type.STRING, (short) 1)); in createMethod_1()
88 il.append(_factory.createNew(TEST_PACKAGE+".TestArrayAccess02")); in createMethod_1()
90 …il.append(_factory.createInvoke(TEST_PACKAGE+".TestArrayAccess02", "<init>", Type.VOID, Type.NO_AR… in createMethod_1()
DTestArrayAccess03Creator.java37 private final InstructionFactory _factory; field in TestArrayAccess03Creator
46 _factory = new InstructionFactory(_cg, _cp); in TestArrayAccess03Creator()
63 …il.append(_factory.createInvoke("java.lang.Object", "<init>", Type.VOID, Type.NO_ARGS, Const.INVOK… in createMethod_0()
79 … il.append(_factory.createNewArray(new ObjectType(TEST_PACKAGE+".TestArrayAccess03"), (short) 1)); in createMethod_1()
84 il.append(_factory.createNew(TEST_PACKAGE+".TestArrayAccess03")); in createMethod_1()
86 …il.append(_factory.createInvoke(TEST_PACKAGE+".TestArrayAccess03", "<init>", Type.VOID, Type.NO_AR… in createMethod_1()
DTestReturn01Creator.java35 private final InstructionFactory _factory; field in TestReturn01Creator
44 _factory = new InstructionFactory(_cg, _cp); in TestReturn01Creator()
61 …il.append(_factory.createInvoke("java.lang.Object", "<init>", Type.VOID, Type.NO_ARGS, Const.INVOK… in createMethod_0()
75 final InstructionHandle ih_0 = il.append(_factory.createNew("java.lang.Object")); in createMethod_1()
78 …il.append(_factory.createInvoke("java.lang.Object", "<init>", Type.VOID, Type.NO_ARGS, Const.INVOK… in createMethod_1()
DTestArrayAccess04Creator.java37 private final InstructionFactory _factory; field in TestArrayAccess04Creator
46 _factory = new InstructionFactory(_cg, _cp); in TestArrayAccess04Creator()
63 …il.append(_factory.createInvoke("java.lang.Object", "<init>", Type.VOID, Type.NO_ARGS, Const.INVOK… in createMethod_0()
79 il.append(_factory.createNewArray(Type.OBJECT, (short) 1)); in createMethod_1()
DTestReturn03Creator.java35 private final InstructionFactory _factory; field in TestReturn03Creator
44 _factory = new InstructionFactory(_cg, _cp); in TestReturn03Creator()
61 …il.append(_factory.createInvoke("java.lang.Object", "<init>", Type.VOID, Type.NO_ARGS, Const.INVOK… in createMethod_0()
/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/type/
DTypeParser.java17 protected final TypeFactory _factory; field in TypeParser
20 _factory = f; in TypeParser()
27 return (f == _factory) ? this : new TypeParser(f); in withFactory()
55 return _factory._fromClass(null, base, b); in parseType()
60 return _factory._fromClass(null, base, TypeBindings.emptyBindings()); in parseType()
82 return _factory.findClass(className); in findClass()
/external/jackson-core/src/test/java/perf/
DManualSmallTokenRead.java11 protected final JsonFactory _factory; field in ManualSmallTokenRead
17 _factory = f; in ManualSmallTokenRead()
39 JsonParser p = _factory.createParser(_jsonChars); in testRead1()
49 JsonParser p = _factory.createParser(_jsonBytes); in testRead2()
DManualIntRead.java11 protected final JsonFactory _factory; field in ManualIntRead
17 _factory = f; in ManualIntRead()
39 JsonParser p = _factory.createParser(_jsonChars); in testRead1()
49 JsonParser p = _factory.createParser(_jsonBytes); in testRead2()
DManualReadPerfWithMedia.java7 protected final JsonFactory _factory; field in ManualReadPerfWithMedia
12 _factory = f; in ManualReadPerfWithMedia()
50 JsonParser p = _factory.createParser(_json); in testRead1()
61 JsonParser p = _factory.createParser(ch, 0, ch.length); in testRead2()
/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/deser/std/
DFactoryBasedEnumDeserializer.java35 protected final AnnotatedMethod _factory; field in FactoryBasedEnumDeserializer
51 _factory = f; in FactoryBasedEnumDeserializer()
66 _factory = f; in FactoryBasedEnumDeserializer()
78 _factory = base._factory; in FactoryBasedEnumDeserializer()
131 ClassUtil.getTypeDescription(targetType), _factory, p.currentToken()); in deserialize()
153 return _factory.call(); in deserialize()
160 return _factory.callOnWith(_valueClass, value); in deserialize()
DStdKeyDeserializer.java363 protected final AnnotatedMethod _factory; field in StdKeyDeserializer.EnumKD
378 _factory = factory; in EnumKD()
385 if (_factory != null) { in _parse()
387 return _factory.call1(key); in _parse()
/external/python/cpython3/Lib/email/
Dfeedparser.py139 def __init__(self, _factory=None, *, policy=compat32): argument
149 if _factory is None:
152 self._factory = Message
154 self._factory = policy.message_factory
156 self._factory = _factory
158 _factory(policy=self.policy)
199 msg = self._factory()
201 msg = self._factory(policy=self.policy)
/external/webrtc/sdk/objc/api/peerconnection/
DRTCMediaStream.mm22 RTC_OBJC_TYPE(RTCPeerConnectionFactory) * _factory;
100 _factory = factory;
112 [[RTC_OBJC_TYPE(RTCAudioTrack) alloc] initWithFactory:_factory
121 [[RTC_OBJC_TYPE(RTCVideoTrack) alloc] initWithFactory:_factory
DRTCRtpTransceiver.mm49 RTC_OBJC_TYPE(RTCPeerConnectionFactory) * _factory;
134 _factory = factory;
136 _sender = [[RTC_OBJC_TYPE(RTCRtpSender) alloc] initWithFactory:_factory
139 [[RTC_OBJC_TYPE(RTCRtpReceiver) alloc] initWithFactory:_factory
DRTCRtpReceiver.mm39 RTC_OBJC_TYPE(RTCPeerConnectionFactory) * _factory;
60 factory:_factory];
110 _factory = factory;
DRTCRtpSender.mm23 RTC_OBJC_TYPE(RTCPeerConnectionFactory) * _factory;
49 factory:_factory];
117 _factory = factory;
DRTCMediaStreamTrack.mm23 RTC_OBJC_TYPE(RTCPeerConnectionFactory) * _factory;
77 @synthesize factory = _factory;
85 _factory = factory;
DRTCMediaSource.mm16 RTC_OBJC_TYPE(RTCPeerConnectionFactory) * _factory;
28 _factory = factory;
/external/python/cpython2/Lib/test/
Dtest_mailbox.py50 _factory = None # Overridden by subclasses to reuse tests variable in TestMailbox
56 self._box = self._factory(self._path)
144 self._box = self._factory(self._path, factory=rfc822.Message)
438 self._box = self._factory(self._path)
499 _factory = lambda self, path, factory=None: mailbox.Maildir(path, factory) member in TestMaildir
570 self._box = self._factory(self._path, factory=None)
586 self.assertEqual(self._box._factory, factory)
719 self._box = self._factory(self._path)
754 box = self._factory(self._path, factory=dummy_factory)
756 self.assertIs(folder._factory, dummy_factory)
[all …]
/external/python/cpython3/Lib/test/
Dtest_mailbox.py50 _factory = None # Overridden by subclasses to reuse tests variable in TestMailbox
56 self._box = self._factory(self._path)
234 self._box = self._factory(self._path)
528 self._box = self._factory(self._path)
590 _factory = lambda self, path, factory=None: mailbox.Maildir(path, factory) member in TestMaildir
664 self._box = self._factory(self._path, factory=None)
678 self.assertEqual(self._box._factory, factory)
811 self._box = self._factory(self._path)
846 box = self._factory(self._path, factory=dummy_factory)
848 self.assertIs(folder._factory, dummy_factory)
[all …]
/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/
DDeserializationContext.java83 protected final DeserializerFactory _factory; field in DeserializationContext
171 _factory = df; in DeserializationContext()
188 _factory = factory; in DeserializationContext()
207 _factory = src._factory; in DeserializationContext()
231 _factory = src._factory; in DeserializationContext()
247 _factory = src._factory; in DeserializationContext()
372 return _factory; in getFactory()
536 return _cache.hasValueDeserializerFor(this, _factory, type); in hasValueDeserializerFor()
558 JsonDeserializer<Object> deser = _cache.findValueDeserializer(this, _factory, type); in findContextualValueDeserializer()
581 return _cache.findValueDeserializer(this, _factory, type); in findNonContextualValueDeserializer()
[all …]
/external/autotest/site_utils/lxc/
Dcontainer_bucket.py52 self._factory = container_factory
68 self._factory = ContainerFactory(
230 container = self._factory.create_container(container_id)
/external/python/cpython2/Lib/email/
Dfeedparser.py161 def __init__(self, _factory=message.Message): argument
163 self._factory = _factory
199 msg = self._factory()
/external/webrtc/examples/objc/AppRTCMobile/
DARDAppClient.m122 @synthesize factory = _factory;
232 _factory =
318 [_factory stopAecDump];
559 _peerConnection = [_factory peerConnectionWithConfiguration:config
592 if (![_factory startAecDumpWithFilePath:filePath
716 RTC_OBJC_TYPE(RTCAudioSource) *source = [_factory audioSourceWithConstraints:constraints];
717 RTC_OBJC_TYPE(RTCAudioTrack) *track = [_factory audioTrackWithSource:source
738 RTC_OBJC_TYPE(RTCVideoSource) *source = [_factory videoSource];
760 return [_factory videoTrackWithSource:source trackId:kARDVideoTrackId];
/external/python/cpython3/Doc/library/
Demail.parser.rst73 .. class:: BytesFeedParser(_factory=None, *, policy=policy.compat32)
75 Create a :class:`BytesFeedParser` instance. Optional *_factory* is a
78 *_factory* whenever a new message object is needed.
85 provide :class:`~email.message.EmailMessage` as the default *_factory*. For
95 .. versionchanged:: 3.6 *_factory* defaults to the policy ``message_factory``.
114 .. class:: FeedParser(_factory=None, *, policy=policy.compat32)
142 arguments have the same meaning and semantics as the *_factory*

12