/haiku/src/add-ons/accelerants/via/ |
H A D | InitAccelerant.c | 101 int cnt; //used for iteration through the overlay buffers local 168 for (cnt = 0; cnt < MAXBUFFERS; cnt++) 171 si->overlay.myBuffer[cnt].buffer = NULL; 172 si->overlay.myBuffer[cnt].buffer_dma = NULL;
|
/haiku/src/add-ons/accelerants/nvidia/engine/ |
H A D | nv_acc_dma.c | 38 uint16 cnt = 0; local 49 (cnt < 10000) && (err < 3)) 53 cnt++; 57 if (cnt == 10000) 77 uint32 cnt, tmp; local 102 for (cnt = 0x00400000; cnt < 0x00402000; cnt +=4) 104 NV_REG32(cnt) = 0x00000000; 210 for(cnt 1458 uint16 cnt = 0; local 1607 uint16 cnt; local [all...] |
H A D | nv_crtc.c | 1018 uint16 cnt; local 1037 cnt = 1; 1038 while ((NV_REG8(NV8_INSTAT1) & 0x08) && cnt) 1041 cnt++; 1044 cnt = 1; 1045 while ((!(NV_REG8(NV8_INSTAT1) & 0x08)) && cnt) 1048 cnt++; 1051 cnt = 1; 1052 while ((NV_REG8(NV8_INSTAT1) & 0x08) && cnt) 1055 cnt [all...] |
H A D | nv_crtc2.c | 933 uint16 cnt; local 952 cnt = 1; 953 while ((NV_REG8(NV8_INSTAT1) & 0x08) && cnt) 956 cnt++; 959 cnt = 1; 960 while ((!(NV_REG8(NV8_INSTAT1) & 0x08)) && cnt) 963 cnt++; 966 cnt = 1; 967 while ((NV_REG8(NV8_INSTAT1) & 0x08) && cnt) 970 cnt [all...] |
/haiku/src/add-ons/kernel/file_systems/ntfs/libntfs/ |
H A D | efs.c | 137 int cnt; local 149 cnt = 0; 153 cnt++; 175 if (cnt <= maxcnt) { 184 maxcnt = cnt;
|
H A D | unistr.c | 170 u32 cnt; local 180 cnt = min(name1_len, name2_len); 181 if (cnt > 0) { 183 while (--cnt && (*name1 == *name2)) { 193 if ((u1 == u2) && cnt) 203 } while ((u1 == u2) && --cnt); 226 } while ((u1 == u2) && --cnt); 914 int cnt = 0; local 968 cnt = wcrtomb(mbs + o, wc, &mbstate); 970 cnt 1037 int i, o, cnt, ins_len, ucs_len, ins_size; local [all...] |
H A D | xattrs.c | 158 int cnt; local 163 cnt = (size - sizeof(struct LE_POSIX_ACL)) / sizeof(struct LE_POSIX_ACE); 164 for (i=0; i<cnt; i++) { 180 int cnt; local 185 cnt = (size - sizeof(struct POSIX_ACL)) / sizeof(struct POSIX_ACE); 186 for (i=0; i<cnt; i++) {
|
/haiku/src/bin/ |
H A D | id.c | 84 int cnt, id, lastID, nGroups; local 95 for (lastID = -1, cnt = 0; cnt < ngroups_max; ++cnt) { 96 if (lastID == (id = groups[cnt]))
|
/haiku/src/add-ons/accelerants/neomagic/engine/ |
H A D | nm_dac.c | 86 status_t nm_dac_palette(uint8 r[256],uint8 g[256],uint8 b[256], uint16 cnt) argument 96 for (i = 0; i < cnt; i++) 103 if (ISARB(PALINDW) != (cnt & 0x00ff)) 114 for (i = 0; i < cnt; i++)
|
/haiku/src/system/boot/platform/riscv/ |
H A D | virtio.h | 62 void ScheduleIO(IORequest** reqs, uint32 cnt);
|
H A D | virtio.cpp | 144 VirtioDevice::ScheduleIO(IORequest** reqs, uint32 cnt) argument 146 if (cnt < 1) return; 148 for (uint32 i = 0; i < cnt; i++) {
|
/haiku/src/system/libroot/posix/glibc/stdio-common/ |
H A D | vfprintf.c | 1636 size_t cnt; local 1701 for (cnt = 0; cnt < nspecs; ++cnt) 1704 if (specs[cnt].width_arg != -1) 1705 args_type[specs[cnt].width_arg] = PA_INT; 1708 if (specs[cnt].prec_arg != -1) 1709 args_type[specs[cnt].prec_arg] = PA_INT; 1711 switch (specs[cnt].ndata_args) 1716 args_type[specs[cnt] [all...] |
H A D | _itowa.c | 113 int cnt; \ 116 for (cnt = BITS_PER_MP_LIMB / BITS; cnt > 0; --cnt) \
|
H A D | _itoa.c | 193 int cnt; \ 196 for (cnt = BITS_PER_MP_LIMB / BITS; cnt > 0; --cnt) \
|
/haiku/src/bin/network/ftpd/ |
H A D | ftpd.c | 225 #define LOGBYTES(cmd, file, cnt) logcmd((cmd), (file), NULL, (cnt)) 2128 off_t cnt, offset; local 2131 cnt = offset = 0; 2135 NULL, &cnt, 0); 2140 byte_count += cnt; 2141 offset += cnt; 2142 filesize -= cnt; 2146 cnt == 0 && offset == 0) 2156 if (cnt 2176 int cnt, len; local [all...] |
/haiku/src/libs/compat/freebsd_network/ |
H A D | if.c | 722 if_get_counter_default(struct ifnet *ifp, ift_counter cnt) argument 725 KASSERT(cnt < IFCOUNTERS, ("%s: invalid cnt %d", __func__, cnt)); 727 switch (cnt) { 753 KASSERT(cnt < IFCOUNTERS, ("%s: invalid cnt %d", __func__, cnt)); 912 if_inc_counter(struct ifnet *ifp, ift_counter cnt, int64_t inc) argument 914 switch (cnt) { 1216 if_setupmultiaddr(if_t ifp, void *mta, int *cnt, int max) argument 1239 if_multiaddr_array(if_t ifp, void *mta, int *cnt, int max) argument [all...] |
/haiku/src/add-ons/translators/ppm/ |
H A D | colorspace.cpp | 357 int cnt = 0; local 360 if (cnt == 8) { 363 cnt = 0; 367 >> (2 + cnt); 369 cnt++; 373 if (cnt > 0) {
|
/haiku/src/libs/print/libprint/ |
H A D | PackBits.cpp | 188 int cnt = pack_bits(destination, source, size); local 190 fwrite(destination, cnt, 1, output);
|
/haiku/src/add-ons/kernel/drivers/network/ether/ipro1000/dev/e1000/ |
H A D | em_txrx.c | 559 int cnt, i; local 561 for (cnt = 0, i = idx; cnt < scctx->isc_nrxd[0] && cnt <= budget;) { 570 cnt++; 572 return (cnt); 584 int cnt, i; local 586 for (cnt = 0, i = idx; cnt < scctx->isc_nrxd[0] && cnt < [all...] |
H A D | igb_txrx.c | 409 int cnt, i; local 411 for (cnt = 0, i = idx; cnt < scctx->isc_nrxd[0] && cnt <= budget;) { 420 cnt++; 422 return (cnt);
|
/haiku/src/system/libroot/posix/glibc/iconv/ |
H A D | skeleton.c | 783 size_t cnt; 789 for (cnt = 0; *inptrp < inend; ++cnt) 790 data->__statep->__value.__wchb[cnt] = *(*inptrp)++; 792 data->__statep->__count |= cnt;
|
/haiku/src/libs/compat/freebsd_iflib/ |
H A D | subr_gtaskqueue.c | 944 _taskqgroup_adjust(struct taskqgroup *qgroup, int cnt, int stride) argument 952 if (cnt < 1 || cnt * stride > mp_ncpus || !tqg_smp_started) { 953 printf("%s: failed cnt: %d stride: %d " 955 __func__, cnt, stride, mp_ncpus, tqg_smp_started); 965 if (old_cnt < cnt) 981 for (i = old_cnt; i < cnt; i++) { 988 qgroup->tqg_cnt = cnt; 1023 for (i = cnt; i < old_cnt; i++) 1035 taskqgroup_adjust(struct taskqgroup *qgroup, int cnt, in argument [all...] |
/haiku/src/add-ons/kernel/drivers/network/ether/intel22x/dev/igc/ |
H A D | igc_txrx.c | 434 int cnt, i; local 436 for (cnt = 0, i = idx; cnt < scctx->isc_nrxd[0] && cnt <= budget;) { 445 cnt++; 447 return (cnt);
|
/haiku/src/tests/kits/game/direct_window_test/ |
H A D | StarWindow.cpp | 68 int32 x, y, dx, dy, cnt, square; local 111 cnt = 0; 119 cnt++; 124 star_list[i].count0 = cnt + ((crc_alea&0xf0000)>>16);
|
/haiku/src/system/libroot/posix/glibc/locale/ |
H A D | localeinfo.h | 209 /* Return `era' cnt'th entry . Used in strptime. */ 210 extern struct era_entry *_nl_select_era_entry (int cnt);
|