Home
last modified time | relevance | path

Searched refs:begin (Results 1 – 25 of 2982) sorted by relevance

12345678910>>...120

/freebsd-head/contrib/dialog/samples/
HDwheel27 --begin "`scaley 27`" "`scalex 98`" --infobox "pushd /var/log >/dev/null" 0 0 --and-widget \
28 --begin "`scaley 35`" "`scalex 95`" --infobox "mkdir -p news -m 755" 0 0 --and-widget \
29 --begin "`scaley 45`" "`scalex 86`" --infobox "chown news.news news" 0 0 --and-widget \
30 --begin "`scaley 48`" "`scalex 78`" --infobox "cd /var/log/news" 0 0 --and-widget \
31 --begin "`scaley 51`" "`scalex 61`" --infobox "mkdir -p OLD -m 755" 0 0 --and-widget \
32 --begin "`scaley 52`" "`scalex 47`" --infobox "chown news.news OLD" 0 0 --and-widget \
33 --begin "`scaley 51`" "`scalex 40`" --infobox "cd /var/spool" 0 0 --and-widget \
34 --begin "`scaley 48`" "`scalex 25`" --infobox "mkdir -p news -m 775" 0 0 --and-widget \
35 --begin "`scaley 42`" "`scalex 13`" --infobox "chown news.news news" 0 0 --and-widget \
36 --begin "`scaley 35`" "`scalex 4`" --infobox "cd /var/spool/news" 0 0 --and-widget \
[all …]
/freebsd-head/contrib/processor-trace/libipt/src/
HDpt_event_queue.c69 uint8_t begin, end, gap, idx; in pt_evq_enqueue() local
77 begin = evq->begin[evb]; in pt_evq_enqueue()
80 if (evq_max <= begin) in pt_evq_enqueue()
90 if (begin == gap) in pt_evq_enqueue()
101 uint8_t begin, end; in pt_evq_dequeue() local
109 begin = evq->begin[evb]; in pt_evq_dequeue()
112 if (evq_max <= begin) in pt_evq_dequeue()
118 if (begin == end) in pt_evq_dequeue()
121 evq->begin[evb] = pt_evq_inc(begin); in pt_evq_dequeue()
123 return &evq->queue[evb][begin]; in pt_evq_dequeue()
[all …]
HDpt_sync.c70 const uint8_t *begin, *end; in pt_find_psb() local
76 begin = config->begin; in pt_find_psb()
106 if (pos < begin) in pt_find_psb()
120 static int pt_sync_within_bounds(const uint8_t *pos, const uint8_t *begin, in pt_sync_within_bounds() argument
127 return (begin <= pos) && (pos <= end); in pt_sync_within_bounds()
133 const uint8_t *begin, *end; in pt_sync_set() local
139 begin = config->begin; in pt_sync_set()
142 if (!pt_sync_within_bounds(pos, begin, end)) in pt_sync_set()
164 const uint8_t *begin, *end, *start; in pt_sync_forward() local
170 begin = config->begin; in pt_sync_forward()
[all …]
/freebsd-head/contrib/llvm-project/compiler-rt/lib/sanitizer_common/
HDsanitizer_leb128.h18 It EncodeSLEB128(T value, It begin, It end) { in EncodeSLEB128() argument
28 if (UNLIKELY(begin == end)) in EncodeSLEB128()
30 *(begin++) = byte; in EncodeSLEB128()
32 return begin; in EncodeSLEB128()
36 It DecodeSLEB128(It begin, It end, T* v) { in DecodeSLEB128() argument
41 if (UNLIKELY(begin == end)) in DecodeSLEB128()
42 return begin; in DecodeSLEB128()
43 byte = *(begin++); in DecodeSLEB128()
51 return begin; in DecodeSLEB128()
55 It EncodeULEB128(T value, It begin, It end) { in EncodeULEB128() argument
[all …]
HDsanitizer_lzw.h23 ItOut LzwEncode(ItIn begin, ItIn end, ItOut out) { in LzwEncode() argument
36 for (auto it = begin; it != end; ++it) in LzwEncode()
57 if (begin == end) in LzwEncode()
61 LzwCodeType match = prefix_to_code.find({kNoPrefix, *begin})->second; in LzwEncode()
62 ++begin; in LzwEncode()
63 for (auto it = begin; it != end; ++it) { in LzwEncode()
86 ItOut LzwDecode(ItIn begin, ItIn end, ItOut out) { in LzwDecode() argument
87 if (begin == end) in LzwDecode()
91 InternalMmapVector<T> dict_len1(*begin); in LzwDecode()
92 ++begin; in LzwDecode()
[all …]
/freebsd-head/contrib/byacc/test/
HDgrammar.y135 long begin; /* offset in temporary file */ member
152 long begin; /* offset in temporary file */ member
168 long begin; /* offset in temporary file */ member
535 new_decl_spec(&decl_spec, dft_decl_spec(), $1->begin, DS_NONE);
577 new_decl_spec(&$$, $1.text, $1.begin, DS_NONE);
581 new_decl_spec(&$$, $1.text, $1.begin, DS_EXTERN);
585 new_decl_spec(&$$, $1.text, $1.begin, DS_NONE);
589 new_decl_spec(&$$, $1.text, $1.begin, DS_STATIC);
593 new_decl_spec(&$$, $1.text, $1.begin, DS_INLINE);
597 new_decl_spec(&$$, $1.text, $1.begin, DS_JUNK);
[all …]
/freebsd-head/contrib/llvm-project/lld/COFF/
HDICF.cpp46 void segregate(size_t begin, size_t end, bool constant);
55 size_t findBoundary(size_t begin, size_t end);
57 void forEachClassRange(size_t begin, size_t end,
108 void ICF::segregate(size_t begin, size_t end, bool constant) { in segregate() argument
109 while (begin < end) { in segregate()
113 chunks.begin() + begin + 1, chunks.begin() + end, [&](SectionChunk *s) { in segregate()
115 return equalsConstant(chunks[begin], s); in segregate()
116 return equalsVariable(chunks[begin], s); in segregate()
118 size_t mid = bound - chunks.begin(); in segregate()
122 for (size_t i = begin; i < mid; ++i) in segregate()
[all …]
/freebsd-head/contrib/llvm-project/clang/lib/CodeGen/
HDSwiftCallingConv.cpp65 void SwiftAggLowering::addTypedData(QualType type, CharUnits begin) { in addTypedData() argument
70 addTypedData(recType->getDecl(), begin); in addTypedData()
82 addTypedData(eltType, begin + i * eltSize); in addTypedData()
90 addTypedData(eltLLVMType, begin, begin + eltSize); in addTypedData()
91 addTypedData(eltLLVMType, begin + eltSize, begin + 2 * eltSize); in addTypedData()
96 addOpaqueData(begin, begin + CGM.getContext().getTypeSizeInChars(type)); in addTypedData()
104 addTypedData(atomicType->getValueType(), begin); in addTypedData()
109 addOpaqueData(begin + valueSize, begin + atomicSize); in addTypedData()
116 addTypedData(llvmType, begin); in addTypedData()
120 void SwiftAggLowering::addTypedData(const RecordDecl *record, CharUnits begin) { in addTypedData() argument
[all …]
/freebsd-head/contrib/llvm-project/compiler-rt/lib/orc/tests/unit/
HDinterval_set_test.cpp23 EXPECT_TRUE(S.begin() == S.end()); in TEST()
34 EXPECT_EQ(std::next(S.begin()), S.end()); in TEST()
35 EXPECT_EQ(S.find(7), S.begin()); in TEST()
47 EXPECT_EQ(std::next(S.begin()), S.end()); // Should see just one range. in TEST()
59 EXPECT_EQ(std::next(S.begin()), S.end()); // Should see just one range. in TEST()
77 EXPECT_EQ(std::next(S.begin()), S.end()); // Should see just one range. in TEST()
90 EXPECT_EQ(std::next(S.begin()), S.end()); in TEST()
91 EXPECT_EQ(S.begin()->first, 7U); in TEST()
92 EXPECT_EQ(S.begin()->second, 9U); in TEST()
103 EXPECT_EQ(std::next(S.begin()), S.end()); in TEST()
[all …]
HDinterval_map_test.cpp23 EXPECT_TRUE(M.begin() == M.end()); in TEST()
34 EXPECT_EQ(std::next(M.begin()), M.end()); in TEST()
35 EXPECT_EQ(M.find(7), M.begin()); in TEST()
52 EXPECT_EQ(std::next(M1.begin()), M1.end()); // Should see just one range. in TEST()
64 EXPECT_EQ(std::next(std::next(M2.begin())), M2.end()); // Expect two ranges. in TEST()
81 EXPECT_EQ(std::next(M1.begin()), M1.end()); // Should see just one range. in TEST()
93 EXPECT_EQ(std::next(std::next(M2.begin())), M2.end()); // Expect two ranges. in TEST()
116 EXPECT_EQ(std::next(M1.begin()), M1.end()); // Should see just one range. in TEST()
131 EXPECT_EQ(std::next(std::next(std::next(M2.begin()))), M2.end()); in TEST()
157 EXPECT_EQ(std::next(M.begin()), M.end()); in TEST()
[all …]
/freebsd-head/contrib/llvm-project/libcxx/include/__iterator/
HDaccess.h23 _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR _Tp* begin(_Tp (&__array)[_Np]) _NOEXCEPT { in begin() function
35 _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX17 auto begin(_Cp& __c) -> decltype(__c.begin()) {
36 return __c.begin();
40 …IBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX17 auto begin(const _Cp& __c) -> decltype(__c.begin
41 return __c.begin();
58 cbegin(const _Cp& __c) noexcept(noexcept(std::begin(__c))) -> decltype(std::begin(__c)) {
59 return std::begin(__c);
72 _LIBCPP_HIDE_FROM_ABI typename _Cp::iterator begin(_Cp& __c) { in begin() function
73 return __c.begin(); in begin()
77 _LIBCPP_HIDE_FROM_ABI typename _Cp::const_iterator begin(const _Cp& __c) { in begin() function
[all …]
/freebsd-head/contrib/processor-trace/libipt/test/src/
HDptunit-sync.c56 sfix->config.begin = sfix->buffer; in sfix_init()
81 errcode = pt_sync_forward(NULL, sfix->config.begin, &sfix->config); in sync_fwd_null()
87 errcode = pt_sync_forward(&sync, sfix->config.begin, NULL); in sync_fwd_null()
98 errcode = pt_sync_backward(NULL, sfix->config.begin, &sfix->config); in sync_bwd_null()
104 errcode = pt_sync_backward(&sync, sfix->config.begin, NULL); in sync_bwd_null()
115 sfix->config.end = sfix->config.begin; in sync_fwd_empty()
117 errcode = pt_sync_forward(&sync, sfix->config.begin, &sfix->config); in sync_fwd_empty()
128 sfix->config.end = sfix->config.begin; in sync_bwd_empty()
141 errcode = pt_sync_forward(&sync, sfix->config.begin, &sfix->config); in sync_fwd_none()
163 sfix_encode_psb(sfix->config.begin); in sync_fwd_here()
[all …]
/freebsd-head/contrib/llvm-project/lldb/include/lldb/Utility/
HDRangeMap.h153 auto pos1 = vec1.begin(); in GetOverlaps()
155 auto pos2 = vec2.begin(); in GetOverlaps()
190 auto begin = m_entries.begin(); in Insert() local
192 auto pos = std::lower_bound(begin, end, entry); in Insert()
198 if (pos != begin) { in Insert()
211 m_entries.erase(m_entries.begin() + idx); in RemoveEntryAtIndex()
219 std::stable_sort(m_entries.begin(), m_entries.end()); in Sort()
227 for (pos = m_entries.begin(), end = m_entries.end(), prev = end; pos != end; in IsSorted()
241 m_entries.begin(), m_entries.end(), [](const Entry &a, const Entry &b) { in CombineConsecutiveRanges()
250 Collection minimal_ranges(m_entries.begin(), pos); in CombineConsecutiveRanges()
[all …]
/freebsd-head/contrib/llvm-project/compiler-rt/lib/lsan/
HDlsan_common_fuchsia.cpp82 uptr begin = reinterpret_cast<uptr>(chunk); in LockStuffAndStopTheWorld() local
83 uptr end = begin + size; in LockStuffAndStopTheWorld()
84 ScanGlobalRange(begin, end, &params->argument->frontier); in LockStuffAndStopTheWorld()
90 uptr begin = reinterpret_cast<uptr>(chunk); in LockStuffAndStopTheWorld() local
91 uptr end = begin + size; in LockStuffAndStopTheWorld()
92 ScanRangeForPointers(begin, end, &params->argument->frontier, "STACK", in LockStuffAndStopTheWorld()
99 uptr begin = reinterpret_cast<uptr>(chunk); in LockStuffAndStopTheWorld() local
100 uptr end = begin + size; in LockStuffAndStopTheWorld()
101 ScanRangeForPointers(begin, end, &params->argument->frontier, "REGISTERS", in LockStuffAndStopTheWorld()
117 uptr begin = reinterpret_cast<uptr>(chunk); in LockStuffAndStopTheWorld() local
[all …]
/freebsd-head/contrib/llvm-project/lld/MachO/
HDICF.cpp38 void segregate(size_t begin, size_t end, EqualsFn);
39 size_t findBoundary(size_t begin, size_t end);
40 void forEachClassRange(size_t begin, size_t end,
60 icfInputs.assign(inputs.begin(), inputs.end()); in ICF()
170 return std::equal(ia->relocs.begin(), ia->relocs.end(), ib->relocs.begin(), in equalsConstant()
208 if (!std::equal(ia->relocs.begin(), ia->relocs.end(), ib->relocs.begin(), f)) in equalsVariable()
236 size_t ICF::findBoundary(size_t begin, size_t end) { in findBoundary() argument
237 uint64_t beginHash = icfInputs[begin]->icfEqClass[icfPass % 2]; in findBoundary()
238 for (size_t i = begin + 1; i < end; ++i) in findBoundary()
245 void ICF::forEachClassRange(size_t begin, size_t end, in forEachClassRange() argument
[all …]
/freebsd-head/contrib/llvm-project/lld/ELF/
HDICF.cpp103 void segregate(size_t begin, size_t end, uint32_t eqClassBase, bool constant);
116 size_t findBoundary(size_t begin, size_t end);
118 void forEachClassRange(size_t begin, size_t end,
198 void ICF<ELFT>::segregate(size_t begin, size_t end, uint32_t eqClassBase, in segregate() argument
208 while (begin < end) { in segregate()
212 std::stable_partition(sections.begin() + begin + 1, in segregate()
213 sections.begin() + end, [&](InputSection *s) { in segregate()
215 return equalsConstant(sections[begin], s); in segregate()
216 return equalsVariable(sections[begin], s); in segregate()
218 size_t mid = bound - sections.begin(); in segregate()
[all …]
/freebsd-head/contrib/kyua/utils/format/
HDformatter.cpp67 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 …]
/freebsd-head/contrib/llvm-project/llvm/include/llvm/ADT/
HDSmallVector.h174 return isReferenceToRange(V, this->begin(), this->end()); in isReferenceToStorage()
182 return !LessThan(First, this->begin()) && !LessThan(Last, First) && in isRangeInStorage()
195 return Elt < this->begin() + NewSize; in isSafeToReferenceAfterResize()
254 Index = &Elt - This->begin(); in reserveForParamAndGetAddressImpl()
258 return ReferencesStorage ? This->begin() + Index : &Elt; in reserveForParamAndGetAddressImpl()
281 iterator begin() { return (iterator)this->BeginX; } in begin() function
282 const_iterator begin() const { return (const_iterator)this->BeginX; } in begin() function
283 iterator end() { return begin() + size(); } in end()
284 const_iterator end() const { return begin() + size(); } in end()
289 reverse_iterator rend() { return reverse_iterator(begin()); } in rend()
[all …]
HDTinyPtrVector.h116 : IL.size() == 1 ? PtrUnion(*IL.begin()) in TinyPtrVector()
117 : PtrUnion(new VecTy(IL.begin(), IL.end()))) {} in TinyPtrVector()
128 : PtrUnion(new VecTy(Elts.begin(), Elts.end()))) {} in TinyPtrVector()
184 iterator begin() { in begin() function
188 return cast<VecTy *>(Val)->begin(); in begin()
193 return begin() + (Val.isNull() ? 0 : 1); in end()
198 const_iterator begin() const { in begin() function
199 return (const_iterator)const_cast<TinyPtrVector*>(this)->begin(); in begin()
207 reverse_iterator rend() { return reverse_iterator(begin()); } in rend()
214 return const_reverse_iterator(begin()); in rend()
[all …]
/freebsd-head/contrib/llvm-project/lldb/source/Symbol/
HDVariableList.cpp39 std::copy(variable_list->m_variables.begin(), // source begin in AddVariables()
58 m_variables.erase(m_variables.begin() + idx); in RemoveVariableAtIndex()
65 for (pos = m_variables.begin(); pos != end; ++pos) { in FindVariableIndex()
67 return std::distance(m_variables.begin(), pos); in FindVariableIndex()
76 for (pos = m_variables.begin(); pos != end; ++pos) { in FindVariable()
92 for (pos = m_variables.begin(); pos != end; ++pos) { in FindVariable()
106 for (pos = m_variables.begin(); pos != end; ++pos) in AppendVariablesIfUnique()
116 for (pos = m_variables.begin(); pos != end; ++pos) { in AppendVariablesIfUnique()
133 for (pos = m_variables.begin(); pos != end; ++pos) { in AppendVariablesWithScope()
148 const iterator begin = m_variables.begin(); in FindIndexForVariable() local
[all …]
/freebsd-head/contrib/bearssl/test/
HDtest_speed.c51 clock_t begin, end; \
56 begin = clock(); \
62 tt = (double)(end - begin) / CLOCKS_PER_SEC; \
103 clock_t begin, end; \
108 begin = clock(); \
113 tt = (double)(end - begin) / CLOCKS_PER_SEC; \
152 clock_t begin, end; \
157 begin = clock(); \
162 tt = (double)(end - begin) / CLOCKS_PER_SEC; \
199 clock_t begin, end; \
[all …]
/freebsd-head/contrib/llvm-project/lldb/source/DataFormatters/
HDTypeCategoryMap.cpp83 ActiveCategoriesList::iterator iter = m_active_categories.begin(); in Enable()
109 MapType::iterator iter = m_map.begin(), end = m_map.end(); in EnableAllCategories()
116 sorted_categories.begin(), sorted_categories.end(), in EnableAllCategories()
118 pos = std::distance(sorted_categories.begin(), iter); in EnableAllCategories()
122 decltype(sorted_categories)::iterator viter = sorted_categories.begin(), in EnableAllCategories()
168 for (pos = m_map.begin(); pos != end; pos++) { in AnyMatches()
180 ActiveCategoriesIterator begin, end = m_active_categories.end(); in Get() local
197 for (begin = m_active_categories.begin(); begin != end; begin++) { in Get()
198 lldb::TypeCategoryImplSP category_sp = *begin; in Get()
231 ActiveCategoriesIterator begin, end = m_active_categories.end(); in ForEach() local
[all …]
/freebsd-head/usr.sbin/newsyslog/tests/
HDlegacy_test.sh20 begin() function
228 begin "create file ${name_postfix}" -newdir
234 begin "rotate normal 1 ${name_postfix}"
241 begin "rotate normal 2 ${name_postfix}"
249 begin "rotate normal 3 ${name_postfix}"
258 begin "rotate normal 4 ${name_postfix}"
267 begin "rotate normal 5 ${name_postfix}"
279 begin "noaction ${name_postfix}"
306 begin "create file ${name_postfix}" -newdir
312 begin "rotate normal 1 cnt=$cnt ${name_postfix}"
[all …]
/freebsd-head/usr.bin/jot/
HDjot.c92 double begin = BEGIN_DEF; in main() local
171 if (!sscanf(argv[1], "%lf", &begin)) in main()
172 begin = argv[1][strlen(argv[1])-1]; in main()
209 s = ender > begin ? 1 : -1; in main()
218 reps = (ender - begin + s) / s; in main()
225 begin = BEGIN_DEF; in main()
234 begin = BEGIN_DEF; in main()
237 begin = ender - reps * s + s; in main()
248 ender = begin + reps * s - s; in main()
259 s = (ender - begin) / (reps - 1); in main()
[all …]
/freebsd-head/contrib/llvm-project/libcxx/include/__ranges/
HDaccess.h45 { _LIBCPP_AUTO_CAST(__t.begin()) } -> input_or_output_iterator; in requires()
48 void begin() = delete;
53 { _LIBCPP_AUTO_CAST(begin(__t)) } -> input_or_output_iterator;
74 noexcept(noexcept(_LIBCPP_AUTO_CAST(__t.begin()))) { in operator()
75 return _LIBCPP_AUTO_CAST(__t.begin()); in operator()
81 noexcept(noexcept(_LIBCPP_AUTO_CAST(begin(__t)))) { in operator()
82 return _LIBCPP_AUTO_CAST(begin(__t)); in operator()
90 inline constexpr auto begin = __begin::__fn{};
98 using iterator_t = decltype(ranges::begin(std::declval<_Tp&>()));
159 noexcept(noexcept(ranges::begin(static_cast<const remove_reference_t<_Tp>&>(__t))))
[all …]

12345678910>>...120