Home
last modified time | relevance | path

Searched refs:extra_types (Results 1 – 21 of 21) sorted by relevance

/external/python/apitools/apitools/base/py/
Dextra_types_test.py24 from apitools.base.py import extra_types
30 if isinstance(value, extra_types._JSON_PROTO_TYPES):
33 extra_types._PythonValueToJsonProto(
34 extra_types._JsonProtoToPythonValue(value)))
38 extra_types._JsonProtoToPythonValue(
39 extra_types._PythonValueToJsonProto(value)))
43 py_value, extra_types._JsonProtoToPythonValue(json_proto))
45 json_proto, extra_types._PythonValueToJsonProto(py_value))
49 extra_types._ValidateJsonValue(extra_types.JsonValue())
51 extra_types._ValidateJsonValue(
[all …]
Dencoding.py21 import apitools.base.py.extra_types # pylint:disable=unused-import
D__init__.py26 from apitools.base.py.extra_types import *
Dencoding_helper.py715 from apitools.base.py import extra_types
719 if isinstance(msg, extra_types.JsonArray):
721 if isinstance(msg, extra_types.JsonValue) and msg.array_value:
727 if isinstance(msg, extra_types.JsonValue):
729 if isinstance(msg, extra_types.JsonArray):
Dencoding_test.py27 from apitools.base.py import extra_types
224 value = messages.MessageField(extra_types.JsonValue, 2, repeated=True)
/external/python/apitools/samples/servicemanagement_sample/
Dmessages_test.py20 from apitools.base.py import extra_types
40 value=extra_types.JsonValue(
43 value=extra_types.JsonValue(
46 value=extra_types.JsonValue(
47 object_value=extra_types.JsonObject(
49 extra_types.JsonObject.Property(
51 value=extra_types.JsonValue(
/external/python/parse_type/tests/
Dtest_cardinality_field0.py48 extra_types = build_type_dict([ parse_person ])
50 parser = parse.Parser(schema, extra_types)
66 extra_types = build_type_dict([ parse_person ])
68 parser = parse.Parser(schema, extra_types)
84 extra_types = build_type_dict([ parse_person ])
86 parser = parse.Parser(schema, extra_types)
105 extra_types = build_type_dict([ parse_person ])
107 parser = parse.Parser(schema, extra_types)
Dtest_builder.py28 extra_types = build_type_dict([ parse_yesno ])
30 parser = parse.Parser(schema, extra_types)
52 extra_types = build_type_dict([ parse_nword ])
54 parser = parse.Parser(schema, extra_types)
112 extra_types = build_type_dict([ parse_person_choice ])
114 parser = parse.Parser(schema, extra_types)
133 extra_types = build_type_dict([ parse_choice ])
135 parser = parse.Parser(schema, extra_types)
219 extra_types = build_type_dict([ parse_choice2 ])
221 parser = parse.Parser(schema, extra_types)
Dtest_cardinality.py241 extra_types = build_type_dict([ parse_colors ])
243 parser = parse.Parser(schema, extra_types)
286 extra_types = build_type_dict([ parse_colors ])
288 parser = parse.Parser(schema, extra_types)
306 extra_types = build_type_dict([ parse_colors ])
308 parser = parse.Parser(schema, extra_types)
325 extra_types = build_type_dict([ parse_numbers2 ])
327 parser = parse.Parser(schema, extra_types)
Dtest_parse.py787 'Hello Alice 42', extra_types=type_map)
792 'Hello Alice 42', extra_types=type_map)
828 extra_types = {parse_number.name: parse_number}
830 parser = parse.Parser(format, extra_types)
848 extra_types = {parse_yesno.name: parse_yesno}
850 parser = parse.Parser(format, extra_types)
/external/python/parse_type/parse_type/
Dcfparse.py35 def __init__(self, schema, extra_types=None, case_sensitive=False, argument
44 if extra_types is None:
45 extra_types = {}
46 missing = self.create_missing_types(schema, extra_types, type_builder)
50 extra_types.update(missing)
53 super(Parser, self).__init__(schema, extra_types,
Dparse.py671 def extract_format(format, extra_types): argument
708 if type and type not in ALLOWED_TYPES and type not in extra_types:
720 def __init__(self, format, extra_types=None, case_sensitive=False): argument
734 if extra_types is None:
735 extra_types = {}
736 self._extra_types = extra_types
825 def findall(self, string, pos=0, endpos=None, extra_types=None, evaluate_result=True): argument
1216 def parse(format, string, extra_types=None, evaluate_result=True, case_sensitive=False): argument
1242 p = Parser(format, extra_types=extra_types, case_sensitive=case_sensitive)
1246 def search(format, string, pos=0, endpos=None, extra_types=None, evaluate_result=True, argument
[all …]
/external/mesa3d/src/mapi/glapi/gen/
Dtypeexpr.py116 def __init__(self, type_string, extra_types = None): argument
153 self.set_base_type( "int", signed, unsigned, const, extra_types )
171 self.set_base_type( i, signed, unsigned, const, extra_types )
192 def set_base_type(self, type_name, signed, unsigned, const, extra_types): argument
195 te = extra_types.find_type( type_name )
/external/python/apitools/apitools/gen/
Dextended_descriptor.py39 from apitools.base.py import extra_types
510 field_type = extra_types.DateField
/external/deqp-deps/SPIRV-Tools/test/val/
Dval_arithmetics_test.cpp1168 std::string GenerateCoopMatCode(const std::string& extra_types, in GenerateCoopMatCode() argument
1227 return prefix + extra_types + func_begin + main_body + suffix; in GenerateCoopMatCode()
/external/angle/third_party/vulkan-deps/spirv-tools/src/test/val/
Dval_arithmetics_test.cpp1168 std::string GenerateCoopMatCode(const std::string& extra_types, in GenerateCoopMatCode() argument
1227 return prefix + extra_types + func_begin + main_body + suffix; in GenerateCoopMatCode()
/external/swiftshader/third_party/SPIRV-Tools/test/val/
Dval_arithmetics_test.cpp1168 std::string GenerateCoopMatCode(const std::string& extra_types, in GenerateCoopMatCode() argument
1227 return prefix + extra_types + func_begin + main_body + suffix; in GenerateCoopMatCode()
/external/python/apitools/samples/storage_sample/storage_v1/
Dstorage_v1_messages.py10 from apitools.base.py import extra_types
139 createdBefore = extra_types.DateField(2)
/external/python/apitools/samples/bigquery_sample/bigquery_v2/
Dbigquery_v2_messages.py9 from apitools.base.py import extra_types
1521 JsonValue = extra_types.JsonValue
/external/python/apitools/samples/fusiontables_sample/fusiontables_v1/
Dfusiontables_v1_messages.py8 from apitools.base.py import extra_types
/external/python/apitools/samples/servicemanagement_sample/servicemanagement_v1/
Dservicemanagement_v1_messages.py9 from apitools.base.py import extra_types