q 620 src/dps8/dps8_append.c sdw_s * q = & cpu.SDWAM[_h]; q 621 src/dps8/dps8_append.c q->USE -= 1; q 622 src/dps8/dps8_append.c q->USE &= N_L68_WAM_MASK; q 857 src/dps8/dps8_append.c ptw_s * q = & cpu.PTWAM[_h]; q 858 src/dps8/dps8_append.c q->USE -= 1; q 859 src/dps8/dps8_append.c q->USE &= N_L68_WAM_MASK; q 216 src/dps8/dps8_cable.c char * q; q 218 src/dps8/dps8_cable.c if (rest == 1 && (q = strchr (tags, tolower (*p)))) q 220 src/dps8/dps8_cable.c * val = (uint) (q - tags); q 226 src/dps8/dps8_cable.c q = strchr (digits, tolower (*p)); q 227 src/dps8/dps8_cable.c if (! q) q 230 src/dps8/dps8_cable.c long l = strtol (p, & q, 0); q 231 src/dps8/dps8_cable.c if (* q || l < 0 || l > INT_MAX) q 347 src/dps8/dps8_crdrdr.c q 348 src/dps8/dps8_crdrdr.c q 349 src/dps8/dps8_crdrdr.c q 350 src/dps8/dps8_crdrdr.c q 5209 src/dps8/dps8_eis.c for (word9 *q = e->inBuffer; q < p; q ++) q 5210 src/dps8/dps8_eis.c sim_debug (DBG_TRACEEXT, & cpu_dev, " %02o", * q); q 6583 src/dps8/dps8_eis.c char *q = defaultEditInsertionTable; q 6584 src/dps8/dps8_eis.c while((*p9++ = (word9) (*q++))) q 12631 src/dps8/dps8_eis.c q 12633 src/dps8/dps8_eis.c q 12635 src/dps8/dps8_eis.c q 12638 src/dps8/dps8_eis.c q 3361 src/dps8/dps8_iom.c iom_chan_data_t * q = & iom_chan_data[iom_unit_idx][p -> PCW_CHAN]; q 3363 src/dps8/dps8_iom.c q -> PCW0 = p -> PCW0; q 3364 src/dps8/dps8_iom.c q -> PCW1 = p -> PCW1; q 3365 src/dps8/dps8_iom.c q -> PCW_CHAN = p -> PCW_CHAN; q 3366 src/dps8/dps8_iom.c q -> PCW_AE = p -> PCW_AE; q 3367 src/dps8/dps8_iom.c q -> PCW_PAGE_TABLE_PTR = p -> PCW_PAGE_TABLE_PTR; q 3368 src/dps8/dps8_iom.c q -> PCW_63_PTP = p -> PCW_63_PTP; q 3369 src/dps8/dps8_iom.c q -> PCW_64_PGE = p -> PCW_64_PGE; q 3370 src/dps8/dps8_iom.c q -> PCW_65_AUX = p -> PCW_65_AUX; q 3371 src/dps8/dps8_iom.c q -> PCW_21_MSK = p -> PCW_21_MSK; q 3372 src/dps8/dps8_iom.c q -> DCW = p -> DCW; q 3374 src/dps8/dps8_iom.c sim_debug (DBG_DEBUG, & iom_dev, "%s: PCW %012llo %012llo chan %02o\n", __func__, q->PCW0, q->PCW1, q->PCW_CHAN); q 3376 src/dps8/dps8_iom.c q -> masked = p -> PCW_21_MSK; q 3377 src/dps8/dps8_iom.c if (q -> masked) { q 3378 src/dps8/dps8_iom.c if (q -> in_use) q 3380 src/dps8/dps8_iom.c q -> in_use = false; q 3381 src/dps8/dps8_iom.c q -> start = false; q 3383 src/dps8/dps8_iom.c if (q -> in_use) q 3385 src/dps8/dps8_iom.c q -> in_use = true; q 3386 src/dps8/dps8_iom.c q -> start = true; q 379 src/dps8/dps8_math128.c int divmnu (uint16_t q[], uint16_t r[], q 399 src/dps8/dps8_math128.c q[j] = (uint16_t) (((unsigned int) k*b + u[j])/v[0]); // divisor here. q 400 src/dps8/dps8_math128.c k = (int) (((unsigned int) k*b + u[j]) - q[j]*v[0]); q 449 src/dps8/dps8_math128.c q[j] = (uint16_t) qhat; // Store quotient digit. q 452 src/dps8/dps8_math128.c q[j] = q[j] - 1; // much, add back. q 518 src/dps8/dps8_math128.c uint16_t q[m], u[m], v[n]; q 537 src/dps8/dps8_math128.c q[0] = q[1] = q[2] = q[3] = q[4] = q[5] = q[6] = q[7] = 0; q 544 src/dps8/dps8_math128.c divmnu (q, remp ? r : NULL, u, v, m, normlen); q 558 src/dps8/dps8_math128.c (((uint64_t) q [7]) << 48) | q 559 src/dps8/dps8_math128.c (((uint64_t) q [6]) << 32) | q 560 src/dps8/dps8_math128.c (((uint64_t) q [5]) << 16) | q 561 src/dps8/dps8_math128.c (((uint64_t) q [4]) << 0), q 562 src/dps8/dps8_math128.c (((uint64_t) q [3]) << 48) | q 563 src/dps8/dps8_math128.c (((uint64_t) q [2]) << 32) | q 564 src/dps8/dps8_math128.c (((uint64_t) q [1]) << 16) | q 565 src/dps8/dps8_math128.c (((uint64_t) q [0]) << 0)); q 573 src/dps8/dps8_math128.c uint16_t q[m], u[m], v[n]; q 585 src/dps8/dps8_math128.c q[0] = q[1] = q[2] = q[3] = q[4] = q[5] = q[6] = q[7] = 0; q 587 src/dps8/dps8_math128.c divmnu (q, remp, u, v, m, n); q 589 src/dps8/dps8_math128.c (((uint64_t) q [7]) << 48) | q 590 src/dps8/dps8_math128.c (((uint64_t) q [6]) << 32) | q 591 src/dps8/dps8_math128.c (((uint64_t) q [5]) << 16) | q 592 src/dps8/dps8_math128.c (((uint64_t) q [4]) << 0), q 593 src/dps8/dps8_math128.c (((uint64_t) q [3]) << 48) | q 594 src/dps8/dps8_math128.c (((uint64_t) q [2]) << 32) | q 595 src/dps8/dps8_math128.c (((uint64_t) q [1]) << 16) | q 596 src/dps8/dps8_math128.c (((uint64_t) q [0]) << 0)); q 609 src/dps8/dps8_math128.c uint16_t q[m], u[m], v[n], r[2]; q 622 src/dps8/dps8_math128.c q[0] = q[1] = q[2] = q[3] = q[4] = q[5] = q[6] = q[7] = 0; q 624 src/dps8/dps8_math128.c divmnu (q, remp ? r : NULL, u, v, m, n); q 629 src/dps8/dps8_math128.c (((uint64_t) q [7]) << 48) | q 630 src/dps8/dps8_math128.c (((uint64_t) q [6]) << 32) | q 631 src/dps8/dps8_math128.c (((uint64_t) q [5]) << 16) | q 632 src/dps8/dps8_math128.c (((uint64_t) q [4]) << 0), q 633 src/dps8/dps8_math128.c (((uint64_t) q [3]) << 48) | q 634 src/dps8/dps8_math128.c (((uint64_t) q [2]) << 32) | q 635 src/dps8/dps8_math128.c (((uint64_t) q [1]) << 16) | q 636 src/dps8/dps8_math128.c (((uint64_t) q [0]) << 0)); q 2003 src/dps8/dps8_scu.c word36 a, q; q 2026 src/dps8/dps8_scu.c q = 0; q 2027 src/dps8/dps8_scu.c putbits36_9 (& q, 0, maskab [1]); q 2029 src/dps8/dps8_scu.c putbits36_7 (& q, 57-36, (word7) up -> cyclic & MASK7); q 2032 src/dps8/dps8_scu.c putbits36_1 (& q, 32, (word1) up -> port_enable [4]); q 2033 src/dps8/dps8_scu.c putbits36_1 (& q, 33, (word1) up -> port_enable [5]); q 2034 src/dps8/dps8_scu.c putbits36_1 (& q, 34, (word1) up -> port_enable [6]); q 2035 src/dps8/dps8_scu.c putbits36_1 (& q, 35, (word1) up -> port_enable [7]); q 2036 src/dps8/dps8_scu.c * regq = q; q 1182 src/dps8/dps8_utils.c char * strlower(char *q) q 1184 src/dps8/dps8_utils.c char *s = q; q 1191 src/dps8/dps8_utils.c return q; q 1323 src/dps8/dps8_utils.c q 1338 src/dps8/dps8_utils.c q 1345 src/dps8/dps8_utils.c q 1360 src/dps8/dps8_utils.c q 1367 src/dps8/dps8_utils.c q 64 src/dps8/dps8_utils.h char *strlower(char *q); q 226 src/dps8/fnptelnet.c const telnet_telopt_t * q = my_telopts; q 227 src/dps8/fnptelnet.c while (q->telopt != -1) q 229 src/dps8/fnptelnet.c telnet_negotiate (p, q->us, (unsigned char) q->telopt); q 230 src/dps8/fnptelnet.c q ++; q 838 src/dps8/fnpuv.c uvClientData * q = (uvClientData *) server->data; q 839 src/dps8/fnpuv.c p->fnpno = q->fnpno; q 840 src/dps8/fnpuv.c p->lineno = q->lineno; q 589 src/dps8/hdbg.c unsigned long q = (hevtPtr + p) % hdbgSize; q 590 src/dps8/hdbg.c struct hevt * evtp = t + q; q 84 src/dps8/libtelnet.c #define Q_US(q) ((q).state & 0x0F) q 85 src/dps8/libtelnet.c #define Q_HIM(q) (((q).state & 0xF0) >> 4) q 118 src/dps8/libtelnet.c struct telnet_rfc1143_t *q; q 236 src/dps8/libtelnet.c if (telnet->q[i].telopt == telopt) { q 237 src/dps8/libtelnet.c return telnet->q[i]; q 255 src/dps8/libtelnet.c if (telnet->q[i].telopt == telopt) { q 256 src/dps8/libtelnet.c telnet->q[i].state = (unsigned char) Q_MAKE(us,him); q 282 src/dps8/libtelnet.c if ((qtmp = (telnet_rfc1143_t *)realloc(telnet->q, q 289 src/dps8/libtelnet.c telnet->q = qtmp; q 293 src/dps8/libtelnet.c telnet->q[telnet->q_cnt].telopt = telopt; q 294 src/dps8/libtelnet.c telnet->q[telnet->q_cnt].state = (unsigned char) Q_MAKE(us, him); q 311 src/dps8/libtelnet.c telnet_rfc1143_t q; q 333 src/dps8/libtelnet.c q = _get_rfc1143(telnet, telopt); q 339 src/dps8/libtelnet.c switch (Q_HIM(q)) { q 342 src/dps8/libtelnet.c _set_rfc1143(telnet, telopt, Q_US(q), Q_YES); q 349 src/dps8/libtelnet.c _set_rfc1143(telnet, telopt, Q_US(q), Q_NO); q 355 src/dps8/libtelnet.c _set_rfc1143(telnet, telopt, Q_US(q), Q_YES); q 360 src/dps8/libtelnet.c _set_rfc1143(telnet, telopt, Q_US(q), Q_YES); q 364 src/dps8/libtelnet.c _set_rfc1143(telnet, telopt, Q_US(q), Q_WANTNO); q 373 src/dps8/libtelnet.c switch (Q_HIM(q)) { q 375 src/dps8/libtelnet.c _set_rfc1143(telnet, telopt, Q_US(q), Q_NO); q 380 src/dps8/libtelnet.c _set_rfc1143(telnet, telopt, Q_US(q), Q_NO); q 384 src/dps8/libtelnet.c _set_rfc1143(telnet, telopt, Q_US(q), Q_WANTYES); q 390 src/dps8/libtelnet.c _set_rfc1143(telnet, telopt, Q_US(q), Q_NO); q 397 src/dps8/libtelnet.c switch (Q_US(q)) { q 400 src/dps8/libtelnet.c _set_rfc1143(telnet, telopt, Q_YES, Q_HIM(q)); q 407 src/dps8/libtelnet.c _set_rfc1143(telnet, telopt, Q_NO, Q_HIM(q)); q 413 src/dps8/libtelnet.c _set_rfc1143(telnet, telopt, Q_YES, Q_HIM(q)); q 418 src/dps8/libtelnet.c _set_rfc1143(telnet, telopt, Q_YES, Q_HIM(q)); q 422 src/dps8/libtelnet.c _set_rfc1143(telnet, telopt, Q_WANTNO, Q_HIM(q)); q 431 src/dps8/libtelnet.c switch (Q_US(q)) { q 433 src/dps8/libtelnet.c _set_rfc1143(telnet, telopt, Q_NO, Q_HIM(q)); q 438 src/dps8/libtelnet.c _set_rfc1143(telnet, telopt, Q_NO, Q_HIM(q)); q 442 src/dps8/libtelnet.c _set_rfc1143(telnet, telopt, Q_WANTYES, Q_HIM(q)); q 448 src/dps8/libtelnet.c _set_rfc1143(telnet, telopt, Q_NO, Q_HIM(q)); q 715 src/dps8/libtelnet.c if (telnet->q) { q 716 src/dps8/libtelnet.c FREE(telnet->q); q 717 src/dps8/libtelnet.c telnet->q = NULL; q 979 src/dps8/libtelnet.c telnet_rfc1143_t q; q 992 src/dps8/libtelnet.c q = _get_rfc1143(telnet, telopt); q 997 src/dps8/libtelnet.c switch (Q_US(q)) { q 999 src/dps8/libtelnet.c _set_rfc1143(telnet, telopt, Q_WANTYES, Q_HIM(q)); q 1003 src/dps8/libtelnet.c _set_rfc1143(telnet, telopt, Q_WANTNO_OP, Q_HIM(q)); q 1006 src/dps8/libtelnet.c _set_rfc1143(telnet, telopt, Q_WANTYES, Q_HIM(q)); q 1013 src/dps8/libtelnet.c switch (Q_US(q)) { q 1015 src/dps8/libtelnet.c _set_rfc1143(telnet, telopt, Q_WANTNO, Q_HIM(q)); q 1019 src/dps8/libtelnet.c _set_rfc1143(telnet, telopt, Q_WANTYES_OP, Q_HIM(q)); q 1022 src/dps8/libtelnet.c _set_rfc1143(telnet, telopt, Q_WANTNO, Q_HIM(q)); q 1029 src/dps8/libtelnet.c switch (Q_HIM(q)) { q 1031 src/dps8/libtelnet.c _set_rfc1143(telnet, telopt, Q_US(q), Q_WANTYES); q 1035 src/dps8/libtelnet.c _set_rfc1143(telnet, telopt, Q_US(q), Q_WANTNO_OP); q 1038 src/dps8/libtelnet.c _set_rfc1143(telnet, telopt, Q_US(q), Q_WANTYES); q 1045 src/dps8/libtelnet.c switch (Q_HIM(q)) { q 1047 src/dps8/libtelnet.c _set_rfc1143(telnet, telopt, Q_US(q), Q_WANTNO); q 1051 src/dps8/libtelnet.c _set_rfc1143(telnet, telopt, Q_US(q), Q_WANTYES_OP); q 1054 src/dps8/libtelnet.c _set_rfc1143(telnet, telopt, Q_US(q), Q_WANTNO); q 529 src/dps8/uvutil.c const telnet_telopt_t * q = my_telopts; q 530 src/dps8/uvutil.c while (q->telopt != -1) q 532 src/dps8/uvutil.c telnet_negotiate (p, q->us, (unsigned char) q->telopt); q 533 src/dps8/uvutil.c q ++; q 45 src/libsir/include/sir/queue.h bool _sir_queue_create(sir_queue** q); q 48 src/libsir/include/sir/queue.h bool _sir_queue_destroy(sir_queue** q); q 51 src/libsir/include/sir/queue.h size_t _sir_queue_size(sir_queue* q); q 54 src/libsir/include/sir/queue.h bool _sir_queue_isempty(const sir_queue* q); q 57 src/libsir/include/sir/queue.h bool _sir_queue_push(sir_queue* q, void* data); q 60 src/libsir/include/sir/queue.h bool _sir_queue_pop(sir_queue* q, void** data); q 347 src/libsir/src/sirhelpers.c char* q; q 349 src/libsir/src/sirhelpers.c if (*sub && (q = r = strstr(str, sub)) != NULL) { q 355 src/libsir/src/sirhelpers.c *q++ = *p++; q 357 src/libsir/src/sirhelpers.c while ((*q++ = *p++) != '\0'); q 59 src/libsir/src/sirqueue.c bool _sir_queue_create(sir_queue** q) { q 60 src/libsir/src/sirqueue.c bool valid = _sir_validptrptr(q); q 63 src/libsir/src/sirqueue.c *q = calloc(1, sizeof(sir_queue)); q 64 src/libsir/src/sirqueue.c if (!_sir_validptrnofail(*q)) q 68 src/libsir/src/sirqueue.c return valid && _sir_validptrnofail(*q); q 71 src/libsir/src/sirqueue.c bool _sir_queue_destroy(sir_queue** q) { q 72 src/libsir/src/sirqueue.c bool valid = _sir_validptrptr(q) && _sir_validptr(*q); q 75 src/libsir/src/sirqueue.c sir_queue_node* next = (*q)->head; q 85 src/libsir/src/sirqueue.c _sir_safefree(q); q 91 src/libsir/src/sirqueue.c size_t _sir_queue_size(sir_queue* q) { q 92 src/libsir/src/sirqueue.c if (_sir_queue_isempty(q)) q 95 src/libsir/src/sirqueue.c sir_queue_node* next = q->head->next; q 105 src/libsir/src/sirqueue.c bool _sir_queue_isempty(const sir_queue* q) { q 106 src/libsir/src/sirqueue.c return !q || !q->head; q 109 src/libsir/src/sirqueue.c bool _sir_queue_push(sir_queue* q, void* data) { q 112 src/libsir/src/sirqueue.c if (_sir_validptr(q)) { q 113 src/libsir/src/sirqueue.c if (!q->head) { q 114 src/libsir/src/sirqueue.c q->head = _sir_queue_node_create(data); q 115 src/libsir/src/sirqueue.c retval = NULL != q->head; q 117 src/libsir/src/sirqueue.c sir_queue_node* next = q->head; q 134 src/libsir/src/sirqueue.c bool _sir_queue_pop(sir_queue* q, void** data) { q 137 src/libsir/src/sirqueue.c if (!_sir_queue_isempty(q) && _sir_validptrptr(data)) { q 138 src/libsir/src/sirqueue.c sir_queue_node* old_head = q->head; q 139 src/libsir/src/sirqueue.c q->head = old_head->next; q 1464 src/simh/scp.c char *p, *q, *r; q 1465 src/simh/scp.c if (*sub && (q = r = strstr(str, sub)) != NULL) { q 1469 src/simh/scp.c *q++ = *p++; q 1471 src/simh/scp.c while ((*q++ = *p++) != '\0')