Lines Matching refs:bc
39 pkgconf_bytecode_from_buffer(&v->bc, &v->bcbuf); in seed_variable()
48 pkgconf_bytecode_t bc; in test_emit_text_and_eval() local
52 pkgconf_bytecode_from_buffer(&bc, &bcbuf); in test_emit_text_and_eval()
55 TEST_ASSERT_TRUE(pkgconf_bytecode_eval(client, &vars, &bc, &out, &saw_sysroot)); in test_emit_text_and_eval()
85 pkgconf_bytecode_t bc; in test_emit_var_and_eval() local
92 pkgconf_bytecode_from_buffer(&bc, &bcbuf); in test_emit_var_and_eval()
95 TEST_ASSERT_TRUE(pkgconf_bytecode_eval(client, &vars, &bc, &out, &saw_sysroot)); in test_emit_var_and_eval()
110 pkgconf_bytecode_t bc; in test_emit_sysroot_and_eval() local
117 pkgconf_bytecode_from_buffer(&bc, &bcbuf); in test_emit_sysroot_and_eval()
120 TEST_ASSERT_TRUE(pkgconf_bytecode_eval(client, &vars, &bc, &out, &saw_sysroot)); in test_emit_sysroot_and_eval()
136 pkgconf_bytecode_t bc = { NULL, 0 }; in test_eval_null_args() local
139 TEST_ASSERT_FALSE(pkgconf_bytecode_eval(NULL, &vars, &bc, &out, NULL)); in test_eval_null_args()
141 TEST_ASSERT_FALSE(pkgconf_bytecode_eval(client, &vars, &bc, NULL, NULL)); in test_eval_null_args()
374 pkgconf_bytecode_t bc; in test_rewrite_selfrefs() local
375 pkgconf_bytecode_from_buffer(&bc, &rewritten); in test_rewrite_selfrefs()
378 TEST_ASSERT_TRUE(pkgconf_bytecode_eval(client, &vars, &bc, &out, &saw_sysroot)); in test_rewrite_selfrefs()
408 pkgconf_bytecode_t bc; in test_rewrite_selfrefs_no_match() local
409 pkgconf_bytecode_from_buffer(&bc, &rewritten); in test_rewrite_selfrefs_no_match()
412 TEST_ASSERT_TRUE(pkgconf_bytecode_eval(client, &vars, &bc, &out, &saw_sysroot)); in test_rewrite_selfrefs_no_match()
566 pkgconf_buffer_t bc = PKGCONF_BUFFER_INITIALIZER; in test_compile_produces_nonempty_buffer() local
568 pkgconf_bytecode_compile(&bc, "hello ${world}"); in test_compile_produces_nonempty_buffer()
571 TEST_ASSERT_NE(pkgconf_buffer_len(&bc), 0); in test_compile_produces_nonempty_buffer()
573 pkgconf_buffer_finalize(&bc); in test_compile_produces_nonempty_buffer()
590 pkgconf_bytecode_from_buffer(&v->bc, &v->bcbuf); in test_compile_eval_roundtrip()