• Home
  • Raw
  • Download

Lines Matching refs:member

328         for member in members:
329 len = self.getLen(member)
334 for member in members:
336 info = self.getTypeNameTuple(member)
339 cdecl = self.makeCParamDecl(member, 0)
355 ispointer=self.paramIsPointer(member),
358 len=self.getLen(member),
359 … extstructs=member.attrib.get('validextensionstructs') if name == 'pNext' else None,
375 for member in struct_members:
376 if self.isHandleTypeNonDispatchable(member.type):
378 elif member.type in struct_member_dict:
379 if self.struct_contains_ndo(member.type) == True:
535 for member in members:
537 if self.isHandleTypeNonDispatchable(member.type) == True:
538 count_name = member.len
541 count_name = '%s%s' % (prefix, member.len)
544 …(tmp_decl, tmp_pre, tmp_post) = self.outputNDOs(member.type, member.name, count_name, prefix, inde…
549 elif member.type in struct_member_dict:
551 if self.struct_contains_ndo(member.type) == True:
552 struct_info = struct_member_dict[member.type]
554 if member.len is not None:
557 new_prefix = 'local_%s' % member.name
559 decls += '%ssafe_%s *%s = NULL;\n' % (indent, member.type, new_prefix)
561 new_prefix = '%s%s' % (prefix, member.name)
562 pre_code += '%s if (%s%s) {\n' % (indent, prefix, member.name)
565 … pre_code += '%s %s = new safe_%s[%s];\n' % (indent, new_prefix, member.type, member.len)
566 … for (uint32_t %s = 0; %s < %s%s; ++%s) {\n' % (indent, index, index, prefix, member.len, index)
569 …pre_code += '%s %s[%s].initialize(&%s[%s]);\n' % (indent, new_prefix, index, member.name, index)
581 … post_code += self.cleanUpLocalDeclarations(indent, prefix, member.name, member.len)
586 new_prefix = 'local_%s->' % member.name
587 … decls += '%ssafe_%s *local_%s%s = NULL;\n' % (indent, member.type, prefix, member.name)
589 new_prefix = '%s%s->' % (prefix, member.name)
591 pre_code += '%s if (%s%s) {\n' % (indent, prefix, member.name)
594 …= '%s local_%s%s = new safe_%s(%s);\n' % (indent, prefix, member.name, member.type, member.name)
603 … post_code += self.cleanUpLocalDeclarations(indent, prefix, member.name, member.len)
658 for member in members:
659 len = self.getLen(member)
665 for member in members:
667 info = self.getTypeNameTuple(member)
670 cdecl = self.makeCParamDecl(member, 0)
673 len = self.getLen(member)
675 ispointer = self.paramIsPointer(member)
695 … extstructs=member.attrib.get('validextensionstructs') if name == 'pNext' else None,