| /netbsd-src/external/lgpl3/gmp/dist/tests/devel/ |
| H A D | primes.c | 111 check_pprime (unsigned long begin, unsigned long end, int composites) in check_pprime() argument 113 begin = (begin / 6U) * 6U; in check_pprime() 114 for (;(begin < 2) & (begin <= end); ++begin) in check_pprime() 116 *(g->_mp_d) = begin; in check_pprime() 117 TRACE(printf ("-%li ", begin),1); in check_pprime() 121 for (;(begin < 4) & (begin <= end); ++begin) in check_pprime() 123 *(g->_mp_d) = begin; in check_pprime() 124 TRACE(printf ("+%li ", begin),2); in check_pprime() 129 if ((end > 10000) && (begin > end / begin)) in check_pprime() 145 off = n_to_bit(begin) + (begin % 3 == 0); in check_pprime() [all …]
|
| /netbsd-src/external/bsd/byacc/dist/test/ |
| H A D | grammar.y | 137 long begin; /* offset in temporary file */ member 154 long begin; /* offset in temporary file */ member 170 long begin; /* offset in temporary file */ member 537 new_decl_spec(&decl_spec, dft_decl_spec(), $1->begin, DS_NONE); 579 new_decl_spec(&$$, $1.text, $1.begin, DS_NONE); 583 new_decl_spec(&$$, $1.text, $1.begin, DS_EXTERN); 587 new_decl_spec(&$$, $1.text, $1.begin, DS_NONE); 591 new_decl_spec(&$$, $1.text, $1.begin, DS_STATIC); 595 new_decl_spec(&$$, $1.text, $1.begin, DS_INLINE); 599 new_decl_spec(&$$, $1.text, $1.begin, DS_JUNK); [all …]
|
| /netbsd-src/external/apache2/llvm/dist/clang/lib/CodeGen/ |
| H A D | SwiftCallingConv.cpp | 63 void SwiftAggLowering::addTypedData(QualType type, CharUnits begin) { in addTypedData() argument 68 addTypedData(recType->getDecl(), begin); in addTypedData() 80 addTypedData(eltType, begin + i * eltSize); in addTypedData() 88 addTypedData(eltLLVMType, begin, begin + eltSize); in addTypedData() 89 addTypedData(eltLLVMType, begin + eltSize, begin + 2 * eltSize); in addTypedData() 94 addOpaqueData(begin, begin + CGM.getContext().getTypeSizeInChars(type)); in addTypedData() 102 addTypedData(atomicType->getValueType(), begin); in addTypedData() 107 addOpaqueData(begin + valueSize, begin + atomicSize); in addTypedData() 114 addTypedData(llvmType, begin); in addTypedData() 118 void SwiftAggLowering::addTypedData(const RecordDecl *record, CharUnits begin) { in addTypedData() argument [all …]
|
| /netbsd-src/external/gpl3/gcc/dist/libsanitizer/lsan/ |
| H A D | lsan_common_fuchsia.cpp | 73 uptr begin = reinterpret_cast<uptr>(chunk); in LockStuffAndStopTheWorld() local 74 uptr end = begin + size; in LockStuffAndStopTheWorld() 75 ScanGlobalRange(begin, end, ¶ms->argument->frontier); in LockStuffAndStopTheWorld() 81 uptr begin = reinterpret_cast<uptr>(chunk); in LockStuffAndStopTheWorld() local 82 uptr end = begin + size; in LockStuffAndStopTheWorld() 83 ScanRangeForPointers(begin, end, ¶ms->argument->frontier, "STACK", in LockStuffAndStopTheWorld() 90 uptr begin = reinterpret_cast<uptr>(chunk); in LockStuffAndStopTheWorld() local 91 uptr end = begin + size; in LockStuffAndStopTheWorld() 92 ScanRangeForPointers(begin, end, ¶ms->argument->frontier, "REGISTERS", in LockStuffAndStopTheWorld() 108 uptr begin = reinterpret_cast<uptr>(chunk); in LockStuffAndStopTheWorld() local [all …]
|
| /netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/ADT/ |
| H A D | SmallVector.h | 146 return isReferenceToRange(V, this->begin(), this->end()); in isReferenceToStorage() 154 return !LessThan(First, this->begin()) && !LessThan(Last, First) && in isRangeInStorage() 167 return Elt < this->begin() + NewSize; in isSafeToReferenceAfterResize() 226 Index = &Elt - This->begin(); in reserveForParamAndGetAddressImpl() 230 return ReferencesStorage ? This->begin() + Index : &Elt; in reserveForParamAndGetAddressImpl() 253 iterator begin() { return (iterator)this->BeginX; } in begin() function 254 const_iterator begin() const { return (const_iterator)this->BeginX; } in begin() function 255 iterator end() { return begin() + size(); } in end() 256 const_iterator end() const { return begin() + size(); } in end() 261 reverse_iterator rend() { return reverse_iterator(begin()); } in rend() [all …]
|
| H A D | TinyPtrVector.h | 117 : IL.size() == 1 ? PtrUnion(*IL.begin()) in TinyPtrVector() 118 : PtrUnion(new VecTy(IL.begin(), IL.end()))) {} in TinyPtrVector() 129 : PtrUnion(new VecTy(Elts.begin(), Elts.end()))) {} in TinyPtrVector() 185 iterator begin() { in begin() function 189 return Val.template get<VecTy *>()->begin(); in begin() 194 return begin() + (Val.isNull() ? 0 : 1); in end() 199 const_iterator begin() const { in begin() function 200 return (const_iterator)const_cast<TinyPtrVector*>(this)->begin(); in begin() 208 reverse_iterator rend() { return reverse_iterator(begin()); } in rend() 215 return const_reverse_iterator(begin()); in rend() [all …]
|
| H A D | SparseBitVector.h | 279 const_cast<SparseBitVector<ElementSize> *>(this)->Elements.begin(); in FindLowerBoundImpl() 344 Iter = BitVector->Elements.begin(); in AdvanceToFirstNonZero() 398 Iter = BitVector->Elements.begin(); in BitVector() 443 SparseBitVector() : Elements(), CurrElementIter(Elements.begin()) {} in SparseBitVector() 446 : Elements(RHS.Elements), CurrElementIter(Elements.begin()) {} in SparseBitVector() 448 : Elements(std::move(RHS.Elements)), CurrElementIter(Elements.begin()) {} in SparseBitVector() 461 CurrElementIter = Elements.begin(); 466 CurrElementIter = Elements.begin(); 545 ElementListConstIter Iter1 = Elements.begin(); 546 ElementListConstIter Iter2 = RHS.Elements.begin(); [all …]
|
| /netbsd-src/external/bsd/kyua-cli/dist/utils/format/ |
| H A D | formatter.cpp | 67 std::string::size_type begin) in find_next_placeholder() argument 69 begin = expansion.find('%', begin); in find_next_placeholder() 70 while (begin != std::string::npos && expansion[begin + 1] == '%') in find_next_placeholder() 71 begin = expansion.find('%', begin + 2); in find_next_placeholder() 72 if (begin == std::string::npos) in find_next_placeholder() 74 if (begin == expansion.length() - 1) in find_next_placeholder() 77 std::string::size_type end = begin + 1; in find_next_placeholder() 80 const std::string placeholder = expansion.substr(begin, end - begin + 1); in find_next_placeholder() 85 return std::make_pair(begin, placeholder); in find_next_placeholder() 161 strip_double_percent(const std::string& in, const std::string::size_type begin, in strip_double_percent() argument [all …]
|
| /netbsd-src/external/gpl3/gcc/dist/gcc/config/arm/ |
| H A D | arm-cpus.in | 25 # The general form is a sequence of begin..end blocks with the following 27 # begin <object-type> <name> 341 # begin arch <name> 350 begin arch armv4 357 begin arch armv4t 364 begin arch armv5t 371 begin arch armv5te 381 begin arch armv5tej 391 begin arch armv6 401 begin arch armv6j [all …]
|
| /netbsd-src/external/gpl2/lvm2/dist/libdm/mm/ |
| H A D | pool-fast.c | 21 char *begin, *end; member 91 if (!c || (c->begin > c->end) || (c->end - c->begin < s)) { in dm_pool_alloc_aligned() 103 r = c->begin; in dm_pool_alloc_aligned() 104 c->begin += s; in dm_pool_alloc_aligned() 126 c->begin = ptr; in dm_pool_free() 154 if (!c || (c->begin > c->end) || (c->end - c->begin < hint)) { in dm_pool_begin_object() 177 if (c->end - (c->begin + p->object_len) < delta) { in dm_pool_grow_object() 188 memcpy(p->chunk->begin, c->begin, p->object_len); in dm_pool_grow_object() 192 memcpy(c->begin + p->object_len, extra, delta); in dm_pool_grow_object() 200 void *r = c->begin; in dm_pool_end_object() [all …]
|
| /netbsd-src/external/gpl3/gcc.old/dist/gcc/config/arm/ |
| H A D | arm-cpus.in | 25 # The general form is a sequence of begin..end blocks with the following 27 # begin <object-type> <name> 334 # begin arch <name> 343 begin arch armv4 350 begin arch armv4t 357 begin arch armv5t 364 begin arch armv5te 374 begin arch armv5tej 384 begin arch armv6 394 begin arch armv6j [all …]
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/Support/ |
| H A D | DAGDeltaAlgorithm.cpp | 83 return Predecessors[Node].begin(); in pred_begin() 92 return PredClosure[Node].begin(); in pred_closure_begin() 101 return Successors[Node].begin(); in succ_begin() 110 return SuccClosure[Node].begin(); in succ_closure_begin() 127 for (changeset_ty::const_iterator it = S.begin(), ie = S.end(); it != ie; in ExecuteOneTest() 183 for (changeset_ty::const_iterator it = Changes.begin(), in DAGDeltaAlgorithmImpl() 188 for (std::vector<edge_ty>::const_iterator it = Dependencies.begin(), in DAGDeltaAlgorithmImpl() 195 for (changeset_ty::const_iterator it = Changes.begin(), in DAGDeltaAlgorithmImpl() 201 std::vector<change_ty> Worklist(Roots.begin(), Roots.end()); in DAGDeltaAlgorithmImpl() 210 SuccClosure[*it].insert(ChangeSuccs.begin(), ChangeSuccs.end()); in DAGDeltaAlgorithmImpl() [all …]
|
| /netbsd-src/external/apache2/llvm/dist/libcxx/include/__ranges/ |
| H A D | access.h | 45 { _VSTD::__decay_copy(__t.begin()) } -> input_or_output_iterator; in requires() 48 void begin(auto&) = delete; 49 void begin(const auto&) = delete; 57 { _VSTD::__decay_copy(begin(__t)) } -> input_or_output_iterator; 76 noexcept(noexcept(_VSTD::__decay_copy(__t.begin()))) in operator() 78 return __t.begin(); in operator() 84 noexcept(noexcept(_VSTD::__decay_copy(begin(__t)))) in operator() 86 return begin(__t); in operator() 95 inline constexpr auto begin = __begin::__fn{}; 99 using iterator_t = decltype(ranges::begin(declval<_Tp&>())); [all …]
|
| /netbsd-src/external/apache2/llvm/dist/clang/lib/Driver/ToolChains/ |
| H A D | Gnu.cpp | 1947 GentooTestTriples.append(ExtraTripleAliases.begin(), in init() 1949 GentooTestTriples.append(CandidateTripleAliases.begin(), in init() 2201 using std::begin; in CollectLibDirsAndTriples() 2214 LibDirs.append(begin(SolarisLibDirs), end(SolarisLibDirs)); in CollectLibDirsAndTriples() 2215 BiarchLibDirs.append(begin(SolarisLibDirs), end(SolarisLibDirs)); in CollectLibDirsAndTriples() 2218 TripleAliases.append(begin(SolarisX86Triples), end(SolarisX86Triples)); in CollectLibDirsAndTriples() 2219 BiarchTripleAliases.append(begin(SolarisX86_64Triples), in CollectLibDirsAndTriples() 2223 TripleAliases.append(begin(SolarisX86_64Triples), in CollectLibDirsAndTriples() 2225 BiarchTripleAliases.append(begin(SolarisX86Triples), in CollectLibDirsAndTriples() 2229 TripleAliases.append(begin(SolarisSparcV8Triples), in CollectLibDirsAndTriples() [all …]
|
| /netbsd-src/external/bsd/openldap/dist/contrib/ldapc++/src/ |
| H A D | LDAPAttributeList.cpp | 81 LDAPAttributeList::const_iterator LDAPAttributeList::begin() const{ in begin() function in LDAPAttributeList 83 return m_attrs.begin(); in begin() 97 for( i = m_attrs.begin(); i != m_attrs.end(); i++){ in getAttributeByName() 100 if(equal(name.begin(), name.end(), tmpType.begin(), in getAttributeByName() 119 for( i=m_attrs.begin(); i != m_attrs.end(); i++ ){ in addAttribute() 123 if(equal(tmpAttrType.begin(), tmpAttrType.end(), attrType.begin(), in addAttribute() 127 for(j = values.begin(); j != values.end(); j++){ in addAttribute() 148 for( i = m_attrs.begin(); i != m_attrs.end(); i++){ in delAttribute() 150 if(equal(type.begin(), type.end(), i->getName().begin(), in delAttribute() 175 for (i=m_attrs.begin(); i!= m_attrs.end(); i++, j++){ in toLDAPModArray() [all …]
|
| /netbsd-src/sys/external/bsd/sljit/dist/regex_src/ |
| H A D | regexMain.c | 58 int begin, end, id; in verbose_test() local 89 begin = regex_get_result(match, &end, &id); in verbose_test() 90 printf("Math returns: %3d->%3d [%3d]\n", begin, end, id); in verbose_test() 98 int begin; /* Expected begin. */ member 113 int begin, end, id, finished; in run_tests() local 168 begin = regex_get_result(match, &end, &id); in run_tests() 171 if (begin != test->begin || end != test->end || id != test->id) { in run_tests() 174 …printf("FAIL A: begin: %d != %d || end: %d != %d || id: %d != %d\n", test->begin, begin, test->end… in run_tests() 187 begin = regex_get_result(match, &end, &id); in run_tests() 191 if (begin != test->begin || end != test->end || id != test->id) { in run_tests() [all …]
|
| /netbsd-src/external/gpl3/gcc/dist/libiberty/ |
| H A D | memmem.c | 49 const char *begin; in memmem() local 63 for (begin = (const char *) haystack; begin <= last_possible; ++begin) in memmem() 64 if (begin[0] == ((const char *) needle)[0] && in memmem() 65 !memcmp ((const void *) &begin[1], in memmem() 68 return (void *) begin; in memmem()
|
| /netbsd-src/external/gpl3/binutils.old/dist/libiberty/ |
| H A D | memmem.c | 49 const char *begin; in memmem() local 63 for (begin = (const char *) haystack; begin <= last_possible; ++begin) in memmem() 64 if (begin[0] == ((const char *) needle)[0] && in memmem() 65 !memcmp ((const void *) &begin[1], in memmem() 68 return (void *) begin; in memmem()
|
| /netbsd-src/external/gpl3/binutils/dist/libiberty/ |
| H A D | memmem.c | 49 const char *begin; in memmem() local 63 for (begin = (const char *) haystack; begin <= last_possible; ++begin) in memmem() 64 if (begin[0] == ((const char *) needle)[0] && in memmem() 65 !memcmp ((const void *) &begin[1], in memmem() 68 return (void *) begin; in memmem()
|
| /netbsd-src/external/gpl3/gcc.old/dist/libiberty/ |
| H A D | memmem.c | 49 const char *begin; in memmem() local 63 for (begin = (const char *) haystack; begin <= last_possible; ++begin) in memmem() 64 if (begin[0] == ((const char *) needle)[0] && in memmem() 65 !memcmp ((const void *) &begin[1], in memmem() 68 return (void *) begin; in memmem()
|
| /netbsd-src/external/apache2/llvm/dist/libcxx/benchmarks/ |
| H A D | ContainerBenchmarks.h | 41 const auto begin = in.begin(); in BM_ConstructIterIter() local 45 Container c(begin, end); in BM_ConstructIterIter() 56 for (auto it = in.begin(); it != end; ++it) { in BM_InsertValue() 70 for (auto it = in.begin(); it != end; ++it) { in BM_InsertValueRehash() 82 c.insert(in.begin(), in.end()); in BM_InsertDuplicate() 86 for (auto it = in.begin(); it != end; ++it) { in BM_InsertDuplicate() 98 c.insert(in.begin(), in.end()); in BM_EmplaceDuplicate() 102 for (auto it = in.begin(); it != end; ++it) { in BM_EmplaceDuplicate() 112 c.insert(in.begin(), in.end()); in BM_Find() 113 benchmark::DoNotOptimize(&(*c.begin())); in BM_Find() [all …]
|
| /netbsd-src/external/bsd/openldap/dist/libraries/librewrite/ |
| H A D | parse.c | 36 char *p, *begin; in parse_line() local 46 for ( begin = p; p[ 0 ] != '\0'; p++ ) { in parse_line() 54 argv[ cnt ] = begin; in parse_line() 60 begin = p; in parse_line() 64 if ( p != begin ) { in parse_line() 67 begin++; in parse_line() 73 argv[ cnt ] = begin; in parse_line() 81 begin = p; in parse_line()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/ObjCARC/ |
| H A D | BlotMapVector.h | 35 for (typename MapTy::const_iterator I = Map.begin(), E = Map.end(); I != E; in ~BlotMapVector() 40 for (typename VectorTy::const_iterator I = Vector.begin(), E = Vector.end(); in ~BlotMapVector() 43 Map[I->first] == size_t(I - Vector.begin()))); in ~BlotMapVector() 50 iterator begin() { return Vector.begin(); } in begin() function 52 const_iterator begin() const { return Vector.begin(); } in begin() function 74 return std::make_pair(Vector.begin() + Num, true); in insert() 76 return std::make_pair(Vector.begin() + Pair.first->second, false); in insert() 83 return Vector.begin() + It->second; in find() 90 return Vector.begin() + It->second; in find()
|
| /netbsd-src/external/gpl3/binutils/dist/gas/config/ |
| H A D | kvx-parse.c | 393 for (int i = 0; i < token.end - token.begin && i < bufsz; ++i) in print_token() 394 buf[i] = token.insn[token.begin + i]; in print_token() 395 for (int i = token.end - token.begin ; i < bufsz; ++i) in print_token() 414 input_line_pointer = tok.insn + tok.begin; in promote_token() 443 int tok_sz = token->end - token->begin; in is_insn() 444 char *tok = token->insn + token->begin; in is_insn() 459 int tok_sz = token->end - token->begin; in get_token_class() 460 char *tok = token->insn + token->begin; in get_token_class() 583 int insn_p = tok->begin == 0; in read_token() 586 int *begin = &tok->begin; in read_token() local [all …]
|
| /netbsd-src/external/gpl3/gcc.old/dist/libstdc++-v3/include/ext/pb_ds/detail/ov_tree_map_/ |
| H A D | split_join_fn_imps.hpp | 57 if (Cmp_Fn::operator()(r_key, PB_DS_V2F(*begin()))) in split() 82 new_this.copy_from_ordered_range(begin(), it); in split() 112 PB_DS_V2F(*other.begin())); in join() 115 PB_DS_V2F(*begin())); in join() 123 new_this.copy_from_ordered_range(begin(), end(), in join() 124 other.begin(), other.end()); in join() 126 new_this.copy_from_ordered_range(other.begin(), other.end(), in join() 127 begin(), end()); in join()
|