Home
last modified time | relevance | path

Searched refs:pkgconf_buffer_append (Results 1 – 20 of 20) sorted by relevance

/freebsd/contrib/pkgconf/tests/api/
H A Dtest-buffer.c40 TEST_ASSERT_TRUE(pkgconf_buffer_append(&buf, "hello")); in test_buffer_append()
44 TEST_ASSERT_TRUE(pkgconf_buffer_append(&buf, " world")); in test_buffer_append()
86 pkgconf_buffer_append(&buf, "world"); in test_buffer_prepend()
112 pkgconf_buffer_append(&buf, "hello\n"); in test_buffer_trim_byte()
130 pkgconf_buffer_append(&buf, "some content"); in test_buffer_reset()
137 TEST_ASSERT_TRUE(pkgconf_buffer_append(&buf, "fresh")); in test_buffer_reset()
148 pkgconf_buffer_append(&buf, "frozen"); in test_buffer_freeze()
166 pkgconf_buffer_append(&src, "original"); in test_buffer_copy()
167 pkgconf_buffer_append(&dst, "to be replaced"); in test_buffer_copy()
193 pkgconf_buffer_append(&hay, "the quick brown fox"); in test_buffer_contains()
[all …]
H A Dtest-path-utils.c48 pkgconf_buffer_append(&buf, "/usr/lib/pkgconfig/foo.pc"); in test_path_trim_basename()
61 pkgconf_buffer_append(&buf, "foo.pc"); in test_path_trim_basename()
74 pkgconf_buffer_append(&buf, "/opt/foo/lib/pkgconfig/bar.pc"); in test_determine_prefix_logic()
83 pkgconf_buffer_append(&buf, "/pkgconfig/foo.pc"); in test_determine_prefix_logic()
91 pkgconf_buffer_append(&buf, "lib/pkgconfig/foo.pc"); in test_determine_prefix_logic()
99 pkgconf_buffer_append(&buf, "/usr/lib/pkgconfig/"); in test_determine_prefix_logic()
220 pkgconf_buffer_append(&buf, text); in plausible()
/freebsd/contrib/pkgconf/cli/spdxtool/
H A Dserialize.c29 pkgconf_buffer_append(buffer, "\\\""); in serialize_escape_string()
32 pkgconf_buffer_append(buffer, "\\\\"); in serialize_escape_string()
35 pkgconf_buffer_append(buffer, "\\b"); in serialize_escape_string()
38 pkgconf_buffer_append(buffer, "\\f"); in serialize_escape_string()
41 pkgconf_buffer_append(buffer, "\\n"); in serialize_escape_string()
44 pkgconf_buffer_append(buffer, "\\r"); in serialize_escape_string()
47 pkgconf_buffer_append(buffer, "\\t"); in serialize_escape_string()
62 pkgconf_buffer_append(buffer, " "); in serialize_add_indent()
93 pkgconf_buffer_append(buffer, value->value.b ? "true" : "false"); in spdxtool_serialize_value_to_buf()
96 pkgconf_buffer_append(buffer, "null"); in spdxtool_serialize_value_to_buf()
H A Dmain.c209 pkgconf_buffer_append(&queryparams, argv[pkg_optind]); in main()
/freebsd/contrib/pkgconf/cli/
H A Drenderer-msvc.c68 pkgconf_buffer_append(buf, "/libpath:"); in msvc_renderer_render()
72 pkgconf_buffer_append(&tmpbuf, frag->data); in msvc_renderer_render()
75 pkgconf_buffer_append(&tmpbuf, ".lib"); in msvc_renderer_render()
82 pkgconf_buffer_append(buf, pkgconf_buffer_str_or_empty(&tmpbuf)); in msvc_renderer_render()
H A Dcore.c849 pkgconf_buffer_append(&render_buf, pkgconf_buffer_str(&tag->buffer)); in apply_link_abi()
924 pkgconf_buffer_append(buffer, pn->path); in path_list_to_buffer()
1234 pkgconf_buffer_append(&queryparams, argv[last_argc]); in pkgconf_cli_run()
/freebsd/contrib/pkgconf/libpkgconf/
H A Dbuffer.c62 pkgconf_buffer_append(pkgconf_buffer_t *buffer, const char *text) in pkgconf_buffer_append() function
139 bool ret = pkgconf_buffer_append(buffer, buf); in pkgconf_buffer_append_vfmt()
186 if (text != NULL && !pkgconf_buffer_append(&tmpbuf, text)) in pkgconf_buffer_prepend()
189 if (!pkgconf_buffer_append(&tmpbuf, pkgconf_buffer_str_or_empty(buffer))) in pkgconf_buffer_prepend()
339 if (!pkgconf_buffer_append(buffer, arg)) in pkgconf_buffer_vjoin()
488 return pkgconf_buffer_append(dest, pkgconf_buffer_str(src)); in pkgconf_buffer_subst()
494 if (!pkgconf_buffer_append(dest, value)) in pkgconf_buffer_subst()
H A Dpersonality.c115 if (!pkgconf_buffer_append(&path1, localbase) || in build_default_search_path()
116 !pkgconf_buffer_append(&path1, "/libdata/pkgconfig")) in build_default_search_path()
122 if (!pkgconf_buffer_append(&path2, localbase) || in build_default_search_path()
123 !pkgconf_buffer_append(&path2, "/share/pkgconfig")) in build_default_search_path()
312 pkgconf_buffer_append(&pathbuf, path); in load_personality_with_path()
419 if (!pkgconf_buffer_append(&path, localbase) || in pkgconf_cross_personality_find()
420 !pkgconf_buffer_append(&path, in pkgconf_cross_personality_find()
H A Dfragment.c396 pkgconf_buffer_append(&sysroot_buf, client->sysroot_dir); in pkgconf_fragment_add()
397 pkgconf_buffer_append(&sysroot_buf, string + 2); in pkgconf_fragment_add()
416 pkgconf_buffer_append(&sysroot_buf, client->sysroot_dir); in pkgconf_fragment_add()
417 pkgconf_buffer_append(&sysroot_buf, string); in pkgconf_fragment_add()
768 pkgconf_buffer_append(buf, pkgconf_buffer_str_or_empty(&quoted)); in fragment_render()
908 pkgconf_buffer_append(&greedybuf, argv[i]); in pkgconf_fragment_parse()
909 pkgconf_buffer_append(&greedybuf, argv[i + 1]); in pkgconf_fragment_parse()
H A Doutput.c28 pkgconf_buffer_append(&buf, pkgconf_buffer_str(buffer)); in pkgconf_output_putbuf()
45 pkgconf_buffer_append(&buf, str); in pkgconf_output_puts()
H A Dpath.c70 pkgconf_buffer_append(&pathbuf, text); in prepare_path_node()
270 pkgconf_buffer_append(&relocated, path); in pkgconf_path_match_list()
450 pkgconf_buffer_append(buf, tmpbuf); in pkgconf_path_relocate()
H A Dpkg.c64 pkgconf_buffer_append(&buf, pkg->filename); in pkg_get_parent_dir()
77 pkgconf_buffer_append(&pathbuf, buf.base); in pkg_get_parent_dir()
124 pkgconf_buffer_append(&buf, sourcebuf); in pkg_get_parent_dir()
364 pkgconf_buffer_append(pathbuf, pkg->filename); in determine_prefix()
485 if (!pkgconf_buffer_append(&canonicalized_value, value)) 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()
512 pkgconf_buffer_append(&newvalue, pkgconf_buffer_str(&canonicalized_value) + oplen); in pkgconf_pkg_parser_value_set()
532 pkgconf_buffer_append(&pkg->orig_prefix, pkgconf_buffer_str(&canonicalized_value)); in pkgconf_pkg_parser_value_set()
533 pkgconf_buffer_append(&pkg->calculated_prefix, prefix_value); in pkgconf_pkg_parser_value_set()
773 pkgconf_buffer_append(&abibuf, "c"); in pkgconf_pkg_new_from_path()
H A Ddependency.c46 pkgconf_buffer_append(buf, dep->package); in dependency_to_buf()
338 if (!pkgconf_buffer_append(&buf, depends)) in pkgconf_dependency_parse_str()
341 if (!pkgconf_buffer_append(&buf, " ")) in pkgconf_dependency_parse_str()
H A Dbufferset.c40 if (!pkgconf_buffer_append(&set->buffer, pkgconf_buffer_str(buffer))) in pkgconf_bufferset_extend()
H A Dlicense.c317 pkgconf_buffer_append(buf, pkgconf_buffer_str_or_empty(frag_string)); in pkgconf_license_render()
H A Dqueue.c55 pkgconf_buffer_append(&depbuf, dep->package); in pkgconf_queue_push_dependency()
H A Dbytecode.c215 if (!pkgconf_buffer_append(&ctx->sysroot, raw)) in pkgconf_bytecode_eval_ctx_init()
H A Dlibpkgconf.h595 PKGCONF_API bool pkgconf_buffer_append(pkgconf_buffer_t *buffer, const char *text);
/freebsd/contrib/pkgconf/tests/
H A Dtest-runner.c227 pkgconf_buffer_append(dest, pkgconf_buffer_str(buffer)); in write_handler()
274 pkgconf_buffer_append(&workbuf_dest, pkgconf_buffer_str(src)); in handle_substs()
279 pkgconf_buffer_append(&workbuf_src, pkgconf_buffer_str(&workbuf_dest)); in handle_substs()
285 pkgconf_buffer_append(dest, pkgconf_buffer_str(&workbuf_dest)); in handle_substs()
446 pkgconf_buffer_append(&pathbuf, prefix); in prefixed_path_split()
448 pkgconf_buffer_append(&pathbuf, p); in prefixed_path_split()
761 pkgconf_buffer_append(&child, path); in rmdir_recursive()
763 pkgconf_buffer_append(&child, ent->d_name); in rmdir_recursive()
873 pkgconf_buffer_append(&cmdbuf, pkgconf_buffer_str(&test_tool_dir)); in run_tool()
877 pkgconf_buffer_append(&cmdbuf, pkgconf_buffer_str(&testcase->tool)); in run_tool()
[all …]
/freebsd/contrib/pkgconf/cli/bomtool/
H A Dmain.c107 pkgconf_buffer_append(&name, "SBOM-SPDX"); in sbom_name()
464 pkgconf_buffer_append(&queryparams, argv[pkg_optind]); in main()