| /freebsd/contrib/pkgconf/libpkgconf/ |
| H A D | buffer.c | 189 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 D | tuple.c | 79 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 D | license.c | 317 pkgconf_buffer_append(buf, pkgconf_buffer_str_or_empty(frag_string)); in pkgconf_license_render()
|
| H A D | bytecode.c | 180 if (!pkgconf_bytecode_eval_append(ctx, out, pkgconf_buffer_str_or_empty(&ctx->sysroot))) in pkgconf_bytecode_eval_internal()
|
| H A D | pkg.c | 369 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 D | fragment.c | 768 pkgconf_buffer_append(buf, pkgconf_buffer_str_or_empty("ed)); in fragment_render()
|
| H A D | libpkgconf.h | 638 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 D | test-runner.c | 191 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 D | test-bytecode.c | 56 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 D | test-serialize.c | 29 char *s = strdup(pkgconf_buffer_str_or_empty(&buf)); in render()
|
| H A D | test-license.c | 40 char *out = strdup(pkgconf_buffer_str_or_empty(&buf)); in render_to_string()
|
| H A D | test-buffer.c | 29 TEST_ASSERT_EMPTY_STRING(pkgconf_buffer_str_or_empty(&buf)); in test_buffer_empty()
|
| /freebsd/contrib/pkgconf/cli/ |
| H A D | core.c | 395 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 D | renderer-msvc.c | 82 pkgconf_buffer_append(buf, pkgconf_buffer_str_or_empty(&tmpbuf)); in msvc_renderer_render()
|
| /freebsd/contrib/pkgconf/cli/bomtool/ |
| H A D | main.c | 203 …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 D | software.c | 296 pkgconf_buffer_join(©right_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(©ri… in serialize_copyright_lines_to_object()
|