Lines Matching refs:entry

50 def find_parent_section(entry):
55 entry: an Entry or Clone node
60 return entry.find_parent_first(_is_sec_or_ins)
71 A sequence of MergedEntry nodes representing an entry
75 one entry (e.g. if there are multiple entries in different kinds).
87 for entry in i.entries:
88 d[entry.name] = entry
183 Convert an entry name string into an uppercase C symbol.
199 Convert an entry name string into a lowercase C symbol.
306 # Calculate a java type name from an entry with a Typedef node
307 def _jtypedef_type(entry):
308 typedef = entry.typedef
315 if entry.container == 'array':
317 for size in entry.container_sizes:
346 def jtype_unboxed(entry):
348 Calculate the Java type from an entry type string, to be used whenever we
350 generic type argument when the entry type happens to resolve to a primitive.
359 if not isinstance(entry, metadata_model.Entry):
360 raise ValueError("Expected entry to be an instance of Entry")
362 metadata_type = entry.type
366 if entry.typedef:
367 typedef_name = _jtypedef_type(entry)
372 if not java_type and entry.enum:
389 if entry.container == 'array':
399 def jtype_boxed(entry):
401 Calculate the Java type from an entry type string, to be used as a generic
414 unboxed_type = jtype_unboxed(entry)
419 Calculate the Java type from an entry type string.
442 def jclass(entry):
444 Calculate the java Class reference string for an entry.
447 entry: an Entry node
450 <entry name="some_int" type="int32"/>
451 <entry name="some_int_array" type="int32" container='array'/>
460 return "%s.class" %jtype_unboxed(entry)