Home | History | Annotate | Download | only in citrus

Lines Matching defs:sh

63 find_src(struct src_head *sh, struct src_entry **rse, const char *name)
68 SIMPLEQ_FOREACH(se, sh, se_entry) {
89 SIMPLEQ_INSERT_TAIL(sh, se, se_entry);
96 free_src(struct src_head *sh)
100 while ((se = SIMPLEQ_FIRST(sh)) != NULL) {
101 SIMPLEQ_REMOVE_HEAD(sh, se_entry);
111 convert_line(struct src_head *sh, const char *line, size_t len)
154 ret = find_src(sh, &se, key1);
162 dump_db(struct src_head *sh, struct _region *r)
175 SIMPLEQ_FOREACH(se, sh, se_entry) {
208 struct src_head sh;
214 SIMPLEQ_INIT(&sh);
217 if ((ret = convert_line(&sh, line, size))) {
218 free_src(&sh);
222 ret = dump_db(&sh, &r);
223 free_src(&sh);