Home
last modified time | relevance | path

Searched refs:q (Results 1 – 25 of 1803) sorted by relevance

12345678910>>...73

/freebsd/contrib/llvm-project/libcxx/src/
H A Dhash.cpp94 if (q < p) in __next_prime()
104 if (q < i) in __next_prime()
110 q = n / i; in __next_prime()
111 if (q < i) in __next_prime()
117 q = n / i; in __next_prime()
118 if (q < i) in __next_prime()
124 q = n / i; in __next_prime()
125 if (q < i) in __next_prime()
131 q = n / i; in __next_prime()
132 if (q < i) in __next_prime()
[all …]
/freebsd/sys/sys/
H A Dqmath.h116 Q_TC(q, Q_SIGNED(q) ? ~(Q_SRAWMASK(q) | Q_CRAWMASK(q)) : ~Q_CRAWMASK(q))
121 #define Q_GIFRAW(q) Q_TC(q, (q) & Q_IFRAWMASK(q)) argument
123 #define Q_GIFVAL(q) Q_TC(q, Q_LTZ(q) ? -Q_GIFABSVAL(q) : Q_GIFABSVAL(q)) argument
138 #define Q_GIRAW(q) Q_TC(q, (q) & Q_IRAWMASK(q)) argument
139 #define Q_GIABSVAL(q) Q_TC(q, Q_GIRAW(q) >> Q_RPSHFT(q)) argument
140 #define Q_GIVAL(q) Q_TC(q, Q_LTZ(q) ? -Q_GIABSVAL(q) : Q_GIABSVAL(q)) argument
142 ((q) = ((q) & ~(Q_SRAWMASK(q) | Q_IRAWMASK(q))) | \
149 #define Q_GFRAW(q) Q_TC(q, (q) & Q_FRAWMASK(q)) argument
151 #define Q_GFVAL(q) Q_TC(q, Q_LTZ(q) ? -Q_GFABSVAL(q) : Q_GFABSVAL(q)) argument
153 ((q) = ((q) & ~(Q_SRAWMASK(q) | Q_FRAWMASK(q))) | \
[all …]
/freebsd/sys/contrib/openzfs/module/zfs/
H A Dbqueue.c67 q->bq_size = 0; in bqueue_init()
107 q->bq_enqueuing_size >= q->bq_maxsize / q->bq_fill_fraction) { in bqueue_enqueue_impl()
110 while (q->bq_size > q->bq_maxsize) { in bqueue_enqueue_impl()
111 cv_wait_sig(&q->bq_add_cv, &q->bq_lock); in bqueue_enqueue_impl()
113 q->bq_size += q->bq_enqueuing_size; in bqueue_enqueue_impl()
114 list_move_tail(&q->bq_list, &q->bq_enqueuing_list); in bqueue_enqueue_impl()
162 cv_wait_sig(&q->bq_pop_cv, &q->bq_lock); in bqueue_dequeue()
166 list_move_tail(&q->bq_dequeuing_list, &q->bq_list); in bqueue_dequeue()
167 q->bq_dequeuing_size = q->bq_size; in bqueue_dequeue()
168 q->bq_size = 0; in bqueue_dequeue()
[all …]
/freebsd/sys/netgraph/bluetooth/include/
H A Dng_bluetooth.h90 #define NG_BT_MBUFQ_FIRST(q) (q)->head argument
92 #define NG_BT_MBUFQ_LEN(q) (q)->len argument
94 #define NG_BT_MBUFQ_FULL(q) ((q)->len >= (q)->maxlen) argument
96 #define NG_BT_MBUFQ_DROP(q) (q)->drops ++ argument
108 (q)->len ++; \
115 (q)->head = (q)->head->m_nextpkt; \
119 (q)->len --; \
175 #define NG_BT_ITEMQ_FIRST(q) STAILQ_FIRST(&(q)->queue) argument
177 #define NG_BT_ITEMQ_LEN(q) NG_BT_MBUFQ_LEN((q)) argument
179 #define NG_BT_ITEMQ_FULL(q) NG_BT_MBUFQ_FULL((q)) argument
[all …]
/freebsd/contrib/bearssl/src/symcipher/
H A Daes_ct_ctrcbc.c150 q[1] = 0; in br_aes_ct_ctrcbc_mac()
151 q[3] = 0; in br_aes_ct_ctrcbc_mac()
152 q[5] = 0; in br_aes_ct_ctrcbc_mac()
153 q[7] = 0; in br_aes_ct_ctrcbc_mac()
165 cm0 = q[0]; in br_aes_ct_ctrcbc_mac()
166 cm1 = q[2]; in br_aes_ct_ctrcbc_mac()
167 cm2 = q[4]; in br_aes_ct_ctrcbc_mac()
279 cm0 = q[0] ^ q[1]; in br_aes_ct_ctrcbc_encrypt()
280 cm1 = q[2] ^ q[3]; in br_aes_ct_ctrcbc_encrypt()
281 cm2 = q[4] ^ q[5]; in br_aes_ct_ctrcbc_encrypt()
[all …]
H A Daes_ct64_dec.c37 q0 = ~q[0]; in br_aes_ct64_bitslice_invSbox()
38 q1 = ~q[1]; in br_aes_ct64_bitslice_invSbox()
39 q2 = q[2]; in br_aes_ct64_bitslice_invSbox()
40 q3 = q[3]; in br_aes_ct64_bitslice_invSbox()
41 q4 = q[4]; in br_aes_ct64_bitslice_invSbox()
44 q7 = q[7]; in br_aes_ct64_bitslice_invSbox()
58 q2 = q[2]; in br_aes_ct64_bitslice_invSbox()
59 q3 = q[3]; in br_aes_ct64_bitslice_invSbox()
60 q4 = q[4]; in br_aes_ct64_bitslice_invSbox()
63 q7 = q[7]; in br_aes_ct64_bitslice_invSbox()
[all …]
H A Daes_ct_dec.c53 q2 = q[2]; in br_aes_ct_bitslice_invSbox()
54 q3 = q[3]; in br_aes_ct_bitslice_invSbox()
55 q4 = q[4]; in br_aes_ct_bitslice_invSbox()
58 q7 = q[7]; in br_aes_ct_bitslice_invSbox()
72 q2 = q[2]; in br_aes_ct_bitslice_invSbox()
73 q3 = q[3]; in br_aes_ct_bitslice_invSbox()
74 q4 = q[4]; in br_aes_ct_bitslice_invSbox()
77 q7 = q[7]; in br_aes_ct_bitslice_invSbox()
106 x = q[i]; in inv_shift_rows()
126 q0 = q[0]; in inv_mix_columns()
[all …]
H A Daes_ct64_enc.c30 q[0] ^= sk[0]; in add_round_key()
31 q[1] ^= sk[1]; in add_round_key()
48 x = q[i]; in shift_rows()
71 q0 = q[0]; in mix_columns()
72 q1 = q[1]; in mix_columns()
73 q2 = q[2]; in mix_columns()
74 q3 = q[3]; in mix_columns()
75 q4 = q[4]; in mix_columns()
76 q5 = q[5]; in mix_columns()
77 q6 = q[6]; in mix_columns()
[all …]
H A Daes_ct_enc.c30 q[0] ^= sk[0]; in add_round_key()
31 q[1] ^= sk[1]; in add_round_key()
48 x = q[i]; in shift_rows()
68 q0 = q[0]; in mix_columns()
69 q1 = q[1]; in mix_columns()
70 q2 = q[2]; in mix_columns()
71 q3 = q[3]; in mix_columns()
72 q4 = q[4]; in mix_columns()
73 q5 = q[5]; in mix_columns()
74 q6 = q[6]; in mix_columns()
[all …]
H A Daes_ct64.c220 SWAP2(q[0], q[1]); in br_aes_ct64_ortho()
221 SWAP2(q[2], q[3]); in br_aes_ct64_ortho()
222 SWAP2(q[4], q[5]); in br_aes_ct64_ortho()
223 SWAP2(q[6], q[7]); in br_aes_ct64_ortho()
225 SWAP4(q[0], q[2]); in br_aes_ct64_ortho()
353 q[1] = q[0]; in br_aes_ct64_keysched()
354 q[2] = q[0]; in br_aes_ct64_keysched()
355 q[3] = q[0]; in br_aes_ct64_keysched()
356 q[5] = q[4]; in br_aes_ct64_keysched()
357 q[6] = q[4]; in br_aes_ct64_keysched()
[all …]
/freebsd/sys/dev/netmap/
H A Dnetmap_mbq.c50 q->head = q->tail = NULL; in __mbq_init()
51 q->count = 0; in __mbq_init()
58 __mbq_init(q); in mbq_safe_init()
64 __mbq_init(q); in mbq_init()
71 if (q->tail) { in __mbq_enqueue()
75 q->head = q->tail = m; in __mbq_enqueue()
77 q->count++; in __mbq_enqueue()
83 mbq_lock(q); in mbq_safe_enqueue()
85 mbq_unlock(q); in mbq_safe_enqueue()
117 mbq_lock(q); in mbq_safe_dequeue()
[all …]
/freebsd/cddl/contrib/opensolaris/lib/libdtrace/common/
H A Ddt_string.c69 *q++ = c; in stresc2chr()
111 *q++ = c; in stresc2chr()
115 *q++ = c; in stresc2chr()
122 *q++ = c; in stresc2chr()
126 *q = '\0'; in stresc2chr()
171 *q++ = '0'; in strchr2esc()
210 *q++ = c; in strchr2esc()
219 *q++ = c; in strchr2esc()
226 *q = '\0'; in strchr2esc()
299 char *p, *q; in strhyphenate() local
[all …]
/freebsd/sys/net/altq/
H A Daltq_classq.h69 #define qtype(q) (q)->qtype_ /* Get queue type */ argument
71 #define qlen(q) (q)->qlen_ /* Current queue length. */ argument
72 #define qsize(q) (q)->qsize_ /* Current queue size. */ argument
73 #define qtail(q) (q)->tail_ /* Tail of the queue */ argument
74 #define qhead(q) ((q)->tail_ ? (q)->tail_->m_nextpkt : NULL) argument
80 #define q_is_red_or_rio(q) ((q)->qtype_ == Q_RED || (q)->qtype_ == Q_RIO) argument
106 qlen(q)++; in _addq()
121 qlen(q)--; in _getq()
144 qlen(q)--; in _getq_tail()
172 qlen(q)--; in _getq_random()
[all …]
/freebsd/usr.sbin/ypserv/
H A Dyp_dnslookup.c277 inet_ntoa(q->client_addr.sin_addr), q->id); in yp_send_dns_reply()
295 xid = svcudp_set_xid(q->xprt, q->xid); in yp_send_dns_reply()
297 q->xprt->xp_raddr = q->client_addr; in yp_send_dns_reply()
330 q = n; in yp_prune_dnsq()
398 free(q); in yp_run_dnsq()
437 q->xid = svcudp_get_xid(q->xprt); in yp_async_lookup_name()
438 q->client_addr = q->xprt->xp_raddr; in yp_async_lookup_name()
440 q->id = yp_send_dns_query(name, q->type); in yp_async_lookup_name()
523 q->xid = svcudp_get_xid(q->xprt); in yp_async_lookup_addr()
524 q->client_addr = q->xprt->xp_raddr; in yp_async_lookup_addr()
[all …]
/freebsd/contrib/libarchive/libarchive/test/
H A Dtest_write_format_zip_compression_store.c220 extra_start = q = q + 30 + strlen(file_name); in verify_uncompressed_contents()
229 q = q + 4 + i2(q + 2); in verify_uncompressed_contents()
236 q = q + 4 + i2(q + 2); in verify_uncompressed_contents()
244 q = q + 4 + i2(q + 2); in verify_uncompressed_contents()
252 q = q + sizeof(file_data1) + sizeof(file_data2); in verify_uncompressed_contents()
259 q = q + 16; in verify_uncompressed_contents()
299 local_header = q; in verify_uncompressed_contents()
312 extra_start = q = q + 30 + strlen(folder_name); in verify_uncompressed_contents()
321 q = q + 4 + i2(q + 2); in verify_uncompressed_contents()
328 q = q + 4 + i2(q + 2); in verify_uncompressed_contents()
[all …]
/freebsd/contrib/sendmail/src/
H A Darpadate.c84 q = b;
87 *q++ = *p++;
88 *q++ = *p++;
89 *q++ = *p++;
90 *q++ = ',';
91 *q++ = ' ';
99 *q++ = ' ';
105 *q++ = ' ';
112 *q++ = ' ';
140 *q++ = ' ';
[all …]
/freebsd/sys/contrib/dev/mediatek/mt76/
H A Ddma.c191 Q_WRITE(dev, q, ring_size, q->ndesc); in mt76_dma_sync_idx()
192 q->head = Q_READ(dev, q, dma_idx); in mt76_dma_sync_idx()
193 q->tail = q->head; in mt76_dma_sync_idx()
201 if (!q || !q->ndesc) in mt76_dma_queue_reset()
252 q->head = (q->head + 1) % q->ndesc; in mt76_dma_add_rx_buf()
277 next = (q->head + 1) % q->ndesc; in mt76_dma_add_buf()
348 Q_WRITE(dev, q, cpu_idx, q->head); in mt76_dma_kick_queue()
357 if (!q || !q->ndesc) in mt76_dma_tx_cleanup()
460 q->tail = (q->tail + 1) % q->ndesc; in mt76_dma_dequeue()
476 if (q->queued + 1 >= q->ndesc - 1) in mt76_dma_tx_queue_skb_raw()
[all …]
/freebsd/crypto/heimdal/lib/asn1/
H A Dder_cmp.c39 if (p->length != q->length) in der_heim_oid_cmp()
40 return p->length - q->length; in der_heim_oid_cmp()
42 q->components, in der_heim_oid_cmp()
51 return p->length - q->length; in der_heim_octet_string_cmp()
64 const heim_ia5_string *q) in der_ia5_string_cmp() argument
71 const heim_bit_string *q) in der_heim_bit_string_cmp() argument
75 return p->length - q->length; in der_heim_bit_string_cmp()
92 const heim_integer *q) in der_heim_integer_cmp() argument
97 return p->length - q->length; in der_heim_integer_cmp()
106 return memcmp(p->data, q->data, q->length * sizeof(q->data[0])); in der_heim_bmp_string_cmp()
[all …]
/freebsd/contrib/unbound/libunbound/
H A Dcontext.c126 free(q); in context_query_delete()
155 free(q); in context_new()
159 q->node.key = &q->querynum; in context_new()
166 free(q); in context_new()
172 free(q); in context_new()
184 return q; in context_new()
258 free(q); in context_deserialize_new_query()
263 q->node.key = &q->querynum; in context_deserialize_new_query()
267 free(q); in context_deserialize_new_query()
275 free(q); in context_deserialize_new_query()
[all …]
/freebsd/sys/dev/neta/
H A Dif_mvnetareg.h181 #define MVNETA_TQAC_V3(q) (0x3e80 + ((q) << 2)) argument
238 #define MVNETA_PRXITTH(q) (0x2580 + ((q) << 2)) argument
432 #define MVNETA_DF_QUEUE(q) ((q) << 1) argument
444 #define MVNETA_RQC_ENQ(q) (1 << (0 + (q))) argument
447 #define MVNETA_RQC_DISQ(q) (1 << (8 + (q))) argument
533 #define MVNETA_TQFPC_EN(q) (1 << (q)) argument
540 #define MVNETA_PXC_RXQ(q) ((q) << 1) argument
542 #define MVNETA_PXC_RXQARP(q) ((q) << 4) argument
551 #define MVNETA_PXC_TCPQ(q) ((q) << 16) argument
553 #define MVNETA_PXC_UDPQ(q) ((q) << 19) argument
[all …]
/freebsd/contrib/netbsd-tests/fs/ffs/
H A Dt_quotalimit.sh32 "hit hard limit quota with ${q} enabled" -b ${e} ${v} ${q}
58 local q=$4
62 case ${q} in
105 local q=$4
109 case ${q} in
152 local q=$4
156 case ${q} in
199 local q=$4
203 case ${q} in
246 local q=$4
[all …]
/freebsd/lib/msun/tests/
H A Drem_test.c108 int q; in test_invalid() local
141 int q; in testl() local
144 q = random(); in testl()
155 q = abs(q); in testl()
156 ATF_CHECK(q == (abs(expected_quo) & mask(q))); in testl()
163 int q; in testd() local
177 q = abs(q); in testd()
178 ATF_CHECK(q == (abs(expected_quo) & mask(q))); in testd()
185 int q; in testf() local
199 q = abs(q); in testf()
[all …]
/freebsd/usr.sbin/pw/
H A Dpw_conf.c229 char *q; in newstr() local
285 config.dotdir = (q == NULL || !boolean_val(q, 1)) in read_userconfig()
297 config.home = (q == NULL || !boolean_val(q, 1)) in read_userconfig()
322 q = unquote(q); in read_userconfig()
323 config.default_group = (q == NULL || !boolean_val(q, 1) || GETGRNAM(q) == NULL) in read_userconfig()
338 if ((q = unquote(q)) != NULL) { in read_userconfig()
347 if ((q = unquote(q)) != NULL) { in read_userconfig()
356 if ((q = unquote(q)) != NULL) { in read_userconfig()
365 if ((q = unquote(q)) != NULL) { in read_userconfig()
374 if ((q = unquote(q)) != NULL) { in read_userconfig()
[all …]
/freebsd/sys/netpfil/ipfw/
H A Ddn_sched_qfq.c326 q->iwsum = ONE_FP / q->wsum; /* XXX note theory */ in qfq_new_queue()
340 q->iwsum = ONE_FP / q->wsum; in qfq_free_queue()
384 q->bitmaps[dst] |= q->bitmaps[src] & mask; in qfq_move_groups()
497 (void)q; in qfq_slot_rotate()
507 ineligible = q->bitmaps[IR] | q->bitmaps[IB]; in qfq_update_eligible()
527 (void)q; in qfq_update_class()
563 grp = qfq_ffs(q, q->bitmaps[ER]); in qfq_dequeue()
575 q->V += (uint64_t)m->m_pkthdr.len * q->iwsum; in qfq_dequeue()
603 NO(if (!q->bitmaps[ER] && q->queued) in qfq_dequeue()
790 qfq_update_eligible(q, q->V);
[all …]
/freebsd/sys/dev/ath/ath_hal/ar5211/
H A Dar5211_xmit.c86 __func__, q); in ar5211SetTxQueueProps()
102 __func__, q); in ar5211GetTxQueueProps()
117 int q; in ar5211SetupTxQueue() local
121 q = 9; in ar5211SetupTxQueue()
124 q = 8; in ar5211SetupTxQueue()
127 q = 0; in ar5211SetupTxQueue()
129 return q; in ar5211SetupTxQueue()
142 __func__, q); in ar5211SetupTxQueue()
162 return q; in ar5211SetupTxQueue()
205 __func__, q); in ar5211ReleaseTxQueue()
[all …]

12345678910>>...73