Claims Analysis
Total Claims: 4
Claim 1
Independent Claim
172 words
A method for laying out data members of a data structure, the data members including bit-field data members, the method comprising the steps of: accepting as input i) an identifier of each data member, ii) a data type for each data member, and iii) a data type size for each data member; accepting as input the value of a parameter specified by a user, the parameter indicating, if the structure is an unpacked structure, an increment that defines where a new allocation unit for a bit-field data member will start relative to the allocation unit for the previous data member, the increment being equal to the bit-field alignment requirement; sequentially determining a member offset for each of the data members, wherein: the determination of the member offset of each data member is dependent upon whether the data member is a bit-field data member or not; and the determination of one or more of the member offsets is dependent upon the value of the parameter; and determining a size of the data structure.
Claim 2
Independent Claim
172 words
A method for laying out data members of a data structure, the data members including bit-field data members, the method comprising the steps of: accepting as input i) an identifier of each data member, ii) a data type for each data member, and iii) a data type size for each data member; accepting as input the value of a parameter specified by a user, the parameter indicating, if the structure is an unpacked structure, an increment that defines where a new allocation unit for a bit-field data member will start relative to the allocation unit for the previous data member, the increment being equal to the bit-field alignment requirement; sequentially determining a member offset for each of the data members, wherein: the determination of the member offset of each data member is dependent upon whether the data member is a bit-field data member or not; and the determination of one or more of the member offsets is dependent upon the value of the parameter; and determining a size of the data structure.
Claim 3
Independent Claim
175 words
A method for laying out data members of a data structure, the data members including bit-field data members, the method comprising the steps of: accepting as input i) an identifier of each data member, ii) a data type for each data member, and iii) a data type size for each data member; accepting as input the value of a parameter specified by a user, the parameter indicating, if the structure is an unpacked structure, an increment that defines where a new allocation unit for a bit-field data member will start relative to the allocation unit for the previous data member, the increment being equal to the size of the previous allocation unit; sequentially determining a member offset for each of the data members, wherein: the determination of the member offset of each data member is dependent upon whether the data member is a bit-field data member or not; and the determination of one or more of the member offsets is dependent upon the value of the parameter; and determining a size of the data structure.
Claim 4
Independent Claim
175 words
A method for laying out data members of a data structure, the data members including bit-field data members, the method comprising the steps of: accepting as input i) an identifier of each data member, ii) a data type for each data member, and iii) a data type size for each data member; accepting as input the value of a parameter specified by a user, the parameter indicating, if the structure is an unpacked structure, an increment that defines where a new allocation unit for a bit-field data member will start relative to the allocation unit for the previous data member, the increment being equal to the size of the previous allocation unit; sequentially determining a member offset for each of the data members, wherein: the determination of the member offset of each data member is dependent upon whether the data member is a bit-field data member or not; and the determination of one or more of the member offsets is dependent upon the value of the parameter; and determining a size of the data structure.