/freebsd-10.1-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-10.1-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);
|
/freebsd-10.1-release/crypto/openssl/crypto/bn/ |
H A D | bn_rand.c | 221 /* random number r: 0 <= r < range */ 222 static int bn_rand_range(int pseudo, BIGNUM *r, const BIGNUM *range) argument 229 if (range->neg || BN_is_zero(range)) { 234 n = BN_num_bits(range); /* n > 0 */ 236 /* BN_is_bit_set(range, n - 1) always holds */ 240 else if (!BN_is_bit_set(range, n - 2) && !BN_is_bit_set(range, n - 3)) { 242 * range = 100..._2, so 3*range ( 287 BN_rand_range(BIGNUM *r, const BIGNUM *range) argument 292 BN_pseudo_rand_range(BIGNUM *r, const BIGNUM *range) argument [all...] |
/freebsd-10.1-release/contrib/llvm/tools/lldb/source/Symbol/ |
H A D | UnwindTable.cpp | 93 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...] |
H A D | LineEntry.cpp | 18 range(), 44 range(section_sp, section_offset, byte_size), 59 range.Clear(); 74 return range.GetBaseAddress().IsValid() && line != LLDB_INVALID_LINE_NUMBER; 113 // Show address range 114 if (!range.Dump(s, target, style, fallback_style)) 120 if (!range.GetBaseAddress().Dump(s, 157 range.GetBaseAddress().Dump(s, target, Address::DumpStyleLoadAddress, Address::DumpStyleFileAddress); 161 range.Dump(s, target, Address::DumpStyleLoadAddress, Address::DumpStyleFileAddress); 214 int result = Address::CompareFileAddress (a.range [all...] |
H A D | Block.cpp | 57 s->Printf(", range%s = ", num_ranges > 1 ? "s" : ""); 60 const Range &range = m_ranges.GetEntryRef(i); local 61 s->AddressRange(base_addr + range.GetRangeBase(), base_addr + range.GetRangeEnd(), 4); 107 const Range &range = m_ranges.GetEntryRef(i); local 108 if (parent_block != NULL && parent_block->Contains(range) == false) 112 s->AddressRange(base_addr + range.GetRangeBase(), base_addr + range.GetRangeEnd(), 4); 208 const Range &range = m_ranges.GetEntryRef(i); local 209 s->AddressRange(base_addr + range 276 GetRangeContainingOffset(const addr_t offset, Range &range) argument 290 GetRangeContainingAddress(const Address& addr, AddressRange &range) argument 321 GetRangeContainingLoadAddress(lldb::addr_t load_addr, Target &target, AddressRange &range) argument 352 GetRangeAtIndex(uint32_t range_idx, AddressRange &range) argument 393 AddRange(const Range& range) argument [all...] |
/freebsd-10.1-release/crypto/heimdal/lib/hx509/ |
H A D | quote.py | 45 for i in range(0, 256): 48 for i in range(0, 256): 52 for i in range(ord("A"), ord("Z") + 1): 54 for i in range(ord("a"), ord("z") + 1): 56 for i in range(ord("0"), ord("9") + 1): 93 for x in range(0, 256):
|
/freebsd-10.1-release/contrib/llvm/tools/lldb/include/lldb/Core/ |
H A D | VMRange.h | 19 // A vm address range. These can represent offsets ranges or actual 61 // Set the start value for the range, and keep the same size 115 Contains (const VMRange& range) const 117 if (Contains(range.GetBaseAddress())) 119 lldb::addr_t range_end = range.GetEndAddress(); 135 bool operator()(const VMRange& range) const 137 return range.Contains(_value); 145 RangeInRangeUnaryPredicate(VMRange range) : argument 146 _range(range) 149 bool operator()(const VMRange& range) cons [all...] |
/freebsd-10.1-release/contrib/xz/src/liblzma/rangecoder/ |
H A D | range_decoder.h | 21 uint32_t range; member in struct:__anon4905 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:__anon4906 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-10.1-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-10.1-release/contrib/subversion/subversion/libsvn_subr/ |
H A D | mergeinfo.c | 117 * revision range. 121 * change described by the range, and the oldest possible change is "r1" as 123 #define IS_VALID_FORWARD_RANGE(range) \ 124 (SVN_IS_VALID_REVNUM((range)->start) && ((range)->start < (range)->end)) 141 /* One range is a proper subset of the other. */ 181 on whether and how NEW_RANGE overlaps any merge range[*] in RANGELIST, 182 and also on any differences in the inheritability of each range, 184 this result, by adjusting the last range i 467 range_to_string(const svn_merge_range_t *range, apr_pool_t *pool) argument 619 svn_merge_range_t *range, *lastrange; local 935 svn_merge_range_t *range = local 1190 range_swap_endpoints(svn_merge_range_t *range) argument 1219 svn_merge_range_t *range; local 1890 svn_merge_range_t *range; local 2078 svn_merge_range_t *range = APR_ARRAY_IDX(rangelist, i, local 2241 svn_merge_range_dup(const svn_merge_range_t *range, apr_pool_t *pool) argument 2249 svn_merge_range_contains_rev(const svn_merge_range_t *range, svn_revnum_t rev) argument 2338 svn_merge_range_t *range = APR_ARRAY_IDX(rangelist, local 2461 svn_merge_range_t *range = local 2505 svn_merge_range_t *range = APR_ARRAY_IDX(rangelist, i, local 2523 svn_merge_range_t *range = apr_pcalloc(result_pool, sizeof(*range)); local 2546 svn_merge_range_t *range; local [all...] |
/freebsd-10.1-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-10.1-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-10.1-release/contrib/llvm/tools/lldb/include/lldb/Target/ |
H A D | ThreadPlanStepInRange.h | 31 const AddressRange &range, 36 const AddressRange &range, 82 const AddressRange &range, 87 const AddressRange &range,
|
/freebsd-10.1-release/crypto/heimdal/lib/wind/ |
H A D | util.py | 41 for i in range(lLen - slLen + 1):
|
/freebsd-10.1-release/contrib/llvm/tools/lldb/source/Plugins/SymbolFile/DWARF/ |
H A D | DWARFDebugArangeSet.cpp | 72 // The current range ends at or exceeds the start of the next address range. 82 // Discontiguous address range, just proceed to the next one. 96 // Add a range descriptor and keep things sorted so we can easily 100 DWARFDebugArangeSet::AddDescriptor(const DWARFDebugArangeSet::Descriptor& range) argument 104 m_arange_descriptors.push_back(range); 109 DescriptorIter pos = lower_bound(m_arange_descriptors.begin(), end, range, DescriptorLessThan); 110 const dw_addr_t range_end_addr = range.end_address(); 114 if (range.address < pos->address) 119 m_arange_descriptors.insert(pos, range); [all...] |
/freebsd-10.1-release/contrib/llvm/tools/lldb/source/Commands/ |
H A D | CommandObjectDisassemble.cpp | 373 AddressRange range; local 386 range = pc_line_entry.range; 405 range.GetBaseAddress() = symbol->GetAddress(); 406 range.SetByteSize(symbol->GetByteSize()); 410 // Did the "m_options.frame_line" find a valid range already? If so 412 if (range.GetByteSize() == 0) 422 range.GetBaseAddress() = frame->GetFrameCodeAddress(); 431 range.GetBaseAddress().SetOffset (m_options.start_addr); 432 if (range [all...] |
/freebsd-10.1-release/contrib/llvm/tools/lldb/include/lldb/Symbol/ |
H A D | Block.h | 30 /// address range, and Block objects contain one or more ranges 31 /// which are offsets into that range. Blocks are can have discontiguous 32 /// ranges within the BlockList adress range, and each block can 92 /// Add a new offset range to this block. 95 /// An offset into this Function's address range that 96 /// describes the start address of a range for this block. 99 /// An offset into this Function's address range that 100 /// describes the end address of a range for this block. 103 AddRange (const Range& range); 132 /// An offset into the Function's address range [all...] |
/freebsd-10.1-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-10.1-release/contrib/libgnuregex/ |
H A D | regex.c | 42 # define re_search(bufp, string, size, startpos, range, regs) \ 43 __re_search (bufp, string, size, startpos, range, regs) 47 # define re_search_2(bufp, st1, s1, st2, s2, startpos, range, regs, stop) \ 48 __re_search_2 (bufp, st1, s1, st2, s2, startpos, range, regs, stop)
|
/freebsd-10.1-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-10.1-release/contrib/subversion/subversion/libsvn_client/ |
H A D | log.c | 469 and oldest revision range that spans all of OPT_REV_RANGES. */ 475 svn_opt_revision_range_t *range; 479 range = APR_ARRAY_IDX(opt_rev_ranges, i, svn_opt_revision_range_t *); 484 if ((range->start.kind != svn_opt_revision_unspecified) 485 && (range->end.kind == svn_opt_revision_unspecified)) 495 range->end = range->start; 497 else if (range->start.kind == svn_opt_revision_unspecified) 505 range->start.kind = svn_opt_revision_head; 507 range 474 svn_opt_revision_range_t *range; local 691 rev_range_t *range; local [all...] |