Lines Matching defs:sr
104 uninit(struct _citrus_mapper_serial *sr)
108 while ((ml = STAILQ_FIRST(&sr->sr_mappers)) != NULL) {
109 STAILQ_REMOVE_HEAD(&sr->sr_mappers, ml_entry);
117 struct _citrus_mapper_serial *sr, struct _memstream *ms)
124 STAILQ_INIT(&sr->sr_mappers);
152 STAILQ_INSERT_TAIL(&sr->sr_mappers, ml, ml_entry);
164 struct _citrus_mapper_serial *sr;
171 sr = malloc(sizeof(*sr));
172 if (sr == NULL)
177 if (parse_var(ma, sr, &ms)) {
178 uninit(sr);
179 free(sr);
182 cm->cm_closure = sr;
205 struct _citrus_mapper_serial *sr;
209 sr = cm->cm_closure;
210 STAILQ_FOREACH(ml, &sr->sr_mappers, ml_entry) {
224 struct _citrus_mapper_serial *sr;
229 sr = cm->cm_closure;
230 STAILQ_FOREACH(ml, &sr->sr_mappers, ml_entry) {