Lines Matching refs:goal
1110 int32_t goal = 0; in dumpAttributes() local
1113 goal += sizeof(uint32_t); // overall length, including the length field in dumpAttributes()
1114 goal += sizeof(uint32_t); // encoding version in dumpAttributes()
1115 goal += sizeof(uint32_t); // # properties in dumpAttributes()
1120 goal += sizeof(uint16_t); // name length in dumpAttributes()
1121 goal += strlen(prop->mName) + 1; // string + null in dumpAttributes()
1122 goal += sizeof(uint8_t); // type in dumpAttributes()
1123 goal += sizeof(uint16_t); // size of value in dumpAttributes()
1126 goal += sizeof(uint32_t); in dumpAttributes()
1129 goal += sizeof(uint64_t); in dumpAttributes()
1132 goal += sizeof(double); in dumpAttributes()
1135 goal += 2 * sizeof(uint64_t); in dumpAttributes()
1139 goal += strlen(prop->u.CStringValue) + 1; in dumpAttributes()
1149 build = (char *)malloc(goal); in dumpAttributes()
1153 memset(build, 0, goal); in dumpAttributes()
1162 _INSERT(goal, sizeof(int32_t)); in dumpAttributes()
1233 if (build + goal != filling) { in dumpAttributes()
1235 (int)(filling-build), goal); in dumpAttributes()
1240 *plength = goal; in dumpAttributes()