Home
last modified time | relevance | path

Searched refs:string_types (Results 1 – 25 of 76) sorted by relevance

1234

/external/chromium-trace/catapult/third_party/html5lib-python/html5lib/treewalkers/
D_base.py2 from six import text_type, string_types
36 return string is None or isinstance(string, string_types)
50 assert namespace is None or isinstance(namespace, string_types), type(namespace)
51 assert isinstance(name, string_types), type(name)
52 assert all((namespace is None or isinstance(namespace, string_types)) and
53 isinstance(name, string_types) and
54 isinstance(value, string_types)
64 assert namespace is None or isinstance(namespace, string_types), type(namespace)
65 assert isinstance(name, string_types), type(name)
66 assert all((namespace is None or isinstance(namespace, string_types)) and
[all …]
Detree.py13 from six import string_types
61 assert isinstance(node.tag, string_types), type(node.tag)
/external/opencv3/3rdparty/jinja2/
Dmeta.py14 from jinja2._compat import string_types
81 if isinstance(template_name.value, string_types):
91 if isinstance(node.template.value, string_types):
99 if isinstance(template_name, string_types):
Dtests.py13 from jinja2._compat import text_type, string_types, mapping_types
77 return isinstance(value, string_types)
Dfilters.py21 from jinja2._compat import next, imap, string_types, text_type, iteritems
60 if not isinstance(attribute, string_types) \
89 elif not isinstance(value, string_types):
219 if isinstance(value, string_types) and not case_sensitive:
256 if isinstance(item, string_types):
759 if isinstance(value, string_types):
Dloaders.py19 from jinja2._compat import string_types, iteritems
154 if isinstance(searchpath, string_types):
307 elif isinstance(rv, string_types):
432 if isinstance(path, string_types):
D_compat.py24 string_types = (str,) variable
53 string_types = (str, unicode) variable
Dsandbox.py18 from jinja2._compat import string_types, function_type, method_type, \
309 if isinstance(argument, string_types):
/external/chromium-trace/catapult/third_party/gsutil/third_party/boto/boto/ec2/elb/
Dloadbalancer.py192 if isinstance(zones, six.string_types):
205 if isinstance(zones, six.string_types):
273 if isinstance(instances, six.string_types):
288 if isinstance(instances, six.string_types):
386 if isinstance(subnets, six.string_types):
399 if isinstance(subnets, six.string_types):
415 if isinstance(security_groups, six.string_types):
/external/opencv3/3rdparty/jinja2/markupsafe/
D_compat.py17 string_types = (str,) variable
22 string_types = (str, unicode) variable
D__init__.py12 from ._compat import text_type, string_types, int_types, \
79 if isinstance(other, string_types) or hasattr(other, '__html__'):
84 if hasattr(other, '__html__') or isinstance(other, string_types):
206 if hasattr(value, '__html__') or isinstance(value, string_types):
/external/chromium-trace/catapult/third_party/gsutil/third_party/boto/boto/sdb/db/
Dproperty.py80 if isinstance(value, six.string_types) or value == self.default_value():
117 elif isinstance(value, six.string_types):
148 if not isinstance(value, six.string_types):
497 if isinstance(value, six.string_types):
541 if not isinstance(value, six.string_types):
632 elif self.item_type in six.string_types:
633 item_type = six.string_types
656 elif self.item_type in six.string_types:
657 item_type = six.string_types
686 elif self.item_type in six.string_types:
[all …]
/external/chromium-trace/catapult/third_party/WebOb/webob/
Dutil.py5 string_types,
27 if not isinstance(s, string_types):
Dheaders.py4 string_types,
109 if not isinstance(key, string_types):
Dcompat.py10 string_types = str, variable
16 string_types = basestring, variable
/external/chromium-trace/catapult/third_party/Paste/paste/util/
Dtemplate.py127 if isinstance(item, six.string_types):
188 assert not isinstance(part, six.string_types)
320 if not isinstance(value, six.string_types):
331 if not isinstance(v, six.string_types):
451 if isinstance(tokens[i], six.string_types):
465 if (not isinstance(next, six.string_types)
466 or not isinstance(prev, six.string_types)):
545 if isinstance(tokens[0], six.string_types):
Dtemplate.py.2015-04-30-123224132 if isinstance(item, six.string_types):
193 assert not isinstance(part, six.string_types)
325 if not isinstance(value, six.string_types):
336 if not isinstance(v, six.string_types):
456 if isinstance(tokens[i], six.string_types):
470 if (not isinstance(next, six.string_types)
471 or not isinstance(prev, six.string_types)):
550 if isinstance(tokens[0], six.string_types):
/external/chromium-trace/catapult/third_party/gsutil/third_party/protorpc/protorpc/
Dprotojson.py225 elif isinstance(value, six.string_types):
325 isinstance(value, (six.integer_types, six.string_types))):
332 isinstance(value, six.string_types)):
Dmessages.py430 if isinstance(index, six.string_types):
1561 valid_type = (isinstance(message_type, six.string_types) or
1569 if isinstance(message_type, six.string_types):
1710 valid_type = (isinstance(enum_type, six.string_types) or
1718 if isinstance(enum_type, six.string_types):
1740 if isinstance(value, (six.string_types, six.integer_types)):
1772 if isinstance(resolved_default, (six.string_types, six.integer_types)):
Dremote.py320 if isinstance(self.__request_type, six.string_types):
329 if isinstance(self.__response_type, six.string_types):
351 if (not isinstance(request_type, six.string_types) and
359 if (not isinstance(response_type, six.string_types) and
/external/chromium-trace/catapult/third_party/webtest/webtest/
Dapp.py23 from six import string_types
151 if isinstance(app, string_types):
306 if not isinstance(params, string_types):
556 if isinstance(url_or_req, string_types):
645 if (isinstance(status, string_types) and '*' in status):
648 if isinstance(status, string_types):
/external/chromium-trace/catapult/third_party/gsutil/third_party/apitools/apitools/base/py/
Dutil.py60 if isinstance(scope_spec, six.string_types):
108 if not isinstance(value, six.string_types):
/external/chromium-trace/catapult/third_party/gsutil/third_party/boto/boto/emr/
Dstep.py78 if isinstance(step_args, six.string_types):
148 if isinstance(step_args, six.string_types):
Dbootstrap_action.py30 if isinstance(bootstrap_action_args, six.string_types):
/external/chromium-trace/catapult/third_party/Paste/paste/auth/
Dcookie.py130 if isinstance(timeout, six.string_types):
382 if isinstance(scanlist, six.string_types):

1234