Lines Matching refs:ExtensionBlocks
225 ExtensionBlock **ExtensionBlocks, in GifAddExtensionBlock() argument
232 if (*ExtensionBlocks == NULL) in GifAddExtensionBlock()
233 *ExtensionBlocks=(ExtensionBlock *)malloc(sizeof(ExtensionBlock)); in GifAddExtensionBlock()
236 (*ExtensionBlocks, (*ExtensionBlockCount + 1), in GifAddExtensionBlock()
240 *ExtensionBlocks = ep_new; in GifAddExtensionBlock()
243 if (*ExtensionBlocks == NULL) in GifAddExtensionBlock()
246 ep = &(*ExtensionBlocks)[(*ExtensionBlockCount)++]; in GifAddExtensionBlock()
263 ExtensionBlock **ExtensionBlocks) in GifFreeExtensions() argument
267 if (*ExtensionBlocks == NULL) in GifFreeExtensions()
270 for (ep = *ExtensionBlocks; in GifFreeExtensions()
271 ep < (*ExtensionBlocks + *ExtensionBlockCount); in GifFreeExtensions()
274 (void)free((char *)*ExtensionBlocks); in GifFreeExtensions()
275 *ExtensionBlocks = NULL; in GifFreeExtensions()
309 GifFreeExtensions(&sp->ExtensionBlockCount, &sp->ExtensionBlocks); in FreeLastSavedImage()
371 if (sp->ExtensionBlocks != NULL) { in GifMakeSavedImage()
372 sp->ExtensionBlocks = (ExtensionBlock *)reallocarray(NULL, in GifMakeSavedImage()
375 if (sp->ExtensionBlocks == NULL) { in GifMakeSavedImage()
379 memcpy(sp->ExtensionBlocks, CopyFrom->ExtensionBlocks, in GifMakeSavedImage()
406 GifFreeExtensions(&sp->ExtensionBlockCount, &sp->ExtensionBlocks); in GifFreeSavedImages()