| /src/lib/libc/net/ |
| H A D | getnetbydns.c | 271 char qbuf[MAXDNAME]; in _dns_getnetbyaddr() local 308 sprintf(qbuf, "0.0.0.0.in-addr.arpa"); in _dns_getnetbyaddr() 311 sprintf(qbuf, "0.0.0.%u.in-addr.arpa", netbr[3]); in _dns_getnetbyaddr() 314 sprintf(qbuf, "0.0.%u.%u.in-addr.arpa", netbr[3], netbr[2]); in _dns_getnetbyaddr() 317 sprintf(qbuf, "0.%u.%u.%u.in-addr.arpa", netbr[3], netbr[2], in _dns_getnetbyaddr() 321 sprintf(qbuf, "%u.%u.%u.%u.in-addr.arpa", netbr[3], netbr[2], in _dns_getnetbyaddr() 330 anslen = res_nquery(statp, qbuf, C_IN, T_PTR, (u_char *)buf, in _dns_getnetbyaddr() 380 char qbuf[MAXDNAME]; in _dns_getnetbyname() local 409 strncpy(qbuf, net, sizeof(qbuf) - 1); in _dns_getnetbyname() 410 qbuf[sizeof(qbuf) - 1] = '\0'; in _dns_getnetbyname() [all …]
|
| H A D | gethostbydns.c | 571 char qbuf[MAXDNAME+1], *qp; in _dns_gethostbyaddr() local 603 (void) sprintf(qbuf, "%u.%u.%u.%u.in-addr.arpa", in _dns_gethostbyaddr() 610 qp = qbuf; in _dns_gethostbyaddr() 616 strlcat(qbuf, "ip6.arpa", sizeof(qbuf)); in _dns_gethostbyaddr() 626 n = res_nquery(statp, qbuf, C_IN, T_PTR, (u_char *)buf->buf, in _dns_gethostbyaddr() 640 if (gethostanswer(buf, n, qbuf, T_PTR, &he, hed, statp) != 0) { in _dns_gethostbyaddr()
|
| H A D | hesiod.c | 349 unsigned char qbuf[PACKETSZ], abuf[MAX_HESRESP], *p, *eom, *eor; in get_txt_records() local 359 NULL, qbuf, PACKETSZ); in get_txt_records() 364 n = res_send(qbuf, n, abuf, MAX_HESRESP); in get_txt_records()
|
| /src/contrib/bearssl/src/rsa/ |
| H A D | rsa_i31_modulus.c | 33 const unsigned char *pbuf, *qbuf; in br_rsa_i31_compute_modulus() local 45 qbuf = sk->q; in br_rsa_i31_compute_modulus() 47 while (qlen > 0 && *qbuf == 0) { in br_rsa_i31_compute_modulus() 48 qbuf ++; in br_rsa_i31_compute_modulus() 73 br_i31_decode(t, qbuf, qlen); in br_rsa_i31_compute_modulus()
|
| H A D | rsa_i15_modulus.c | 33 const unsigned char *pbuf, *qbuf; in br_rsa_i15_compute_modulus() local 45 qbuf = sk->q; in br_rsa_i15_compute_modulus() 47 while (qlen > 0 && *qbuf == 0) { in br_rsa_i15_compute_modulus() 48 qbuf ++; in br_rsa_i15_compute_modulus() 73 br_i15_decode(t, qbuf, qlen); in br_rsa_i15_compute_modulus()
|
| H A D | rsa_i15_privexp.c | 63 const unsigned char *pbuf, *qbuf; in br_rsa_i15_compute_privexp() local 89 qbuf = sk->q; in br_rsa_i15_compute_privexp() 91 while (qlen > 0 && *qbuf == 0) { in br_rsa_i15_compute_privexp() 92 qbuf ++; in br_rsa_i15_compute_privexp() 96 || (qbuf[qlen - 1] & 1) != 1) in br_rsa_i15_compute_privexp() 113 br_i15_decode(q, qbuf, qlen); in br_rsa_i15_compute_privexp()
|
| H A D | rsa_i31_privexp.c | 63 const unsigned char *pbuf, *qbuf; in br_rsa_i31_compute_privexp() local 89 qbuf = sk->q; in br_rsa_i31_compute_privexp() 91 while (qlen > 0 && *qbuf == 0) { in br_rsa_i31_compute_privexp() 92 qbuf ++; in br_rsa_i31_compute_privexp() 96 || (qbuf[qlen - 1] & 1) != 1) in br_rsa_i31_compute_privexp() 113 br_i31_decode(q, qbuf, qlen); in br_rsa_i31_compute_privexp()
|
| /src/crypto/openssl/test/ |
| H A D | ecdsatest.c | 77 unsigned char *pbuf = NULL, *qbuf = NULL, *message = NULL; in x9_62_tests() local 124 || !TEST_ptr(qbuf = OPENSSL_hexstr2buf(ecdsa_cavs_kats[n].Q, &q_len)) in x9_62_tests() 126 || !TEST_mem_eq(qbuf, q_len, pbuf, p_len)) in x9_62_tests() 149 OPENSSL_free(qbuf); in x9_62_tests()
|
| /src/contrib/ldns/drill/ |
| H A D | drill.c | 151 uint16_t qbuf; in main() local 202 qbuf = 0; in main() 286 qbuf = (uint16_t)atoi(optarg); in main() 287 if (qbuf == 0) { in main() 676 if (qbuf != 0) { in main() 677 ldns_resolver_set_edns_udp_size(res, qbuf); in main()
|
| /src/contrib/ldns-host/ |
| H A D | ldns-host.c | 179 ldns_buffer *qbuf = NULL; in ldns_tcp_start() local 196 qbuf = ldns_buffer_new(LDNS_MAX_PACKETLEN); in ldns_tcp_start() 197 if (qbuf == NULL) { in ldns_tcp_start() 202 status = ldns_pkt2buffer_wire(qbuf, qpkt); in ldns_tcp_start() 206 if (ldns_tcp_send_query(qbuf, res->_socket, ns, (socklen_t)ns_len) == 0) { in ldns_tcp_start() 211 ldns_buffer_free(qbuf); in ldns_tcp_start() 216 ldns_buffer_free(qbuf); in ldns_tcp_start()
|
| /src/contrib/unbound/services/ |
| H A D | outside_network.c | 129 if((r = memcmp(q1->qbuf, q2->qbuf, 10)) != 0) in serviced_cmp() 131 if((r = memcmp(q1->qbuf+q1->qbuflen-4, q2->qbuf+q2->qbuflen-4, 4)) != 0) in serviced_cmp() 138 if((r = query_dname_compare(q1->qbuf+10, q2->qbuf+10)) != 0) in serviced_cmp() 2589 key.qbuf = sldns_buffer_begin(buff); 2646 sq->qbuf = regional_alloc_init(region, sldns_buffer_begin(buff), 2648 if(!sq->qbuf) { 2812 serviced_perturb_qname(struct ub_randstate* rnd, uint8_t* qbuf, size_t len) 2815 uint8_t* d = qbuf + 10; 2844 dname_str(qbuf+10, buf); 2874 serviced_perturb_qname(sq->outnet->rnd, sq->qbuf, sq->qbuflen); [all …]
|
| H A D | mesh.h | 647 int mesh_make_new_space(struct mesh_area* mesh, struct sldns_buffer* qbuf);
|
| H A D | outside_network.h | 456 uint8_t* qbuf; member
|
| H A D | mesh.c | 292 int mesh_make_new_space(struct mesh_area* mesh, sldns_buffer* qbuf) in mesh_make_new_space() argument 311 if(qbuf) sldns_buffer_copy(mesh->qbuf_bak, qbuf); in mesh_make_new_space() 323 if(qbuf) sldns_buffer_copy(qbuf, mesh->qbuf_bak); in mesh_make_new_space()
|
| /src/contrib/unbound/dnstap/ |
| H A D | dnstap.h | 215 uint8_t *qbuf, size_t qbuf_len,
|
| H A D | dnstap.c | 586 uint8_t *qbuf, size_t qbuf_len, in dt_msg_send_outside_response() argument 598 memcpy(&qflags, qbuf, sizeof(qflags)); in dt_msg_send_outside_response()
|
| /src/contrib/sendmail/src/ |
| H A D | sm_resolve.c | 997 char qbuf[MAXNAME_I]; local 1021 (void) dequote_internal_chars((char *)domain, qbuf, sizeof(qbuf)); 1022 query = qbuf; 1023 qdomain = qbuf;
|
| H A D | map.c | 3519 char qbuf[MAXLINE + NIS_MAXNAMELEN]; local 3546 (void) sm_strlcpy(qbuf, map->map_file, sizeof(qbuf)); 3551 (void) sm_strlcpyn(qbuf, sizeof(qbuf), 3, 3558 res = nis_lookup(qbuf, FOLLOW_LINKS); 3592 sm_dprintf("nisplus_map_open: %s is not a table\n", qbuf); 3663 char qbuf[MAXLINE + NIS_MAXNAMELEN]; local 3723 (void) sm_snprintf(qbuf, sizeof(qbuf), "[%s=%s],%s.%s", 3727 (void) sm_snprintf(qbuf, sizeof(qbuf), "[%s=%s],%s", 3731 sm_dprintf("qbuf=%s\n", qbuf); 3732 result = nis_list(qbuf, FOLLOW_LINKS | FOLLOW_PATH, NULL, NULL); [all …]
|
| /src/sys/contrib/dev/mediatek/mt76/ |
| H A D | dma.c | 758 struct mt76_queue_buf qbuf = {}; in mt76_dma_rx_fill_buf() local 770 qbuf.addr = page_pool_get_dma_addr(virt_to_head_page(buf)) + in mt76_dma_rx_fill_buf() 773 qbuf.len = len - q->buf_offset; in mt76_dma_rx_fill_buf() 774 qbuf.skip_unmap = false; in mt76_dma_rx_fill_buf() 775 if (mt76_dma_add_rx_buf(dev, q, &qbuf, buf) < 0) { in mt76_dma_rx_fill_buf()
|
| /src/contrib/ntp/ntpd/ |
| H A D | refclock_wwv.c | 940 static double qbuf[DATSIZ]; /* data Q channel delay line */ in wwv_rf() local 985 memset((char *)qbuf, 0, sizeof(qbuf)); in wwv_rf() 1041 up->qrig -= qbuf[iptr]; in wwv_rf() 1042 qbuf[iptr] = dtemp; in wwv_rf()
|
| /src/sys/dev/cxgbe/common/ |
| H A D | t4_hw.c | 7289 u16 qbuf[3]; in t4_config_rss_range() local 7290 u16 *qbp = qbuf; in t4_config_rss_range() 7294 qbuf[0] = qbuf[1] = qbuf[2] = 0; in t4_config_rss_range() 7302 *qp++ = cpu_to_be32(V_FW_RSS_IND_TBL_CMD_IQ0(qbuf[0]) | in t4_config_rss_range() 7303 V_FW_RSS_IND_TBL_CMD_IQ1(qbuf[1]) | in t4_config_rss_range() 7304 V_FW_RSS_IND_TBL_CMD_IQ2(qbuf[2])); in t4_config_rss_range()
|