Lines Matching refs:entry

66 def find_parent_section(entry):  argument
76 return entry.find_parent_first(_is_sec_or_ins)
103 for entry in i.entries:
104 d[entry.name] = entry
149 def protobuf_type(entry): argument
158 if entry.typedef is None:
159 typeName = entry.type
161 typeName = entry.typedef.name
187 (entry.name, entry.type, entry.typedef)
192 if entry.container == 'array':
194 for size in entry.container_sizes:
206 def protobuf_name(entry): argument
213 return entry.name.replace(".", "_")
405 def _jtypedef_type(entry): argument
406 typedef = entry.typedef
413 if entry.container == 'array':
415 for size in entry.container_sizes:
444 def jtype_unboxed(entry): argument
457 if not isinstance(entry, metadata_model.Entry):
460 metadata_type = entry.type
464 if entry.typedef:
465 typedef_name = _jtypedef_type(entry)
470 if not java_type and entry.enum and metadata_type == 'byte':
487 if entry.container == 'array':
497 def jtype_boxed(entry): argument
512 unboxed_type = jtype_unboxed(entry)
515 def _is_jtype_generic(entry): argument
529 if entry.typedef:
530 local_typedef = _jtypedef_type(entry)
561 def jclass(entry): argument
579 return "%s.class" %jtype_unboxed(entry)
581 def jkey_type_token(entry): argument
593 if _is_jtype_generic(entry):
594 return "new TypeReference<%s>() {{ }}" %(jtype_boxed(entry))
596 return jclass(entry)
747 def generate_extra_javadoc_detail(entry): argument
754 if entry.units and not (entry.typedef and entry.typedef.name == 'string'):
755 text += '\n\n<b>Units</b>: %s\n' % (dedent(entry.units))
756 if entry.enum and not (entry.typedef and entry.typedef.languages.get('java')):
758 for value in entry.enum.values:
760 text += ' <li>{@link #%s %s}</li>\n' % ( jenum_value(entry, value ), value.name )
762 if entry.range:
763 if entry.enum and not (entry.typedef and entry.typedef.languages.get('java')):
767 text += '%s\n' % (dedent(entry.range))
768 if entry.hwlevel != 'legacy': # covers any of (None, 'limited', 'full')
770 if entry.hwlevel == 'full':
775 if entry.hwlevel == 'limited':
780 if entry.hwlevel == 'legacy':
782 if entry.permission_needed == "true":
1517 for entry in remove_synthetic(find_unique_entries(section)):
1518 min_major_version = (min_major_version or entry.hal_major_version)
1519 min_minor_version = (min_minor_version or entry.hal_minor_version)
1520 if entry.hal_major_version < min_major_version or \
1521 … (entry.hal_major_version == min_major_version and entry.hal_minor_version < min_minor_version):
1522 min_minor_version = entry.hal_minor_version
1523 min_major_version = entry.hal_major_version