Home
last modified time | relevance | path

Searched refs:force_text (Results 1 – 25 of 234) sorted by relevance

12345678910

/dports/databases/timescaledb/timescaledb-2.5.1/tsl/src/remote/
H A Ddata_format.c19 get_type_in_out_func(Oid type, bool *is_binary, bool force_text, Oid *type_io_param, bool out) in get_type_in_out_func() argument
36 if (OidIsValid(pg_type->typsend) && !force_text) in get_type_in_out_func()
48 if (OidIsValid(pg_type->typreceive) && !force_text) in get_type_in_out_func()
74 data_format_get_type_output_func(Oid type, bool *is_binary, bool force_text) in data_format_get_type_output_func() argument
76 return get_type_in_out_func(type, is_binary, force_text, NULL, true); in data_format_get_type_output_func()
80 data_format_get_type_input_func(Oid type, bool *is_binary, bool force_text, Oid *type_io_param) in data_format_get_type_input_func() argument
82 return get_type_in_out_func(type, is_binary, force_text, type_io_param, false); in data_format_get_type_input_func()
86 data_format_create_att_conv_in_metadata(TupleDesc tupdesc, bool force_text) in data_format_create_att_conv_in_metadata() argument
108 force_text || !isbinary, in data_format_create_att_conv_in_metadata()
H A Ddata_format.h26 bool force_text);
28 extern Oid data_format_get_type_output_func(Oid type, bool *is_binary, bool force_text);
29 extern Oid data_format_get_type_input_func(Oid type, bool *is_binary, bool force_text,
/dports/devel/py-pytest-benchmark/pytest-benchmark-3.4.1/tests/
H A Dtest_storage.py128 def force_text(text): function
157 error=lambda text: output.write(force_text(text) + u'\n'),
172 write=lambda text, **opts: output.write(force_text(text)),
173 rewrite=lambda text, **opts: output.write(force_text(text)),
189 write=lambda text, **opts: output.write(force_text(text)),
190 rewrite=lambda text, **opts: output.write(force_text(text)),
257 write=lambda text, **opts: output.write(force_text(text)),
258 rewrite=lambda text, **opts: output.write(force_text(text)),
320 write=lambda text, **opts: output.write(force_text(text)),
321 rewrite=lambda text, **opts: output.write(force_text(text)),
[all …]
/dports/www/py-django-markwhat/django-markwhat-1.6.1/django_markwhat/templatetags/
H A Dmarkup.py19 from django.utils.encoding import smart_str, force_text
34 return mark_safe(force_text(
71 force_text(value),
95 ast = parser.parse(force_text(value))
97 force_text(renderer.render(ast))
119 return mark_safe(force_text(parts["fragment"]))
/dports/www/py-django-countries/django-countries-5.3/django_countries/
H A D__init__.py8 from django.utils.encoding import force_text
140 source_name = force_text(name)
141 name = force_text(name)
145 source_old_name = force_text(old_name)
146 old_name = force_text(old_name)
151 name = force_text(name)
189 yield ('', force_text(first_break))
208 code = force_text(code).upper()
H A Dserializer_fields.py4 from django.utils.encoding import force_text
23 return {'code': code, 'name': force_text(self.countries.name(obj))}
30 country = self.countries.by_name(force_text(data))
/dports/www/py-django-cms/django-cms-3.7.1/cms/admin/
H A Dplaceholderadmin.py22 from django.utils.encoding import force_text
305 return HttpResponseBadRequest(force_text(error))
431 raise PermissionDenied(force_text(message))
452 raise PermissionDenied(force_text(message))
495 raise PermissionDenied(force_text(message))
666 return HttpResponseBadRequest(force_text(
670 return HttpResponseBadRequest(force_text(
1028 return HttpResponseForbidden(force_text(
1049 obj_display = force_text(plugin)
1074 'name': force_text(opts.verbose_name), 'obj': force_text(obj_display)})
[all …]
/dports/www/py-django-bootstrap4/django-bootstrap4-0.0.8/bootstrap4/
H A Dtext.py6 from django.utils.encoding import force_text
8 from django.utils.encoding import force_unicode as force_text unknown
17 return force_text(value)
/dports/multimedia/quodlibet/quodlibet-4.3.0/quodlibet/packages/raven/utils/
H A Dencoding.py28 def force_text(s, encoding='utf-8', strings_only=False, errors='strict'): function
67 s = ' '.join([force_text(arg, encoding, strings_only,
82 value = text_type(force_text(value))
87 value = text_type(force_text(repr(type(value))))
/dports/devel/py-raven/raven-python-6.10.0/raven/utils/
H A Dencoding.py28 def force_text(s, encoding='utf-8', strings_only=False, errors='strict'): function
67 s = ' '.join([force_text(arg, encoding, strings_only,
82 value = text_type(force_text(value))
87 value = text_type(force_text(repr(type(value))))
/dports/www/py-feedgenerator/feedgenerator-2.0.0/feedgenerator/django/utils/
H A Dencoding.py29 return force_text(s, encoding, strings_only, errors)
40 def force_text(s, encoding='utf-8', strings_only=False, errors='strict'): function
72 s = ' '.join([force_text(arg, encoding, strings_only,
88 s = ' '.join([force_text(arg, encoding, strings_only,
136 force_str = force_text
/dports/textproc/py-jinja2-cli/jinja2-cli-0.7.0/jinja2cli/
H A Dcli.py28 def force_text(data): function
164 dict_[force_text(k)] = force_text(v)
195 dict_[force_text(k)] = force_text(v)
227 env.globals["environ"] = lambda key: force_text(os.environ.get(key))
323 dict_[force_text(k)] = force_text(v)
/dports/www/py-django-cms/django-cms-3.7.1/cms/toolbar/
H A Ditems.py7 from django.utils.encoding import force_text
225 return '<Menu:%s>' % force_text(self.name)
274 return '<LinkItem:%s>' % force_text(self.name)
292 self.name = "%s..." % force_text(name)
301 return '<FrameItem:%s>' % force_text(self.name)
318 return '<SideframeItem:%s>' % force_text(self.name)
325 return '<ModalItem:%s>' % force_text(self.name)
347 return '<AjaxItem:%s>' % force_text(self.name)
402 return '<Button:%s>' % force_text(self.name)
426 return '<ModalButton:%s>' % force_text(self.name)
[all …]
H A Dutils.py4 from django.utils.encoding import force_text
19 'name': force_text(label),
22 'addPluginHelpTitle': force_text(help_text),
38 data['addPluginHelpTitle'] = force_text(help_text)
/dports/www/py-django-cms/django-cms-3.7.1/cms/utils/
H A Dhelpers.py4 from django.utils.encoding import force_text
64 uc_name = re.sub(r'\W+', '_', force_text(name)).upper()
83 tz_name = force_text(get_current_timezone_name(), errors='ignore')
/dports/www/py-django-registration/django-registration-3.1/src/django_registration/
H A Dviews.py10 from django.utils.encoding import force_text
51 return HttpResponseRedirect(force_text(self.disallowed_url))
129 return force_text(self.success_url)
152 force_text(self.get_success_url(activated_user))
/dports/devel/py-future/future-0.18.2/docs/3rd-party-py3k-compat-code/
H A Ddjango_utils_encoding.py48 return force_text(s, encoding, strings_only, errors)
59 def force_text(s, encoding='utf-8', strings_only=False, errors='strict'): function
98 s = ' '.join([force_text(arg, encoding, strings_only,
151 force_str = force_text
157 force_unicode = force_text
/dports/www/py-django-cms/django-cms-3.7.1/cms/models/
H A Dpluginmodel.py14 from django.utils.encoding import force_text, python_2_unicode_compatible
125 return force_text(self.pk)
145 return force_text(instance)
199 'plugin_name': force_text(plugin_name) or '',
251 return force_text(plugin.icon_alt(instance)) if instance else u''
416 url = force_text(
420 url = force_text(
423 breadcrumb.append({'title': force_text(parent.get_plugin_name()), 'url': url})
425 url = force_text(
429 url = force_text(
[all …]
H A Daliaspluginmodel.py4 from django.utils.encoding import force_text, python_2_unicode_compatible
37 …return "(%s) %s" % (force_text(self.plugin.get_plugin_name()), self.plugin.get_plugin_instance()[0…
39 return force_text(self.alias_placeholder.get_label())
/dports/www/py-django-filer/django-filer-1.7.0/filer/utils/
H A Dgenerate_filename.py12 from django.utils.encoding import force_text
15 from django.utils.encoding import force_unicode as force_text unknown
19 datepart = force_text(now().strftime("%Y/%m/%d"))
/dports/www/py-django-guardian/django-guardian-1.4.9/guardian/
H A Dcore.py4 from django.utils.encoding import force_text
19 pks = [force_text(pk) for pk in objects.values_list('pk', flat=True)]
27 pks.append(force_text(obj.pk))
173 return (ctype.id, force_text(obj.pk))
195 key = (ctype.id, force_text(pk))
256 key = (ctype.id, force_text(perm.content_object_id))
/dports/www/py-django-cms/django-cms-3.7.1/cms/forms/
H A Dwidgets.py6 from django.utils.encoding import force_text
63 if force_text(initial_value) != force_text(data_value):
142 'ajax_url': force_text(self.ajax_url)
195 option_value = force_text(option_value)
208 return option_value, selected_html, data_html, force_text(option_label)
/dports/www/py-horizon/horizon-19.2.0/horizon/test/unit/
H A Dtest_messages.py18 from django.utils.encoding import force_text
30 expected = ["error", force_text(string), ""]
45 expected = ["error", force_text(string), " safe"]
/dports/www/py-django-filer/django-filer-1.7.0/filer/contrib/django_cms/
H A Dcms_toolbars.py5 from django.utils.encoding import force_text
39 if force_text(item_name.lower()) < force_text(item.name.lower()):
/dports/www/py-django-cms/django-cms-3.7.1/cms/tests/
H A Dtest_templates.py8 from django.utils.encoding import force_text
45 original_labels = [force_text(_(template[1])) for template in mod.TEMPLATES.items()]
49 labels = [force_text(template[1]) for template in templates]
52 original_labels.append(force_text(_('Inherit the template of the nearest ancestor')))

12345678910