Lines Matching refs:user_comments
58 char **user_comments; in th_comment_add() local
61 user_comments=_ogg_realloc(_tc->user_comments, in th_comment_add()
62 (_tc->comments+2)*sizeof(*_tc->user_comments)); in th_comment_add()
63 if(user_comments==NULL)return; in th_comment_add()
64 _tc->user_comments=user_comments; in th_comment_add()
71 user_comments[_tc->comments]=_ogg_malloc(comment_len+1); in th_comment_add()
72 if(user_comments[_tc->comments]==NULL)return; in th_comment_add()
73 memcpy(_tc->user_comments[_tc->comments],_comment,comment_len+1); in th_comment_add()
75 _tc->user_comments[_tc->comments]=NULL; in th_comment_add()
101 if(!oc_tagcompare(_tc->user_comments[i],_tag,tag_len)){ in th_comment_query()
103 if(_count==found++)return _tc->user_comments[i]+tag_len+1; in th_comment_query()
117 if(!oc_tagcompare(_tc->user_comments[i],_tag,tag_len))count++; in th_comment_query_count()
125 for(i=0;i<_tc->comments;i++)_ogg_free(_tc->user_comments[i]); in th_comment_clear()
126 _ogg_free(_tc->user_comments); in th_comment_clear()