Lines Matching refs:ent
1090 FcCharLeafEnt *ent;
1092 for (ent = *bucket; ent; ent = ent->next)
1094 if (ent->hash == hash && !memcmp (&ent->leaf, leaf, sizeof (FcCharLeaf)))
1095 return &ent->leaf;
1098 ent = FcCharLeafEntCreate(freezer);
1099 if (!ent)
1101 ent->leaf = *leaf;
1102 ent->hash = hash;
1103 ent->next = *bucket;
1104 *bucket = ent;
1105 return &ent->leaf;
1127 FcCharSetOrigEnt *ent;
1129 ent = malloc (sizeof (FcCharSetOrigEnt));
1130 if (!ent)
1132 ent->orig = orig;
1133 ent->frozen = frozen;
1134 ent->next = *bucket;
1135 *bucket = ent;
1144 FcCharSetEnt *ent;
1148 for (ent = *bucket; ent; ent = ent->next)
1150 if (ent->hash == hash &&
1151 ent->set.num == fcs->num &&
1152 !memcmp (FcCharSetNumbers(&ent->set),
1160 if (FcCharSetLeaf(&ent->set, i) != FcCharSetLeaf(fcs, i))
1163 return &ent->set;
1170 ent = malloc (size);
1171 if (!ent)
1176 FcRefSetConst (&ent->set.ref);
1177 ent->set.num = fcs->num;
1182 ent->set.leaves_offset = sizeof (ent->set);
1183 ent->set.numbers_offset = (ent->set.leaves_offset +
1186 ent_leaves = FcCharSetLeaves (&ent->set);
1190 memcpy (FcCharSetNumbers (&ent->set),
1196 ent->set.leaves_offset = 0;
1197 ent->set.numbers_offset = 0;
1200 ent->hash = hash;
1201 ent->next = *bucket;
1202 *bucket = ent;
1204 return &ent->set;
1211 FcCharSetOrigEnt *ent;
1213 for (ent = *bucket; ent; ent = ent->next)
1214 if (ent->orig == orig)
1215 return ent->frozen;
1278 FcCharSetEnt *ent, *next;
1279 for (ent = freezer->set_hash_table[i]; ent; ent = next)
1281 next = ent->next;
1282 free (ent);
1288 FcCharSetOrigEnt *ent, *next;
1289 for (ent = freezer->orig_hash_table[i]; ent; ent = next)
1291 next = ent->next;
1292 free (ent);