OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:CHOICES
(Results
1 - 8
of
8
) sorted by null
/external/chromium_org/tools/json_schema_compiler/
cpp_type_generator.py
95
PropertyType.
CHOICES
):
134
PropertyType.
CHOICES
))
145
dep.type_.property_type in (PropertyType.
CHOICES
,
239
elif type_.property_type == PropertyType.
CHOICES
:
240
for type_ in type_.
choices
:
cpp_util.py
64
# PropertyType.
CHOICES
can be any combination of types.
80
PropertyType.
CHOICES
,
h_generator.py
217
elif type_.property_type in (PropertyType.
CHOICES
,
241
if type_.property_type is PropertyType.
CHOICES
else
248
if type_.property_type == PropertyType.
CHOICES
:
249
#
Choices
are modelled with optional fields for each choice. Exactly one
251
c.Cblock(self._GenerateTypes(type_.
choices
))
252
c.Append('//
Choices
:')
253
for choice_type in type_.
choices
:
cc_generator.py
112
elif type_.property_type in (PropertyType.
CHOICES
,
123
c.Cblock(self._GenerateTypes(classname_in_namespace, type_.
choices
))
164
t.property_type == PropertyType.
CHOICES
or
169
# TODO(miket): It would be nice to initialize
CHOICES
, but we
198
if type_.property_type == PropertyType.
CHOICES
:
199
for choice in type_.
choices
:
213
(" or ".join(choice.name for choice in type_.
choices
),
269
if real_type.property_type is PropertyType.
CHOICES
:
272
for choice in real_type.
choices
)
338
elif type_.property_type == PropertyType.
CHOICES
[
all
...]
dart_generator.py
656
if type_.property_type is PropertyType.
CHOICES
:
657
return all(self._IsSerializableObjectType(c) for c in type_.
choices
)
681
if type_.property_type is PropertyType.
CHOICES
:
682
return all(self._IsListOfSerializableObjects(c) for c in type_.
choices
)
694
if type_.property_type is PropertyType.
CHOICES
:
695
return all(self._IsListOfBaseTypes(c) for c in type_.
choices
)
703
If type_ is a
Choices
object, returns True if all possible
choices
are base
706
# TODO(sashab): Remove '
Choices
' as a base type once they are wrapped in
708
if type_.property_type is PropertyType.
CHOICES
[
all
...]
model_test.py
85
self.assertEquals(model.PropertyType.
CHOICES
,
model.py
217
elif '
choices
' in json:
218
self.property_type = PropertyType.
CHOICES
227
self.
choices
= [
233
for i, choice in enumerate(json['
choices
'])]
270
parameter is used for each choice of a '
choices
' parameter
467
CHOICES
= _PropertyTypeInfo(False, "
choices
")
/external/chromium_org/chrome/common/extensions/docs/server2/
jsc_view.py
317
# TODO(kalman): what about
choices
?
367
if type_.property_type == model.PropertyType.
CHOICES
:
368
dst_dict['
choices
'] = self._GenerateTypes(type_.
choices
)
370
#
choices
in templates.
371
if len(dst_dict['
choices
']) > 0:
372
dst_dict['
choices
'][-1]['last'] = True
Completed in 736 milliseconds