count 4623 src/decNumber/decNumber.c Int count; // work count 4725 src/decNumber/decNumber.c for (count=lhs->digits, cup=lhs->lsu, lip=zlhi; count>0; lip++) count 4726 src/decNumber/decNumber.c for (p=0, *lip=0; p<FASTDIGS && count>0; count 4727 src/decNumber/decNumber.c p+=DECDPUN, cup++, count-=DECDPUN) count 4730 src/decNumber/decNumber.c for (count=rhs->digits, cup=rhs->lsu, rip=zrhi; count>0; rip++) count 4731 src/decNumber/decNumber.c for (p=0, *rip=0; p<FASTDIGS && count>0; count 4732 src/decNumber/decNumber.c p+=DECDPUN, cup++, count-=DECDPUN) count 6435 src/decNumber/decNumber.c Int cut, count; // work count 6454 src/decNumber/decNumber.c count=units*DECDPUN-shift; // the maximum new length count 6462 src/decNumber/decNumber.c count-=(DECDPUN-cut); count 6463 src/decNumber/decNumber.c if (count<=0) break; count 6474 src/decNumber/decNumber.c count-=cut; count 6475 src/decNumber/decNumber.c if (count<=0) break; count 6587 src/decNumber/decNumber.c Int count; // .. count 6596 src/decNumber/decNumber.c count=len; // avoids D2U count 6598 src/decNumber/decNumber.c for (target=dn->lsu; count>0; target++, up++, count-=DECDPUN) count 6616 src/decNumber/decNumber.c count=len; // avoids D2U count 6617 src/decNumber/decNumber.c for (up=lsu; count>0; up++, count-=DECDPUN) if (*up!=0) { // found non-0 count 6634 src/decNumber/decNumber.c count=0; count 6636 src/decNumber/decNumber.c count+=DECDPUN; count 6637 src/decNumber/decNumber.c if (count>=discard) break; // full ones all checked count 6642 src/decNumber/decNumber.c cut=discard-(count-DECDPUN)-1; count 6658 src/decNumber/decNumber.c count=set->digits; // now digits to end up with count 6659 src/decNumber/decNumber.c dn->digits=count; // set the new length count 6662 src/decNumber/decNumber.c for (target=dn->lsu; count>0; target++, up++, count-=DECDPUN) count 6703 src/decNumber/decNumber.c count=set->digits; // now digits to end up with count 6704 src/decNumber/decNumber.c dn->digits=count; // set the new length count 6708 src/decNumber/decNumber.c count-=(DECDPUN-cut); count 6709 src/decNumber/decNumber.c if (count<=0) break; count 6720 src/decNumber/decNumber.c count-=cut; count 6721 src/decNumber/decNumber.c if (count<=0) break; count 6847 src/decNumber/decNumber.c uInt count=dn->digits; // digits to be checked count 6849 src/decNumber/decNumber.c if (count<=DECDPUN) { count 6851 src/decNumber/decNumber.c if (*up!=powers[count]-1) break; // not still 9s count 6853 src/decNumber/decNumber.c *up=(Unit)powers[count-1]; // here 999 -> 100 etc. count 6864 src/decNumber/decNumber.c count-=DECDPUN; count 6871 src/decNumber/decNumber.c uInt count=dn->digits; // digits to be checked count 6873 src/decNumber/decNumber.c if (count<=DECDPUN) { count 6875 src/decNumber/decNumber.c if (*up!=powers[count-1]) break; // not 100.. count 6878 src/decNumber/decNumber.c *up=(Unit)powers[count]-1; // here 100 in msu -> 999 count 6887 src/decNumber/decNumber.c if (count==1 && dn->digits==1) *sup=0; // here 9 -> 0[.9] count 6889 src/decNumber/decNumber.c *sup=(Unit)powers[count-1]-1; // here 999.. in msu -> 99.. count 6900 src/decNumber/decNumber.c count-=DECDPUN; count 7082 src/decNumber/decNumber.c Int count=set->digits; // nines to add count 7083 src/decNumber/decNumber.c dn->digits=count; count 7086 src/decNumber/decNumber.c if (count>DECDPUN) *up=DECDPUNMAX; // unit full o'nines count 7088 src/decNumber/decNumber.c *up=(Unit)(powers[count]-1); count 7091 src/decNumber/decNumber.c count-=DECDPUN; // filled those digits count 7246 src/decNumber/decNumber.c Int count=-dn->exponent; // digits to discard count 7248 src/decNumber/decNumber.c for (; count>=DECDPUN; up++) { count 7250 src/decNumber/decNumber.c count-=DECDPUN; count 7252 src/decNumber/decNumber.c if (count==0) got=0; // [a multiple of DECDPUN] count 7257 src/decNumber/decNumber.c theInt=QUOT10(*up, count); count 7258 src/decNumber/decNumber.c rem=*up-theInt*powers[count]; count 7260 src/decNumber/decNumber.c rem=*up%powers[count]; // slice off discards count 7261 src/decNumber/decNumber.c theInt=*up/powers[count]; count 7265 src/decNumber/decNumber.c got=DECDPUN-count; // number of digits so far count 716 src/dps8/dps8_disk.c uint count; count 717 src/dps8/dps8_disk.c iom_indirect_data_service (iomUnitIdx, chan, & seekData, &count, false); count 720 src/dps8/dps8_disk.c if (count != 1) count 721 src/dps8/dps8_disk.c sim_warn ("%s: count %d not 1\n", __func__, count); count 767 src/dps8/dps8_disk.c uint count; count 768 src/dps8/dps8_disk.c iom_indirect_data_service (iomUnitIdx, chan, & seekData, &count, false); count 771 src/dps8/dps8_disk.c if (count != 1) count 772 src/dps8/dps8_disk.c sim_warn ("%s: count %d not 1\n", __func__, count); count 810 src/dps8/dps8_disk.c uint count; count 811 src/dps8/dps8_disk.c iom_indirect_data_service (iomUnitIdx, chan, & seekData, &count, false); count 814 src/dps8/dps8_disk.c if (count != 1) count 815 src/dps8/dps8_disk.c sim_warn ("%s: count %d not 1\n", __func__, count); count 1098 src/dps8/dps8_ins.c long long count; count 1106 src/dps8/dps8_ins.c if ((count = theMatrix[opcode][opcodeX][a][tag])) count 1127 src/dps8/dps8_ins.c count, opcode, opcodeX, a, tag); count 1129 src/dps8/dps8_ins.c sim_printf ("%20"PRId64": %s\n", count, result); count 1130 src/dps8/dps8_ins.c total += count; count 1128 src/dps8/dps8_mt.c uint count; count 1129 src/dps8/dps8_mt.c iom_indirect_data_service (iomUnitIdx, chan, & control, &count, false); count 1130 src/dps8/dps8_mt.c if (count != 1) count 1131 src/dps8/dps8_mt.c sim_warn ("%s: count %d not 1\n", __func__, count); count 1227 src/dps8/dps8_mt.c uint count; count 1228 src/dps8/dps8_mt.c iom_indirect_data_service (iomUnitIdx, chan, & control, &count, false); count 1229 src/dps8/dps8_mt.c if (count != 1) count 1230 src/dps8/dps8_mt.c sim_warn ("%s: count %d not 1\n", __func__, count); count 714 src/dps8/dps8_socket_dev.c uint count = (uint) buffer[1]; count 725 src/dps8/dps8_socket_dev.c sk_data.unit_data[unit_idx][dev_code].read_buffer_sz = count; count 776 src/dps8/dps8_socket_dev.c uint count = (uint) count36; count 778 src/dps8/dps8_socket_dev.c uint count_words = (count + 3) / 4; count 785 src/dps8/dps8_socket_dev.c uint8_t netdata [count]; count 786 src/dps8/dps8_socket_dev.c for (uint n = 0; n < count; n ++) count 794 src/dps8/dps8_socket_dev.c rc = write (socket_fd, netdata, count); count 1192 src/dps8/dps8_socket_dev.c uint count = sk_data.unit_data[unit_idx][dev_code].read_buffer_sz; count 1193 src/dps8/dps8_socket_dev.c uint buffer_size_wds = (count + 3) / 4; count 1197 src/dps8/dps8_socket_dev.c uint8_t netdata [count]; count 1198 src/dps8/dps8_socket_dev.c ssize_t nread = read (sk_data.unit_data[unit_idx][dev_code].read_fd, & netdata, count); count 474 src/dps8/libtelnet.c size_t eindex, count; count 522 src/dps8/libtelnet.c count = 0; count 525 src/dps8/libtelnet.c ++count; count 533 src/dps8/libtelnet.c if ((values = (struct telnet_environ_t *)calloc(count, count 543 src/dps8/libtelnet.c for (eindex = 0; eindex != count; ++eindex) { count 599 src/dps8/libtelnet.c ev.environ.size = count; count 1121 src/dps8/panelScraper.c static void lwrite (FD fd, const void * buf, size_t count) count 1125 src/dps8/panelScraper.c if(!WriteFile(fd, buf, count, &bytes_written, NULL)) count 1132 src/dps8/panelScraper.c write (fd, buf, count); count 123 src/dps8/udplib.c uint16_t count; // number of H316 words to follow count 331 src/dps8/udplib.c int udp_send (int link, uint16_t * pdata, uint16_t count, uint16_t flags) count 350 src/dps8/udplib.c if ((pdata == NULL) || (count == 0) || (count > MAXDATA)) count 358 src/dps8/udplib.c pkt . count = htons (count); count 360 src/dps8/udplib.c for (i = 0; i < count; i ++) count 362 src/dps8/udplib.c pktlen = UDP_HEADER_LEN + count * sizeof (uint16_t); count 377 src/dps8/udplib.c link, ntohl (pkt . sequence), ntohs (pkt . count)); count 464 src/dps8/udplib.c implen = ntohs (pkt . count); count 45 src/dps8/udplib.h int udp_send (int32_t link, uint16_t * pdata, uint16_t count, uint16_t flags); count 186 src/dps8/utfile.c for (int count = 0; count < MAX_MKSTEMPS_TRIES; count++) count 350 src/libsir/include/sir/helpers.h bool _sir_strsame(const char* lhs, const char* rhs, size_t count) { count 351 src/libsir/include/sir/helpers.h return 0 == strncmp(lhs, rhs, count); count 359 src/libsir/include/sir/helpers.h const char* restrict src, size_t count); count 366 src/libsir/include/sir/helpers.h const char* restrict src, size_t count); count 325 src/libsir/include/sir/types.h size_t count; count 381 src/libsir/include/sir/types.h size_t count; count 413 src/libsir/src/sirfilecache.c if (sfc->count >= SIR_MAXFILES) count 426 src/libsir/src/sirfilecache.c sf->path, sf->id, sfc->count + 1); count 428 src/libsir/src/sirfilecache.c sfc->files[sfc->count++] = sf; count 458 src/libsir/src/sirfilecache.c for (size_t n = 0; n < sfc->count; n++) { count 463 src/libsir/src/sirfilecache.c sfc->files[n]->path, sfc->files[n]->id, sfc->count - 1); count 468 src/libsir/src/sirfilecache.c sfc->count--; count 482 src/libsir/src/sirfilecache.c if (_sir_validptr(sfc) && sfc->count <= SIR_MAXFILES) { count 483 src/libsir/src/sirfilecache.c for (size_t n = idx; n < sfc->count - 1; n++) { count 569 src/libsir/src/sirfilecache.c for (size_t n = 0; n < sfc->count; n++) { count 582 src/libsir/src/sirfilecache.c while (sfc->count > 0) { count 583 src/libsir/src/sirfilecache.c size_t idx = sfc->count - 1; count 587 src/libsir/src/sirfilecache.c sfc->count--; count 609 src/libsir/src/sirfilecache.c for (size_t n = 0; n < sfc->count; n++) { count 233 src/libsir/src/sirhelpers.c size_t count) { count 236 src/libsir/src/sirhelpers.c int ret = strncpy_s(dest, destsz, src, count); count 243 src/libsir/src/sirhelpers.c SIR_UNUSED(count); count 254 src/libsir/src/sirhelpers.c size_t count) { count 257 src/libsir/src/sirhelpers.c int ret = strncat_s(dest, destsz, src, count); count 264 src/libsir/src/sirhelpers.c SIR_UNUSED(count); count 1539 src/libsir/src/sirinternal.c for (int count = 0; count < 512 && !CPUSET_ISZERO(vset); ++count) { count 1540 src/libsir/src/sirinternal.c if (CPUSET_ISSET(vset, count)) { count 1541 src/libsir/src/sirinternal.c CPUSET_CLR(vset, count); count 351 src/libsir/src/sirplugins.c if (spc->count >= SIR_MAXPLUGINS) { count 365 src/libsir/src/sirplugins.c plugin->path, plugin->id, spc->count + 1); count 366 src/libsir/src/sirplugins.c spc->plugins[spc->count++] = plugin; count 391 src/libsir/src/sirplugins.c for (size_t n = 0; n < spc->count; n++) { count 410 src/libsir/src/sirplugins.c for (size_t n = 0; n < spc->count; n++) { count 413 src/libsir/src/sirplugins.c spc->plugins[n]->path, spc->plugins[n]->id, spc->count - 1); count 417 src/libsir/src/sirplugins.c for (size_t i = n; i < spc->count - 1; i++) { count 422 src/libsir/src/sirplugins.c spc->count--; count 440 src/libsir/src/sirplugins.c while (spc->count > 0) { count 441 src/libsir/src/sirplugins.c size_t idx = spc->count - 1; count 444 src/libsir/src/sirplugins.c spc->count--; count 468 src/libsir/src/sirplugins.c for (size_t n = 0; n < spc->count; n++) { count 1561 src/simh/linehistory.c int count; count 1574 src/simh/linehistory.c count = linenoiseEdit(STDIN_FILENO, STDOUT_FILENO, buf, buflen, prompt); count 1577 src/simh/linehistory.c return ( count ); count 1655 src/simh/linehistory.c int count; count 1688 src/simh/linehistory.c count = linenoiseRaw(buf, LINENOISE_MAX_LINE, prompt); count 1689 src/simh/linehistory.c if (count == -1) count 7164 src/simh/scp.c int32 i, count, rdx; count 7193 src/simh/scp.c count = (1 - reason + (dptr->aincr - 1)) / dptr->aincr; count 7195 src/simh/scp.c for (i = 0, j = addr; i < count; i++, j = j + dptr->aincr) { count 8075 src/simh/scp.c sim_stabr.count = 1; count 8104 src/simh/scp.c sim_staba.count = sim_emax; count 8257 src/simh/scp.c if (schptr->count != 1) { count 8271 src/simh/scp.c schptr->count = 1; count 8335 src/simh/scp.c if (schptr->count != (uint32)(1 - reason)) { count 8336 src/simh/scp.c schptr->count = 1 - reason; count 8379 src/simh/scp.c val = (t_value *)malloc (schptr->count * sizeof (*values)); count 8392 src/simh/scp.c for (i=0; i<(int32)schptr->count; i++) { count 8413 src/simh/scp.c i=schptr->count-1; count 8419 src/simh/scp.c for (; (i>=0) && (i<(int32)schptr->count) && ret; i += updown) { count 593 src/simh/sim_defs.h uint32 count; /* value count in mask and comp arrays */ count 110 src/simh/sim_fio.c void sim_buf_swap_data (void *bptr, size_t size, size_t count) count 116 src/simh/sim_fio.c if (sim_end || (count == 0) || (size == sizeof (char))) count 119 src/simh/sim_fio.c j < count; j++) { count 129 src/simh/sim_fio.c size_t sim_fread (void *bptr, size_t size, size_t count, FILE *fptr) count 133 src/simh/sim_fio.c if ((size == 0) || (count == 0)) /* check arguments */ count 135 src/simh/sim_fio.c c = fread (bptr, size, count, fptr); /* read buffer */ count 138 src/simh/sim_fio.c sim_buf_swap_data (bptr, size, count); count 142 src/simh/sim_fio.c void sim_buf_copy_swapped (void *dbuf, const void *sbuf, size_t size, size_t count) count 150 src/simh/sim_fio.c memcpy (dptr, sptr, size * count); count 153 src/simh/sim_fio.c for (j = 0; j < count; j++) { /* loop on items */ count 164 src/simh/sim_fio.c size_t sim_fwrite (const void *bptr, size_t size, size_t count, FILE *fptr) count 171 src/simh/sim_fio.c if ((size == 0) || (count == 0)) /* check arguments */ count 174 src/simh/sim_fio.c return fwrite (bptr, size, count, fptr); /* done */ count 179 src/simh/sim_fio.c nbuf = count / nelem; /* number buffers */ count 180 src/simh/sim_fio.c lcnt = count % nelem; /* count in last buf */ count 188 src/simh/sim_fio.c sptr = sptr + size * count; count 72 src/simh/sim_fio.h size_t sim_fread (void *bptr, size_t size, size_t count, FILE *fptr); count 73 src/simh/sim_fio.h size_t sim_fwrite (const void *bptr, size_t size, size_t count, FILE *fptr); count 79 src/simh/sim_fio.h void sim_buf_swap_data (void *bptr, size_t size, size_t count); count 80 src/simh/sim_fio.h void sim_buf_copy_swapped (void *dptr, const void *bptr, size_t size, size_t count); count 1379 src/simh/sim_tape.c t_stat sim_tape_sprecsf (UNIT *uptr, uint32 count, uint32 *skipped) count 1388 src/simh/sim_tape.c (int)(uptr-ctx->dptr->units), (long long)count); count 1391 src/simh/sim_tape.c while (*skipped < count) { /* loopo */ count 1400 src/simh/sim_tape.c t_stat sim_tape_sprecsf_a (UNIT *uptr, uint32 count, uint32 *skipped, TAPE_PCALLBACK callback) count 1403 src/simh/sim_tape.c r = sim_tape_sprecsf (uptr, count, skipped); count 1472 src/simh/sim_tape.c t_stat sim_tape_sprecsr (UNIT *uptr, uint32 count, uint32 *skipped) count 1481 src/simh/sim_tape.c (int)(uptr-ctx->dptr->units), (long long)count); count 1484 src/simh/sim_tape.c while (*skipped < count) { /* loopo */ count 1493 src/simh/sim_tape.c t_stat sim_tape_sprecsr_a (UNIT *uptr, uint32 count, uint32 *skipped, TAPE_PCALLBACK callback) count 1496 src/simh/sim_tape.c r = sim_tape_sprecsr (uptr, count, skipped); count 1521 src/simh/sim_tape.c t_stat sim_tape_spfilebyrecf (UNIT *uptr, uint32 count, uint32 *skipped, uint32 *recsskipped, t_bool check_leot) count 1531 src/simh/sim_tape.c (int)(uptr-ctx->dptr->units), (long long)count, (long long)check_leot); count 1543 src/simh/sim_tape.c while (*skipped < count) { /* loopo */ count 1567 src/simh/sim_tape.c (UNIT *uptr, uint32 count, uint32 *skipped, uint32 *recsskipped, t_bool check_leot, TAPE_PCALLBACK callback) count 1571 src/simh/sim_tape.c (uptr, count, skipped, recsskipped, check_leot); count 1594 src/simh/sim_tape.c t_stat sim_tape_spfilef (UNIT *uptr, uint32 count, uint32 *skipped) count 1602 src/simh/sim_tape.c (int)(uptr-ctx->dptr->units), (long long)count); count 1604 src/simh/sim_tape.c return sim_tape_spfilebyrecf (uptr, count, skipped, &totalrecsskipped, FALSE); count 1607 src/simh/sim_tape.c t_stat sim_tape_spfilef_a (UNIT *uptr, uint32 count, uint32 *skipped, TAPE_PCALLBACK callback) count 1610 src/simh/sim_tape.c r = sim_tape_spfilef (uptr, count, skipped); count 1635 src/simh/sim_tape.c t_stat sim_tape_spfilebyrecr (UNIT *uptr, uint32 count, uint32 *skipped, uint32 *recsskipped) count 1646 src/simh/sim_tape.c (int)(uptr-ctx->dptr->units), (long long)count); count 1648 src/simh/sim_tape.c while (*skipped < count) { /* loopo */ count 1663 src/simh/sim_tape.c t_stat sim_tape_spfilebyrecr_a (UNIT *uptr, uint32 count, uint32 *skipped, uint32 *recsskipped, TAPE_PCALLBACK callback) count 1666 src/simh/sim_tape.c r = sim_tape_spfilebyrecr (uptr, count, skipped, recsskipped); count 1690 src/simh/sim_tape.c t_stat sim_tape_spfiler (UNIT *uptr, uint32 count, uint32 *skipped) count 1698 src/simh/sim_tape.c (int)(uptr-ctx->dptr->units), (long long)count); count 1700 src/simh/sim_tape.c return sim_tape_spfilebyrecr (uptr, count, skipped, &totalrecsskipped); count 1703 src/simh/sim_tape.c t_stat sim_tape_spfiler_a (UNIT *uptr, uint32 count, uint32 *skipped, TAPE_PCALLBACK callback) count 1706 src/simh/sim_tape.c r = sim_tape_spfiler (uptr, count, skipped); count 176 src/simh/sim_tape.h t_stat sim_tape_sprecsf (UNIT *uptr, uint32 count, uint32 *skipped); count 177 src/simh/sim_tape.h t_stat sim_tape_sprecsf_a (UNIT *uptr, uint32 count, uint32 *skipped, TAPE_PCALLBACK callback); count 178 src/simh/sim_tape.h t_stat sim_tape_spfilef (UNIT *uptr, uint32 count, uint32 *skipped); count 179 src/simh/sim_tape.h t_stat sim_tape_spfilef_a (UNIT *uptr, uint32 count, uint32 *skipped, TAPE_PCALLBACK callback); count 181 src/simh/sim_tape.h (UNIT *uptr, uint32 count, uint32 *skipped, uint32 *recsskipped, t_bool check_leot); count 183 src/simh/sim_tape.h (UNIT *uptr, uint32 count, uint32 *skipped, uint32 *recsskipped, t_bool check_leot, TAPE_PCALLBACK callback); count 186 src/simh/sim_tape.h t_stat sim_tape_sprecsr (UNIT *uptr, uint32 count, uint32 *skipped); count 187 src/simh/sim_tape.h t_stat sim_tape_sprecsr_a (UNIT *uptr, uint32 count, uint32 *skipped, TAPE_PCALLBACK callback); count 188 src/simh/sim_tape.h t_stat sim_tape_spfiler (UNIT *uptr, uint32 count, uint32 *skipped); count 189 src/simh/sim_tape.h t_stat sim_tape_spfiler_a (UNIT *uptr, uint32 count, uint32 *skipped, TAPE_PCALLBACK callback); count 190 src/simh/sim_tape.h t_stat sim_tape_spfilebyrecr (UNIT *uptr, uint32 count, uint32 *skipped, uint32 *recsskipped); count 191 src/simh/sim_tape.h t_stat sim_tape_spfilebyrecr_a (UNIT *uptr, uint32 count, uint32 *skipped, uint32 *recsskipped, TAPE_PCALLBACK callback);