Searched defs:range (Results 51 - 75 of 365) sorted by relevance

1234567891011>>

/external/ipsec-tools/src/racoon/
H A Dsecurity.c206 * configured range for a policy rule.
208 * char *range Range
209 * return: 1 if the sl is within the range
210 * 0 if the sl is not within the range or an error
215 within_range(security_context_t sl, security_context_t range) argument
224 if (!*range) /* This policy doesn't have security context */
231 * Get the sids for the sl and range contexts
240 rtn = avc_context_to_sid(range, &rangesid);
244 "sid for range context (%s).\n", range);
[all...]
/external/iptables/extensions/
H A Dlibip6t_REDIRECT.c28 " Port (range) to map to.\n"
40 parse_ports(const char *arg, struct nf_nat_range *range) argument
45 range->flags |= NF_NAT_RANGE_PROTO_SPECIFIED;
53 range->min_proto.tcp.port
54 = range->max_proto.tcp.port
65 range->min_proto.tcp.port = htons(port);
66 range->max_proto.tcp.port = htons(maxport);
77 struct nf_nat_range *range = (void *)(*cb->target)->data; local
95 parse_ports(cb->arg, range);
97 range
109 const struct nf_nat_range *range = (const void *)target->data; local
123 const struct nf_nat_range *range = (const void *)target->data; local
[all...]
H A Dlibipt_NETMAP.c57 struct nf_nat_ipv4_range *range = &mr->range[0]; local
60 range->flags |= NF_NAT_RANGE_MAP_IPS;
61 range->min_ip = cb->val.haddr.ip & cb->val.hmask.ip;
62 range->max_ip = range->min_ip | ~cb->val.hmask.ip;
69 const struct nf_nat_ipv4_range *r = &mr->range[0];
H A Dlibipt_SAME.c39 /* Parses range of IPs */
40 static void parse_to(const char *orig_arg, struct nf_nat_ipv4_range *range) argument
48 range->flags |= NF_NAT_RANGE_MAP_IPS;
58 range->min_ip = ip->s_addr;
66 range->max_ip = ip->s_addr;
68 if (range->min_ip > range->max_ip)
69 xtables_error(PARAMETER_PROBLEM, "Bad IP range \"%s-%s\"\n",
87 parse_to(cb->arg, &mr->range[mr->rangesize]);
95 mr->range[coun
[all...]
/external/jmonkeyengine/engine/src/terrain/com/jme3/terrain/heightmap/
H A DMidpointDisplacementHeightMap.java48 private float range; // The offset in which randomness will be added field in class:MidpointDisplacementHeightMap
57 * The random value is generated between the values <code>-range</code>
58 * and <code>range</code>. The <code>range</code> parameter is multiplied by
66 * @param range
67 * The range in which randomness will be added. A value of 1 will
70 * The factor by which the range will evolve at each iteration.
71 * A value of 0.5f will halve the range at each iteration and is
77 public MidpointDisplacementHeightMap(int size, float range, float persistence, long seed) throws Exception { argument
83 this.range
108 MidpointDisplacementHeightMap(int size, float range, float persistence) argument
262 setRange(float range) argument
[all...]
/external/kernel-headers/original/uapi/linux/netfilter/
H A Dnf_nat.h31 struct nf_nat_ipv4_range range[1]; member in struct:nf_nat_ipv4_multi_range_compat
/external/libvpx/libvpx/vp8/decoder/
H A Ddboolhuff.h42 unsigned int range; member in struct:__anon9473
64 unsigned int range; local
66 split = 1 + (((br->range - 1) * probability) >> 8);
76 range = split;
80 range = br->range - split;
86 register unsigned int shift = vp8_norm[range];
87 range <<= shift;
93 br->range = range;
[all...]
/external/libvpx/libvpx/vp8/encoder/
H A Dboolhuff.h32 unsigned int range; member in struct:__anon9485
66 unsigned int range = br->range; local
81 split = 1 + (((range - 1) * probability) >> 8);
83 range = split;
88 range = br->range - split;
91 shift = vp8_norm[range];
93 range <<= shift;
125 br->range
[all...]
/external/libvpx/libvpx/vp9/decoder/
H A Dvp9_reader.h38 unsigned int range; member in struct:__anon9542
60 unsigned int range; local
61 unsigned int split = (r->range * prob + (256 - prob)) >> CHAR_BIT;
71 range = split;
74 range = r->range - split;
80 register unsigned int shift = vp9_norm[range];
81 range <<= shift;
87 r->range = range;
[all...]
/external/libvpx/libvpx/vp9/encoder/
H A Dvp9_writer.h24 unsigned int range; member in struct:__anon9611
36 unsigned int range = br->range; local
40 split = 1 + (((range - 1) * probability) >> 8);
42 range = split;
46 range = br->range - split;
49 shift = vp9_norm[range];
51 range <<= shift;
78 br->range
[all...]
/external/lldb/source/Core/
H A DVMRange.cpp32 VMRange::ContainsRange(const VMRange::collection& coll, const VMRange& range) argument
34 RangeInRangeUnaryPredicate in_range_predicate(range);
/external/lldb/source/Host/macosx/cfcpp/
H A DCFCMutableArray.cpp58 CFCMutableArray::GetCountOfValue(CFRange range, const void *value) const argument
62 return ::CFArrayGetCountOfValue (array, range, value);
/external/lldb/source/Symbol/
H A DUnwindTable.cpp93 AddressRange range; local
94 if (!sc.GetAddressRange(eSymbolContextFunction | eSymbolContextSymbol, 0, false, range) || !range.GetBaseAddress().IsValid())
97 if (m_eh_frame == NULL || !m_eh_frame->GetAddressRange (addr, range))
103 FuncUnwindersSP func_unwinder_sp(new FuncUnwinders(*this, m_assembly_profiler, range));
104 m_unwinds.insert (insert_pos, std::make_pair(range.GetBaseAddress().GetFileAddress(), func_unwinder_sp));
120 AddressRange range; local
121 if (!sc.GetAddressRange(eSymbolContextFunction | eSymbolContextSymbol, 0, false, range) || !range.GetBaseAddress().IsValid())
124 if (m_eh_frame == NULL || !m_eh_frame->GetAddressRange (addr, range))
[all...]
/external/marisa-trie/lib/marisa/
H A Drange.h43 WRange(const Range &range, double weight) argument
44 : range_(range), weight_(weight) {}
61 const Range &range() const { function in class:marisa::WRange
/external/marisa-trie/v0_1_5/lib/marisa_alpha/
H A Drange.h43 WRange(const Range &range, double weight) argument
44 : range_(range), weight_(weight) {}
61 const Range &range() const { function in class:marisa_alpha::WRange
/external/skia/tests/
H A DNameAllocatorTest.cpp136 static const GrGLuint range = 32; local
137 GrGLNameAllocator allocator(1, 1 + range);
138 for (GrGLuint i = 1; i <= range; ++i) {
143 // Test freeing names out of range.
149 for (GrGLuint i = 1; i <= range/2; i += 2) {
152 for (GrGLuint i = 1; i <= range/2; i += 2) {
156 for (GrGLuint i = 1; i <= range/2; ++i) {
160 for (GrGLuint i = 1; i <= range/2; ++i) {
/external/antlr/antlr-3.4/runtime/Java/src/main/java/org/antlr/runtime/
H A DBufferedTokenStream.java69 protected int range = -1; // how deep have we gone? field in class:BufferedTokenStream
81 public int range() { return range; } method in class:BufferedTokenStream
143 throw new NoSuchElementException("token index "+i+" out of range 0.."+(tokens.size()-1));
180 if ( i>range ) range = i;
/external/antlr/antlr-3.4/runtime/Java/src/main/java/org/antlr/runtime/debug/
H A DDebugTokenStream.java110 public int range() { method in class:DebugTokenStream
111 return input.range();
/external/antlr/antlr-3.4/tool/src/main/java/org/antlr/tool/
H A DGrammarSerializerFoo.java196 public void range() { // must be char range method in class:GrammarSerializerFoo
/external/boringssl/src/crypto/bn/
H A Drandom.c184 int BN_rand_range(BIGNUM *r, const BIGNUM *range) { argument
188 if (range->neg || BN_is_zero(range)) {
193 n = BN_num_bits(range); /* n > 0 */
195 /* BN_is_bit_set(range, n - 1) always holds */
198 } else if (!BN_is_bit_set(range, n - 2) && !BN_is_bit_set(range, n - 3)) {
199 /* range = 100..._2,
200 * so 3*range (= 11..._2) is exactly one bit longer than range */
243 BN_pseudo_rand_range(BIGNUM *r, const BIGNUM *range) argument
247 BN_generate_dsa_nonce(BIGNUM *out, const BIGNUM *range, const BIGNUM *priv, const uint8_t *message, size_t message_len, BN_CTX *ctx) argument
[all...]
/external/clang/include/clang/Rewrite/Core/
H A DRewriter.h37 /// \brief Given a source range, true to include previous inserts at the
38 /// beginning of the range as part of the range itself (true by default).
40 /// \brief Given a source range, true to include previous inserts at the
41 /// end of the range as part of the range itself (true by default).
73 /// getRangeSize - Return the size in bytes of the specified range if they
81 /// range. If the start or end of the range was unrewritable or if they are
124 bool RemoveText(CharSourceRange range, argument
130 RemoveText(SourceRange range, RewriteOptions opts = RewriteOptions()) argument
143 ReplaceText(SourceRange range, StringRef NewStr) argument
157 IncreaseIndentation(SourceRange range, SourceLocation parentIndent) argument
[all...]
/external/clang/lib/StaticAnalyzer/Checkers/
H A DStackAddrEscapeChecker.cpp50 SourceRange range; local
60 range = CL->getSourceRange();
65 range = ARE->getSourceRange();
72 range = BD->getSourceRange();
79 range = VR->getDecl()->getSourceRange();
86 range = TOR->getExpr()->getSourceRange();
92 return range;
109 SourceRange range = genName(os, R, C.getASTContext()); local
113 if (range.isValid())
114 report->addRange(range);
229 SourceRange range = genName(os, cb.V[i].second, Ctx.getASTContext()); local
[all...]
/external/deqp/modules/gles2/functional/
H A Des2fImplementationLimitTests.cpp70 std::ostream& operator<< (std::ostream& str, const FloatRange& range) { return str << range.min << ", " << range.max; } argument
/external/e2fsprogs/resize/
H A Dextent.c146 float range; local
167 range = 0;
169 range = 1;
171 range = ((float) (old_loc - lowval)) /
173 if (range > 0.9)
174 range = 0.9;
175 if (range < 0.1)
176 range = 0.1;
178 mid = low + ((__u64) (range * (high-low)));
/external/easymock/src/org/easymock/internal/
H A DIMocksControlState.java44 void times(Range range); argument

Completed in 887 milliseconds

1234567891011>>