Home
last modified time | relevance | path

Searched refs:client (Results 1 – 25 of 1368) sorted by relevance

12345678910>>...55

/freebsd/contrib/pkgconf/libpkgconf/
H A Dclient.c37 trace_path_list(const pkgconf_client_t *client, const char *desc, pkgconf_list_t *list) in trace_path_list() argument
41 PKGCONF_TRACE(client, "%s:", desc); in trace_path_list()
46 PKGCONF_TRACE(client, " - '%s'", p->path); in trace_path_list()
63 pkgconf_client_dir_list_build(pkgconf_client_t *client, const pkgconf_cross_personality_t *personal… in pkgconf_client_dir_list_build() argument
65 pkgconf_path_build_from_environ(client, "PKG_CONFIG_PATH", NULL, &client->dir_list, true); in pkgconf_client_dir_list_build()
67 if (!(client->flags & PKGCONF_PKG_PKGF_ENV_ONLY)) in pkgconf_client_dir_list_build()
77 (void) pkgconf_path_build_from_registry(client, HKEY_CURRENT_USER, &client->dir_list, true); in pkgconf_client_dir_list_build()
78 (void) pkgconf_path_build_from_registry(client, HKEY_LOCAL_MACHINE, &client->dir_list, true); in pkgconf_client_dir_list_build()
81 if (pkgconf_client_getenv(client, "PKG_CONFIG_LIBDIR") != NULL) in pkgconf_client_dir_list_build()
84 (void) pkgconf_path_build_from_environ(client, "PKG_CONFIG_LIBDIR", NULL, &dir_list, true); in pkgconf_client_dir_list_build()
[all …]
H A Dcache.c61 cache_dump(const pkgconf_client_t *client) in cache_dump() argument
65 PKGCONF_TRACE(client, "dumping package cache contents"); in cache_dump()
67 for (i = 0; i < client->cache_count; i++) in cache_dump()
69 const pkgconf_pkg_t *pkg = client->cache_table[i]; in cache_dump()
71 PKGCONF_TRACE(client, SIZE_FMT_SPECIFIER": %p(%s)", in cache_dump()
91 pkgconf_cache_lookup(pkgconf_client_t *client, const char *id) in pkgconf_cache_lookup() argument
93 if (client->cache_table == NULL) in pkgconf_cache_lookup()
98 pkg = bsearch(id, client->cache_table, in pkgconf_cache_lookup()
99 client->cache_count, sizeof (void *), in pkgconf_cache_lookup()
104 PKGCONF_TRACE(client, "found: %s @%p", id, *pkg); in pkgconf_cache_lookup()
[all …]
H A Dqueue.c100 pkgconf_queue_compile(pkgconf_client_t *client, pkgconf_pkg_t *world, pkgconf_list_t *list) in pkgconf_queue_compile() argument
109 pkgconf_dependency_parse(client, world, &world->required, pkgq->package, PKGCONF_PKG_DEPF_QUERY); in pkgconf_queue_compile()
140 pkgconf_queue_mark_public(pkgconf_client_t *client, pkgconf_pkg_t *pkg, void *data) in pkgconf_queue_mark_public() argument
156 PKGCONF_TRACE(client, "%s: updated, public", pkg->id); in pkgconf_queue_mark_public()
161 pkgconf_queue_collect_dependencies_main(pkgconf_client_t *client,
167 pkgconf_queue_collect_dependencies_walk(pkgconf_client_t *client, in pkgconf_queue_collect_dependencies_walk() argument
187 PKGCONF_TRACE(client, "WTF: unmatched dependency %p <%s>", dep, dep->package); in pkgconf_queue_collect_dependencies_walk()
191 if (pkg->serial == client->serial) in pkgconf_queue_collect_dependencies_walk()
194 if (client->flags & PKGCONF_PKG_PKGF_ITER_PKG_IS_PRIVATE) in pkgconf_queue_collect_dependencies_walk()
199 eflags |= pkgconf_queue_collect_dependencies_main(client, pkg, data, depth - 1); in pkgconf_queue_collect_dependencies_walk()
[all …]
H A Dpkg.c36 pkgconf_pkg_traverse_main(pkgconf_client_t *client,
136 typedef void (*pkgconf_pkg_parser_keyword_func_t)(pkgconf_client_t *client, pkgconf_pkg_t *pkg, con…
150 pkgconf_pkg_parser_tuple_func(pkgconf_client_t *client, pkgconf_pkg_t *pkg, const char *keyword, co… in pkgconf_pkg_parser_tuple_func() argument
160 *dest = pkgconf_bytecode_eval_str(client, &pkg->vars, value, NULL); in pkgconf_pkg_parser_tuple_func()
164 pkgconf_pkg_parser_bufferset_func(pkgconf_client_t *client, pkgconf_pkg_t *pkg, const char *keyword… in pkgconf_pkg_parser_bufferset_func() argument
172 pkgconf_bytecode_eval_str_to_buf(client, &pkg->vars, value, NULL, &buf); in pkgconf_pkg_parser_bufferset_func()
179 pkgconf_pkg_parser_link_abi_func(pkgconf_client_t *client, pkgconf_pkg_t *pkg, const char *keyword,… in pkgconf_pkg_parser_link_abi_func() argument
185 char *expanded = pkgconf_bytecode_eval_str(client, &pkg->vars, value, NULL); in pkgconf_pkg_parser_link_abi_func()
210 pkgconf_pkg_parser_version_func(pkgconf_client_t *client, pkgconf_pkg_t *pkg, const char *keyword, … in pkgconf_pkg_parser_version_func() argument
218 p = pkgconf_bytecode_eval_str(client, &pkg->vars, value, NULL); in pkgconf_pkg_parser_version_func()
[all …]
/freebsd/contrib/pkgconf/tests/api/
H A Dtest-client.c24 pkgconf_client_t *client = pkgconf_client_new(NULL, NULL, pers, NULL, NULL); in test_client_new_and_free() local
25 TEST_ASSERT_NONNULL(client); in test_client_new_and_free()
27 pkgconf_client_free(client); in test_client_new_and_free()
35 pkgconf_client_t client = { 0 }; in test_client_init_and_deinit_stack() local
38 pkgconf_client_init(&client, NULL, NULL, pers, NULL, NULL); in test_client_init_and_deinit_stack()
39 pkgconf_client_deinit(&client); in test_client_init_and_deinit_stack()
45 pkgconf_client_t *client = test_client_new(); in test_client_sysroot_dir() local
47 pkgconf_client_set_sysroot_dir(client, "/tmp/sysroot"); in test_client_sysroot_dir()
48 TEST_ASSERT_STRCMP_EQ(pkgconf_client_get_sysroot_dir(client), "/tmp/sysroot"); in test_client_sysroot_dir()
50 pkgconf_client_set_sysroot_dir(client, "/opt/sysroot"); in test_client_sysroot_dir()
[all …]
H A Dtest-tuple.c25 pkgconf_client_t *client = test_client_new(); in test_tuple_add_and_find() local
30 pkgconf_tuple_t *t = pkgconf_tuple_add(client, &tuples, "prefix", "/opt/foo", false, 0); in test_tuple_add_and_find()
33 const char *found = pkgconf_tuple_find(client, &tuples, "prefix"); in test_tuple_add_and_find()
38 pkgconf_client_free(client); in test_tuple_add_and_find()
44 pkgconf_client_t *client = test_client_new(); in test_tuple_find_absent() local
47 const char *found = pkgconf_tuple_find(client, &tuples, "nonexistent"); in test_tuple_find_absent()
51 pkgconf_client_free(client); in test_tuple_find_absent()
57 pkgconf_client_t *client = test_client_new(); in test_tuple_add_multiple() local
60 pkgconf_tuple_add(client, &tuples, "prefix", "/usr", false, 0); in test_tuple_add_multiple()
61 pkgconf_tuple_add(client, &tuples, "exec_prefix", "/usr/local", false, 0); in test_tuple_add_multiple()
[all …]
H A Dtest-license.c35 render_to_string(pkgconf_client_t *client, const pkgconf_list_t *list) in render_to_string() argument
38 pkgconf_license_render(client, list, &buf); in render_to_string()
48 pkgconf_client_t *client = test_client_new(); in test_license_insert_and_free() local
51 pkgconf_license_insert(client, &licenses, PKGCONF_LICENSE_EXPRESSION, "BSD-3-Clause"); in test_license_insert_and_free()
60 pkgconf_client_free(client); in test_license_insert_and_free()
78 pkgconf_client_t *client = test_client_new(); in test_license_evaluate_single() local
81 pkgconf_license_evaluate_str(client, &licenses, "BSD-3-Clause", 0); in test_license_evaluate_single()
89 pkgconf_client_free(client); in test_license_evaluate_single()
95 pkgconf_client_t *client = test_client_new(); in test_license_evaluate_or() local
98 pkgconf_license_evaluate_str(client, &licenses, "MIT OR ISC", 0); in test_license_evaluate_or()
[all …]
H A Dtest-bytecode.c45 pkgconf_client_t *client = test_client_new(); in test_emit_text_and_eval() local
55 TEST_ASSERT_TRUE(pkgconf_bytecode_eval(client, &vars, &bc, &out, &saw_sysroot)); in test_emit_text_and_eval()
61 pkgconf_client_free(client); in test_emit_text_and_eval()
82 pkgconf_client_t *client = test_client_new(); in test_emit_var_and_eval() local
95 TEST_ASSERT_TRUE(pkgconf_bytecode_eval(client, &vars, &bc, &out, &saw_sysroot)); in test_emit_var_and_eval()
101 pkgconf_client_free(client); in test_emit_var_and_eval()
107 pkgconf_client_t *client = test_client_new(); in test_emit_sysroot_and_eval() local
113 pkgconf_client_set_sysroot_dir(client, "/sysroot"); in test_emit_sysroot_and_eval()
120 TEST_ASSERT_TRUE(pkgconf_bytecode_eval(client, &vars, &bc, &out, &saw_sysroot)); in test_emit_sysroot_and_eval()
127 pkgconf_client_free(client); in test_emit_sysroot_and_eval()
[all …]
H A Dtest-fragment.c70 pkgconf_client_t *client = test_client_new(); in test_fragment_parse_cflags() local
74 TEST_ASSERT_TRUE(pkgconf_fragment_parse(client, &frags, &vars, "-I/usr/include -DFOO=1", 0)); in test_fragment_parse_cflags()
84 pkgconf_client_free(client); in test_fragment_parse_cflags()
90 pkgconf_client_t *client = test_client_new(); in test_fragment_parse_libs() local
94 TEST_ASSERT_TRUE(pkgconf_fragment_parse(client, &frags, &vars, "-L/usr/lib -lfoo -lbar", 0)); in test_fragment_parse_libs()
114 pkgconf_client_free(client); in test_fragment_parse_libs()
120 pkgconf_client_t *client = test_client_new(); in test_fragment_parse_empty() local
124 TEST_ASSERT_TRUE(pkgconf_fragment_parse(client, &frags, &vars, "", 0)); in test_fragment_parse_empty()
129 pkgconf_client_free(client); in test_fragment_parse_empty()
135 pkgconf_client_t *client = test_client_new(); in test_fragment_add_single() local
[all …]
/freebsd/crypto/openssl/test/ssl-tests/
H A D26-tls13_client_auth.cnf6 test-1 = 1-client-auth-TLSv1.3-request
7 test-2 = 2-client-auth-TLSv1.3-require-fail
8 test-3 = 3-client-auth-TLSv1.3-require
9 test-4 = 4-client-auth-TLSv1.3-require-non-empty-names
10 test-5 = 5-client-auth-TLSv1.3-noroot
11 test-6 = 6-client-auth-TLSv1.3-request-post-handshake
12 test-7 = 7-client-auth-TLSv1.3-require-fail-post-handshake
13 test-8 = 8-client-auth-TLSv1.3-require-post-handshake
14 test-9 = 9-client-auth-TLSv1.3-require-non-empty-names-post-handshake
15 test-10 = 10-client-auth-TLSv1.3-noroot-post-handshake
[all …]
H A D04-client_auth.cnf6 test-1 = 1-client-auth-flex-request
7 test-2 = 2-client-auth-flex-require-fail
8 test-3 = 3-client-auth-flex-require
9 test-4 = 4-client-auth-flex-rsa-pss
10 test-5 = 5-client-auth-flex-rsa-pss-bad
11 test-6 = 6-client-auth-flex-require-non-empty-names
12 test-7 = 7-client-auth-flex-noroot
14 test-9 = 9-client-auth-TLSv1-request
15 test-10 = 10-client-auth-TLSv1-require-fail
16 test-11 = 11-client-auth-TLSv1-require
[all …]
H A D17-renegotiate.cnf5 test-0 = 0-renegotiate-client-no-resume
6 test-1 = 1-renegotiate-client-resume
9 test-4 = 4-renegotiate-client-auth-require
10 test-5 = 5-renegotiate-client-auth-once
11 test-6 = 6-renegotiate-client-legacy-connect
16 test-11 = 11-no-renegotiation-server-by-client
18 test-13 = 13-no-renegotiation-client-by-server
19 test-14 = 14-no-renegotiation-client-by-client
21 test-16 = 16-allow-client-renegotiation
22 test-17 = 17-no-client-renegotiation
[all …]
H A D08-npn.cnf6 test-1 = 1-npn-client-finds-match
7 test-2 = 2-npn-client-honours-server-pref
8 test-3 = 3-npn-client-first-pref-on-mismatch
10 test-5 = 5-npn-no-client-support
11 test-6 = 6-npn-empty-client-list
21 test-16 = 16-npn-client-switch-resumption
22 test-17 = 17-npn-client-first-pref-on-mismatch-resumption
24 test-19 = 19-npn-no-client-support-resumption
34 client = 0-npn-simple-client
41 [0-npn-simple-client]
[all …]
H A D09-alpn.cnf10 test-5 = 5-alpn-no-client-support
17 test-12 = 12-alpn-client-switch-resumption
20 test-15 = 15-alpn-no-client-support-resumption
21 test-16 = 16-alpn-empty-client-list
30 client = 0-alpn-simple-client
37 [0-alpn-simple-client]
45 client = 0-alpn-simple-client-extra
50 [0-alpn-simple-client-extra]
61 client = 1-alpn-server-finds-match-client
68 [1-alpn-server-finds-match-client]
[all …]
H A D18-dtls-renegotiate.cnf5 test-0 = 0-renegotiate-client-no-resume
6 test-1 = 1-renegotiate-client-resume
8 test-3 = 3-renegotiate-client-auth-require
9 test-4 = 4-renegotiate-client-auth-once
16 [0-renegotiate-client-no-resume]
17 ssl_conf = 0-renegotiate-client-no-resume-ssl
19 [0-renegotiate-client-no-resume-ssl]
20 server = 0-renegotiate-client-no-resume-server
21 client = 0-renegotiate-client-no-resume-client
23 [0-renegotiate-client-no-resume-server]
[all …]
H A D10-resumption.cnf77 client = 0-resumption-client
79 resume-client = 0-resumption-client
96 [0-resumption-client]
114 client = 1-resumption-client
116 resume-client = 1-resumption-client
133 [1-resumption-client]
151 client = 2-resumption-client
153 resume-client = 2-resumption-client
170 [2-resumption-client]
188 client = 3-resumption-client
[all …]
H A D12-ct.cnf18 client = 0-ct-permissive-without-scts-client
25 [0-ct-permissive-without-scts-client]
32 client = 0-ct-permissive-without-scts-client-extra
34 [0-ct-permissive-without-scts-client-extra]
45 client = 1-ct-permissive-with-scts-client
52 [1-ct-permissive-with-scts-client]
59 client = 1-ct-permissive-with-scts-client-extra
61 [1-ct-permissive-with-scts-client-extra]
72 client = 2-ct-strict-without-scts-client
79 [2-ct-strict-without-scts-client]
[all …]
/freebsd/sys/dev/evdev/
H A Dcdev.c62 #define debugf(client, fmt, args...) printf("evdev cdev: "fmt"\n", ##args) argument
64 #define debugf(client, fmt, args...) argument
106 struct evdev_client *client; in evdev_open() local
115 client = malloc(offsetof(struct evdev_client, ec_buffer) + in evdev_open()
120 client->ec_buffer_size = buffer_size; in evdev_open()
121 client->ec_buffer_head = 0; in evdev_open()
122 client->ec_buffer_tail = 0; in evdev_open()
123 client->ec_buffer_ready = 0; in evdev_open()
125 client->ec_evdev = evdev; in evdev_open()
126 mtx_init(&client->ec_buffer_mtx, "evclient", "evdev", MTX_DEF); in evdev_open()
[all …]
/freebsd/sys/rpc/rpcsec_gss/
H A Dsvc_rpcsec_gss.c494 struct svc_rpc_gss_client *client; in rpc_gss_getcred() local
500 client = cc->cc_client; in rpc_gss_getcred()
502 *rcred = &client->cl_rawcred; in rpc_gss_getcred()
504 *ucred = &client->cl_ucred; in rpc_gss_getcred()
506 *cookie = client->cl_cookie; in rpc_gss_getcred()
519 struct svc_rpc_gss_client *client; in rpc_gss_svc_getcred() local
526 client = cc->cc_client; in rpc_gss_svc_getcred()
529 *flavorp = client->cl_rpcflavor; in rpc_gss_svc_getcred()
531 if (client->cl_cred) { in rpc_gss_svc_getcred()
532 *crp = crhold(client->cl_cred); in rpc_gss_svc_getcred()
[all …]
/freebsd/sbin/dhclient/
H A Ddhclient.c214 if (_ifi->client->active != NULL) { in disassoc()
217 _ifi->client->active); in disassoc()
218 if (_ifi->client->alias) in disassoc()
220 _ifi->client->alias); in disassoc()
223 _ifi->client->state = S_INIT; in disassoc()
271 for (l = ifi->client->active; l != NULL; l = l->next) in routehandler()
349 if (ifi->client->alias) in routehandler()
350 script_write_params("alias_", ifi->client->alias); in routehandler()
500 if (ifi->client->alias) in main()
501 priv_script_write_params("alias_", ifi->client->alias); in main()
[all …]
/freebsd/lib/librpcsec_gss/
H A Dsvc_rpcsec_gss.c320 struct svc_rpc_gss_client *client; in rpc_gss_getcred() local
325 client = req->rq_clntcred; in rpc_gss_getcred()
327 *rcred = &client->cl_rawcred; in rpc_gss_getcred()
329 *ucred = &client->cl_ucred; in rpc_gss_getcred()
331 *cookie = client->cl_cookie; in rpc_gss_getcred()
338 struct svc_rpc_gss_client *client = req->rq_clntcred; in rpc_gss_svc_max_data_length() local
344 switch (client->cl_rawcred.service) { in rpc_gss_svc_max_data_length()
362 maj_stat = gss_wrap_size_limit(&min_stat, client->cl_ctx, want_conf, in rpc_gss_svc_max_data_length()
363 client->cl_qop, max_tp_unit_len, &max); in rpc_gss_svc_max_data_length()
371 log_status("gss_wrap_size_limit", client->cl_mech, in rpc_gss_svc_max_data_length()
[all …]
/freebsd/crypto/heimdal/appl/gssmask/
H A Dgssmaestro.c43 struct client { struct
60 static struct client **clients; argument
64 init_sec_context(struct client *client, in init_sec_context() argument
72 put32(client, eInitContext); in init_sec_context()
73 put32(client, *hContext); in init_sec_context()
74 put32(client, *hCred); in init_sec_context()
75 put32(client, flags); in init_sec_context()
76 putstring(client, targetname); in init_sec_context()
77 putdata(client, *itoken); in init_sec_context()
78 ret32(client, *hContext); in init_sec_context()
[all …]
/freebsd/contrib/pkgconf/cli/spdxtool/
H A Dutil.c33 spdxtool_util_set_key(pkgconf_client_t *client, const char *key, const char *key_value, const char … in spdxtool_util_set_key() argument
35 PKGCONF_TRACE(client, "set uri_root to: %s", key_value != NULL ? key_value : key_default); in spdxtool_util_set_key()
36 pkgconf_tuple_add_global(client, key, key_value != NULL ? key_value : key_default); in spdxtool_util_set_key()
52 spdxtool_util_set_uri_root(pkgconf_client_t *client, const char *uri_root) in spdxtool_util_set_uri_root() argument
54 spdxtool_util_set_key(client, "spdx_uri_root", uri_root, "https://github.com/pkgconf/pkgconf"); in spdxtool_util_set_uri_root()
68 spdxtool_util_get_uri_root(pkgconf_client_t *client) in spdxtool_util_get_uri_root() argument
70 return pkgconf_tuple_find_global(client, "spdx_uri_root"); in spdxtool_util_get_uri_root()
85 spdxtool_util_set_uri_separator_colon(pkgconf_client_t *client, bool is_colon) in spdxtool_util_set_uri_separator_colon() argument
88 client->flags |= SPDXTOOL_SEPARATOR_COLON; in spdxtool_util_set_uri_separator_colon()
90 client->flags = client->flags & ~SPDXTOOL_SEPARATOR_COLON; in spdxtool_util_set_uri_separator_colon()
[all …]
/freebsd/contrib/pkgconf/doc/
H A Dlibpkgconf-client.rst2 libpkgconf `client` module
5 The libpkgconf `client` module implements the `pkgconf_client_t` "client" object.
9 Client objects are not thread safe, in other words, a client object should not be shared across
12 .. c:function:: void pkgconf_client_dir_list_build(pkgconf_client_t *client)
14 …straps the package search paths. If the ``PKGCONF_PKG_PKGF_ENV_ONLY`` `flag` is set on the client,
18 :param pkgconf_client_t* client: The pkgconf client object to bootstrap.
21 .. c:function:: void pkgconf_client_init(pkgconf_client_t *client, pkgconf_error_handler_func_t err…
23 Initialise a pkgconf client object.
25 :param pkgconf_client_t* client: The client to initialise.
33 Allocate and initialise a pkgconf client object.
[all …]
/freebsd/contrib/pkgconf/cli/bomtool/
H A Dmain.c45 #define OUTPUT_OR_RET(client, f, fmt, ...) \ argument
48 pkgconf_error((client), "bomtool: Could not output to file: %s", strerror(errno)); \
53 #define OUTPUT_OR_RET_FALSE(client, f, fmt, ...) \ argument
56 pkgconf_error((client), "bomtool: Could not output to file: %s", strerror(errno)); \
62 environ_lookup_handler(const pkgconf_client_t *client, const char *key) in environ_lookup_handler() argument
64 (void) client; in environ_lookup_handler()
70 error_handler(const char *msg, const pkgconf_client_t *client, void *data) in error_handler() argument
72 (void) client; in error_handler()
74 OUTPUT_OR_RET_FALSE(client, error_msgout, "%s", msg); in error_handler()
127 write_sbom_header(pkgconf_client_t *client, pkgconf_pkg_t *world) in write_sbom_header() argument
[all …]

12345678910>>...55