Lines Matching refs:cnt
88 mopFilePutLX(u_char *buf, int idx, u_int32_t value, int cnt)
91 for (i = 0; i < cnt; i++) {
98 mopFilePutBX(u_char *buf, int idx, u_int32_t value, int cnt)
101 for (i = 0; i < cnt; i++) {
102 buf[idx+cnt-1-i] = value % 256;
108 mopFileGetLX(u_char *buf, int idx, int cnt)
113 for (i = 0; i < cnt; i++) {
114 int j = idx + cnt - 1 - i;
124 mopFileGetBX(u_char *buf, int idx, int cnt)
129 for (i = 0; i < cnt; i++) {
140 mopFileSwapX(u_char *buf, int idx, int cnt)
145 for (i = 0; i < (cnt / 2); i++) {
147 buf[idx+i] = buf[idx+cnt-1-i];
148 buf[idx+cnt-1-i] = c;