Lines Matching defs:sm
519 FontEncSimpleMapPtr sm;
641 mapping->client_data = sm = malloc(sizeof(FontEncSimpleMapRec));
642 if (sm == NULL)
644 sm->row_size = encoding->row_size;
648 sm->first = first;
649 sm->len = last - first + 1;
650 newmap = Xmallocarray(sm->len, sizeof(unsigned short));
652 free(sm);
653 mapping->client_data = sm = NULL;
656 for (i = 0; i < sm->len; i++)
658 sm->map = newmap;
661 sm->first = 0;
662 sm->len = 0;
663 sm->map = NULL;
839 /* We don't need to free sn and sm as they handled locally in the body. */