Home
last modified time | relevance | path

Searched refs:tbool (Results 1 – 4 of 4) sorted by relevance

/external/mesa3d/src/compiler/nir/
Dnir_opcodes.py93 tbool = "bool32" variable
175 unop_convert("f2b", tbool, tfloat32, "src0 != 0.0f")
176 unop_convert("d2b", tbool, tfloat64, "src0 != 0.0")
178 unop_convert("b2f", tfloat32, tbool, "src0 ? 1.0f : 0.0f")
180 unop_convert("i2b", tbool, tint32, "src0 != 0")
181 unop_convert("b2i", tint32, tbool, "src0 ? 1 : 0") # Boolean-to-int conversion
350 binop_convert(name, tbool, ty, alg_props, const_expr)
445 binop_reduce("ball_fequal", 1, tbool, tfloat, "{src0} == {src1}",
447 binop_reduce("bany_fnequal", 1, tbool, tfloat, "{src0} != {src1}",
449 binop_reduce("ball_iequal", 1, tbool, tint, "{src0} == {src1}",
[all …]
/external/clang/test/Analysis/
Dcasts.c35 int *tbool = ((void*)0); in f1() local
38 tbool = (int *)pval; // use the cast-to type 'int *' to create element region. in f1()
39 char c = (unsigned char) *tbool; // Should use cast-to type to create symbol. in f1()
40 if (*tbool == -1) // here load the element region with the correct type 'int' in f1()
/external/boringssl/src/crypto/asn1/
Dtasn_enc.c547 ASN1_BOOLEAN *tbool = NULL; in asn1_ex_i2c() local
594 tbool = (ASN1_BOOLEAN *)pval; in asn1_ex_i2c()
595 if (*tbool == -1) in asn1_ex_i2c()
601 if (*tbool && (it->size > 0)) in asn1_ex_i2c()
603 if (!*tbool && !it->size) in asn1_ex_i2c()
606 c = (unsigned char)*tbool; in asn1_ex_i2c()
Dtasn_dec.c889 ASN1_BOOLEAN *tbool; in asn1_ex_c2i() local
890 tbool = (ASN1_BOOLEAN *)pval; in asn1_ex_c2i()
891 *tbool = *cont; in asn1_ex_c2i()