Home
last modified time | relevance | path

Searched full:neg (Results 1 – 25 of 607) sorted by relevance

12345678910>>...25

/freebsd/sys/netgraph/
H A Dng_pppoe.c275 negp neg; /* used when negotiating */ member
380 KASSERT(sp->neg != NULL, ("%s: no neg", __func__)); in init_tags()
381 sp->neg->numtags = 0; in init_tags()
387 negp neg = sp->neg; in insert_tag() local
390 KASSERT(neg != NULL, ("%s: no neg", __func__)); in insert_tag()
391 if ((i = neg->numtags++) < NUMTAGS) { in insert_tag()
392 neg->tags[i] = tp; in insert_tag()
396 neg->numtags--; in insert_tag()
405 * Also assume that neg->wh points to the correct
410 struct pppoe_full_hdr *wh = &sp->neg->pkt->pkt_header; in make_packet()
[all …]
/freebsd/contrib/unbound/validator/
H A Dval_neg.c88 struct val_neg_cache* neg = (struct val_neg_cache*)calloc(1, in val_neg_create() local
89 sizeof(*neg)); in val_neg_create()
90 if(!neg) { in val_neg_create()
91 log_err("Could not create neg cache: out of memory"); in val_neg_create()
94 neg->nsec3_max_iter = maxiter; in val_neg_create()
95 neg->max = 1024*1024; /* 1 M is thousands of entries */ in val_neg_create()
96 if(cfg) neg->max = cfg->neg_cache_size; in val_neg_create()
97 rbtree_init(&neg->tree, &val_neg_zone_compare); in val_neg_create()
98 lock_basic_init(&neg->lock); in val_neg_create()
99 lock_protect(&neg->lock, neg, sizeof(*neg)); in val_neg_create()
[all …]
H A Dval_neg.h83 /** number of times neg cache records were used to generate NOERROR
86 /** number of times neg cache records were used to generate NXDOMAIN
176 * @return neg cache, empty or NULL on failure.
182 * @param neg: negative cache
185 size_t val_neg_get_mem(struct val_neg_cache* neg);
189 * @param neg: negative cache.
191 void neg_cache_delete(struct val_neg_cache* neg);
194 * Comparison function for rbtree val neg data elements
199 * Comparison function for rbtree val neg zone elements
205 * @param neg: negative cache
[all …]
/freebsd/crypto/openssl/crypto/bn/
H A Dbn_add.c21 if (a->neg == b->neg) { in BN_add()
22 r_neg = a->neg; in BN_add()
27 r_neg = a->neg; in BN_add()
30 r_neg = b->neg; in BN_add()
39 r->neg = r_neg; in BN_add()
52 if (a->neg != b->neg) { in BN_sub()
53 r_neg = a->neg; in BN_sub()
58 r_neg = a->neg; in BN_sub()
61 r_neg = !b->neg; in BN_sub()
70 r->neg = r_neg; in BN_sub()
[all …]
H A Dbn_mpi.c37 if (a->neg) in BN_bn2mpi()
45 int neg = 0; in BN_mpi2bn() local
68 a->neg = 0; in BN_mpi2bn()
74 neg = 1; in BN_mpi2bn()
80 a->neg = neg; in BN_mpi2bn()
81 if (neg) { in BN_mpi2bn()
H A Dbn_conv.c31 if (a->neg) in BN_bn2hex()
130 int neg = 0, h, m, i, j, k, c; in BN_hex2bn() local
137 neg = 1; in BN_hex2bn()
147 num = i + neg; in BN_hex2bn()
195 ret->neg = neg; in BN_hex2bn()
207 int neg = 0, i, j; in BN_dec2bn() local
213 neg = 1; in BN_dec2bn()
223 num = i + neg; in BN_dec2bn()
265 ret->neg = neg; in BN_dec2bn()
289 (*bn)->neg = 1; in BN_asc2bn()
H A Dbn_lib.c352 a->neg = b->neg; in BN_copy()
380 tmp_neg = a->neg; in BN_swap()
385 a->neg = b->neg; in BN_swap()
390 b->neg = tmp_neg; in BN_swap()
405 a->neg = 0; in BN_clear()
425 a->neg = 0; in BN_set_word()
460 ret->neg = 0; in BN_bin2bn()
572 ret->neg in BN_lebin2bn()
[all...]
H A Dbn_word.c93 a->neg = 0; /* don't allow negative zero */ in BN_div_word()
113 if (a->neg) { in BN_add_word()
114 a->neg = 0; in BN_add_word()
117 a->neg = !(a->neg); in BN_add_word()
152 if (a->neg) { in BN_sub_word()
153 a->neg = 0; in BN_sub_word()
155 a->neg = 1; in BN_sub_word()
161 a->neg = 1; in BN_sub_word()
H A Dbn_shift.c23 r->neg = a->neg; in BN_lshift1()
62 r->neg = a->neg; in BN_rshift1()
76 r->neg = 0; /* don't allow negative zero */ in BN_rshift1()
143 r->neg = a->neg; in bn_lshift_fixed_top()
211 r->neg = a->neg; in bn_rshift_fixed_top()
H A Dbn_div.c80 rem->neg = BN_is_zero(rem) ? 0 : m->neg;
81 dv->neg = m->neg ^ d->neg;
205 * dv->neg == num->neg ^ divisor->neg (unless the result is zero)
206 * rm->neg == num->neg (unless the remainder is zero)
292 sdiv->neg = 0; in bn_div_fixed_top()
329 num_neg = num->neg; in bn_div_fixed_top()
330 res->neg = (num_neg ^ divisor->neg); in bn_div_fixed_top()
446 snum->neg = num_neg; in bn_div_fixed_top()
/freebsd/crypto/openssl/crypto/asn1/
H A Dx_int64.c53 int neg = 0; in uint64_i2c() local
67 neg = 1; in uint64_i2c()
70 return ossl_i2c_uint64_int(cont, utmp, neg); in uint64_i2c()
78 int neg = 0; in uint64_c2i() local
94 if (!ossl_c2i_uint64_int(&utmp, &neg, &cont, len)) in uint64_c2i()
96 if ((it->size & INTxx_FLAG_SIGNED) == 0 && neg) { in uint64_c2i()
101 && !neg && utmp > INT64_MAX) { in uint64_c2i()
105 if (neg) in uint64_c2i()
148 int neg = 0; in uint32_i2c() local
162 neg = 1; in uint32_i2c()
[all …]
H A Da_int.c25 int neg, ret; in ASN1_INTEGER_cmp() local
27 neg = x->type & V_ASN1_NEG; in ASN1_INTEGER_cmp()
28 if (neg != (y->type & V_ASN1_NEG)) { in ASN1_INTEGER_cmp()
29 if (neg) in ASN1_INTEGER_cmp()
37 if (neg) in ASN1_INTEGER_cmp()
97 static size_t i2c_ibuf(const unsigned char *b, size_t blen, int neg, in i2c_ibuf() argument
107 if (!neg && (i > 127)) { in i2c_ibuf()
110 } else if (neg) { in i2c_ibuf()
157 int neg, pad; in c2i_ibuf() local
163 neg = p[0] & 0x80; in c2i_ibuf()
[all …]
/freebsd/contrib/ntp/libntp/
H A Ddofptoa.c127 int neg; in fptoa()
129 neg = (fpv < 0); in fptoa() local
130 if (neg) { in fptoa()
136 return dofptoa(plusfp, (neg?'-':0), ndec, FALSE); in fptoa()
147 int neg; in fptoms()
149 neg = (fpv < 0); in fptoms() local
150 if (neg) { in fptoms()
156 return dofptoa(plusfp, (neg?'-':0), ndec, TRUE); in fptoms()
/freebsd/contrib/sendmail/libsm/
H A Dstrto.c49 register bool neg; variable
68 neg = true;
73 neg = false;
97 ** either 7 (!neg) or 8 (neg), meaning that if we have
106 cutoff = neg ? LLONG_MIN : LLONG_MAX;
109 if (neg)
130 if (neg)
193 register bool neg; local
202 neg = (c == '-');
203 if (neg)
[all …]
/freebsd/sys/libkern/
H A Dstrtoq.c53 int neg, any, cutlim; in strtoq() local
65 neg = 1; in strtoq()
68 neg = 0; in strtoq()
91 * either 7 (neg==0) or 8 (neg==1), meaning that if we have in strtoq()
100 cutoff = neg ? (u_quad_t)-(QUAD_MIN + QUAD_MAX) + QUAD_MAX : QUAD_MAX; in strtoq()
123 acc = neg ? QUAD_MIN : QUAD_MAX; in strtoq()
124 } else if (neg) in strtoq()
H A Dstrtol.c53 int neg = 0, any, cutlim; in strtol() local
64 neg = 1; in strtol()
87 * 7 (neg==0) or 8 (neg==1), meaning that if we have accumulated in strtol()
94 cutoff = neg ? -(unsigned long)LONG_MIN : LONG_MAX; in strtol()
117 acc = neg ? LONG_MIN : LONG_MAX; in strtol()
118 } else if (neg) in strtol()
/freebsd/crypto/openssh/openbsd-compat/
H A Dstrtoll.c55 int neg, any, cutlim; in strtoll() local
67 neg = 1; in strtoll()
70 neg = 0; in strtoll()
93 * either 7 (neg==0) or 8 (neg==1), meaning that if we have in strtoll()
101 cutoff = neg ? LLONG_MIN : LLONG_MAX; in strtoll()
104 if (neg) { in strtoll()
122 if (neg) { in strtoll()
/freebsd/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/aggs/
H A Dtst.aggpack.d27 @neg = lquantize(-10, -10, 20, 1, -1);
28 @neg = lquantize(-5, -10, 20, 1, 1);
29 @neg = lquantize(0, -10, 20, 1, 1);
50 printa(@neg);
52 printa(@neg);
/freebsd/contrib/llvm-project/compiler-rt/lib/tsan/rtl/
H A Dtsan_rtl_mips64.S18 lui $gp,%hi(%neg(%gp_rel(setjmp)))
20 daddiu $gp,$gp,%lo(%neg(%gp_rel(setjmp)))
70 lui $gp,%hi(%neg(%gp_rel(_setjmp)))
72 daddiu $gp,$gp,%lo(%neg(%gp_rel(_setjmp)))
122 lui $gp,%hi(%neg(%gp_rel(sigsetjmp)))
124 daddiu $gp,$gp,%lo(%neg(%gp_rel(sigsetjmp)))
176 lui $gp,%hi(%neg(%gp_rel(__sigsetjmp)))
178 daddiu $gp,$gp,%lo(%neg(%gp_rel(__sigsetjmp)))
/freebsd/lib/libc/stdlib/
H A Dstrtoimax.c57 int neg, any, cutlim; in strtoimax_l() local
70 neg = 1; in strtoimax_l()
73 neg = 0; in strtoimax_l()
109 * either 7 (neg==0) or 8 (neg==1), meaning that if we have in strtoimax_l()
117 cutoff = neg ? (uintmax_t)-(INTMAX_MIN + INTMAX_MAX) + INTMAX_MAX in strtoimax_l()
141 acc = neg ? INTMAX_MIN : INTMAX_MAX; in strtoimax_l()
146 } else if (neg) in strtoimax_l()
H A Dstrtol.c57 int neg, any, cutlim; in strtol_l() local
70 neg = 1; in strtol_l()
73 neg = 0; in strtol_l()
109 * 7 (neg==0) or 8 (neg==1), meaning that if we have accumulated in strtol_l()
116 cutoff = neg ? (unsigned long)-(LONG_MIN + LONG_MAX) + LONG_MAX in strtol_l()
140 acc = neg ? LONG_MIN : LONG_MAX; in strtol_l()
145 } else if (neg) in strtol_l()
H A Dstrtoll.c57 int neg, any, cutlim; in strtoll_l() local
71 neg = 1; in strtoll_l()
74 neg = 0; in strtoll_l()
110 * either 7 (neg==0) or 8 (neg==1), meaning that if we have in strtoll_l()
118 cutoff = neg ? (unsigned long long)-(LLONG_MIN + LLONG_MAX) + LLONG_MAX in strtoll_l()
142 acc = neg ? LLONG_MIN : LLONG_MAX; in strtoll_l()
147 } else if (neg) in strtoll_l()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineNegator.cpp172 return Builder.CreateNot(Ops[0], I->getName() + ".neg"); in visitImpl()
179 I->getName() + ".neg"); in visitImpl()
191 NewInstr->setName(I->getName() + ".neg"); in visitImpl()
207 I->getName() + ".neg") in visitImpl()
209 I->getName() + ".neg"); in visitImpl()
221 I->getName() + ".neg", /*MDFrom=*/I); in visitImpl()
240 I->getName() + ".neg", /* HasNUW */ false, in visitImpl()
286 I->getName() + ".neg"); in visitImpl()
309 return Builder.CreateFreeze(NegOp, I->getName() + ".neg"); in visitImpl()
322 PHI->getType(), PHI->getNumOperands(), PHI->getName() + ".neg"); in visitImpl()
[all …]
/freebsd/lib/libc/iconv/
H A D_strtol.h53 int any, cutlim, i, neg; in _FUNCNAME() local
78 neg = 1; in _FUNCNAME()
81 neg = 0; in _FUNCNAME()
114 * 7 (neg==0) or 8 (neg==1), meaning that if we have accumulated in _FUNCNAME()
121 cutoff = (neg ? __INT_MIN : __INT_MAX); in _FUNCNAME()
124 if (neg) { in _FUNCNAME()
142 if (neg) { in _FUNCNAME()
/freebsd/lib/libc/quad/
H A Ddivdi3.c46 int neg; in __divdi3() local
49 ua = -(u_quad_t)a, neg = 1; in __divdi3()
51 ua = a, neg = 0; in __divdi3()
53 ub = -(u_quad_t)b, neg ^= 1; in __divdi3()
57 return (neg ? -uq : uq); in __divdi3()

12345678910>>...25