Home
last modified time | relevance | path

Searched refs:factories (Results 1 – 25 of 102) sorted by relevance

12345

/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/util/
DICUServiceThreadTest.java211 List factories; field in ICUServiceThreadTest.UnregisterFactoryThread
217 factories = service.factories(); in UnregisterFactoryThread()
222 int s = factories.size(); in iterate()
224 factories = service.factories(); in iterate()
227 Factory f = (Factory)factories.remove(n); in iterate()
235 Factory[] factories; field in ICUServiceThreadTest.UnregisterFactoryListThread
238 … UnregisterFactoryListThread(String name, ICUService service, long delay, Factory[] factories) { in UnregisterFactoryListThread() argument
241 this.factories = factories; in UnregisterFactoryListThread()
246 if (n < factories.length) { in iterate()
247 Factory f = factories[n++]; in iterate()
[all …]
DICUServiceTest.java142 List factories = service.factories(); in TestAPI() local
143 confirmIdentical("4) factory size", factories.size(), 2); in TestAPI()
149 confirmIdentical("5) factory size", factories.size(), 2); in TestAPI()
160 factories = service.factories(); in TestAPI()
161 confirmIdentical("9) factory size", factories.size(), 4); in TestAPI()
169 service.unregisterFactory((Factory)factories.get(0)); in TestAPI()
170 factories = service.factories(); in TestAPI()
171 confirmIdentical("11) factory size", factories.size(), 3); in TestAPI()
778 List factories = service.factories(); in TestLocale() local
779 Iterator iter = factories.iterator(); in TestLocale()
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/
DICUServiceThreadTest.java208 List factories; field in ICUServiceThreadTest.UnregisterFactoryThread
214 factories = service.factories(); in UnregisterFactoryThread()
219 int s = factories.size(); in iterate()
221 factories = service.factories(); in iterate()
224 Factory f = (Factory)factories.remove(n); in iterate()
232 Factory[] factories; field in ICUServiceThreadTest.UnregisterFactoryListThread
235 … UnregisterFactoryListThread(String name, ICUService service, long delay, Factory[] factories) { in UnregisterFactoryListThread() argument
238 this.factories = factories; in UnregisterFactoryListThread()
243 if (n < factories.length) { in iterate()
244 Factory f = factories[n++]; in iterate()
[all …]
DICUServiceTest.java139 List factories = service.factories(); in TestAPI() local
140 confirmIdentical("4) factory size", factories.size(), 2); in TestAPI()
146 confirmIdentical("5) factory size", factories.size(), 2); in TestAPI()
157 factories = service.factories(); in TestAPI()
158 confirmIdentical("9) factory size", factories.size(), 4); in TestAPI()
166 service.unregisterFactory((Factory)factories.get(0)); in TestAPI()
167 factories = service.factories(); in TestAPI()
168 confirmIdentical("11) factory size", factories.size(), 3); in TestAPI()
775 List factories = service.factories(); in TestLocale() local
776 Iterator iter = factories.iterator(); in TestLocale()
/third_party/gstreamer/gstreamer/tests/benchmarks/
Dcapsnego.c53 static const gchar *factories[NUM_FLAVOURS][NUM_ELEM] = { variable
71 mix = gst_element_factory_make (factories[flavour][ELEM_MIX], NULL); in create_node()
73 GST_WARNING ("need element '%s'", factories[flavour][ELEM_MIX]); in create_node()
79 proc = gst_element_factory_make (factories[flavour][ELEM_PROC], NULL); in create_node()
81 GST_WARNING ("need element '%s'", factories[flavour][ELEM_PROC]); in create_node()
84 conv = gst_element_factory_make (factories[flavour][ELEM_CONV], NULL); in create_node()
86 GST_WARNING ("need element '%s'", factories[flavour][ELEM_CONV]); in create_node()
120 src = gst_element_factory_make (factories[flavour][ELEM_SRC], NULL); in create_nodes()
122 GST_WARNING ("need element '%s'", factories[flavour][ELEM_SRC]); in create_nodes()
/third_party/protobuf/java/core/src/main/java/com/google/protobuf/
DManifestSchemaFactory.java123 private MessageInfoFactory[] factories; field in ManifestSchemaFactory.CompositeMessageInfoFactory
125 CompositeMessageInfoFactory(MessageInfoFactory... factories) { in CompositeMessageInfoFactory() argument
126 this.factories = factories; in CompositeMessageInfoFactory()
131 for (MessageInfoFactory factory : factories) { in isSupported()
141 for (MessageInfoFactory factory : factories) { in messageInfoFor()
/third_party/icu/icu4c/source/common/
Dserv.cpp341 , factories(NULL) in ICUService()
351 , factories(NULL) in ICUService()
363 delete factories; in ~ICUService()
364 factories = NULL; in ~ICUService()
471 int32_t limit = factories->size(); in getKey()
476 if (factory == (const ICUServiceFactory*)factories->elementAt(i)) { in getKey()
504 ICUServiceFactory* f = (ICUServiceFactory*)factories->elementAt(index++); in getKey()
668 } else if (factories != NULL) { in getVisibleIDMap()
669 for (int32_t pos = factories->size(); --pos >= 0;) { in getVisibleIDMap()
670 ICUServiceFactory* f = (ICUServiceFactory*)factories->elementAt(pos); in getVisibleIDMap()
[all …]
/third_party/flutter/skia/third_party/externals/icu/source/common/
Dserv.cpp341 , factories(NULL) in ICUService()
351 , factories(NULL) in ICUService()
363 delete factories; in ~ICUService()
364 factories = NULL; in ~ICUService()
471 int32_t limit = factories->size(); in getKey()
476 if (factory == (const ICUServiceFactory*)factories->elementAt(i)) { in getKey()
504 ICUServiceFactory* f = (ICUServiceFactory*)factories->elementAt(index++); in getKey()
668 } else if (factories != NULL) { in getVisibleIDMap()
669 for (int32_t pos = factories->size(); --pos >= 0;) { in getVisibleIDMap()
670 ICUServiceFactory* f = (ICUServiceFactory*)factories->elementAt(pos); in getVisibleIDMap()
[all …]
/third_party/skia/third_party/externals/icu/source/common/
Dserv.cpp341 , factories(NULL) in ICUService()
351 , factories(NULL) in ICUService()
363 delete factories; in ~ICUService()
364 factories = NULL; in ~ICUService()
471 int32_t limit = factories->size(); in getKey()
476 if (factory == (const ICUServiceFactory*)factories->elementAt(i)) { in getKey()
504 ICUServiceFactory* f = (ICUServiceFactory*)factories->elementAt(index++); in getKey()
668 } else if (factories != NULL) { in getVisibleIDMap()
669 for (int32_t pos = factories->size(); --pos >= 0;) { in getVisibleIDMap()
670 ICUServiceFactory* f = (ICUServiceFactory*)factories->elementAt(pos); in getVisibleIDMap()
[all …]
/third_party/gstreamer/gstplugins_bad/gst/autoconvert/
Dgstautoconvert.c226 GList *factories = g_atomic_pointer_get (&autoconvert->factories); in gst_auto_convert_dispose() local
228 if (g_atomic_pointer_compare_and_exchange (&autoconvert->factories, in gst_auto_convert_dispose()
229 factories, NULL)) { in gst_auto_convert_dispose()
230 gst_plugin_feature_list_free (factories); in gst_auto_convert_dispose()
249 if (g_atomic_pointer_get (&autoconvert->factories) == NULL) { in gst_auto_convert_set_property()
250 GList *factories = g_value_get_pointer (value); in gst_auto_convert_set_property() local
251 factories = g_list_copy (factories); in gst_auto_convert_set_property()
252 if (g_atomic_pointer_compare_and_exchange (&autoconvert->factories, in gst_auto_convert_set_property()
253 (GList *) NULL, factories)) in gst_auto_convert_set_property()
254 g_list_foreach (factories, (GFunc) g_object_ref, NULL); in gst_auto_convert_set_property()
[all …]
Dgstautovideoconvert.c42 static GList *factories = NULL; /* factories we can use for selecting elements */ variable
111 if (!factories) { in gst_auto_video_convert_update_factory_list()
115 factories = gst_auto_video_convert_create_factory_list (autovideoconvert); in gst_auto_video_convert_update_factory_list()
122 gst_plugin_feature_list_free (factories); in gst_auto_video_convert_update_factory_list()
126 factories = gst_auto_video_convert_create_factory_list (autovideoconvert); in gst_auto_video_convert_update_factory_list()
255 factories, NULL); in gst_auto_video_convert_change_state()
/third_party/node/deps/icu-small/source/common/
Dserv.cpp335 , factories(NULL) in ICUService()
345 , factories(NULL) in ICUService()
357 delete factories; in ~ICUService()
358 factories = NULL; in ~ICUService()
460 int32_t limit = factories->size(); in getKey()
465 if (factory == (const ICUServiceFactory*)factories->elementAt(i)) { in getKey()
493 ICUServiceFactory* f = (ICUServiceFactory*)factories->elementAt(index++); in getKey()
655 } else if (factories != NULL) { in getVisibleIDMap()
656 for (int32_t pos = factories->size(); --pos >= 0;) { in getVisibleIDMap()
657 ICUServiceFactory* f = (ICUServiceFactory*)factories->elementAt(pos); in getVisibleIDMap()
[all …]
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
DICUService.java125 private final List<Factory> factories = new ArrayList<Factory>(); field in ICUService
394 if (factories.size() == 0) { in getKey()
423 int limit = factories.size(); in getKey()
427 if (factory == factories.get(i)) { in getKey()
458 Factory f = factories.get(index++); in getKey()
590 ListIterator<Factory> lIter = factories.listIterator(factories.size()); in getVisibleIDMap()
759 public final List<Factory> factories() { in factories() method in ICUService
762 return new ArrayList<Factory>(factories); in factories()
798 factories.add(0, factory); in registerFactory()
821 if (factories.remove(factory)) { in unregisterFactory()
[all …]
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/impl/
DICUService.java127 private final List<Factory> factories = new ArrayList<Factory>(); field in ICUService
399 if (factories.size() == 0) { in getKey()
428 int limit = factories.size(); in getKey()
432 if (factory == factories.get(i)) { in getKey()
463 Factory f = factories.get(index++); in getKey()
595 ListIterator<Factory> lIter = factories.listIterator(factories.size()); in getVisibleIDMap()
764 public final List<Factory> factories() { in factories() method in ICUService
767 return new ArrayList<Factory>(factories); in factories()
803 factories.add(0, factory); in registerFactory()
826 if (factories.remove(factory)) { in unregisterFactory()
[all …]
/third_party/gstreamer/gstplugins_bad/tests/check/elements/
Dautoconvert.c67 GList *factories = NULL; in set_autoconvert_factories() local
76 factories = g_list_prepend (factories, feature); in set_autoconvert_factories()
79 g_object_set (G_OBJECT (autoconvert), "factories", factories, NULL); in set_autoconvert_factories()
81 g_list_free_full (factories, gst_object_unref); in set_autoconvert_factories()
/third_party/gstreamer/gstplugins_bad/ext/resindvd/
Drsndec.c245 GList *factories; in _get_decoder_factories() local
271 factories = gst_registry_feature_filter (registry, in _get_decoder_factories()
285 factories = g_list_append (factories, feature); in _get_decoder_factories()
291 factories = g_list_sort (factories, (GCompareFunc) sort_by_ranks); in _get_decoder_factories()
297 return factories; in _get_decoder_factories()
/third_party/flutter/skia/third_party/externals/sdl/test/
Dtestnative.c25 static NativeWindowFactory *factories[] = { variable
145 for (i = 0; factories[i]; ++i) { in main()
146 if (SDL_strcmp(driver, factories[i]->tag) == 0) { in main()
147 factory = factories[i]; in main()
/third_party/gstreamer/gstplugins_base/gst/playback/
Dgstsubtitleoverlay.c192 if (self->factories) in gst_subtitle_overlay_finalize()
193 gst_plugin_feature_list_free (self->factories); in gst_subtitle_overlay_finalize()
194 self->factories = NULL; in gst_subtitle_overlay_finalize()
403 if (!self->factories || self->factories_cookie != cookie) { in gst_subtitle_overlay_update_factory_list()
405 GList *factories; in gst_subtitle_overlay_update_factory_list() local
409 factories = gst_registry_feature_filter (registry, in gst_subtitle_overlay_update_factory_list()
414 if (self->factories) in gst_subtitle_overlay_update_factory_list()
415 gst_plugin_feature_list_free (self->factories); in gst_subtitle_overlay_update_factory_list()
416 self->factories = factories; in gst_subtitle_overlay_update_factory_list()
420 return (self->factories != NULL); in gst_subtitle_overlay_update_factory_list()
[all …]
Dgstdecodebin2.c169 GList *factories; /* factories we can use for selecting elements */ member
221 GstCaps * caps, GValueArray * factories);
330 GstPad * pad, GstCaps * caps, GValueArray * factories);
1104 GList *factories, *tmp; in gst_decode_bin_update_factories_list() local
1107 if (!dbin->factories || dbin->factories_cookie != cookie) { in gst_decode_bin_update_factories_list()
1108 if (dbin->factories) in gst_decode_bin_update_factories_list()
1109 gst_plugin_feature_list_free (dbin->factories); in gst_decode_bin_update_factories_list()
1110 factories = in gst_decode_bin_update_factories_list()
1116 dbin->factories = NULL; in gst_decode_bin_update_factories_list()
1117 for (tmp = factories; tmp; tmp = g_list_next (tmp)) { in gst_decode_bin_update_factories_list()
[all …]
Dgstparsebin.c164 GList *factories; /* factories we can use for selecting elements */ member
205 GstCaps * caps, GValueArray * factories);
257 GstPad * pad, GstCaps * caps, GValueArray * factories);
845 if (!parsebin->factories || parsebin->factories_cookie != cookie) { in gst_parse_bin_update_factories_list()
846 if (parsebin->factories) in gst_parse_bin_update_factories_list()
847 gst_plugin_feature_list_free (parsebin->factories); in gst_parse_bin_update_factories_list()
848 parsebin->factories = in gst_parse_bin_update_factories_list()
851 parsebin->factories = in gst_parse_bin_update_factories_list()
852 g_list_sort (parsebin->factories, in gst_parse_bin_update_factories_list()
922 if (parse_bin->factories) in gst_parse_bin_dispose()
[all …]
Dgsturidecodebin.c84 GList *factories; /* factories we can use for selecting elements */ member
144 GstCaps * caps, GValueArray * factories);
349 GList *factories, *tmp; in gst_uri_decode_bin_update_factories_list() local
352 if (!dec->factories || dec->factories_cookie != cookie) { in gst_uri_decode_bin_update_factories_list()
353 if (dec->factories) in gst_uri_decode_bin_update_factories_list()
354 gst_plugin_feature_list_free (dec->factories); in gst_uri_decode_bin_update_factories_list()
355 factories = in gst_uri_decode_bin_update_factories_list()
361 dec->factories = NULL; in gst_uri_decode_bin_update_factories_list()
362 for (tmp = factories; tmp; tmp = g_list_next (tmp)) { in gst_uri_decode_bin_update_factories_list()
366 dec->factories = g_list_prepend (dec->factories, factory); in gst_uri_decode_bin_update_factories_list()
[all …]
/third_party/boost/libs/optional/doc/
D16_in_place_factories.qbk58 These factories are a family of classes which encapsulate an increasing
96 The factories are divided in two groups:
107 construct these factories without requiring unnecessary template parameters:
115 In-place factories can be used generically by the wrapper and user as follows:
137 The factories are implemented in the headers: __IN_PLACE_FACTORY_HPP__ and __TYPED_IN_PLACE_FACTORY…
/third_party/flutter/skia/gm/
Dlocalmatriximagefilter.cpp54 const ImageFilterFactory factories[] = { variable
70 for (auto&& factory : factories) {
/third_party/skia/gm/
Dlocalmatriximagefilter.cpp54 const ImageFilterFactory factories[] = { variable
70 for (auto&& factory : factories) {
/third_party/gstreamer/gstreamer/gst/
Dgstdevicemonitor.c671 GList *factories = NULL; in gst_device_monitor_add_filter_unlocked() local
685 factories = gst_device_provider_factory_list_get_device_providers (1); in gst_device_monitor_add_filter_unlocked()
687 while (factories) { in gst_device_monitor_add_filter_unlocked()
688 GstDeviceProviderFactory *factory = factories->data; in gst_device_monitor_add_filter_unlocked()
726 factories = g_list_remove (factories, factory); in gst_device_monitor_add_filter_unlocked()
731 g_assert (factories == NULL); in gst_device_monitor_add_filter_unlocked()

12345