/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/ |
D | ICUServiceThreadTest.java | 208 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 …]
|
D | ICUServiceTest.java | 139 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/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/util/ |
D | ICUServiceThreadTest.java | 211 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 …]
|
D | ICUServiceTest.java | 142 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/gstreamer/gstreamer/tests/benchmarks/ |
D | capsnego.c | 53 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/skia/third_party/externals/icu/source/common/ |
D | serv.cpp | 341 , 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/ |
D | gstautoconvert.c | 226 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 …]
|
D | gstautovideoconvert.c | 42 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/protobuf/java/core/src/main/java/com/google/protobuf/ |
D | ManifestSchemaFactory.java | 123 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/node/deps/icu-small/source/common/ |
D | serv.cpp | 335 , factories(nullptr) in ICUService() 345 , factories(nullptr) in ICUService() 357 delete factories; in ~ICUService() 358 factories = nullptr; 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() 652 } else if (factories != nullptr) { in getVisibleIDMap() 653 for (int32_t pos = factories->size(); --pos >= 0;) { in getVisibleIDMap() 654 ICUServiceFactory* f = (ICUServiceFactory*)factories->elementAt(pos); in getVisibleIDMap() [all …]
|
/third_party/icu/icu4c/source/common/ |
D | serv.cpp | 335 , 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() 652 } else if (factories != NULL) { in getVisibleIDMap() 653 for (int32_t pos = factories->size(); --pos >= 0;) { in getVisibleIDMap() 654 ICUServiceFactory* f = (ICUServiceFactory*)factories->elementAt(pos); in getVisibleIDMap() [all …]
|
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/impl/ |
D | ICUService.java | 127 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/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/ |
D | ICUService.java | 125 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/gstreamer/gstplugins_bad/tests/check/elements/ |
D | autoconvert.c | 67 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/ |
D | rsndec.c | 245 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/gstreamer/gstplugins_base/gst/playback/ |
D | gstsubtitleoverlay.c | 192 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 …]
|
D | gstdecodebin2.c | 169 GList *factories; /* factories we can use for selecting elements */ member 221 GstCaps * caps, GValueArray * factories); 338 GstPad * pad, GstCaps * caps, GValueArray * factories); 1132 GList *factories, *tmp; in gst_decode_bin_update_factories_list() local 1135 if (!dbin->factories || dbin->factories_cookie != cookie) { in gst_decode_bin_update_factories_list() 1136 if (dbin->factories) in gst_decode_bin_update_factories_list() 1137 gst_plugin_feature_list_free (dbin->factories); in gst_decode_bin_update_factories_list() 1138 factories = in gst_decode_bin_update_factories_list() 1144 dbin->factories = NULL; in gst_decode_bin_update_factories_list() 1145 for (tmp = factories; tmp; tmp = g_list_next (tmp)) { in gst_decode_bin_update_factories_list() [all …]
|
D | gstparsebin.c | 164 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 …]
|
D | gsturidecodebin.c | 84 GList *factories; /* factories we can use for selecting elements */ member 144 GstCaps * caps, GValueArray * factories); 356 GList *factories, *tmp; in gst_uri_decode_bin_update_factories_list() local 359 if (!dec->factories || dec->factories_cookie != cookie) { in gst_uri_decode_bin_update_factories_list() 360 if (dec->factories) in gst_uri_decode_bin_update_factories_list() 361 gst_plugin_feature_list_free (dec->factories); in gst_uri_decode_bin_update_factories_list() 362 factories = in gst_uri_decode_bin_update_factories_list() 368 dec->factories = NULL; in gst_uri_decode_bin_update_factories_list() 369 for (tmp = factories; tmp; tmp = g_list_next (tmp)) { in gst_uri_decode_bin_update_factories_list() 373 dec->factories = g_list_prepend (dec->factories, factory); in gst_uri_decode_bin_update_factories_list() [all …]
|
/third_party/gstreamer/gstreamer/gst/ |
D | gstdevicemonitor.c | 671 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()
|
/third_party/skia/gm/ |
D | localmatriximagefilter.cpp | 54 const ImageFilterFactory factories[] = { variable 70 for (auto&& factory : factories) {
|
/third_party/gstreamer/gstplugins_base/gst-libs/gst/pbutils/ |
D | encoding-profile.c | 1740 GList *factories = NULL; in create_encoding_profile_from_caps() local 1755 factories = gst_element_factory_list_filter (muxers_and_encoders, caps, in create_encoding_profile_from_caps() 1758 if (!factories) { in create_encoding_profile_from_caps() 1764 if (is_raw_audio || (factories in create_encoding_profile_from_caps() 1765 && gst_element_factory_list_is_type (factories->data, in create_encoding_profile_from_caps() 1770 else if (is_raw_video || (factories in create_encoding_profile_from_caps() 1771 && gst_element_factory_list_is_type (factories->data, in create_encoding_profile_from_caps() 1776 else if (gst_element_factory_list_is_type (factories->data, in create_encoding_profile_from_caps() 1782 if (factories) in create_encoding_profile_from_caps() 1783 gst_plugin_feature_list_free (factories); in create_encoding_profile_from_caps()
|
/third_party/gstreamer/gstreamer/tools/ |
D | gst-stats.c | 140 GPtrArray *factories[N_FACTORY_TYPES]; member 313 plugin->factories[i] = g_ptr_array_new_with_free_func (g_free); in new_plugin_stats() 329 g_ptr_array_unref (plugin->factories[i]); in free_plugin_stats() 696 !g_ptr_array_find_with_equal_func (plugin->factories[f], factory, in do_factory_used() 698 g_ptr_array_add (plugin->factories[f], g_strdup (factory)); in do_factory_used() 1148 if (ps->factories[f]->len > 0) { in print_stats() 1152 g_ptr_array_sort (ps->factories[f], compare_string); in print_stats() 1154 for (j = 0; j < ps->factories[f]->len; j++) { in print_stats() 1155 const gchar *factory = g_ptr_array_index (ps->factories[f], j); in print_stats()
|
/third_party/gstreamer/gstreamer/tests/check/gst/ |
D | gstdevice.c | 191 GList *factories; in GST_START_TEST() local 196 factories = gst_device_provider_factory_list_get_device_providers (1); in GST_START_TEST() 198 fail_unless (factories != NULL); in GST_START_TEST() 203 gst_plugin_feature_list_free (factories); in GST_START_TEST()
|
/third_party/skia/tests/ |
D | StreamBufferTest.cpp | 98 Factory factories[] = { in DEF_TEST() local 106 for (const Factory& f : factories) { in DEF_TEST()
|