| /trueos/usr.sbin/ppp/ |
| HD | ncpaddr.c | 413 struct ncprange range; in ncpaddr_aton() local 415 if (!ncprange_aton(&range, ncp, data)) in ncpaddr_aton() 418 if (range.ncprange_family == AF_INET && range.ncprange_ip4width != 32 && in ncpaddr_aton() 419 range.ncprange_ip4addr.s_addr != INADDR_ANY) { in ncpaddr_aton() 425 if (range.ncprange_family == AF_INET6 && range.ncprange_ip6width != 128 && in ncpaddr_aton() 426 !IN6_IS_ADDR_UNSPECIFIED(&range.ncprange_ip6addr)) { in ncpaddr_aton() 432 switch (range.ncprange_family) { in ncpaddr_aton() 434 addr->ncpaddr_family = range.ncprange_family; in ncpaddr_aton() 435 addr->ncpaddr_ip4addr = range.ncprange_ip4addr; in ncpaddr_aton() 440 addr->ncpaddr_family = range.ncprange_family; in ncpaddr_aton() [all …]
|
| HD | ncp.c | 371 ncp_IsUrgentPort(struct port_range *range, u_short src, u_short dst) in ncp_IsUrgentPort() argument 375 for (f = 0; f < range->nports; f++) in ncp_IsUrgentPort() 376 if (range->port[f] == src || range->port[f] == dst) in ncp_IsUrgentPort() 383 ncp_AddUrgentPort(struct port_range *range, u_short port) in ncp_AddUrgentPort() argument 388 if (range->nports == range->maxports) { in ncp_AddUrgentPort() 389 range->maxports += 10; in ncp_AddUrgentPort() 390 newport = (u_short *)realloc(range->port, in ncp_AddUrgentPort() 391 range->maxports * sizeof(u_short)); in ncp_AddUrgentPort() 395 range->maxports -= 10; in ncp_AddUrgentPort() 398 range->port = newport; in ncp_AddUrgentPort() [all …]
|
| /trueos/contrib/llvm/tools/clang/lib/ARCMigrate/ |
| HD | TransformActions.cpp | 68 CharRange(CharSourceRange range, SourceManager &srcMgr, Preprocessor &PP) { in CharRange() 69 SourceLocation beginLoc = range.getBegin(), endLoc = range.getEnd(); in CharRange() 71 if (range.isTokenRange()) { in CharRange() 136 void remove(SourceRange range); 138 void replace(SourceRange range, StringRef text); 139 void replace(SourceRange range, SourceRange replacementRange); 143 void increaseIndentation(SourceRange range, 146 bool clearDiagnostic(ArrayRef<unsigned> IDs, SourceRange range); 153 bool canRemoveRange(SourceRange range); 154 bool canReplaceRange(SourceRange range, SourceRange replacementRange); [all …]
|
| HD | 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) { in clearAllDiagnostics() argument 77 return clearDiagnostic(ArrayRef<unsigned>(), range); in clearAllDiagnostics() 79 bool clearDiagnostic(unsigned ID1, unsigned ID2, SourceRange range) { in clearDiagnostic() argument [all …]
|
| /trueos/contrib/subversion/subversion/libsvn_subr/ |
| HD | mergeinfo.c | 123 #define IS_VALID_FORWARD_RANGE(range) \ argument 124 (SVN_IS_VALID_REVNUM((range)->start) && ((range)->start < (range)->end)) 467 range_to_string(const svn_merge_range_t *range, in range_to_string() argument 471 = range->inheritable ? "" : SVN_MERGEINFO_NONINHERITABLE_STR; in range_to_string() 473 if (range->start == range->end - 1) in range_to_string() 474 return apr_psprintf(pool, "%ld%s", range->end, mark); in range_to_string() 475 else if (range->start - 1 == range->end) in range_to_string() 476 return apr_psprintf(pool, "-%ld%s", range->start, mark); in range_to_string() 477 else if (range->start < range->end) in range_to_string() 478 return apr_psprintf(pool, "%ld-%ld%s", range->start + 1, range->end, mark); in range_to_string() [all …]
|
| /trueos/crypto/openssl/crypto/bn/ |
| HD | bn_rand.c | 222 static int bn_rand_range(int pseudo, BIGNUM *r, const BIGNUM *range) in bn_rand_range() argument 229 if (range->neg || BN_is_zero(range)) { in bn_rand_range() 234 n = BN_num_bits(range); /* n > 0 */ in bn_rand_range() 240 else if (!BN_is_bit_set(range, n - 2) && !BN_is_bit_set(range, n - 3)) { in bn_rand_range() 254 if (BN_cmp(r, range) >= 0) { in bn_rand_range() 255 if (!BN_sub(r, r, range)) in bn_rand_range() 257 if (BN_cmp(r, range) >= 0) in bn_rand_range() 258 if (!BN_sub(r, r, range)) in bn_rand_range() 268 while (BN_cmp(r, range) >= 0); in bn_rand_range() 280 while (BN_cmp(r, range) >= 0); in bn_rand_range() [all …]
|
| /trueos/contrib/llvm/tools/clang/lib/Edit/ |
| HD | Commit.cpp | 62 CharSourceRange range, in insertFromRange() argument 66 if (!canRemoveRange(range, RangeOffs, RangeLen)) { in insertFromRange() 79 PPRec->areInDifferentConditionalDirectiveRegion(loc, range.getBegin())) { in insertFromRange() 88 bool Commit::remove(CharSourceRange range) { in remove() argument 91 if (!canRemoveRange(range, Offs, Len)) { in remove() 96 addRemove(range.getBegin(), Offs, Len); in remove() 100 bool Commit::insertWrap(StringRef before, CharSourceRange range, in insertWrap() argument 102 bool commitableBefore = insert(range.getBegin(), before, /*afterToken=*/false, in insertWrap() 105 if (range.isTokenRange()) in insertWrap() 106 commitableAfter = insertAfterToken(range.getEnd(), after); in insertWrap() [all …]
|
| /trueos/contrib/llvm/tools/lldb/source/Symbol/ |
| HD | Block.cpp | 60 const Range &range = m_ranges.GetEntryRef(i); in GetDescription() local 61 s->AddressRange(base_addr + range.GetRangeBase(), base_addr + range.GetRangeEnd(), 4); in GetDescription() 107 const Range &range = m_ranges.GetEntryRef(i); in Dump() local 108 if (parent_block != NULL && parent_block->Contains(range) == false) in Dump() 112 s->AddressRange(base_addr + range.GetRangeBase(), base_addr + range.GetRangeEnd(), 4); in Dump() 208 const Range &range = m_ranges.GetEntryRef(i); in DumpAddressRanges() local 209 s->AddressRange(base_addr + range.GetRangeBase(), base_addr + range.GetRangeEnd(), 4); in DumpAddressRanges() 239 Block::Contains (const Range& range) const in Contains() 241 return m_ranges.FindEntryThatContains (range) != NULL; in Contains() 276 Block::GetRangeContainingOffset (const addr_t offset, Range &range) in GetRangeContainingOffset() argument [all …]
|
| HD | UnwindTable.cpp | 93 AddressRange range; in GetFuncUnwindersContainingAddress() local 94 …dressRange(eSymbolContextFunction | eSymbolContextSymbol, 0, false, range) || !range.GetBaseAddres… in GetFuncUnwindersContainingAddress() 97 if (m_eh_frame == NULL || !m_eh_frame->GetAddressRange (addr, range)) in GetFuncUnwindersContainingAddress() 103 FuncUnwindersSP func_unwinder_sp(new FuncUnwinders(*this, m_assembly_profiler, range)); in GetFuncUnwindersContainingAddress() 104 …m_unwinds.insert (insert_pos, std::make_pair(range.GetBaseAddress().GetFileAddress(), func_unwinde… in GetFuncUnwindersContainingAddress() 120 AddressRange range; in GetUncachedFuncUnwindersContainingAddress() local 121 …dressRange(eSymbolContextFunction | eSymbolContextSymbol, 0, false, range) || !range.GetBaseAddres… in GetUncachedFuncUnwindersContainingAddress() 124 if (m_eh_frame == NULL || !m_eh_frame->GetAddressRange (addr, range)) in GetUncachedFuncUnwindersContainingAddress() 130 FuncUnwindersSP func_unwinder_sp(new FuncUnwinders(*this, m_assembly_profiler, range)); in GetUncachedFuncUnwindersContainingAddress()
|
| HD | LineEntry.cpp | 18 range(), in LineEntry() 44 range(section_sp, section_offset, byte_size), in LineEntry() 59 range.Clear(); in Clear() 74 return range.GetBaseAddress().IsValid() && line != LLDB_INVALID_LINE_NUMBER; in IsValid() 114 if (!range.Dump(s, target, style, fallback_style)) in Dump() 120 if (!range.GetBaseAddress().Dump(s, in Dump() 157 …range.GetBaseAddress().Dump(s, target, Address::DumpStyleLoadAddress, Address::DumpStyleFileAddres… in GetDescription() 161 range.Dump(s, target, Address::DumpStyleLoadAddress, Address::DumpStyleFileAddress); in GetDescription() 214 int result = Address::CompareFileAddress (a.range.GetBaseAddress(), b.range.GetBaseAddress()); in Compare() 218 const lldb::addr_t a_byte_size = a.range.GetByteSize(); in Compare() [all …]
|
| /trueos/contrib/llvm/tools/lldb/source/Commands/ |
| HD | CommandObjectDisassemble.cpp | 373 AddressRange range; in DoExecute() local 386 range = pc_line_entry.range; in DoExecute() 405 range.GetBaseAddress() = symbol->GetAddress(); in DoExecute() 406 range.SetByteSize(symbol->GetByteSize()); in DoExecute() 412 if (range.GetByteSize() == 0) in DoExecute() 422 range.GetBaseAddress() = frame->GetFrameCodeAddress(); in DoExecute() 431 range.GetBaseAddress().SetOffset (m_options.start_addr); in DoExecute() 432 if (range.GetBaseAddress().IsValid()) in DoExecute() 442 range.SetByteSize (m_options.end_addr - m_options.start_addr); in DoExecute() 462 … sc.GetAddressRange (eSymbolContextFunction | eSymbolContextSymbol, 0, false, range); in DoExecute() [all …]
|
| /trueos/contrib/gdb/gdb/doc/ |
| HD | LRS | 27 range symbols: 30 A range symbol will be used to mark the beginning or end of a 31 live range (the range which describes where a symbol is active, 34 and "range_end" to identify the range symbols which mark the beginning 35 and end of a live range respectively. 38 (eg. a function name) can be used as range symbol. If an address 39 is needed to delimit a live range and does not match any of the 46 For efficiency, the compiler should use existing symbols as range 54 range_off - contains PC function offset for start/end of a live range. 62 range - contains PC value of beginning or end of a live range [all …]
|
| /trueos/contrib/subversion/subversion/libsvn_client/ |
| HD | log.c | 474 svn_opt_revision_range_t *range; in convert_opt_rev_array_to_rev_range_array() local 478 range = APR_ARRAY_IDX(opt_rev_ranges, i, svn_opt_revision_range_t *); in convert_opt_rev_array_to_rev_range_array() 483 if ((range->start.kind != svn_opt_revision_unspecified) in convert_opt_rev_array_to_rev_range_array() 484 && (range->end.kind == svn_opt_revision_unspecified)) in convert_opt_rev_array_to_rev_range_array() 494 range->end = range->start; in convert_opt_rev_array_to_rev_range_array() 496 else if (range->start.kind == svn_opt_revision_unspecified) in convert_opt_rev_array_to_rev_range_array() 504 range->start.kind = svn_opt_revision_head; in convert_opt_rev_array_to_rev_range_array() 506 range->start.kind = svn_opt_revision_base; in convert_opt_rev_array_to_rev_range_array() 509 range->start = *peg_rev; in convert_opt_rev_array_to_rev_range_array() 511 if (range->end.kind == svn_opt_revision_unspecified) in convert_opt_rev_array_to_rev_range_array() [all …]
|
| /trueos/contrib/llvm/tools/lldb/source/Plugins/SymbolFile/DWARF/ |
| HD | DWARFDebugArangeSet.cpp | 100 DWARFDebugArangeSet::AddDescriptor(const DWARFDebugArangeSet::Descriptor& range) in AddDescriptor() argument 104 m_arange_descriptors.push_back(range); in AddDescriptor() 109 DescriptorIter pos = lower_bound(m_arange_descriptors.begin(), end, range, DescriptorLessThan); in AddDescriptor() 110 const dw_addr_t range_end_addr = range.end_address(); in AddDescriptor() 114 if (range.address < pos->address) in AddDescriptor() 119 m_arange_descriptors.insert(pos, range); in AddDescriptor() 127 pos->address = range.address; in AddDescriptor() 128 pos->length += range.length; in AddDescriptor() 134 pos->address = range.address; in AddDescriptor() 138 else if (range.address == pos->address) in AddDescriptor() [all …]
|
| /trueos/contrib/xz/src/liblzma/rangecoder/ |
| HD | range_decoder.h | 21 uint32_t range; member 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_BITS) * (prob); \ 115 rc.range = rc_bound; \ 124 rc.range -= rc_bound; \ 168 rc.range >>= 1; \ 169 rc.code -= rc.range; \ 171 rc.code += rc.range & rc_bound; \
|
| HD | range_encoder.h | 30 uint32_t range; member 59 rc->range = UINT32_MAX; in rc_reset() 157 if (rc->range < RC_TOP_VALUE) { in rc_encode() 161 rc->range <<= RC_SHIFT_BITS; in rc_encode() 168 rc->range = (rc->range >> RC_BIT_MODEL_TOTAL_BITS) in rc_encode() 177 const uint32_t bound = prob * (rc->range in rc_encode() 180 rc->range -= bound; in rc_encode() 187 rc->range >>= 1; in rc_encode() 191 rc->range >>= 1; in rc_encode() 192 rc->low += rc->range; in rc_encode() [all …]
|
| /trueos/contrib/llvm/tools/clang/include/clang/Rewrite/Core/ |
| HD | Rewriter.h | 220 bool RemoveText(CharSourceRange range, 222 return RemoveText(range.getBegin(), getRangeSize(range, opts), opts); 226 bool RemoveText(SourceRange range, RewriteOptions opts = RewriteOptions()) { 227 return RemoveText(range.getBegin(), getRangeSize(range, opts), opts); 239 bool ReplaceText(SourceRange range, StringRef NewStr) { in ReplaceText() argument 240 return ReplaceText(range.getBegin(), getRangeSize(range), NewStr); in ReplaceText() 246 bool ReplaceText(SourceRange range, SourceRange replacementRange); 257 bool IncreaseIndentation(CharSourceRange range, SourceLocation parentIndent); 258 bool IncreaseIndentation(SourceRange range, SourceLocation parentIndent) { in IncreaseIndentation() argument 259 return IncreaseIndentation(CharSourceRange::getTokenRange(range), in IncreaseIndentation()
|
| /trueos/contrib/llvm/tools/lldb/include/lldb/Core/ |
| HD | VMRange.h | 115 Contains (const VMRange& range) const in Contains() argument 117 if (Contains(range.GetBaseAddress())) in Contains() 119 lldb::addr_t range_end = range.GetEndAddress(); in Contains() 135 bool operator()(const VMRange& range) const in operator() 137 return range.Contains(_value); in operator() 145 RangeInRangeUnaryPredicate(VMRange range) : in RangeInRangeUnaryPredicate() argument 146 _range(range) in RangeInRangeUnaryPredicate() 149 bool operator()(const VMRange& range) const in operator() 151 return range.Contains(_range); in operator() 160 ContainsRange(const VMRange::collection& coll, const VMRange& range);
|
| /trueos/contrib/llvm/tools/clang/lib/StaticAnalyzer/Checkers/ |
| HD | StackAddrEscapeChecker.cpp | 50 SourceRange range; in genName() local 60 range = CL->getSourceRange(); in genName() 65 range = ARE->getSourceRange(); in genName() 72 range = BD->getSourceRange(); in genName() 79 range = VR->getDecl()->getSourceRange(); in genName() 86 range = TOR->getExpr()->getSourceRange(); in genName() 92 return range; in genName() 109 SourceRange range = genName(os, R, C.getASTContext()); in EmitStackError() local 113 if (range.isValid()) in EmitStackError() 114 report->addRange(range); in EmitStackError() [all …]
|
| /trueos/contrib/llvm/tools/clang/include/clang/AST/ |
| HD | StmtIterator.h | 169 friend const StmtIterator &begin(const StmtRange &range) { in begin() 170 return range.first; in begin() 172 friend const StmtIterator &end(const StmtRange &range) { in end() 173 return range.second; in end() 187 ConstStmtRange(const StmtRange &range) in ConstStmtRange() 188 : std::pair<ConstStmtIterator,ConstStmtIterator>(range.first, range.second) in ConstStmtRange() 212 friend const ConstStmtIterator &begin(const ConstStmtRange &range) { in begin() 213 return range.first; in begin() 215 friend const ConstStmtIterator &end(const ConstStmtRange &range) { in end() 216 return range.second; in end()
|
| /trueos/crypto/heimdal/lib/hx509/ |
| HD | 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):
|
| /trueos/crypto/openssl/crypto/x509v3/ |
| HD | v3_asid.c | 85 ASN1_SIMPLE(ASIdOrRange, u.range, ASRange) 131 if ((s = i2s_ASN1_INTEGER(NULL, aor->u.range->min)) == NULL) 135 if ((s = i2s_ASN1_INTEGER(NULL, aor->u.range->max)) == NULL) 173 (a->type == ASIdOrRange_range && a->u.range != NULL && in ASIdOrRange_cmp() 174 a->u.range->min != NULL && a->u.range->max != NULL)); in ASIdOrRange_cmp() 177 (b->type == ASIdOrRange_range && b->u.range != NULL && in ASIdOrRange_cmp() 178 b->u.range->min != NULL && b->u.range->max != NULL)); in ASIdOrRange_cmp() 184 int r = ASN1_INTEGER_cmp(a->u.range->min, b->u.range->min); in ASIdOrRange_cmp() 185 return r != 0 ? r : ASN1_INTEGER_cmp(a->u.range->max, in ASIdOrRange_cmp() 186 b->u.range->max); in ASIdOrRange_cmp() [all …]
|
| /trueos/contrib/binutils/gas/ |
| HD | itbl-ops.c | 123 struct itbl_range range; /* field's bitfield range within instruction */ member 139 struct itbl_range range; /* bit range within instruction for value */ member 215 e->range.sbit = sbit; in itbl_add_insn() 216 e->range.ebit = ebit; in itbl_add_insn() 352 o->mask = apply_range (e->value, e->range); in append_insns_as_macros() 355 o->match = apply_range (e->value, e->range); in append_insns_as_macros() 561 opcode |= apply_range (value, f->range); in itbl_assemble() 601 value = extract_range (insn, f->range); in itbl_disassemble() 610 r = find_entry_byval (e->processor, f->type, value, &f->range); in itbl_disassemble() 644 opcode = apply_range (e->value, e->range); in build_opcode() [all …]
|
| /trueos/crypto/heimdal/lib/asn1/ |
| HD | gen_length.c | 81 } else if (t->range == NULL) { in length_type() 83 } else if (t->range->min == INT_MIN && t->range->max == INT_MAX) { in length_type() 85 } else if (t->range->min == 0 && t->range->max == UINT_MAX) { in length_type() 87 } else if (t->range->min == 0 && t->range->max == INT_MAX) { in length_type() 91 name, t->range->min, t->range->max); in length_type()
|
| /trueos/sys/compat/mach/defs/ |
| HD | vm_map.defs | 85 * and memory object values apply to the entire range described 86 * by the address range returned; the memory object offset 87 * corresponds to the beginning of the address range. 89 * highest address range is described. If no addresses beyond 122 * Deallocate the specified range from the virtual 138 * for the specified range of the virtual address 159 * Set the inheritance attribute for the specified range 172 * Returns the contents of the specified range of the 174 * range must be aligned on a virtual page boundary, 176 * protection on the specified range must permit reading.] [all …]
|