Home
last modified time | relevance | path

Searched refs:pkgconf_buffer_str_or_empty (Results 1 – 16 of 16) sorted by relevance

/freebsd/contrib/pkgconf/libpkgconf/
H A Dbuffer.c189 if (!pkgconf_buffer_append(&tmpbuf, pkgconf_buffer_str_or_empty(buffer))) in pkgconf_buffer_prepend()
389 const char *haystack_str = pkgconf_buffer_str_or_empty(haystack); in pkgconf_buffer_has_prefix()
390 const char *prefix_str = pkgconf_buffer_str_or_empty(prefix); in pkgconf_buffer_has_prefix()
409 const char *haystack_str = pkgconf_buffer_str_or_empty(haystack); in pkgconf_buffer_contains()
410 const char *needle_str = pkgconf_buffer_str_or_empty(needle); in pkgconf_buffer_contains()
430 const char *haystack_str = pkgconf_buffer_str_or_empty(haystack); in pkgconf_buffer_contains_byte()
448 const char *haystack_str = pkgconf_buffer_str_or_empty(haystack); in pkgconf_buffer_match()
449 const char *needle_str = pkgconf_buffer_str_or_empty(needle); in pkgconf_buffer_match()
H A Dtuple.c79 return pkgconf_buffer_str_or_empty(&client->_scratch_buffer); in pkgconf_tuple_find_global()
274 return pkgconf_buffer_str_or_empty(&client->_scratch_buffer); in pkgconf_tuple_find()
H A Dlicense.c317 pkgconf_buffer_append(buf, pkgconf_buffer_str_or_empty(frag_string)); in pkgconf_license_render()
H A Dbytecode.c180 if (!pkgconf_bytecode_eval_append(ctx, out, pkgconf_buffer_str_or_empty(&ctx->sysroot))) in pkgconf_bytecode_eval_internal()
H A Dpkg.c369 if (strcmp(pkgconf_path_find_basename(pkgconf_buffer_str_or_empty(pathbuf)), "pkgconfig")) in determine_prefix()
504 const char *op = pkgconf_buffer_str_or_empty(&pkg->orig_prefix); in pkgconf_pkg_parser_value_set()
511 pkgconf_buffer_append(&newvalue, pkgconf_buffer_str_or_empty(&pkg->calculated_prefix)); in pkgconf_pkg_parser_value_set()
H A Dfragment.c768 pkgconf_buffer_append(buf, pkgconf_buffer_str_or_empty(&quoted)); in fragment_render()
H A Dlibpkgconf.h638 static inline const char *pkgconf_buffer_str_or_empty(const pkgconf_buffer_t *buffer) in pkgconf_buffer_str_or_empty() function
/freebsd/contrib/pkgconf/tests/
H A Dtest-runner.c191 env->value = strdup(pkgconf_buffer_str_or_empty(&expanded)); in environ_lookup_handler()
653 pkgconf_buffer_str_or_empty(expected), in report_failure()
654 pkgconf_buffer_str_or_empty(actual)); in report_failure()
895 setenv(env->key, pkgconf_buffer_str_or_empty(&expanded), 1); in run_tool()
986 pkgconf_buffer_str_or_empty(&set->buffer), strerror(errno)); in run_setup()
1003 pkgconf_buffer_str_or_empty(&set->buffer)); in run_setup()
1041 pkgconf_buffer_str_or_empty(&set->buffer)); in run_setup()
1118 pkgconf_buffer_str_or_empty(&search_path_buf), in annotate_result()
1119 pkgconf_buffer_str_or_empty(&wanted_flags_buf), in annotate_result()
1120 pkgconf_buffer_str_or_empty(&env_buf), in annotate_result()
[all …]
/freebsd/contrib/pkgconf/tests/api/
H A Dtest-bytecode.c56 TEST_ASSERT_STRCMP_EQ(pkgconf_buffer_str_or_empty(&out), "plain"); in test_emit_text_and_eval()
96 TEST_ASSERT_STRCMP_EQ(pkgconf_buffer_str_or_empty(&out), "hello world"); in test_emit_var_and_eval()
122 TEST_ASSERT_STRCMP_EQ(pkgconf_buffer_str_or_empty(&out), "/sysroot/usr/include"); in test_emit_sysroot_and_eval()
379 TEST_ASSERT_STRCMP_EQ(pkgconf_buffer_str_or_empty(&out), "old new"); in test_rewrite_selfrefs()
413 TEST_ASSERT_STRCMP_EQ(pkgconf_buffer_str_or_empty(&out), "OTHER tail"); in test_rewrite_selfrefs_no_match()
H A Dtest-serialize.c29 char *s = strdup(pkgconf_buffer_str_or_empty(&buf)); in render()
H A Dtest-license.c40 char *out = strdup(pkgconf_buffer_str_or_empty(&buf)); in render_to_string()
H A Dtest-buffer.c29 TEST_ASSERT_EMPTY_STRING(pkgconf_buffer_str_or_empty(&buf)); in test_buffer_empty()
/freebsd/contrib/pkgconf/cli/
H A Dcore.c395 pkgconf_buffer_prepend(&varbuf, pkgconf_buffer_str_or_empty(sysroot_dir)); in variable_eval()
457 prefix, pkgconf_buffer_str_or_empty(&render_buf)); in apply_env_var()
976 …le_add(client, &pkg_config_virtual->vars, "pc_system_libdirs", pkgconf_buffer_str_or_empty(&pc_sys… in register_builtins()
977 …dd(client, &pkg_config_virtual->vars, "pc_system_includedirs", pkgconf_buffer_str_or_empty(&pc_sys… in register_builtins()
978 …pkgconf_tuple_add(client, &pkg_config_virtual->vars, "pc_path", pkgconf_buffer_str_or_empty(&pc_pa… in register_builtins()
998 …pkgconf_tuple_add(client, &pkgconf_virtual->vars, "pc_system_libdirs", pkgconf_buffer_str_or_empty in register_builtins()
999 …e_add(client, &pkgconf_virtual->vars, "pc_system_includedirs", pkgconf_buffer_str_or_empty(&pc_sys… in register_builtins()
1000 …pkgconf_tuple_add(client, &pkgconf_virtual->vars, "pc_path", pkgconf_buffer_str_or_empty(&pc_path_… in register_builtins()
1238 …pkgconf_dependency_parse_str(&state->pkg_client, &deplist, pkgconf_buffer_str_or_empty(&queryparam… in pkgconf_cli_run()
H A Drenderer-msvc.c82 pkgconf_buffer_append(buf, pkgconf_buffer_str_or_empty(&tmpbuf)); in msvc_renderer_render()
/freebsd/contrib/pkgconf/cli/bomtool/
H A Dmain.c203 …OUTPUT_OR_RET_FALSE(client, sbom_out, "%s%s", pkgconf_buffer_str_or_empty(&set->buffer), node->pre… in write_copyright_lines()
244 …conf_output_file_fmt(sbom_out, "PackageLicenseDeclared: %s\n", pkgconf_buffer_str_or_empty(&licens… in write_sbom_package()
/freebsd/contrib/pkgconf/cli/spdxtool/
H A Dsoftware.c296 pkgconf_buffer_join(&copyright_buf, '\n', pkgconf_buffer_str_or_empty(&set->buffer), NULL); in serialize_copyright_lines_to_object()
299 …alize_object_add_string(object_list, "software_copyrightText", pkgconf_buffer_str_or_empty(&copyri… in serialize_copyright_lines_to_object()