Searched refs:pkgconf_buffer_len (Results 1 – 14 of 14) sorted by relevance
| /freebsd/contrib/pkgconf/libpkgconf/ |
| H A D | buffer.c | 65 size_t newsize = pkgconf_buffer_len(buffer) + needed; in pkgconf_buffer_append() 71 char *newend = newbase + pkgconf_buffer_len(buffer); in pkgconf_buffer_append() 195 if (pkgconf_buffer_len(&tmpbuf)) in pkgconf_buffer_prepend() 217 size_t newsize = pkgconf_buffer_len(buffer) + 1; in pkgconf_buffer_push_byte() 245 size_t len = pkgconf_buffer_len(buffer); in pkgconf_buffer_trim_byte() 295 if (pkgconf_buffer_len(buffer) != 0) in pkgconf_buffer_fputs() 451 if (pkgconf_buffer_len(haystack) != pkgconf_buffer_len(needle)) in pkgconf_buffer_match() 454 return memcmp(haystack_str, needle_str, pkgconf_buffer_len(haystack)) == 0; in pkgconf_buffer_match() 484 if (!pkgconf_buffer_len(src)) in pkgconf_buffer_subst() 528 if (!pkgconf_buffer_len(src)) in pkgconf_buffer_escape()
|
| H A D | bytecode.c | 37 size_t cur = pkgconf_buffer_len(out); in pkgconf_bytecode_eval_append_slice() 218 while (pkgconf_buffer_len(&ctx->sysroot) > 1 && ctx->sysroot.end[-1] == '/') in pkgconf_bytecode_eval_ctx_init() 225 if (pkgconf_buffer_len(&ctx->sysroot) == 1 && ctx->sysroot.base[0] == '/') in pkgconf_bytecode_eval_ctx_init() 430 if (pkgconf_buffer_len(&out) > 0) in pkgconf_bytecode_eval_str() 437 if (pkgconf_buffer_len(&out) == 0) in pkgconf_bytecode_eval_str() 501 return pkgconf_buffer_append_slice(dst, pkgconf_buffer_str(bcbuf), pkgconf_buffer_len(bcbuf)); in pkgconf_bytecode_append_stream()
|
| H A D | output.c | 27 if (pkgconf_buffer_len(buffer) != 0) in pkgconf_output_putbuf() 93 size_t size = pkgconf_buffer_len(buffer); in pkgconf_output_stdio_write()
|
| H A D | bufferset.c | 38 if (pkgconf_buffer_len(buffer)) in pkgconf_bufferset_extend()
|
| H A D | path.c | 406 if (!pathbuf || pkgconf_buffer_len(pathbuf) == 0) in normpath() 473 if (!pkgconf_buffer_len(buf)) in pkgconf_path_trim_basename()
|
| H A D | license.c | 193 if (!pkgconf_buffer_len(&out_buffer)) in pkgconf_license_evaluate_str()
|
| H A D | libpkgconf.h | 653 static inline size_t pkgconf_buffer_len(const pkgconf_buffer_t *buffer) in pkgconf_buffer_len() function 712 char *out = pkgconf_strndup(pkgconf_buffer_str(buffer), pkgconf_buffer_len(buffer)); in pkgconf_buffer_freeze() 731 return pkgconf_buffer_append_slice(newptr, pkgconf_buffer_str(buffer), pkgconf_buffer_len(buffer)); in pkgconf_buffer_copy()
|
| H A D | pkg.c | 130 if (pkgconf_buffer_len(&buf) > 0) in pkg_get_parent_dir() 200 if (pkgconf_buffer_len(&tag)) in pkgconf_pkg_parser_link_abi_func() 502 if (pkgconf_buffer_len(&pkg->orig_prefix) != 0) in pkgconf_pkg_parser_value_set() 505 const size_t oplen = pkgconf_buffer_len(&pkg->orig_prefix); in pkgconf_pkg_parser_value_set()
|
| /freebsd/contrib/pkgconf/tests/api/ |
| H A D | test-buffer.c | 27 TEST_ASSERT_EQ(pkgconf_buffer_len(&buf), 0); in test_buffer_empty() 42 TEST_ASSERT_EQ(pkgconf_buffer_len(&buf), 5); in test_buffer_append() 46 TEST_ASSERT_EQ(pkgconf_buffer_len(&buf), 11); in test_buffer_append() 102 TEST_ASSERT_EQ(pkgconf_buffer_len(&buf), 3); in test_buffer_push_byte() 119 TEST_ASSERT_EQ(pkgconf_buffer_len(&buf), 0); in test_buffer_trim_byte() 131 TEST_ASSERT_NE(pkgconf_buffer_len(&buf), 0); in test_buffer_reset() 134 TEST_ASSERT_EQ(pkgconf_buffer_len(&buf), 0); in test_buffer_reset() 152 TEST_ASSERT_EQ(pkgconf_buffer_len(&buf), 0); in test_buffer_freeze()
|
| H A D | test-bytecode.c | 74 TEST_ASSERT_EQ(pkgconf_buffer_len(&bcbuf), 0); in test_emit_guards() 571 TEST_ASSERT_NE(pkgconf_buffer_len(&bc), 0); in test_compile_produces_nonempty_buffer()
|
| /freebsd/contrib/pkgconf/tests/ |
| H A D | test-runner.c | 271 if (!pkgconf_buffer_len(src)) in handle_substs() 627 if (pkgconf_buffer_len(&testcase->want_personality)) in personality_for_test() 662 if (!pkgconf_buffer_len(expected) && match != MATCH_EMPTY) in test_match_buffer() 665 if (!pkgconf_buffer_len(actual)) in test_match_buffer() 871 if (pkgconf_buffer_len(&test_tool_dir)) in run_tool() 879 if (pkgconf_buffer_len(&testcase->tool_args)) in run_tool() 1076 if (pkgconf_buffer_len(&search_path_buf)) in annotate_result() 1090 if (pkgconf_buffer_len(&wanted_flags_buf)) in annotate_result() 1103 if (pkgconf_buffer_len(&env_buf)) in annotate_result() 1125 if (pkgconf_buffer_len(&testcase->tool)) in annotate_result() [all …]
|
| /freebsd/contrib/pkgconf/cli/spdxtool/ |
| H A D | main.c | 206 if (pkgconf_buffer_len(&queryparams) > 0) in main() 213 if (pkgconf_buffer_len(&queryparams) > 0) in main()
|
| /freebsd/contrib/pkgconf/cli/bomtool/ |
| H A D | main.c | 461 if (pkgconf_buffer_len(&queryparams) > 0) in main() 468 if (pkgconf_buffer_len(&queryparams) > 0) in main()
|
| /freebsd/contrib/pkgconf/cli/ |
| H A D | core.c | 846 if (pkgconf_buffer_len(&render_buf)) in apply_link_abi() 1231 if (pkgconf_buffer_len(&queryparams) > 0) in pkgconf_cli_run()
|