Home | History | Annotate | Download | only in vulkan-validation-layers

Lines Matching refs:strip

159                 elif line.split()[0].strip().startswith("//"):
163 (ty_txt, en_txt, base_type) = line.strip().split(None, 2)
174 (ty_txt, st_txt, base_type) = line.strip().split(None, 2)
176 (ignored, base_type) = base_type.strip().split(None, 1)
186 # (ty_txt, st_txt, base_type) = line.strip().split(None, 2)
196 (cur_char, targ_type) = line.strip().split(None, 1)
198 base_type = targ_type.strip(';')
209 base_type = targ_type.strip(';')
222 self.typedef_fwd_dict[base_type] = targ_type.strip(';')
223 self.typedef_rev_dict[targ_type.strip(';')] = base_type
245 # strip comma and comment, then extra split in case of no comma w/ comments
246 enum_val = enum_val.strip().split(',', 1)[0]
255 self.enum_val_dict[enum_name]['val'] = self.enum_val_dict[enum_name]['val'].strip(')').replace('-(', '-')
300 members = line_txt.strip().split(';', 1)[0] # first strip semicolon & comments
302 members = members.strip().split(':', 1)[0] # strip bitfield element
314 member_type = member_type.strip('*')
319 member_type = member_type.replace('const', '').strip()
337 self.struct_dict[struct_type][num]['array_size'] = array_size.strip(']')
494 class_name = struct_name.strip('_').lower() + "_struct_wrapper"
660 return "%s_%s_%s" % (self.api_prefix, mid_str, struct.lower().strip("_"))
1096 final_str = final_str[3:] # strip off the initial ' + '
1864 return "%s_gv_print_%s" % (self.api_prefix, struct.lower().strip("_"))
1933 if s.lower().strip("_") in array_func_list:
1934 if s.lower().strip("_") in ['vkbufferviewattachinfo', 'vkimageviewattachinfo']:
2017 if s.lower().strip("_") in array_func_list:
2019 if s.lower().strip("_") in ['vkbufferviewattachinfo', 'vkimageviewattachinfo']:
2130 prefix = os.path.basename(opts.input_file).strip(".h")
2151 sw = StructWrapperGen(struct_dict, os.path.basename(opts.input_file).strip(".h"), os.path.dirname(enum_sh_filename))
2175 st = StructWrapperGen(struct_dict, os.path.basename(opts.input_file).strip(".h"), os.path.dirname(enum_sh_filename))
2183 gv = GraphVizGen(struct_dict, os.path.basename(opts.input_file).strip(".h"), os.path.dirname(enum_sh_filename))