/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/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/crypto/openssl/crypto/bio/ |
H A D | bio_cb.c | 25 int left; in BIO_debug_callback_ex() local 31 left = BIO_snprintf(buf, sizeof(buf), "BIO[%p]: ", (void *)bio); in BIO_debug_callback_ex() 34 if (left < 0) in BIO_debug_callback_ex() 35 left = 0; in BIO_debug_callback_ex() 36 p = buf + left; in BIO_debug_callback_ex() 37 left = sizeof(buf) - left; in BIO_debug_callback_ex() 41 BIO_snprintf(p, left, "Free - %s\n", bio->method->name); in BIO_debug_callback_ex() 45 BIO_snprintf(p, left, "read(%d,%zu) - %s fd=%d\n", in BIO_debug_callback_ex() 49 BIO_snprintf(p, left, "read(%d,%zu) - %s\n", in BIO_debug_callback_ex() 54 BIO_snprintf(p, left, "write(%d,%zu) - %s fd=%d\n", in BIO_debug_callback_ex() [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 | 60 char left[PATH_MAX], next_token[PATH_MAX], symlink[PATH_MAX]; in realpath1() local 69 left_len = strlcpy(left, path + 1, sizeof(left)); in realpath1() 77 left_len = strlcpy(left, path, sizeof(left)); in realpath1() 79 if (left_len >= sizeof(left) || resolved_len >= PATH_MAX) { in realpath1() 92 p = strchr(left, '/'); in realpath1() 94 next_token_len = p != NULL ? (size_t)(p - left) : left_len; in realpath1() 95 memcpy(next_token, left, next_token_len); in realpath1() 100 memmove(left, p + 1, left_len + 1); in realpath1() 102 left[0] = '\0'; in realpath1() 184 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","…
|
H A D | test_12.X.out | 1 …left</hand><color>blue</color><time>3:45</time></thing><thing><name>thing</name><color>green</colo…
|
H A D | test_12.XP.out | 9 <hand>left</hand> 17 <hand>left</hand> 25 <hand>left</hand> 33 <hand>left</hand> 41 <hand>left</hand> 49 <hand>left</hand> 57 <hand>left</hand> 65 <hand>left</hand> 73 <hand>left</hand> 81 <hand>left</hand>
|
/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...] |
/freebsd/contrib/wpa/src/tls/ |
H A D | tlsv1_client_read.c | 82 size_t left, len, i; in tls_process_server_hello() local 95 left = *in_len; in tls_process_server_hello() 97 if (left < 4) in tls_process_server_hello() 113 left -= 4; in tls_process_server_hello() 115 if (len > left) in tls_process_server_hello() 358 size_t left, len, list_len, cert_len, idx; in tls_process_certificate() local 372 left = *in_len; in tls_process_certificate() 374 if (left < 4) { in tls_process_certificate() 376 "(len=%lu)", (unsigned long) left); in tls_process_certificate() 384 left -= 4; in tls_process_certificate() [all …]
|
/freebsd/contrib/wpa/src/crypto/ |
H A D | aes-omac1.c | 49 size_t i, e, left, total_len; in omac1_aes_vector() local 62 left = total_len; in omac1_aes_vector() 68 while (left >= AES_BLOCK_SIZE) { in omac1_aes_vector() 77 left == AES_BLOCK_SIZE) in omac1_aes_vector() 84 if (left > AES_BLOCK_SIZE) in omac1_aes_vector() 86 left -= AES_BLOCK_SIZE; in omac1_aes_vector() 93 if (left || total_len == 0) { in omac1_aes_vector() 94 for (i = 0; i < left; i++) { in omac1_aes_vector() 101 if (i + 1 == left) in omac1_aes_vector() 108 cbc[left] ^= 0x80; in omac1_aes_vector()
|