Lines Matching refs:desc
64 def TypeDescriptorToName(desc): argument
66 if desc[0] == "[":
67 inner = TypeDescriptorToName(desc[1:])
69 elif desc[0] == "L":
70 assert desc[-1] == ";", desc
71 return desc[1:-1].replace("/", ".")
73 return TYPE_MAP[desc]
75 def DescriptorToName(desc): argument
77 class_name, rest = readDescriptor(desc)
78 assert rest[0:2] == "->", desc
89 assert rest.strip() == "", desc
105 def NameToDescriptor(desc): argument
106 return_name = desc.split()[0]
107 name_and_args = desc.split()[1]