Home
last modified time | relevance | path

Searched refs:bval (Results 1 – 25 of 26) sorted by relevance

12

/freebsd/sys/contrib/openzfs/module/icp/asm-x86_64/aes/
H A Daesopt.h552 #define bval(x, n) to_byte((x) >> (8 * (n))) macro
562 #define bval(x, n) to_byte((x) >> (24 - 8 * (n))) macro
573 #define word_out(x, c, v) { ((uint8_t *)(x) + 4 * c)[0] = bval(v, 0); \
574 ((uint8_t *)(x) + 4 * c)[1] = bval(v, 1); \
575 ((uint8_t *)(x) + 4 * c)[2] = bval(v, 2); \
576 ((uint8_t *)(x) + 4 * c)[3] = bval(v, 3); }
697 box[bval(vf(x, 0, c), rf(0, c))], \
698 box[bval(vf(x, 1, c), rf(1, c))], \
699 box[bval(vf(x, 2, c), rf(2, c))], \
700 box[bval(vf(x, 3, c), rf(3, c))])
[all …]
/freebsd/crypto/krb5/src/lib/crypto/builtin/aes/
H A Daesopt.h590 # define bval(x,n) to_byte((x) >> (8 * (n))) macro
598 # define bval(x,n) to_byte((x) >> (24 - 8 * (n))) macro
606 # define word_out(x,c,v) { ((uint8_t*)(x)+4*c)[0] = bval(v,0); ((uint8_t*)(x)+4*c)[1] = bval(v,1);…
607 ((uint8_t*)(x)+4*c)[2] = bval(v,2); ((uint8_t*)(x)+4*c)[3] = bval(v,3); }
723 box[bval(vf(x,0,c),rf(0,c))], \
724 box[bval(vf(x,1,c),rf(1,c))], \
725 box[bval(vf(x,2,c),rf(2,c))], \
726 box[bval(vf(x,3,c),rf(3,c))])
729 ( tab[bval(vf(x,0,c),rf(0,c))] \
730 ^ op(tab[bval(vf(x,1,c),rf(1,c))],1) \
[all …]
/freebsd/crypto/krb5/src/util/support/
H A Dhex.c38 hex_digit(uint8_t bval, int uppercase) in hex_digit() argument
40 assert(bval <= 0xF); in hex_digit()
41 if (bval < 10) in hex_digit()
42 return '0' + bval; in hex_digit()
44 return 'A' + (bval - 10); in hex_digit()
46 return 'a' + (bval - 10); in hex_digit()
H A Djson.c194 k5_json_bool_value(k5_json_bool bval) in k5_json_bool_value() argument
196 return *(unsigned char *)bval; in k5_json_bool_value()
1005 k5_json_bool bval; in parse_value() local
1054 ret = k5_json_bool_create(1, &bval); in parse_value()
1057 *val_out = bval; in parse_value()
1060 ret = k5_json_bool_create(0, &bval); in parse_value()
1063 *val_out = bval; in parse_value()
/freebsd/crypto/krb5/src/plugins/kdb/db2/libdb2/recno/
H A Drec_get.c178 int bval, ch; in __rec_vpipe() local
181 bval = t->bt_bval; in __rec_vpipe()
185 if ((ch = getc(t->bt_rfp)) == EOF || ch == bval) { in __rec_vpipe()
280 int bval; in __rec_vmap() local
284 bval = t->bt_bval; in __rec_vmap()
291 for (data.data = sp; sp < ep && *sp != bval; ++sp); in __rec_vmap()
H A Drec_open.c111 t->bt_bval = openinfo->bval; in __rec_open()
/freebsd/lib/libc/db/recno/
H A Drec_get.c170 int bval, ch; in __rec_vpipe() local
173 bval = t->bt_bval; in __rec_vpipe()
177 if ((ch = getc(t->bt_rfp)) == EOF || ch == bval) { in __rec_vpipe()
268 int bval; in __rec_vmap() local
272 bval = t->bt_bval; in __rec_vmap()
279 for (data.data = sp; sp < ep && *sp != bval; ++sp); in __rec_vmap()
H A Drec_open.c100 t->bt_bval = openinfo->bval; in __rec_open()
/freebsd/sys/dev/bhnd/nvram/
H A Dbhnd_nvram_value.c709 bhnd_nvram_bool_t bval; in bhnd_nvram_val_encode_bool() local
730 bval = (*(const bhnd_nvram_bool_t *)inp != 0) ? true : false; in bhnd_nvram_val_encode_bool()
736 if (bval != false) in bhnd_nvram_val_encode_bool()
745 const char *str = bval ? "true" : "false"; in bhnd_nvram_val_encode_bool()
758 uint8_t ival = bval ? 1 : 0; in bhnd_nvram_val_encode_bool()
882 bhnd_nvram_bool_t bval; in bhnd_nvram_val_encode_string() local
893 bval = true; in bhnd_nvram_val_encode_string()
898 bval = false; in bhnd_nvram_val_encode_string()
907 *((bhnd_nvram_bool_t *)outp) = bval; in bhnd_nvram_val_encode_string()
1176 bhnd_nvram_bool_t bval; in bhnd_nvram_val_encode_int() local
[all …]
/freebsd/sys/arm64/arm64/
H A Dundefined.c220 uint8_t bval; in swp_emulate() local
222 bval = val; in swp_emulate()
223 error = swapueword8((void *)vaddr, &bval); in swp_emulate()
224 val = bval; in swp_emulate()
/freebsd/sys/compat/lindebugfs/
H A Dlindebugfs.c401 bool *bval = data; in debugfs_bool_get() local
403 if (*bval) in debugfs_bool_get()
414 bool *bval = data; in debugfs_bool_set() local
417 *bval = 1; in debugfs_bool_set()
419 *bval = 0; in debugfs_bool_set()
/freebsd/crypto/krb5/src/plugins/kdb/lmdb/
H A Dkdb_lmdb.c149 int bval, ival; in configure_context() local
199 KRB5_CONF_DISABLE_LAST_SUCCESS, FALSE, &bval); in configure_context()
202 dbc->disable_last_success = bval; in configure_context()
205 KRB5_CONF_DISABLE_LOCKOUT, FALSE, &bval); in configure_context()
208 dbc->disable_lockout = bval; in configure_context()
223 KRB5_CONF_NOSYNC, FALSE, &bval); in configure_context()
226 dbc->nosync = bval; in configure_context()
/freebsd/contrib/tcsh/
H A Dsh.time.c717 pdtimet(time_t eval, time_t bval) in pdtimet() argument
720 pdtimet(clock_t eval, clock_t bval) in pdtimet()
733 val = (eval - bval) * 100 / HZ; in pdtimet()
735 val = (eval - bval) * 100 / clk_tck; in pdtimet()
/freebsd/cddl/contrib/opensolaris/lib/pyzfs/common/
H A Dioctl.c87 boolean_t bval; in nvl2py() local
112 (void) nvpair_value_boolean_value(nvp, &bval); in nvl2py()
113 pyval = Py_BuildValue("i", bval); in nvl2py()
/freebsd/crypto/krb5/src/plugins/kdb/db2/
H A Dkdb_db2.c208 int bval; in configure_context() local
216 KRB5_CONF_UNLOCKITER, FALSE, &bval); in configure_context()
219 dbc->unlockiter = bval; in configure_context()
268 KRB5_CONF_DISABLE_LAST_SUCCESS, FALSE, &bval); in configure_context()
271 dbc->disable_last_success = bval; in configure_context()
274 KRB5_CONF_DISABLE_LOCKOUT, FALSE, &bval); in configure_context()
277 dbc->disable_lockout = bval; in configure_context()
/freebsd/crypto/krb5/src/plugins/kdb/ldap/libkdb_ldap/
H A Dldap_principal2.c480 struct berval *bval = NULL; in encode_keys() local
506 bval = k5alloc(sizeof(struct berval), &err); in encode_keys()
507 if (bval == NULL) in encode_keys()
515 bval->bv_len = code->length; in encode_keys()
516 bval->bv_val = code->data; in encode_keys()
519 *bval_out = bval; in encode_keys()
520 bval = NULL; in encode_keys()
524 free(bval); in encode_keys()
/freebsd/crypto/krb5/src/include/
H A Dk5-json.h122 int k5_json_bool_value(k5_json_bool bval);
/freebsd/crypto/krb5/src/plugins/kdb/db2/libdb2/man/
H A Dspell.ok84 bval
/freebsd/include/
H A Ddb.h150 unsigned char bval; /* delimiting byte (variable-length records */ member
/freebsd/crypto/krb5/src/plugins/kdb/db2/libdb2/include/
H A Ddb.hin173 u_char bval; /* delimiting byte (variable-length records */
/freebsd/crypto/krb5/src/lib/krb5/krb/
H A Dget_in_tkt.c762 int bval; in encts_disabled() local
769 &bval); in encts_disabled()
771 return (ret == 0) ? bval : FALSE; in encts_disabled()
/freebsd/contrib/netbsd-tests/lib/libc/db/
H A Dh_db.c709 rh.bval = atoi(eq); in setinfo()
/freebsd/lib/libc/db/test/
H A Ddbtest.c652 rh.bval = atoi(eq);
/freebsd/crypto/krb5/src/plugins/kdb/db2/libdb2/test/
H A Ddbtest.c743 rh.bval = atoi(eq); in setinfo()
/freebsd/contrib/nvi/common/
H A Dexf.c243 oinfo.bval = '\n'; /* Always set. */ in file_init()

12