Home
last modified time | relevance | path

Searched refs:saw_sysroot (Results 1 – 9 of 9) sorted by relevance

/freebsd/contrib/pkgconf/tests/api/
H A Dtest-bytecode.c49 bool saw_sysroot = false; 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()
86 bool saw_sysroot = false; 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()
111 bool saw_sysroot = false; in test_emit_sysroot_and_eval() local
120 TEST_ASSERT_TRUE(pkgconf_bytecode_eval(client, &vars, &bc, &out, &saw_sysroot)); in test_emit_sysroot_and_eval()
121 TEST_ASSERT_TRUE(saw_sysroot); in test_emit_sysroot_and_eval()
164 bool saw_sysroot = false; in test_dollar_escape() local
167 char *out = pkgconf_bytecode_eval_str(client, &vars, "price: $$5 and $${notavar}", &saw_sysroot); in test_dollar_escape()
181 bool saw_sysroot = false; in test_malformed_unclosed() local
[all …]
H A Dtest-variable.c141 bool saw_sysroot = false; in test_variable_eval_str_plain() local
148 char *out = pkgconf_variable_eval_str(client, &vars, v, &saw_sysroot); in test_variable_eval_str_plain()
162 bool saw_sysroot = false; in test_variable_eval_str_with_reference() local
171 char *out = pkgconf_variable_eval_str(client, &vars, libdir, &saw_sysroot); in test_variable_eval_str_with_reference()
185 bool saw_sysroot = false; in test_variable_eval_str_chained() local
194 char *out = pkgconf_variable_eval_str(client, &vars, includedir, &saw_sysroot); in test_variable_eval_str_chained()
H A Dtest-tuple.c177 bool saw_sysroot = false; in test_tuple_define_variable_end_to_end() local
181 char *out = pkgconf_bytecode_eval_str(client, &vars, "-I${myprefix}/include", &saw_sysroot); in test_tuple_define_variable_end_to_end()
197 bool saw_sysroot = false; in test_tuple_define_variable_overrides_local() local
208 char *out = pkgconf_bytecode_eval_str(client, &vars, "${prefix}/lib", &saw_sysroot); in test_tuple_define_variable_overrides_local()
/freebsd/contrib/pkgconf/libpkgconf/
H A Dbytecode.c65 …_bytecode_eval_ctx_t *ctx, const pkgconf_bytecode_t *bc, pkgconf_buffer_t *out, bool *saw_sysroot);
107 …_bytecode_eval_ctx_t *ctx, const char *name, size_t nlen, pkgconf_buffer_t *out, bool *saw_sysroot) in pkgconf_bytecode_eval_var() argument
128 if (saw_sysroot != NULL) in pkgconf_bytecode_eval_var()
129 *saw_sysroot |= inner_saw; in pkgconf_bytecode_eval_var()
135 …f_bytecode_eval_ctx_t *ctx, const pkgconf_bytecode_t *bc, pkgconf_buffer_t *out, bool *saw_sysroot) in pkgconf_bytecode_eval_internal() argument
173 if (!pkgconf_bytecode_eval_var(ctx, op->data, op->size, out, saw_sysroot)) in pkgconf_bytecode_eval_internal()
178 if (saw_sysroot != NULL) in pkgconf_bytecode_eval_internal()
179 *saw_sysroot = true; in pkgconf_bytecode_eval_internal()
235 …const pkgconf_list_t *vars, const pkgconf_bytecode_t *bc, pkgconf_buffer_t *out, bool *saw_sysroot) in pkgconf_bytecode_eval() argument
246 if (saw_sysroot != NULL) in pkgconf_bytecode_eval()
[all …]
H A Dvariable.c136 bool *saw_sysroot) in pkgconf_variable_eval() argument
141 return pkgconf_bytecode_eval(client, tuples, &v->bc, out, saw_sysroot); in pkgconf_variable_eval()
148 bool *saw_sysroot) in pkgconf_variable_eval_str() argument
155 if (!pkgconf_variable_eval(client, tuples, v, &out, saw_sysroot)) in pkgconf_variable_eval_str()
H A Dfragment.c231 should_inject_sysroot(const pkgconf_client_t *client, const char *string, bool saw_sysroot, unsigne… in should_inject_sysroot() argument
248 if (saw_sysroot) in should_inject_sysroot()
264 …nt_t *client, const pkgconf_fragment_t *last, const char *string, bool saw_sysroot, unsigned int f… in should_inject_sysroot_child() argument
287 if (saw_sysroot) in should_inject_sysroot_child()
340 bool saw_sysroot = false; in pkgconf_fragment_add() local
343 if (!pkgconf_bytecode_eval_str_to_buf(client, vars, value, &saw_sysroot, &evalbuf)) in pkgconf_fragment_add()
392 if (should_inject_sysroot(client, string, saw_sysroot, flags)) in pkgconf_fragment_add()
412 if (should_inject_sysroot_child(client, last, string, saw_sysroot, flags)) in pkgconf_fragment_add()
H A Dtuple.c69 bool saw_sysroot = false; in pkgconf_tuple_find_global() local
77 …id) pkgconf_variable_eval(client, &client->global_vars, v, &client->_scratch_buffer, &saw_sysroot); in pkgconf_tuple_find_global()
H A Dlibpkgconf.h343 …st pkgconf_list_t *tuples, const pkgconf_bytecode_t *bc, pkgconf_buffer_t *out, bool *saw_sysroot);
350 …client_t *client, const pkgconf_list_t *vars, const char *input, bool *saw_sysroot, pkgconf_buffer…
351 …(const pkgconf_client_t *client, const pkgconf_list_t *vars, const char *input, bool *saw_sysroot);
363 …nst pkgconf_list_t *tuples, const pkgconf_variable_t *v, pkgconf_buffer_t *out, bool *saw_sysroot);
364 …nf_client_t *client, const pkgconf_list_t *tuples, const pkgconf_variable_t *v, bool *saw_sysroot);
/freebsd/contrib/pkgconf/cli/
H A Dcore.c380 bool saw_sysroot = false; in variable_eval() local
389 (void) pkgconf_variable_eval(client, vars, v, &varbuf, &saw_sysroot); in variable_eval()
391 if (!saw_sysroot && pkgconf_path_is_plausible(&varbuf)) in variable_eval()