Lines Matching refs:ntags

186 unsigned int ntags;  variable
252 for (j = 0; rules[i]->tagregex && j < ntags; j++) { in applyrules()
264 memcpy(c->tags, curseltags, ntags * sizeof(curseltags[0])); in applyrules()
898 for (i = 0; (i < ntags) && strcmp(tag, tags[i]); i++); in idxoftag()
899 return (i < ntags) ? i : 0; in idxoftag()
910 for (i = 0; i < ntags; i++) in isvisible()
915 for (i = 0; i < ntags; i++) in isvisible()
1012 c->tags = emallocz(ntags * sizeof(cm->seltags[0])); in manage()
1026 memcpy(c->tags, t->tags, ntags * sizeof(cm->seltags[0])); in manage()
1279 for (i = 0; i < ntags; i++) in mousemove()
1696 for (i = 0; i < ntags; i++) { in initlayouts()
1767 m->prevtags = emallocz(ntags * sizeof(Bool)); in initmonitors()
1768 m->seltags = emallocz(ntags * sizeof(Bool)); in initmonitors()
1787 m->prevtags = emallocz(ntags * sizeof(Bool)); in initmonitors()
1788 m->seltags = emallocz(ntags * sizeof(Bool)); in initmonitors()
1800 ntags = atoi(getresource("tags.number", "5")); in inittags()
1801 views = emallocz(ntags * sizeof(View)); in inittags()
1802 tags = emallocz(ntags * sizeof(char *)); in inittags()
1803 for (i = 0; i < ntags; i++) { in inittags()
1953 for (i = 0; i < ntags; i++) in tag()
2150 for (j = 0; j < ntags && !sel->tags[j]; j++); in toggletag()
2151 if (j == ntags) in toggletag()
2178 memcpy(cm->prevtags, cm->seltags, ntags * sizeof(cm->seltags[0])); in toggleview()
2182 memcpy(m->prevtags, m->seltags, ntags * sizeof(m->seltags[0])); in toggleview()
2184 for (j = 0; j < ntags && !m->seltags[j]; j++); in toggleview()
2185 if (j == ntags) { in toggleview()
2335 for (i = 0; i < ntags; i++) { in updateframe()
2443 memcpy(cm->prevtags, cm->seltags, ntags * sizeof(cm->seltags[0])); in view()
2445 for (j = 0; j < ntags; j++) in view()
2453 memcpy(m->prevtags, m->seltags, ntags * sizeof(m->seltags[0])); in view()
2454 memcpy(m->seltags, cm->prevtags, ntags * sizeof(cm->seltags[0])); in view()
2467 Bool tmptags[ntags]; in viewprevtag()
2471 while (i < ntags - 1 && !curprevtags[i]) in viewprevtag()
2476 memcpy(tmptags, curseltags, ntags * sizeof(curseltags[0])); in viewprevtag()
2477 memcpy(curseltags, curprevtags, ntags * sizeof(curseltags[0])); in viewprevtag()
2478 memcpy(curprevtags, tmptags, ntags * sizeof(curseltags[0])); in viewprevtag()
2490 for (i = 0; i < ntags; i++) { in viewlefttag()
2502 for (i = 0; i < ntags - 1; i++) { in viewrighttag()