Searched refs:chcnt (Results 1 – 3 of 3) sorted by relevance
145 int chcnt = 0; in mbstotcs() local156 chcnt++; in mbstotcs()158 chcnt++; /* For terminator. */ in mbstotcs()159 return (chcnt); /* # of chars including terminating zero. */ in mbstotcs()168 if (++chcnt >= tosize) { in mbstotcs()173 if (chcnt < tosize) { in mbstotcs()175 ++chcnt; in mbstotcs()177 return (chcnt); /* # of chars including terminating zero. */ in mbstotcs()
726 uint16_t bb_id, int *chcnt) in get_chassis_inst() argument759 *chcnt = 2; in get_chassis_inst()761 *chcnt = 1; in get_chassis_inst()785 int chcnt = 0; in smb_get_bb_fmri() local798 rc = get_chassis_inst(shp, &chassis_inst, bbid, &chcnt); in smb_get_bb_fmri()804 if ((bb_idx.count + chcnt) > MAX_PAIRS) { in smb_get_bb_fmri()809 if (chcnt > 1) { in smb_get_bb_fmri()849 for (j = 0, i = chcnt, cnt = chcnt; j < bb_idx.count; j++) { in smb_get_bb_fmri()
142 int chcnt = 0; in rpc_iptype() local152 while ((*cp != '\0') && (chcnt < RPC_MAX_IP_LENGTH)) { in rpc_iptype()190 chcnt++; in rpc_iptype()195 if ((chcnt == RPC_MAX_IP_LENGTH) || (othercnt)) in rpc_iptype()