/freebsd/contrib/wpa/src/ap/ |
H A D | gas_query_ap.c | 75 struct gas_query_pending *query); 132 static void gas_query_free(struct gas_query_pending *query, int del_list) in gas_query_free() argument 135 dl_list_del(&query->list); in gas_query_free() 137 wpabuf_free(query->req); in gas_query_free() 138 wpabuf_free(query->adv_proto); in gas_query_free() 139 wpabuf_free(query->resp); in gas_query_free() 140 os_free(query); in gas_query_free() 145 struct gas_query_pending *query, in gas_query_done() argument 150 MAC2STR(query->addr), query->dialog_token, query->freq, in gas_query_done() 151 query->status_code, gas_result_txt(result)); in gas_query_done() [all …]
|
H A D | ieee802_11_auth.c | 103 static void hostapd_acl_query_free(struct hostapd_acl_query_data *query) in hostapd_acl_query_free() argument 105 if (!query) in hostapd_acl_query_free() 107 os_free(query->auth_msg); in hostapd_acl_query_free() 108 os_free(query->anonce); in hostapd_acl_query_free() 109 os_free(query->eapol); in hostapd_acl_query_free() 110 os_free(query); in hostapd_acl_query_free() 116 struct hostapd_acl_query_data *query) in hostapd_radius_acl_query() argument 121 query->radius_id = radius_client_get_id(hapd->radius); in hostapd_radius_acl_query() 122 msg = radius_msg_new(RADIUS_CODE_ACCESS_REQUEST, query->radius_id); in hostapd_radius_acl_query() 168 if (query->akm && in hostapd_radius_acl_query() [all …]
|
/freebsd/contrib/wpa/wpa_supplicant/ |
H A D | gas_query.c | 81 struct gas_query_pending *query); 138 static void gas_query_free(struct gas_query_pending *query, int del_list) in gas_query_free() argument 140 struct gas_query *gas = query->gas; in gas_query_free() 143 dl_list_del(&query->list); in gas_query_free() 145 if (gas->work && gas->work->ctx == query) { in gas_query_free() 150 wpabuf_free(query->req); in gas_query_free() 151 wpabuf_free(query->adv_proto); in gas_query_free() 152 wpabuf_free(query->resp); in gas_query_free() 153 os_free(query); in gas_query_free() 158 struct gas_query_pending *query, in gas_query_done() argument [all …]
|
H A D | p2p_supplicant_sd.c | 150 const struct wpabuf *query) in wpas_p2p_service_get_bonjour() argument 155 len = wpabuf_len(query); in wpas_p2p_service_get_bonjour() 158 if (len == wpabuf_len(bsrv->query) && in wpas_p2p_service_get_bonjour() 159 os_memcmp(wpabuf_head(query), wpabuf_head(bsrv->query), in wpas_p2p_service_get_bonjour() 241 5 + wpabuf_len(bsrv->query) + wpabuf_len(bsrv->resp)) in wpas_sd_all_bonjour() 253 wpabuf_put_buf(resp, bsrv->query); /* Key */ in wpas_sd_all_bonjour() 261 static int match_bonjour_query(struct p2p_srv_bonjour *bsrv, const u8 *query, in match_bonjour_query() argument 266 if (query_len < 3 || wpabuf_len(bsrv->query) < 3) in match_bonjour_query() 268 if (os_memcmp(query + query_len - 3, in match_bonjour_query() 269 wpabuf_head_u8(bsrv->query) + wpabuf_len(bsrv->query) - 3, in match_bonjour_query() [all …]
|
/freebsd/sys/ofed/drivers/infiniband/core/ |
H A D | ib_sa_query.c | 487 static inline void ib_sa_disable_local_svc(struct ib_sa_query *query) in ib_sa_disable_local_svc() argument 489 query->flags &= ~IB_SA_ENABLE_LOCAL_SERVICE; in ib_sa_disable_local_svc() 609 void ib_sa_cancel_query(int id, struct ib_sa_query *query) in ib_sa_cancel_query() argument 616 if (idr_find(&query_idr, id) != query) { in ib_sa_cancel_query() 620 agent = query->port->agent; in ib_sa_cancel_query() 621 mad_buf = query->mad_buf; in ib_sa_cancel_query() 742 static int alloc_mad(struct ib_sa_query *query, gfp_t gfp_mask) in alloc_mad() argument 746 spin_lock_irqsave(&query->port->ah_lock, flags); in alloc_mad() 747 if (!query->port->sm_ah) { in alloc_mad() 748 spin_unlock_irqrestore(&query->port->ah_lock, flags); in alloc_mad() [all …]
|
/freebsd/crypto/heimdal/lib/hx509/ |
H A D | test_query.in | 62 ${hxtool} query \ 68 ${hxtool} query \ 74 ${hxtool} query \ 79 ${hxtool} query \ 84 ${hxtool} query \ 89 ${hxtool} query \ 95 ${hxtool} query \ 101 ${hxtool} query \ 108 ${hxtool} query \ 115 ${hxtool} query \ [all …]
|
H A D | ks_p11.c | 520 CK_ATTRIBUTE *query, int num_query, in iterate_entries() argument 544 query[i].pValue = NULL; in iterate_entries() 547 (session, object, query, num_query)); in iterate_entries() 552 query[i].pValue = malloc(query[i].ulValueLen); in iterate_entries() 553 if (query[i].pValue == NULL) { in iterate_entries() 559 (session, object, query, num_query)); in iterate_entries() 565 ret = (*func)(context, p, slot, session, object, ptr, query, num_query); in iterate_entries() 570 if (query[i].pValue) in iterate_entries() 571 free(query[i].pValue); in iterate_entries() 572 query[i].pValue = NULL; in iterate_entries() [all …]
|
/freebsd/contrib/ldns/ |
H A D | update.c | 94 ldns_pkt *query, *resp; in ldns_update_soa_mname() local 97 query = ldns_pkt_query_new(ldns_rdf_clone(zone), LDNS_RR_TYPE_SOA, in ldns_update_soa_mname() 99 if (!query) { in ldns_update_soa_mname() 103 ldns_pkt_set_random_id(query); in ldns_update_soa_mname() 104 if (ldns_resolver_send_pkt(&resp, r, query) != LDNS_STATUS_OK) { in ldns_update_soa_mname() 105 ldns_pkt_free(query); in ldns_update_soa_mname() 108 ldns_pkt_free(query); in ldns_update_soa_mname() 137 ldns_pkt *query, *resp; in ldns_update_soa_zone_mname() local 148 query = ldns_pkt_query_new(fqdn_rdf, LDNS_RR_TYPE_SOA, c, LDNS_RD); in ldns_update_soa_zone_mname() 149 if (!query) { in ldns_update_soa_zone_mname() [all …]
|
/freebsd/contrib/bmake/unit-tests/ |
H A D | opt-query.exp | 3 commands: query status 1 6 opt-query-file.out-of-date in compat mode: query status 1 10 opt-query-file.up-to-date in compat mode: query status 0 13 phony in compat mode: query status 1 16 opt-query-file.out-of-date in jobs mode: query status 1 19 opt-query-file.up-to-date in jobs mode: query status 0 22 phony in jobs mode: query status 1
|
H A D | opt-query.mk | 24 _!= touch -f opt-query-file.up-to-date 37 . for target in opt-query-file.out-of-date opt-query-file.up-to-date phony 57 @rm -f opt-query-file.up-to-date 79 opt-query-file.out-of-date: ${MAKEFILE} 80 opt-query-file.up-to-date: ${MAKEFILE}
|
/freebsd/contrib/kyua/cli/ |
H A D | cmd_db_exec_test.cpp | 67 sqlite::statement query = db.create_statement("SELECT * FROM test"); in do_format_cell_test() local 68 ATF_REQUIRE(query.step()); in do_format_cell_test() 69 ATF_REQUIRE_EQ(exp_value, cli::format_cell(query, 0)); in do_format_cell_test() 70 ATF_REQUIRE(!query.step()); in do_format_cell_test() 124 sqlite::statement query = db.create_statement( in ATF_TEST_CASE_BODY() local 126 ATF_REQUIRE_EQ("c1,c2,c3bis", cli::format_headers(query)); in ATF_TEST_CASE_BODY() 146 sqlite::statement query = db.create_statement("SELECT * FROM test"); in ATF_TEST_CASE_BODY() local 147 query.step(); in ATF_TEST_CASE_BODY() 150 cli::format_row(query)); in ATF_TEST_CASE_BODY()
|
/freebsd/contrib/unbound/contrib/ |
H A D | unbound_munin_ | 86 unbound_munin_histogram - histogram of query resolving times 300 tp=`echo $nm | sed -e s/num.query.type.//` 312 tp=`echo $nm | sed -e s/num.query.class.//` 324 tp=`echo $nm | sed -e s/num.query.opcode.//` 455 total.num.cachehits total.num.prefetch num.query.tcp \ 456 num.query.tcpout num.query.udpout num.query.tls num.query.tls.resume \ 457 num.query.ipv6 unwanted.queries \ 501 …query.flags.QR num.query.flags.AA num.query.flags.TC num.query.flags.RD num.query.flags.RA num.que…
|
H A D | aaaa-filter-iterator.patch | 13 +This also causes an additional A query to be sent for each AAAA query. 84 + /* ASN: If this is not a AAAA query, then remove AAAA 85 + * records, no questions asked. If this IS a AAAA query 129 + * @param qstate: query state. 130 + * @param iq: iterator query state. 135 + * a SERVFAIL response because the query has hit a dead end. 145 + /* flag the query properly in order to not loop */ 148 + /* re-throw same query, but with a different type */ 164 + /* set this query as waiting */ 177 + /* ASN: If we have a AAAA query, then also query for A records */ [all …]
|
H A D | metrics.awk | 75 if(x ~ /^num.query.type./) { 87 if(x ~ /^num.query.class./) { 99 if(x ~ /^num.query.opcode./) { 123 if(x ~ /^num.query.flags./) {
|
/freebsd/contrib/kyua/store/ |
H A D | dbtypes_test.cpp | 70 sqlite::statement query = db.create_statement("SELECT * FROM test"); in do_ok_test() local 71 ATF_REQUIRE(query.step()); in do_ok_test() 72 ATF_REQUIRE(column(query, "column") == value); in do_ok_test() 73 ATF_REQUIRE(!query.step()); in do_ok_test() 96 sqlite::statement query = db.create_statement("SELECT * FROM test"); in do_invalid_test() local 97 ATF_REQUIRE(query.step()); in do_invalid_test() 99 column(query, "column")); in do_invalid_test() 100 ATF_REQUIRE(!query.step()); in do_invalid_test()
|
/freebsd/usr.bin/whois/ |
H A D | whois.c | 433 whois(const char *query, const char *hostname, const char *hostport, int flags) in whois() argument 462 for (q = query; *q != '\0'; q++) in whois() 465 fprintf(fp, "-T dn%s %s\r\n", idn ? "" : ",ace", query); in whois() 469 fprintf(fp, "--show-handles %s\r\n", query); in whois() 471 strchr(query, ' ') != NULL) in whois() 472 fprintf(fp, "%s\r\n", query); in whois() 474 if (strncasecmp(query, "AS", 2) == 0 && in whois() 475 strspn(query+2, "0123456789") == strlen(query+2)) in whois() 476 fprintf(fp, "+ a %s\r\n", query+2); in whois() 478 fprintf(fp, "+ %s\r\n", query); in whois() [all …]
|
/freebsd/crypto/openssl/doc/man7/ |
H A D | property.pod | 63 A I<property query clause> is a single conditional test. 71 A I<property query> is a sequence of comma separated property query clauses. 72 It is an error if a property name appears in more than one query clause. 93 B<-> is a prefix operator that means any global query clause involving the 110 When an algorithm is looked up, a property query is used to determine 112 All mandatory query clauses B<must> be present and the implementation 113 that additionally has the largest number of matching optional query 127 Two levels of property query are supported. 128 A context based property query that applies to all fetch operations and a local 129 property query. [all …]
|
/freebsd/contrib/wpa/src/drivers/ |
H A D | ndis_events.c | 399 WCHAR query[256]; in notification_query() local 401 _snwprintf(query, 256, in notification_query() 403 wpa_printf(MSG_DEBUG, "ndis_events: WMI: %S", query); in notification_query() 405 pSvc, L"WQL", query, 0, 0, pDestSink); in notification_query() 490 WCHAR query[MAX_QUERY_LEN]; in ndis_events_get_adapter() local 515 _snwprintf(query, MAX_QUERY_LEN, in ndis_events_get_adapter() 518 wpa_printf(MSG_DEBUG, "ndis_events: WMI: %S", query); in ndis_events_get_adapter() 521 pSvc, L"WQL", query, in ndis_events_get_adapter() 555 _snwprintf(query, MAX_QUERY_LEN, in ndis_events_get_adapter() 559 wpa_printf(MSG_DEBUG, "ndis_events: WMI: %S", query); in ndis_events_get_adapter() [all …]
|
/freebsd/sys/dev/bhnd/cores/pmu/ |
H A D | bhnd_pmu.c | 142 error = bhnd_pmu_query_init(&sc->query, dev, sc->cid, &bhnd_pmu_res_io, in bhnd_pmu_attach() 146 sc->io = sc->query.io; in bhnd_pmu_attach() 147 sc->io_ctx = sc->query.io_ctx; in bhnd_pmu_attach() 204 bhnd_pmu_query_fini(&sc->query); in bhnd_pmu_attach() 232 bhnd_pmu_query_fini(&sc->query); in bhnd_pmu_detach() 277 freq = bhnd_pmu_si_clock(&sc->query); in bhnd_pmu_sysctl_bus_freq() 292 freq = bhnd_pmu_cpu_clock(&sc->query); in bhnd_pmu_sysctl_cpu_freq() 307 freq = bhnd_pmu_mem_clock(&sc->query); in bhnd_pmu_sysctl_mem_freq() 527 *freq = bhnd_pmu_si_clock(&sc->query); in bhnd_pmu_get_clock_freq_method() 531 *freq = bhnd_pmu_alp_clock(&sc->query); in bhnd_pmu_get_clock_freq_method() [all …]
|
/freebsd/crypto/openssh/.github/ |
H A D | ci-status.md | 2 ….svg)](https://github.com/openssh/openssh-portable/actions/workflows/c-cpp.yml?query=branch:master) 3 …ithub.com/openssh/openssh-portable-selfhosted/actions/workflows/selfhosted.yml?query=branch:master) 4 …/github.com/openssh/openssh-portable-selfhosted/actions/workflows/upstream.yml?query=branch:master) 10 …V_9_9)](https://github.com/openssh/openssh-portable/actions/workflows/c-cpp.yml?query=branch:V_9_9) 11 …github.com/openssh/openssh-portable-selfhosted/actions/workflows/selfhosted.yml?query=branch:V_9_9)
|
/freebsd/sys/dev/mlx5/mlx5_fpga/ |
H A D | mlx5fpga_core.c | 149 struct mlx5_fpga_query query; in mlx5_fpga_device_load_check() local 153 err = mlx5_fpga_query(fdev->mdev, &query); in mlx5_fpga_device_load_check() 159 fdev->last_admin_image = query.admin_image; in mlx5_fpga_device_load_check() 160 fdev->last_oper_image = query.oper_image; in mlx5_fpga_device_load_check() 161 fdev->image_status = query.image_status; in mlx5_fpga_device_load_check() 164 query.image_status, query.admin_image, query.oper_image); in mlx5_fpga_device_load_check() 171 if (query.image_status != MLX5_FPGA_STATUS_SUCCESS) { in mlx5_fpga_device_load_check() 174 query.image_status); in mlx5_fpga_device_load_check()
|
/freebsd/contrib/sendmail/src/ |
H A D | sm_resolve.c | 536 gen_dns_reply(buf, buflen, bufpos, query, qtype, domain, class, type, ttl, size, data, txtlen, pref… in gen_dns_reply() argument 540 const char *query; 570 SM_REQUIRE(query != NULL); 580 query, domain, dns_type_to_string(type), size, ad); 598 n = dn_comp(query, cp, ep - cp - QFIXEDSZ, dnptrs, lastdnptr); 831 dnscrtrr(domain, query, qtype, value, rr_type, flags, herr, adp, answer, anslen, anspos) in dnscrtrr() argument 833 const char *query; 906 query, qtype, domain, C_IN, rr_type, ttl, 916 query, qtype, domain, C_IN, rr_type, ttl, 931 query, qtype, domain, C_IN, rr_type, ttl, [all …]
|
/freebsd/usr.bin/resizewin/ |
H A D | resizewin.c | 43 static const char query[] = variable 103 if (write(fd, query, sizeof(query) - 1) != sizeof(query) - 1) { in main()
|
/freebsd/lib/libc/resolv/ |
H A D | res_debug.h | 25 # define DprintQ(cond, args, query, size) /*empty*/ argument 30 # define DprintQ(cond, args, query, size) if (cond) {\ argument 32 res_pquery(statp, query, size, stdout);\
|
/freebsd/contrib/blocklist/diff/ |
H A D | named.diff | 61 main.c notify.c query.c server.c sortlist.c statschannel.c \ 119 Index: dist/bin/named/query.c 121 RCS file: /cvsroot/src/external/bsd/bind/dist/bin/named/query.c,v 123 diff -u -u -r1.17 query.c 124 --- dist/bin/named/query.c 10 Dec 2014 04:37:52 -0000 1.17 125 +++ dist/bin/named/query.c 23 Jan 2015 21:37:09 -0000 142 char msg[NS_CLIENT_ACLMSGSIZE("query")]; 152 * We were allowed by the "allow-query-cache" ACL.
|