/freebsd-9.3-release/usr.sbin/ppp/ |
H A D | ncpaddr.c | 413 struct ncprange range; local 415 if (!ncprange_aton(&range, ncp, data)) 418 if (range.ncprange_family == AF_INET && range.ncprange_ip4width != 32 && 419 range.ncprange_ip4addr.s_addr != INADDR_ANY) { 425 if (range.ncprange_family == AF_INET6 && range.ncprange_ip6width != 128 && 426 !IN6_IS_ADDR_UNSPECIFIED(&range.ncprange_ip6addr)) { 432 switch (range.ncprange_family) { 434 addr->ncpaddr_family = range 450 ncprange_init(struct ncprange *range) argument 456 ncprange_isset(const struct ncprange *range) argument 462 ncprange_equal(const struct ncprange *range, const struct ncprange *cmp) argument 489 ncprange_isdefault(const struct ncprange *range) argument 510 ncprange_setdefault(struct ncprange *range, int af) argument 517 ncprange_contains(const struct ncprange *range, const struct ncpaddr *addr) argument 550 ncprange_containsip4(const struct ncprange *range, struct in_addr addr) argument 562 ncprange_copy(struct ncprange *range, const struct ncprange *from) argument 586 ncprange_set(struct ncprange *range, const struct ncpaddr *addr, int width) argument 593 ncprange_sethost(struct ncprange *range, const struct ncpaddr *from) argument 622 ncprange_ishost(const struct ncprange *range) argument 637 ncprange_setwidth(struct ncprange *range, int width) argument 663 ncprange_setip4host(struct ncprange *range, struct in_addr from) argument 677 ncprange_setip4(struct ncprange *range, struct in_addr from, struct in_addr msk) argument 687 ncprange_setip4mask(struct ncprange *range, struct in_addr mask) argument 697 ncprange_setsa(struct ncprange *range, const struct sockaddr *host, const struct sockaddr *mask) argument 740 ncprange_getsa(const struct ncprange *range, struct sockaddr_storage *host, struct sockaddr_storage *mask) argument 788 ncprange_getaddr(const struct ncprange *range, struct ncpaddr *addr) argument 807 ncprange_getip4addr(const struct ncprange *range, struct in_addr *addr) argument 817 ncprange_getip4mask(const struct ncprange *range, struct in_addr *mask) argument 829 ncprange_getwidth(const struct ncprange *range, int *width) argument 846 ncprange_ntoa(const struct ncprange *range) argument 888 ncprange_scopeid(const struct ncprange *range) argument 905 ncprange_aton(struct ncprange *range, struct ncp *ncp, const char *data) argument [all...] |
H A D | ncp.c | 371 ncp_IsUrgentPort(struct port_range *range, u_short src, u_short dst) argument 375 for (f = 0; f < range->nports; f++) 376 if (range->port[f] == src || range->port[f] == dst) 383 ncp_AddUrgentPort(struct port_range *range, u_short port) argument 388 if (range->nports == range->maxports) { 389 range->maxports += 10; 390 newport = (u_short *)realloc(range->port, 391 range 418 ncp_RemoveUrgentPort(struct port_range *range, u_short port) argument 436 ncp_ClearUrgentPorts(struct port_range *range) argument [all...] |
/freebsd-9.3-release/contrib/llvm/tools/clang/include/clang/Edit/ |
H A D | EditsReceiver.h | 26 virtual void replace(CharSourceRange range, StringRef text) = 0; 28 virtual void remove(CharSourceRange range);
|
H A D | Commit.h | 78 bool insertFromRange(SourceLocation loc, CharSourceRange range, 81 bool insertWrap(StringRef before, CharSourceRange range, StringRef after); 83 bool remove(CharSourceRange range); 85 bool replace(CharSourceRange range, StringRef text); 86 bool replaceWithInner(CharSourceRange range, CharSourceRange innerRange); 126 bool canRemoveRange(CharSourceRange range, FileOffset &Offs, unsigned &Len);
|
/freebsd-9.3-release/crypto/openssl/crypto/bn/ |
H A D | bn_rand.c | 220 /* random number r: 0 <= r < range */ 221 static int bn_rand_range(int pseudo, BIGNUM *r, const BIGNUM *range) argument 228 if (range->neg || BN_is_zero(range)) { 233 n = BN_num_bits(range); /* n > 0 */ 235 /* BN_is_bit_set(range, n - 1) always holds */ 239 else if (!BN_is_bit_set(range, n - 2) && !BN_is_bit_set(range, n - 3)) { 241 * range = 100..._2, so 3*range ( 286 BN_rand_range(BIGNUM *r, const BIGNUM *range) argument 291 BN_pseudo_rand_range(BIGNUM *r, const BIGNUM *range) argument [all...] |
/freebsd-9.3-release/contrib/xz/src/liblzma/rangecoder/ |
H A D | range_decoder.h | 21 uint32_t range; member in struct:__anon4527 27 /// Reads the first five bytes to initialize the range decoder. 45 /// Makes local copies of range decoder and *in_pos variables. Doing this 46 /// improves speed significantly. The range decoder macros expect also 54 /// Stores the local copes back to the range decoder structure. 62 /// Resets the range decoder structure. 65 (range_decoder).range = UINT32_MAX; \ 83 if (rc.range < RC_TOP_VALUE) { \ 88 rc.range <<= RC_SHIFT_BITS; \ 107 rc_bound = (rc.range >> RC_BIT_MODEL_TOTAL_BIT [all...] |
H A D | range_encoder.h | 23 /// (match with big distance and length followed by range encoder flush). 30 uint32_t range; member in struct:__anon4528 59 rc->range = UINT32_MAX; 157 if (rc->range < RC_TOP_VALUE) { 161 rc->range <<= RC_SHIFT_BITS; 168 rc->range = (rc->range >> RC_BIT_MODEL_TOTAL_BITS) 177 const uint32_t bound = prob * (rc->range 180 rc->range -= bound; 187 rc->range >> [all...] |
/freebsd-9.3-release/contrib/llvm/tools/clang/lib/ARCMigrate/ |
H A D | Internals.h | 32 bool clearDiagnostic(ArrayRef<unsigned> IDs, SourceRange range); 33 bool hasDiagnostic(ArrayRef<unsigned> IDs, SourceRange range) const; 65 void remove(SourceRange range); 67 void replace(SourceRange range, StringRef text); 68 void replace(SourceRange range, SourceRange replacementRange); 72 void increaseIndentation(SourceRange range, 75 bool clearDiagnostic(ArrayRef<unsigned> IDs, SourceRange range); 76 bool clearAllDiagnostics(SourceRange range) { argument 77 return clearDiagnostic(ArrayRef<unsigned>(), range); 79 bool clearDiagnostic(unsigned ID1, unsigned ID2, SourceRange range) { argument 83 clearDiagnostic(unsigned ID1, unsigned ID2, unsigned ID3, SourceRange range) argument 89 hasDiagnostic(unsigned ID, SourceRange range) argument 93 hasDiagnostic(unsigned ID1, unsigned ID2, SourceRange range) argument [all...] |
H A D | TransformActions.cpp | 23 /// with applyRewrites(). E.g. if the same source range 64 /// \brief A range to remove. It is a character range. 68 CharRange(CharSourceRange range, SourceManager &srcMgr, Preprocessor &PP) { argument 69 SourceLocation beginLoc = range.getBegin(), endLoc = range.getEnd(); 71 if (range.isTokenRange()) { 136 void remove(SourceRange range); 138 void replace(SourceRange range, StringRef text); 139 void replace(SourceRange range, SourceRang 305 remove(SourceRange range) argument 321 replace(SourceRange range, StringRef text) argument 328 replace(SourceRange range, SourceRange replacementRange) argument 357 increaseIndentation(SourceRange range, SourceLocation parentIndent) argument 368 clearDiagnostic(ArrayRef<unsigned> IDs, SourceRange range) argument 408 canRemoveRange(SourceRange range) argument 412 canReplaceRange(SourceRange range, SourceRange replacementRange) argument 445 commitRemove(SourceRange range) argument 463 commitReplace(SourceRange range, SourceRange replacementRange) argument 491 commitIncreaseIndentation(SourceRange range, SourceLocation parentIndent) argument 500 commitClearDiagnostic(ArrayRef<unsigned> IDs, SourceRange range) argument 519 addRemoval(CharSourceRange range) argument 568 CharSourceRange range = CharSourceRange::getCharRange(I->first.Begin, local 575 CharSourceRange range = CharSourceRange::getCharRange(I->Begin, I->End); local 634 remove(SourceRange range) argument 642 replace(SourceRange range, StringRef text) argument 646 replace(SourceRange range, SourceRange replacementRange) argument 661 increaseIndentation(SourceRange range, SourceLocation parentIndent) argument 667 clearDiagnostic(ArrayRef<unsigned> IDs, SourceRange range) argument 676 reportError(StringRef error, SourceLocation loc, SourceRange range) argument 696 reportWarning(StringRef warning, SourceLocation loc, SourceRange range) argument 715 reportNote(StringRef note, SourceLocation loc, SourceRange range) argument [all...] |
/freebsd-9.3-release/contrib/llvm/tools/clang/lib/Edit/ |
H A D | Commit.cpp | 62 CharSourceRange range, 66 if (!canRemoveRange(range, RangeOffs, RangeLen)) { 79 PPRec->areInDifferentConditionalDirectiveRegion(loc, range.getBegin())) { 88 bool Commit::remove(CharSourceRange range) { argument 91 if (!canRemoveRange(range, Offs, Len)) { 96 addRemove(range.getBegin(), Offs, Len); 100 bool Commit::insertWrap(StringRef before, CharSourceRange range, argument 102 bool commitableBefore = insert(range.getBegin(), before, /*afterToken=*/false, 105 if (range.isTokenRange()) 106 commitableAfter = insertAfterToken(range 61 insertFromRange(SourceLocation loc, CharSourceRange range, bool afterToken, bool beforePreviousInsertions) argument 113 replace(CharSourceRange range, StringRef text) argument 129 replaceWithInner(CharSourceRange range, CharSourceRange replacementRange) argument 297 canRemoveRange(CharSourceRange range, FileOffset &Offs, unsigned &Len) argument [all...] |
/freebsd-9.3-release/contrib/llvm/tools/clang/lib/StaticAnalyzer/Checkers/ |
H A D | StackAddrEscapeChecker.cpp | 50 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...] |
/freebsd-9.3-release/contrib/llvm/tools/clang/include/clang/Rewrite/Core/ |
H A D | Rewriter.h | 86 /// ReplaceText - This method replaces a range of characters in the input 133 /// \brief Given a source range, true to include previous inserts at the 134 /// beginning of the range as part of the range itself (true by default). 136 /// \brief Given a source range, true to include previous inserts at the 137 /// end of the range as part of the range itself (true by default). 169 /// getRangeSize - Return the size in bytes of the specified range if they 177 /// range. If the start or end of the range wa 220 RemoveText(CharSourceRange range, RewriteOptions opts = RewriteOptions()) argument 226 RemoveText(SourceRange range, RewriteOptions opts = RewriteOptions()) argument 239 ReplaceText(SourceRange range, StringRef NewStr) argument 258 IncreaseIndentation(SourceRange range, SourceLocation parentIndent) argument [all...] |
/freebsd-9.3-release/gnu/lib/libregex/ |
H A D | regex.c | 63 # define re_search(bufp, string, size, startpos, range, regs) \ 64 __re_search (bufp, string, size, startpos, range, regs) 68 # define re_search_2(bufp, st1, s1, st2, s2, startpos, range, regs, stop) \ 69 __re_search_2 (bufp, st1, s1, st2, s2, startpos, range, regs, stop)
|
H A D | regex.h | 16 int length, int start, int range, struct re_registers *regs)); 21 int start, int range, struct re_registers *regs, int stop));
|
/freebsd-9.3-release/sys/sparc64/isa/ |
H A D | ofw_isa.c | 81 ofw_isa_range_restype(struct isa_ranges *range) argument 83 int ps = ISA_RANGE_PS(range); 98 ofw_isa_range_map(struct isa_ranges *range, int nrange, u_long *start, argument 106 r = &range[i]; 123 panic("ofw_isa_map_iorange: could not map range %#lx - %#lx",
|
/freebsd-9.3-release/contrib/bind9/lib/isc/ |
H A D | regex.c | 51 int range = 0; local 212 if (range == 2) goto inside; 214 if (range == 1) 215 FAIL("bad range"); 216 range = 2; 223 if (range) --range; 229 if (range == 2) 230 FAIL("equivalence class in range"); 236 if (range [all...] |
/freebsd-9.3-release/crypto/heimdal/lib/asn1/ |
H A D | symbol.h | 110 struct range { struct 125 struct range *range; member in struct:type
|
H A D | gen_length.c | 80 } else if (t->range == NULL) { 82 } else if (t->range->min == INT_MIN && t->range->max == INT_MAX) { 84 } else if (t->range->min == 0 && t->range->max == UINT_MAX) { 86 } else if (t->range->min == 0 && t->range->max == INT_MAX) { 89 errx(1, "%s: unsupported range %d -> %d", 90 name, t->range->min, t->range [all...] |
H A D | gen.c | 386 if (t->range) 388 t->range->min, t->range->max); 548 } else if (t->range == NULL) { 550 } else if (t->range->min == INT_MIN && t->range->max == INT_MAX) { 552 } else if (t->range->min == 0 && t->range->max == UINT_MAX) { 554 } else if (t->range->min == 0 && t->range 571 struct range range = { 0, INT_MAX }; local 645 struct range range = { 0, INT_MAX }; local [all...] |
H A D | gen_encode.c | 130 } else if (t->range == NULL) { 132 } else if (t->range->min == INT_MIN && t->range->max == INT_MAX) { 134 } else if (t->range->min == 0 && t->range->max == UINT_MAX) { 136 } else if (t->range->min == 0 && t->range->max == INT_MAX) { 139 errx(1, "%s: unsupported range %d -> %d", 140 name, t->range->min, t->range [all...] |
/freebsd-9.3-release/contrib/llvm/tools/clang/include/clang/AST/ |
H A D | StmtIterator.h | 140 /// A range of statement iterators. 144 /// for (StmtRange range = stmt->children(); range; ++range) 157 assert(!empty() && "incrementing on empty range"); 163 assert(!empty() && "incrementing on empty range"); 169 friend const StmtIterator &begin(const StmtRange &range) { argument 170 return range.first; 172 friend const StmtIterator &end(const StmtRange &range) { argument 173 return range 187 ConstStmtRange(const StmtRange &range) argument 212 begin(const ConstStmtRange &range) argument 215 end(const ConstStmtRange &range) argument [all...] |
/freebsd-9.3-release/contrib/binutils/gas/ |
H A D | itbl-parse.y | 136 ; bitfield range for opcode 149 frange -> (null) ; default range of 31-0 will be assumed 231 To handle more than one bit position range within an instruction, 234 ranges within an instruction (range','range). 314 | pnum INSN name value range flags 352 ftype range flags 387 range: label 390 DBGL2 (("range %d %d\n", $2, $4));
|
H A D | itbl-ops.c | 70 * struct itbl_range range = 24-21 73 * struct itbl_range range = 20-16 76 * struct itbl_range range = 15-0 123 struct itbl_range range; /* field's bitfield range within instruction */ member in struct:itbl_field 139 struct itbl_range range; /* bit range within instruction for value */ member in struct:itbl_entry 215 e->range.sbit = sbit; 216 e->range.ebit = ebit; 352 o->mask = apply_range (e->value, e->range); [all...] |
/freebsd-9.3-release/crypto/heimdal/lib/krb5/ |
H A D | test_addr.c | 131 krb5_addresses range, one; local 134 ret = krb5_parse_address(context, range_addr, &range); 138 if (range.len != 1) 148 if (krb5_address_order(context, &range.val[0], &one.val[0]) == 0) { 156 krb5_free_addresses(context, &range);
|
/freebsd-9.3-release/crypto/heimdal/lib/gssapi/krb5/ |
H A D | test_cfx.c | 38 struct range { struct 43 struct range tests[] = { 52 test_range(const struct range *r, int integ,
|