Searched refs:maplets (Results 1 – 2 of 2) sorted by relevance
215 Maplet* maplets; member224 sm->maplets = malloc(10 * sizeof(Maplet)); in new_StringMap()230 assert(sm->maplets != NULL); in delete_StringMap()231 free(sm->maplets); in delete_StringMap()232 sm->maplets = NULL; in delete_StringMap()240 assert(sm->maplets != NULL); in ensure_StringMap()246 mp2[i] = sm->maplets[i]; in ensure_StringMap()247 free(sm->maplets); in ensure_StringMap()248 sm->maplets = mp2; in ensure_StringMap()255 if (0 == strcmp(name, sm->maplets[i].mp_name)) in search_StringMap()[all …]
281 Maplet* maplets;290 sm->maplets = mymalloc(10 * sizeof(Maplet));296 assert(sm->maplets != NULL);297 myfree(sm->maplets);298 sm->maplets = NULL;306 assert(sm->maplets != NULL);312 mp2[i] = sm->maplets[i];313 myfree(sm->maplets);314 sm->maplets = mp2;321 if (0 == strcmp(name, sm->maplets[i].mp_name))[all …]