Lines Matching refs:nsibs
5134 int index = -1, gotindex = 0, nsibs, rc = 0;
5191 for (nsibs=0, ce=parent->ce_kids; ce; ce=ce->ce_sibs) {
5203 nsibs++;
5206 for (nsibs=0, ce=parent->ce_kids; ce; ce=ce->ce_sibs) {
5207 if ( ce->ce_type == ce_type ) nsibs++;
5213 nsibs--;
5215 if ( index != nsibs || isfrontend ) {
5217 if ( index < nsibs ) {
5228 if (( !isfrontend && index == -1 ) || ( index > nsibs ) ){
5229 index = nsibs;
5232 /* just make index = nsibs */