/dports/devel/py-gs_api_client/gs_api_client-1.1.1/gs_api_client/swagger/ |
H A D | api_client.py | 477 def select_header_content_type(self, content_types): argument 483 if not content_types: 486 content_types = [x.lower() for x in content_types] 488 if 'application/json' in content_types or '*/*' in content_types: 491 return content_types[0]
|
/dports/science/gchemutils/gnome-chemistry-utils-0.14.16/goffice/ |
H A D | gchemutils.cc | 46 } content_types[gcu::ContentTypeInvalid] = { variable 62 if (strcmp (content_types[i].name, name) == 0) { in gcu_content_type_from_str() 63 ret = content_types[i].type; in gcu_content_type_from_str() 77 if (content_types[i].type == type) { in gcu_content_type_as_string() 78 ret = content_types[i].name; in gcu_content_type_as_string()
|
/dports/math/libxlsxwriter/libxlsxwriter-RELEASE_1.1.4/test/unit/ |
H A D | Makefile | 32 SRCS += $(wildcard content_types/test*.c) 70 $(Q)$(MAKE) -C content_types 92 $(Q)$(MAKE) clean -C content_types
|
/dports/devel/py-flex/flex-6.14.0/flex/validation/ |
H A D | operation.py | 49 def validate_request_content_type(request, content_types, **kwargs): argument 51 validate_content_type(request.content_type, content_types, **kwargs) 57 content_types=consumes,
|
H A D | response.py | 103 def validate_response_content_type(response, content_types, **kwargs): argument 105 validate_content_type(response.content_type, content_types) 111 content_types=produces,
|
/dports/net-mgmt/netbox/netbox-3.0.12/netbox/extras/api/ |
H A D | customfields.py | 22 fields = CustomField.objects.filter(content_types=content_type) 43 self._custom_fields = CustomField.objects.filter(content_types=content_type)
|
/dports/www/py-wagtail/wagtail-2.14.2/wagtail/core/ |
H A D | query.py | 202 content_types = ContentType.objects.get_for_models(*all_subclasses) 203 return Q(content_type__in=list(content_types.values())) 219 content_types = ContentType.objects.get_for_models(*types) 220 return Q(content_type__in=list(content_types.values())) 499 content_types = {pk: ContentType.objects.get_for_id(pk) 509 model = content_types[content_type].model_class() or qs.model
|
/dports/net-mgmt/netbox/netbox-3.0.12/netbox/extras/forms/ |
H A D | bulk_import.py | 20 content_types = CSVMultipleContentTypeField( variable in CustomFieldCSVForm 68 content_types = CSVMultipleContentTypeField( variable in WebhookCSVForm
|
/dports/www/firefox/firefox-99.0/testing/web-platform/tests/tools/wave/network/ |
H A D | static_handler.py | 34 content_types = { 46 ("Content-Type", content_types[file_path.split(".")[-1]]))
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/chrome/browser/ui/views/permission_bubble/ |
H A D | permission_prompt_bubble_view_unittest.cc | 20 explicit TestDelegate(const std::vector<ContentSettingsType> content_types) { in TestDelegate() argument 22 content_types.begin(), content_types.end(), in TestDelegate()
|
/dports/www/joomla3/joomla3-3.9.24/administrator/components/com_admin/sql/updates/sqlazure/ |
H A D | 3.1.0.sql | 17 CREATE TABLE [#__content_types] ( 31 CREATE NONCLUSTERED INDEX [idx_alias] ON [#__content_types] 36 SET IDENTITY_INSERT [#__content_types] ON; 38 INSERT INTO [#__content_types] ([type_id], [type_title], [type_alias], [table], [rules], [field_map… 55 SET IDENTITY_INSERT [#__content_types] OFF;
|
/dports/www/p5-Dancer-Plugin-REST/Dancer-Plugin-REST-0.11/lib/Dancer/Plugin/ |
H A D | REST.pm | 14 my $content_types = { 56 content_type $content_types->{$format} || setting('content_type');
|
/dports/net-im/telepathy-gabble/telepathy-gabble-0.18.4/lib/ext/wocky/wocky/ |
H A D | wocky-jingle-factory.c | 67 GHashTable *content_types; member 115 priv->content_types = g_hash_table_new_full (g_str_hash, g_str_equal, in wocky_jingle_factory_init() 145 g_hash_table_unref (priv->content_types); in wocky_jingle_factory_dispose() 146 priv->content_types = NULL; in wocky_jingle_factory_dispose() 595 g_hash_table_insert (self->priv->content_types, xmlns, in wocky_jingle_factory_register_content_type() 603 return GPOINTER_TO_SIZE (g_hash_table_lookup (self->priv->content_types, in wocky_jingle_factory_lookup_content_type()
|
/dports/net/boinc-client/boinc-client_release-7.8-7.8.6/drupal/sites/default/boinc/modules/contrib/cck/translations/ |
H A D | general.pot | 79 #: includes/content.admin.inc:244;285;315;804;985 includes/panels/content_types/content_field.inc:9… 91 #: includes/content.admin.inc:585;633 includes/panels/content_types/content_field.inc:101 modules/c… 95 #: includes/content.admin.inc:586 includes/panels/content_types/content_field.inc:102 143 … includes/panels/content_types/content_field.inc:45 modules/fieldgroup/fieldgroup.panels.inc:31 mo… 151 #: modules/fieldgroup/fieldgroup.panels.inc:10;27 modules/fieldgroup/panels/content_types/content_f… 155 #: modules/fieldgroup/fieldgroup.panels.inc:112 modules/fieldgroup/panels/content_types/content_fie…
|
/dports/net-mgmt/netbox/netbox-3.0.12/netbox/extras/ |
H A D | signals.py | 153 instance.remove_stale_data(instance.content_types.all()) 158 m2m_changed.connect(handle_cf_added_obj_types, sender=CustomField.content_types.through) 159 m2m_changed.connect(handle_cf_removed_obj_types, sender=CustomField.content_types.through)
|
/dports/net/wireshark-lite/wireshark-3.6.1/epan/dissectors/ |
H A D | packet-grpc.c | 436 char *content_types[] = { in proto_reg_handoff_grpc() local 445 for (i = 0; content_types[i]; i++) { in proto_reg_handoff_grpc() 446 dissector_add_string("streaming_content_type", content_types[i], grpc_handle); in proto_reg_handoff_grpc() 447 dissector_add_string("media_type", content_types[i], grpc_handle); in proto_reg_handoff_grpc()
|
/dports/net/wireshark/wireshark-3.6.1/epan/dissectors/ |
H A D | packet-grpc.c | 436 char *content_types[] = { in proto_reg_handoff_grpc() local 445 for (i = 0; content_types[i]; i++) { in proto_reg_handoff_grpc() 446 dissector_add_string("streaming_content_type", content_types[i], grpc_handle); in proto_reg_handoff_grpc() 447 dissector_add_string("media_type", content_types[i], grpc_handle); in proto_reg_handoff_grpc()
|
/dports/net/tshark-lite/wireshark-3.6.1/epan/dissectors/ |
H A D | packet-grpc.c | 436 char *content_types[] = { 445 for (i = 0; content_types[i]; i++) { 446 dissector_add_string("streaming_content_type", content_types[i], grpc_handle); 447 dissector_add_string("media_type", content_types[i], grpc_handle);
|
/dports/net/tshark/wireshark-3.6.1/epan/dissectors/ |
H A D | packet-grpc.c | 436 char *content_types[] = { in proto_reg_handoff_grpc() local 445 for (i = 0; content_types[i]; i++) { in proto_reg_handoff_grpc() 446 dissector_add_string("streaming_content_type", content_types[i], grpc_handle); in proto_reg_handoff_grpc() 447 dissector_add_string("media_type", content_types[i], grpc_handle); in proto_reg_handoff_grpc()
|
/dports/www/py-wagtail/wagtail-2.14.2/wagtail/snippets/ |
H A D | wagtail_hooks.py | 40 content_types = ContentType.objects.get_for_models(*get_snippet_models()).values() 41 return Permission.objects.filter(content_type__in=content_types)
|
/dports/www/py-pecan/pecan-1.3.3/pecan/ |
H A D | core.py | 479 content_types = cfg.get('content_types', {}) 486 list(content_types.keys()) in self.SIMPLEST_CONTENT_TYPES): 495 content_types.keys() 505 content_types.keys() 512 pecan_state['content_type'] not in content_types: 520 content_types.keys() 559 content_types = cfg.get('content_types', {}) 587 template = content_types.get(pecan_state['content_type'])
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/extensions/browser/api/declarative_webrequest/ |
H A D | webrequest_condition_attribute_unittest.cc | 106 base::ListValue content_types; in TEST() local 107 content_types.AppendString("text/plain"); in TEST() 110 keys::kContentTypeKey, &content_types, &error); in TEST() 121 keys::kExcludeContentTypeKey, &content_types, &error); in TEST() 127 content_types.Clear(); in TEST() 128 content_types.AppendString("something/invalid"); in TEST() 131 keys::kContentTypeKey, &content_types, &error); in TEST() 139 keys::kExcludeContentTypeKey, &content_types, &error); in TEST()
|
/dports/net/py-kombu/kombu-4.6.11/kombu/ |
H A D | serialization.py | 460 def prepare_accept_content(content_types, name_to_type=None): argument 462 if content_types is not None: 463 return {n if '/' in n else name_to_type[n] for n in content_types} 464 return content_types
|
/dports/net/py-urllib3/urllib3-1.26.7/test/ |
H A D | test_fields.py | 16 def test_guess_content_type(self, filename, content_types): argument 17 assert guess_content_type(filename) in content_types
|
/dports/lang/spidermonkey78/firefox-78.9.0/third_party/python/urllib3/test/ |
H A D | test_fields.py | 16 def test_guess_content_type(self, filename, content_types): argument 17 assert guess_content_type(filename) in content_types
|