Lines Matching refs:parent
40 static struct tool_mime *tool_mime_new(struct tool_mime *parent, in tool_mime_new() argument
47 m->parent = parent; in tool_mime_new()
48 if(parent) { in tool_mime_new()
49 m->prev = parent->subparts; in tool_mime_new()
50 parent->subparts = m; in tool_mime_new()
56 static struct tool_mime *tool_mime_new_parts(struct tool_mime *parent) in tool_mime_new_parts() argument
58 return tool_mime_new(parent, TOOLMIME_PARTS); in tool_mime_new_parts()
61 static struct tool_mime *tool_mime_new_data(struct tool_mime *parent, in tool_mime_new_data() argument
69 m = tool_mime_new(parent, TOOLMIME_DATA); in tool_mime_new_data()
78 static struct tool_mime *tool_mime_new_filedata(struct tool_mime *parent, in tool_mime_new_filedata() argument
91 m = tool_mime_new(parent, TOOLMIME_FILE); in tool_mime_new_filedata()
143 m = tool_mime_new(parent, TOOLMIME_STDIN); in tool_mime_new_filedata()
776 *mimecurrent = (*mimecurrent)->parent; in formparse()