Lines Matching refs:no
148 #define MSG16 "gencat: \"%s\", line %d: no set number specified in " \
158 #define MSG20 "gencat: \"%s\", line %d: no set number specified in " \
184 find_set(no)
185 int no;
189 if (current_set && current_set->set_no == no) {
193 current_set_no = no;
195 /* if no set exists, create a new set */
198 current_set = first_set = new_set(no);
202 if (current_set->set_no == no)
206 if (current_set->set_no > no) {
207 if (first_set->set_no > no) {
209 current_set = new_set(no);
216 if (current_set->set_no == no)
220 /* search for the set number 'no' */
221 while (current_set->next && current_set->next->set_no < no)
224 if (current_set->next && current_set->next->set_no == no) {
225 /* set number 'no' found */
233 current_set = new_set(no);
245 delete_set(no)
246 int no;
251 for (setp = first_set; setp && setp->set_no < no; setp = setp->next)
254 if (setp == NULL || setp->set_no != no) /* set not found */
282 new_msg(no, len, text)
283 int no;
296 p->msg_no = no;
304 insert_msg(no, len, text)
305 int no;
316 current_msg = new_msg(no, len, text);
321 if (current_msg->msg_no >= no) {
323 if (current_msg->msg_no > no) {
324 current_msg = new_msg(no, len, text);
330 if (current_msg->msg_no == no) {
331 current_msg = new_msg(no, len, text);
341 while (current_msg->next && current_msg->next->msg_no < no)
348 if (current_msg->next && current_msg->next->msg_no == no) {
358 current_msg = new_msg(no, len, text);
370 delete_msg(no)
371 int no;
388 if (current_msg->msg_no > no)
391 while (current_msg && current_msg->msg_no != no)
394 if (current_msg && current_msg->msg_no == no) {
961 int no;
983 no = get_number(fp, c);
984 if (no == 0) {
988 if (no > NL_MSGMAX) {
990 lineno, no, NL_MSGMAX);
994 delete_msg(no);
1004 insert_msg(no, text_len, text);