| /freebsd/crypto/krb5/src/lib/crypto/builtin/des/ |
| H A D | f_tables.h | 104 #define DES_SP_ENCRYPT_ROUND(left, right, temp, kp) do { \ argument 106 (left) ^= SP[0][((temp) >> 24) & 0x3f] \ 111 (left) ^= SP[4][((temp) >> 24) & 0x3f] \ 117 #define DES_SP_DECRYPT_ROUND(left, right, temp, kp) do { \ argument 119 (left) ^= SP[7][((temp) ) & 0x3f] \ 124 (left) ^= SP[3][((temp) ) & 0x3f] \ 147 #define DES_IP_LEFT_BITS(left, right) \ argument 148 ((((left) & 0x55555555) << 1) | ((right) & 0x55555555)) 149 #define DES_IP_RIGHT_BITS(left, right) \ argument 150 (((left) & 0xaaaaaaaa) | \ [all …]
|
| H A D | f_cbc.c | 68 unsigned DES_INT32 left, right; in des_cbc_encrypt() local 83 GET_HALF_BLOCK(left, ip); in des_cbc_encrypt() 101 left ^= temp; in des_cbc_encrypt() 120 left ^= *(--ip) & FF_UINT32; in des_cbc_encrypt() 122 left ^= (*(--ip) & FF_UINT32) << 8; in des_cbc_encrypt() 124 left ^= (*(--ip) & FF_UINT32) << 16; in des_cbc_encrypt() 126 left ^= (*(--ip) & FF_UINT32) << 24; in des_cbc_encrypt() 135 DES_DO_ENCRYPT(left, right, kp); in des_cbc_encrypt() 140 PUT_HALF_BLOCK(left, op); in des_cbc_encrypt() 150 unsigned DES_INT32 left, right; in des_cbc_decrypt() local [all …]
|
| H A D | f_aead.c | 38 unsigned DES_INT32 left, right; in krb5int_des_cbc_encrypt() local 49 left = load_32_be(ip); in krb5int_des_cbc_encrypt() 55 left ^= load_32_be(block); in krb5int_des_cbc_encrypt() 59 DES_DO_ENCRYPT(left, right, kp); in krb5int_des_cbc_encrypt() 60 store_32_be(left, block); in krb5int_des_cbc_encrypt() 67 store_32_be(left, ivec); in krb5int_des_cbc_encrypt() 77 unsigned DES_INT32 left, right; in krb5int_des_cbc_decrypt() local 102 cipherl = left = load_32_be(block); in krb5int_des_cbc_decrypt() 106 DES_DO_DECRYPT(left, right, kp); in krb5int_des_cbc_decrypt() 107 left ^= ocipherl; in krb5int_des_cbc_decrypt() [all …]
|
| H A D | d3_aead.c | 38 unsigned DES_INT32 left, right; in krb5int_des3_cbc_encrypt() local 51 left = load_32_be(ip); in krb5int_des3_cbc_encrypt() 57 left ^= load_32_be(block); in krb5int_des3_cbc_encrypt() 61 DES_DO_ENCRYPT(left, right, kp1); in krb5int_des3_cbc_encrypt() 62 DES_DO_DECRYPT(left, right, kp2); in krb5int_des3_cbc_encrypt() 63 DES_DO_ENCRYPT(left, right, kp3); in krb5int_des3_cbc_encrypt() 64 store_32_be(left, block); in krb5int_des3_cbc_encrypt() 71 store_32_be(left, ivec); in krb5int_des3_cbc_encrypt() 83 unsigned DES_INT32 left, right; in krb5int_des3_cbc_decrypt() local 110 cipherl = left = load_32_be(block); in krb5int_des3_cbc_decrypt() [all …]
|
| /freebsd/lib/libugidfw/ |
| H A D | ugidfw.c | 68 size_t left, len; in bsde_rule_to_string() local 72 left = buflen; in bsde_rule_to_string() 74 len = snprintf(cur, left, "subject "); in bsde_rule_to_string() 75 if (len < 0 || len > left) in bsde_rule_to_string() 77 left -= len; in bsde_rule_to_string() 81 len = snprintf(cur, left, "not "); in bsde_rule_to_string() 82 if (len < 0 || len > left) in bsde_rule_to_string() 84 left -= len; in bsde_rule_to_string() 92 len = snprintf(cur, left, "! "); in bsde_rule_to_string() 93 if (len < 0 || len > left) in bsde_rule_to_string() [all …]
|
| /freebsd/share/misc/ |
| H A D | operator | 3 () [] -> . left to right 4 ! ~ ++ -- - (type) * & sizeof new delete right to left 5 ->* .* left to right 6 * / % left to right 7 + - left to right 8 << >> left to right 9 < <= > >= left to right 10 == != left to right 11 & left to right 12 ^ left to right [all …]
|
| /freebsd/crypto/openssl/crypto/bio/ |
| H A D | bio_cb.c | 25 int left; in BIO_debug_callback_ex() local 33 left = BIO_snprintf(buf, sizeof(buf), "BIO[%p]: ", (void *)bio); in BIO_debug_callback_ex() 36 if (left < 0) in BIO_debug_callback_ex() 37 left = 0; in BIO_debug_callback_ex() 38 p = buf + left; in BIO_debug_callback_ex() 39 left = sizeof(buf) - left; in BIO_debug_callback_ex() 43 BIO_snprintf(p, left, "Free - %s\n", bio->method->name); in BIO_debug_callback_ex() 47 BIO_snprintf(p, left, "read(%d,%zu) - %s fd=%d\n", in BIO_debug_callback_ex() 51 BIO_snprintf(p, left, "read(%d,%zu) - %s\n", in BIO_debug_callback_ex() 56 BIO_snprintf(p, left, "write(%d,%zu) - %s fd=%d\n", in BIO_debug_callback_ex() [all …]
|
| /freebsd/contrib/unbound/util/ |
| H A D | rbtree.c | 111 node->right = right->left; in rbtree_rotate_left() 112 if (right->left != RBTREE_NULL) in rbtree_rotate_left() 113 right->left->parent = node; in rbtree_rotate_left() 118 if (node == node->parent->left) { in rbtree_rotate_left() 119 node->parent->left = right; in rbtree_rotate_left() 126 right->left = node; in rbtree_rotate_left() 137 rbnode_type *left = node->left; in rbtree_rotate_right() local 138 node->left = left->right; in rbtree_rotate_right() 139 if (left->right != RBTREE_NULL) in rbtree_rotate_right() 140 left->right->parent = node; in rbtree_rotate_right() [all …]
|
| /freebsd/contrib/ldns/ |
| H A D | rbtree.c | 119 node->right = right->left; in ldns_rbtree_rotate_left() 120 if (right->left != LDNS_RBTREE_NULL) in ldns_rbtree_rotate_left() 121 right->left->parent = node; in ldns_rbtree_rotate_left() 126 if (node == node->parent->left) { in ldns_rbtree_rotate_left() 127 node->parent->left = right; in ldns_rbtree_rotate_left() 134 right->left = node; in ldns_rbtree_rotate_left() 145 ldns_rbnode_t *left = node->left; in ldns_rbtree_rotate_right() local 146 node->left = left->right; in ldns_rbtree_rotate_right() 147 if (left->right != LDNS_RBTREE_NULL) in ldns_rbtree_rotate_right() 148 left->right->parent = node; in ldns_rbtree_rotate_right() [all …]
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
| H A D | GCNILPSched.cpp | 42 const SUnit *pickBest(const SUnit *left, const SUnit *right); 132 static int BUCompareLatency(const SUnit *left, const SUnit *right) { in BUCompareLatency() argument 135 int LHeight = (int)left->getHeight(); in BUCompareLatency() 148 int LDepth = left->getDepth(); in BUCompareLatency() 151 LLVM_DEBUG(dbgs() << " Comparing latency of SU (" << left->NodeNum in BUCompareLatency() 156 if (left->Latency != right->Latency) in BUCompareLatency() 157 return left->Latency > right->Latency ? 1 : -1; in BUCompareLatency() 162 const SUnit *GCNILPScheduler::pickBest(const SUnit *left, const SUnit *right) in pickBest() argument 169 int spread = (int)left->getDepth() - (int)right->getDepth(); in pickBest() 171 LLVM_DEBUG(dbgs() << "Depth of SU(" << left->NodeNum << "): " in pickBest() [all …]
|
| /freebsd/contrib/ofed/libibverbs/ |
| H A D | memory.c | 55 struct ibv_mem_node *left, *right; member 167 mm_root->left = NULL; in ibv_fork_init() 179 if (node->left) { in __mm_prev() 180 node = node->left; in __mm_prev() 184 while (node->parent && node == node->parent->left) in __mm_prev() 197 while (node->left) in __mm_next() 198 node = node->left; in __mm_next() 213 tmp = node->left; in __mm_rotate_right() 215 node->left = tmp->right; in __mm_rotate_right() 216 if (node->left) in __mm_rotate_right() [all …]
|
| /freebsd/contrib/unbound/compat/ |
| H A D | snprintf.c | 79 print_pad(char** at, size_t* left, int* ret, char p, int num) in print_pad() argument 82 if(*left > 1) { in print_pad() 84 (*left)--; in print_pad() 211 spool_str_rev(char** at, size_t* left, int* ret, const char* buf, int len) in spool_str_rev() argument 215 if(*left > 1) { in spool_str_rev() 217 (*left)--; in spool_str_rev() 225 spool_str(char** at, size_t* left, int* ret, const char* buf, int len) in spool_str() argument 229 if(*left > 1) { in spool_str() 231 (*left)--; in spool_str() 239 print_num(char** at, size_t* left, int* ret, int minw, int precision, in print_num() argument [all …]
|
| /freebsd/contrib/ldns/compat/ |
| H A D | snprintf.c | 78 print_pad(char** at, size_t* left, int* ret, char p, int num) in print_pad() argument 81 if(*left > 1) { in print_pad() 83 (*left)--; in print_pad() 210 spool_str_rev(char** at, size_t* left, int* ret, const char* buf, int len) in spool_str_rev() argument 214 if(*left > 1) { in spool_str_rev() 216 (*left)--; in spool_str_rev() 224 spool_str(char** at, size_t* left, int* ret, const char* buf, int len) in spool_str() argument 228 if(*left > 1) { in spool_str() 230 (*left)--; in spool_str() 238 print_num(char** at, size_t* left, int* ret, int minw, int precision, in print_num() argument [all …]
|
| /freebsd/crypto/openssh/ |
| H A D | sftp-realpath.c | 65 char left[PATH_MAX], next_token[PATH_MAX], symlink[PATH_MAX]; in sftp_realpath() local 89 left_len = strlcpy(left, path + 1, sizeof(left)); in sftp_realpath() 99 left_len = strlcpy(left, path, sizeof(left)); in sftp_realpath() 101 if (left_len >= sizeof(left) || resolved_len >= PATH_MAX) { in sftp_realpath() 114 p = strchr(left, '/'); in sftp_realpath() 115 s = p ? p : left + left_len; in sftp_realpath() 116 if (s - left >= (ptrdiff_t)sizeof(next_token)) { in sftp_realpath() 120 memcpy(next_token, left, s - left); in sftp_realpath() 121 next_token[s - left] = '\0'; in sftp_realpath() 122 left_len -= s - left; in sftp_realpath() [all …]
|
| /freebsd/sys/netpfil/ipfilter/netinet/ |
| H A D | ipf_rb.h | 14 struct _t *left; \ 44 tmp2 = tmp1->_f.left; \ 53 parent->_f.left = tmp1; \ 54 tmp1->_f.left = node; \ 65 tmp1 = node->_f.left; \ 67 node->_f.left = tmp2; \ 75 parent->_f.left = tmp1; \ 87 node->_f.left = &_n##_rb_zero; \ 92 p = &n->_f.left; \ 103 if (parent == gparent->_f.left) { \ [all …]
|
| /freebsd/tests/sys/kern/ |
| H A D | socket_splice.c | 203 int left[2]; member 217 tcp4_socketpair(sc->left); in splice_conn_init_limits() 219 splice_pair(sc->left[1], sc->right[0], max, tv); in splice_conn_init_limits() 233 data = fionread(sc->left[0]); in splice_conn_check_empty() 235 data = fionread(sc->left[1]); in splice_conn_check_empty() 246 checked_close(sc->left[0]); in splice_conn_fini() 247 checked_close(sc->left[1]); in splice_conn_fini() 255 noblocking(sc->left[0]); in splice_conn_noblocking() 256 noblocking(sc->left[1]); in splice_conn_noblocking() 271 check_nspliced(sc.left[1], 0); in ATF_TC_BODY() [all …]
|
| /freebsd/sys/dev/sound/pci/ |
| H A D | spicds.c | 50 unsigned int left, right; member 272 spicds_set(struct spicds_info *codec, int dir, unsigned int left, unsigned int right) in spicds_set() argument 275 device_printf(codec->dev, "spicds_set(codec, %d, %d, %d)\n", dir, left, right); in spicds_set() 278 if (left >= 100) in spicds_set() 281 left = 255; in spicds_set() 283 left = 127; in spicds_set() 287 left = left + 27; in spicds_set() 291 left = left * 255 / 100; in spicds_set() 294 left = left * 127 / 100; in spicds_set() 316 device_printf(codec->dev, "spicds_set(): AK4524(REC) %d/%d\n", left, right); in spicds_set() [all …]
|
| /freebsd/contrib/libdiff/lib/ |
| H A D | diff_output_unidiff.c | 55 int left_start = diff_atom_root_idx(r->left, c->left_start); in diff_chunk_get_left_start() 64 return MIN(r->left->atoms.len, in diff_chunk_get_left_end() 118 .left = { in diff_chunk_context_get() 134 || diff_ranges_touch(&cc->left, &other->left) in diff_chunk_contexts_touch() 143 diff_ranges_merge(&cc->left, &other->left); in diff_chunk_contexts_merge() 246 if (diff_range_empty(&cc->left) && diff_range_empty(&cc->right)) in output_unidiff_chunk() 288 left_len = cc->left.end - cc->left.start; in output_unidiff_chunk() 289 if (result->left->atoms.len == 0) in output_unidiff_chunk() 291 else if (left_len == 0 && cc->left.start > 0) in output_unidiff_chunk() 292 left_start = cc->left.start; in output_unidiff_chunk() [all …]
|
| /freebsd/sys/netgraph/ |
| H A D | ng_tee.c | 79 struct hookinfo left; member 178 if (privdata->left.dest) in ng_tee_newhook() 179 privdata->left.dup = privdata->left.dest; in ng_tee_newhook() 180 privdata->left.dest = hinfo; in ng_tee_newhook() 183 hinfo = &privdata->left; in ng_tee_newhook() 196 if (privdata->left.dest) in ng_tee_newhook() 197 privdata->left.dup = hinfo; in ng_tee_newhook() 199 privdata->left.dest = hinfo; in ng_tee_newhook() 239 bcopy(&sc->left.stats, &stats->left, in ng_tee_rcvmsg() 240 sizeof(stats->left)); in ng_tee_rcvmsg() [all …]
|
| /freebsd/usr.bin/m4/ |
| H A D | parser.y | 28 %left LOR 29 %left LAND 30 %left '|' 31 %left '^' 32 %left '&' 33 %left EQ NE 34 %left '<' LE '>' GE 35 %left LSHIFT RSHIFT 36 %left '+' '-' 37 %left '*' '/' '%'
|
| /freebsd/lib/libc/stdlib/ |
| H A D | realpath.c | 55 char left[PATH_MAX], next_token[PATH_MAX], symlink[PATH_MAX]; in realpath1() local 64 left_len = strlcpy(left, path + 1, sizeof(left)); in realpath1() 72 left_len = strlcpy(left, path, sizeof(left)); in realpath1() 74 if (left_len >= sizeof(left) || resolved_len >= PATH_MAX) { in realpath1() 87 p = strchr(left, '/'); in realpath1() 89 next_token_len = p != NULL ? (size_t)(p - left) : left_len; in realpath1() 90 memcpy(next_token, left, next_token_len); in realpath1() 95 memmove(left, p + 1, left_len + 1); in realpath1() 97 left[0] = '\0'; in realpath1() 193 left_len = strlcat(symlink, left, in realpath1() [all …]
|
| /freebsd/contrib/libxo/tests/core/saved/ |
| H A D | test_12.JP.out | 11 "hand": "left", 19 "hand": "left", 27 "hand": "left", 35 "hand": "left", 43 "hand": "left", 51 "hand": "left", 59 "hand": "left", 67 "hand": "left", 75 "hand": "left", 83 "hand": "left",
|
| H A D | test_12.JPu.out | 11 "hand": "left", 19 "hand": "left", 27 "hand": "left", 35 "hand": "left", 43 "hand": "left", 51 "hand": "left", 59 "hand": "left", 67 "hand": "left", 75 "hand": "left", 83 "hand": "left",
|
| H A D | test_12.J.out | 1 …left","color":"blue","time":"3:45"}, {"name":"thing","color":"green","time":"2:15","hand":"left","…
|
| /freebsd/contrib/ntp/libntp/ |
| H A D | ntp_realpath.c | 96 * in which case the path which caused trouble is left in (resolved). 106 char left[NTP_PATH_MAX], next_token[NTP_PATH_MAX], link_tgt[NTP_PATH_MAX]; in realpath1() local 115 left_len = strlcpy(left, path + 1, sizeof(left)); in realpath1() 123 left_len = strlcpy(left, path, sizeof(left)); in realpath1() 125 if (left_len >= sizeof(left) || resolved_len >= NTP_PATH_MAX) { in realpath1() 131 * Iterate over path components in `left'. in realpath1() 135 * Extract the next path component and adjust `left' in realpath1() 138 p = strchr(left, '/'); in realpath1() [all...] |