Home
last modified time | relevance | path

Searched refs:begin (Results 1 - 25 of 5036) sorted by relevance

12345678910>>...202

/third_party/skia/third_party/externals/abseil-cpp/absl/strings/internal/
H A Dcharconv_parse.cc237 // Reads decimal digits from [begin, end) into *out. Returns the number of
249 int ConsumeDigits(const char* begin, const char* end, int max_digits, T* out, in ConsumeDigits() argument
256 const char* const original_begin = begin; in ConsumeDigits()
261 while (!*out && end != begin && *begin == '0') ++begin; in ConsumeDigits()
265 (end - begin > max_digits) ? begin + max_digits : end; in ConsumeDigits()
266 while (begin < significant_digits_end && IsDigit<base>(*begin)) { in ConsumeDigits()
297 ParseInfinityOrNan(const char* begin, const char* end, strings_internal::ParsedFloat* out) ParseInfinityOrNan() argument
355 ParseFloat(const char* begin, const char* end, chars_format format_flags) ParseFloat() argument
[all...]
/third_party/skia/third_party/externals/abseil-cpp/absl/algorithm/
H A Dalgorithm_test.cc32 EXPECT_TRUE(absl::equal(v1.begin(), v1.end(), v2.begin(), v2.end())); in TEST()
33 EXPECT_FALSE(absl::equal(v1.begin(), v1.end(), v3.begin(), v3.end())); in TEST()
34 EXPECT_FALSE(absl::equal(v1.begin(), v1.end(), v4.begin(), v4.end())); in TEST()
43 EXPECT_TRUE(absl::equal(lst1.begin(), lst1.end(), lst2.begin(), lst2.end())); in TEST()
44 EXPECT_FALSE(absl::equal(lst1.begin(), lst1.end(), lst3.begin(), lst in TEST()
[all...]
/third_party/json/tests/src/
H A Dunit-algorithms.cpp23 CHECK(std::all_of(j_array.begin(), j_array.end(), [](const json & value)
27 CHECK(std::all_of(j_object.begin(), j_object.end(), [](const json & value)
35 CHECK(std::any_of(j_array.begin(), j_array.end(), [](const json & value)
39 CHECK(std::any_of(j_object.begin(), j_object.end(), [](const json & value)
47 CHECK(std::none_of(j_array.begin(), j_array.end(), [](const json & value)
51 CHECK(std::none_of(j_object.begin(), j_object.end(), [](const json & value)
84 std::for_each(j_array.begin(), j_array.end(), add17);
92 CHECK(std::count(j_array.begin(), j_array.end(), json(true)) == 1);
97 CHECK(std::count_if(j_array.begin(), j_array.end(), [](const json & value)
101 CHECK(std::count_if(j_array.begin(), j_arra
[all...]
H A Dunit-capacity.cpp32 CHECK(j.empty() == (j.begin() == j.end()));
33 CHECK(j_const.empty() == (j_const.begin() == j_const.end()));
50 CHECK(j.empty() == (j.begin() == j.end()));
51 CHECK(j_const.empty() == (j_const.begin() == j_const.end()));
70 CHECK(j.empty() == (j.begin() == j.end()));
71 CHECK(j_const.empty() == (j_const.begin() == j_const.end()));
88 CHECK(j.empty() == (j.begin() == j.end()));
89 CHECK(j_const.empty() == (j_const.begin() == j_const.end()));
109 CHECK(j.empty() == (j.begin() == j.end()));
110 CHECK(j_const.empty() == (j_const.begin()
[all...]
/third_party/skia/third_party/externals/spirv-tools/test/opt/
H A Diterator_test.cpp36 UptrVectorIterator<int> it(&data, data.begin()); in TEST()
54 UptrVectorIterator<int> begin(&data, data.begin()); in TEST()
58 EXPECT_NE(begin, it); in TEST()
61 EXPECT_EQ(begin, it); in TEST()
71 UptrVectorIterator<int> it(&data, data.begin()); in TEST()
88 UptrVectorIterator<int> begin(&data, data.begin()); in TEST()
96 // Decrementing .begin() is undefined behavior. in TEST()
107 UptrVectorIterator<int> it(&data, data.begin()); in TEST()
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/test/opt/
H A Diterator_test.cpp36 UptrVectorIterator<int> it(&data, data.begin()); in TEST()
54 UptrVectorIterator<int> begin(&data, data.begin()); in TEST()
58 EXPECT_NE(begin, it); in TEST()
61 EXPECT_EQ(begin, it); in TEST()
71 UptrVectorIterator<int> it(&data, data.begin()); in TEST()
88 UptrVectorIterator<int> begin(&data, data.begin()); in TEST()
96 // Decrementing .begin() is undefined behavior. in TEST()
107 UptrVectorIterator<int> it(&data, data.begin()); in TEST()
[all...]
/third_party/spirv-tools/test/opt/
H A Diterator_test.cpp36 UptrVectorIterator<int> it(&data, data.begin()); in TEST()
54 UptrVectorIterator<int> begin(&data, data.begin()); in TEST()
58 EXPECT_NE(begin, it); in TEST()
61 EXPECT_EQ(begin, it); in TEST()
71 UptrVectorIterator<int> it(&data, data.begin()); in TEST()
88 UptrVectorIterator<int> begin(&data, data.begin()); in TEST()
96 // Decrementing .begin() is undefined behavior. in TEST()
107 UptrVectorIterator<int> it(&data, data.begin()); in TEST()
[all...]
/third_party/node/deps/ngtcp2/nghttp3/lib/
H A Dnghttp3_range.c29 void nghttp3_range_init(nghttp3_range *r, uint64_t begin, uint64_t end) { in nghttp3_range_init() argument
30 r->begin = begin; in nghttp3_range_init()
37 uint64_t begin = nghttp3_max(a->begin, b->begin); in nghttp3_range_intersect() local
39 if (begin < end) { in nghttp3_range_intersect()
40 nghttp3_range_init(&r, begin, end); in nghttp3_range_intersect()
45 uint64_t nghttp3_range_len(const nghttp3_range *r) { return r->end - r->begin; } in nghttp3_range_len()
48 return a->begin in nghttp3_range_eq()
[all...]
/third_party/node/deps/ngtcp2/ngtcp2/lib/
H A Dngtcp2_range.c28 void ngtcp2_range_init(ngtcp2_range *r, uint64_t begin, uint64_t end) { in ngtcp2_range_init() argument
29 r->begin = begin; in ngtcp2_range_init()
36 uint64_t begin = ngtcp2_max(a->begin, b->begin); in ngtcp2_range_intersect() local
38 if (begin < end) { in ngtcp2_range_intersect()
39 ngtcp2_range_init(&r, begin, end); in ngtcp2_range_intersect()
44 uint64_t ngtcp2_range_len(const ngtcp2_range *r) { return r->end - r->begin; } in ngtcp2_range_len()
47 return a->begin in ngtcp2_range_eq()
[all...]
H A Dngtcp2_rob.c32 int ngtcp2_rob_gap_new(ngtcp2_rob_gap **pg, uint64_t begin, uint64_t end, in ngtcp2_rob_gap_new() argument
39 (*pg)->range.begin = begin; in ngtcp2_rob_gap_new()
56 (*pd)->range.begin = offset; in ngtcp2_rob_data_new()
58 (*pd)->begin = (uint8_t *)(*pd) + sizeof(ngtcp2_rob_data); in ngtcp2_rob_data_new()
59 (*pd)->end = (*pd)->begin + chunk; in ngtcp2_rob_data_new()
138 if (d == NULL || offset < d->range.begin) { in rob_write_data()
152 n = (size_t)ngtcp2_min((uint64_t)len, d->range.begin + rob->chunk - offset); in rob_write_data()
153 memcpy(d->begin + (offset - d->range.begin), dat in rob_write_data()
[all...]
/third_party/skia/tests/
H A DPolyUtilsTest.cpp24 REPORTER_ASSERT(reporter, SkGetPolygonWinding(poly.begin(), poly.count()) < 0); in DEF_TEST()
25 REPORTER_ASSERT(reporter, SkIsConvexPolygon(poly.begin(), poly.count())); in DEF_TEST()
26 REPORTER_ASSERT(reporter, SkIsSimplePolygon(poly.begin(), poly.count())); in DEF_TEST()
27 REPORTER_ASSERT(reporter, SkTriangulateSimplePolygon(poly.begin(), indexMap, poly.count(), in DEF_TEST()
32 REPORTER_ASSERT(reporter, SkGetPolygonWinding(poly.begin(), poly.count()) > 0); in DEF_TEST()
33 REPORTER_ASSERT(reporter, SkIsConvexPolygon(poly.begin(), poly.count())); in DEF_TEST()
34 REPORTER_ASSERT(reporter, SkIsSimplePolygon(poly.begin(), poly.count())); in DEF_TEST()
36 REPORTER_ASSERT(reporter, SkTriangulateSimplePolygon(poly.begin(), indexMap, poly.count(), in DEF_TEST()
41 REPORTER_ASSERT(reporter, SkGetPolygonWinding(poly.begin(), poly.count()) == 0); in DEF_TEST()
43 REPORTER_ASSERT(reporter, SkIsConvexPolygon(poly.begin(), pol in DEF_TEST()
[all...]
/third_party/icu/icu4c/source/common/
H A Dchariter.cpp24 : textLength(0), pos(0), begin(0), end(0) { in CharacterIterator()
28 : textLength(length), pos(0), begin(0), end(length) { in CharacterIterator()
35 : textLength(length), pos(position), begin(0), end(length) { in CharacterIterator()
47 : textLength(length), pos(position), begin(textBegin), end(textEnd) { in CharacterIterator()
51 if(begin < 0) { in CharacterIterator()
52 begin = 0; in CharacterIterator()
53 } else if(begin > textLength) { in CharacterIterator()
54 begin = textLength; in CharacterIterator()
56 if(end < begin) { in CharacterIterator()
57 end = begin; in CharacterIterator()
[all...]
H A Duchriter.cpp83 && begin == realThat.begin in operator ==()
89 return ustr_hashUCharsN(text, textLength) ^ pos ^ begin ^ end; in hashCode()
99 pos = begin; in first()
109 pos = begin; in firstPostInc()
120 if(pos > begin) { in last()
129 if(position < begin) { in setIndex()
130 pos = begin; in setIndex()
145 if (pos >= begin && pos < end) { in current()
179 if (pos > begin) { in previous()
[all...]
/third_party/node/deps/icu-small/source/common/
H A Dchariter.cpp24 : textLength(0), pos(0), begin(0), end(0) { in CharacterIterator()
28 : textLength(length), pos(0), begin(0), end(length) { in CharacterIterator()
35 : textLength(length), pos(position), begin(0), end(length) { in CharacterIterator()
47 : textLength(length), pos(position), begin(textBegin), end(textEnd) { in CharacterIterator()
51 if(begin < 0) { in CharacterIterator()
52 begin = 0; in CharacterIterator()
53 } else if(begin > textLength) { in CharacterIterator()
54 begin = textLength; in CharacterIterator()
56 if(end < begin) { in CharacterIterator()
57 end = begin; in CharacterIterator()
[all...]
H A Duchriter.cpp83 && begin == realThat.begin in operator ==()
89 return ustr_hashUCharsN(text, textLength) ^ pos ^ begin ^ end; in hashCode()
99 pos = begin; in first()
109 pos = begin; in firstPostInc()
120 if(pos > begin) { in last()
129 if(position < begin) { in setIndex()
130 pos = begin; in setIndex()
145 if (pos >= begin && pos < end) { in current()
179 if (pos > begin) { in previous()
[all...]
/third_party/skia/third_party/externals/icu/source/common/
H A Dchariter.cpp24 : textLength(0), pos(0), begin(0), end(0) { in CharacterIterator()
28 : textLength(length), pos(0), begin(0), end(length) { in CharacterIterator()
35 : textLength(length), pos(position), begin(0), end(length) { in CharacterIterator()
47 : textLength(length), pos(position), begin(textBegin), end(textEnd) { in CharacterIterator()
51 if(begin < 0) { in CharacterIterator()
52 begin = 0; in CharacterIterator()
53 } else if(begin > textLength) { in CharacterIterator()
54 begin = textLength; in CharacterIterator()
56 if(end < begin) { in CharacterIterator()
57 end = begin; in CharacterIterator()
[all...]
H A Duchriter.cpp83 && begin == realThat.begin in operator ==()
89 return ustr_hashUCharsN(text, textLength) ^ pos ^ begin ^ end; in hashCode()
99 pos = begin; in first()
109 pos = begin; in firstPostInc()
120 if(pos > begin) { in last()
129 if(position < begin) { in setIndex()
130 pos = begin; in setIndex()
145 if (pos >= begin && pos < end) { in current()
179 if (pos > begin) { in previous()
[all...]
/third_party/nghttp2/src/
H A Dbase64_test.cc41 auto out = base64::encode(std::begin(in), std::end(in)); in test_base64_encode()
46 auto out = base64::encode(std::begin(in), std::end(in)); in test_base64_encode()
51 auto out = base64::encode(std::begin(in), std::end(in)); in test_base64_encode()
56 auto out = base64::encode(std::begin(in), std::end(in)); in test_base64_encode()
65 auto out = base64::decode(std::begin(in), std::end(in)); in test_base64_decode()
67 CU_ASSERT("\xff" == base64::decode(balloc, std::begin(in), std::end(in))); in test_base64_decode()
71 auto out = base64::decode(std::begin(in), std::end(in)); in test_base64_decode()
74 base64::decode(balloc, std::begin(in), std::end(in))); in test_base64_decode()
78 auto out = base64::decode(std::begin(in), std::end(in)); in test_base64_decode()
81 base64::decode(balloc, std::begin(i in test_base64_decode()
[all...]
/third_party/elfutils/libdw/
H A Ddwarf_ranges.c37 /* Read up begin/end pair and increment read pointer.
62 uint64_t begin = 0, end = 0, base = *basep, addr_idx; in __libdw_read_begin_end_pair_inc() local
83 if (__libdw_addrx (cu, addr_idx, &begin) != 0) in __libdw_read_begin_end_pair_inc()
91 *beginp = begin; in __libdw_read_begin_end_pair_inc()
100 if (__libdw_addrx (cu, addr_idx, &begin) != 0) in __libdw_read_begin_end_pair_inc()
106 *beginp = begin; in __libdw_read_begin_end_pair_inc()
107 *endp = begin + end; in __libdw_read_begin_end_pair_inc()
119 Dwarf_Addr begin; in __libdw_read_begin_end_pair_inc() local
131 begin); in __libdw_read_begin_end_pair_inc()
136 /* Unrelocated escape for begin mean in __libdw_read_begin_end_pair_inc()
164 uint64_t begin = 0, end = 0, base = *basep, addr_idx; __libdw_read_begin_end_pair_inc() local
271 uint64_t begin = 0, end = 0, base = *basep, addr_idx; __libdw_read_begin_end_pair_inc() local
539 Dwarf_Addr begin; dwarf_ranges() local
[all...]
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
H A DStringCharacterIterator.java36 private int begin; field in StringCharacterIterator
38 // invariant: begin <= pos <= end
69 * @param begin Index of the first character
75 public StringCharacterIterator(String text, int begin, int end, int pos) { in StringCharacterIterator() argument
81 if (begin < 0 || begin > end || end > text.length()) { in StringCharacterIterator()
85 if (pos < begin || pos > end) { in StringCharacterIterator()
89 this.begin = begin; in StringCharacterIterator()
109 this.begin in setText()
[all...]
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/text/
H A DStringCharacterIterator.java38 private int begin; field in StringCharacterIterator
40 // invariant: begin <= pos <= end
71 * @param begin Index of the first character
77 public StringCharacterIterator(String text, int begin, int end, int pos) { in StringCharacterIterator() argument
83 if (begin < 0 || begin > end || end > text.length()) { in StringCharacterIterator()
87 if (pos < begin || pos > end) { in StringCharacterIterator()
91 this.begin = begin; in StringCharacterIterator()
111 this.begin in setText()
[all...]
/third_party/skia/third_party/externals/angle2/src/libANGLE/
H A DHandleAllocator.cpp52 std::pop_heap(mReleasedList.begin(), mReleasedList.end(), std::greater<GLuint>()); in allocate()
65 auto listIt = mUnallocatedList.begin(); in allocate()
67 GLuint freeListHandle = listIt->begin; in allocate()
70 if (listIt->begin == listIt->end) in allocate()
76 listIt->begin++; in allocate()
96 std::push_heap(mReleasedList.begin(), mReleasedList.end(), std::greater<GLuint>()); in release()
109 auto releasedIt = std::find(mReleasedList.begin(), mReleasedList.end(), handle); in reserve()
113 std::make_heap(mReleasedList.begin(), mReleasedList.end(), std::greater<GLuint>()); in reserve()
119 auto boundIt = std::lower_bound(mUnallocatedList.begin(), mUnallocatedList.end(), handle, in reserve()
124 GLuint begin in reserve() local
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/include/llvm/ADT/
H A DSmallVector.h115 iterator begin() { return (iterator)this->BeginX; } in begin() function in llvm::SmallVectorTemplateCommon
117 const_iterator begin() const { return (const_iterator)this->BeginX; } in begin() function in llvm::SmallVectorTemplateCommon
131 reverse_iterator rend() { return reverse_iterator(begin()); } in rend()
132 const_reverse_iterator rend() const { return const_reverse_iterator(begin());} in rend()
135 size_type size() const { return end()-begin(); } in size()
139 size_t capacity() const { return capacity_ptr() - begin(); } in capacity()
142 pointer data() { return pointer(begin()); } in data()
144 const_pointer data() const { return const_pointer(begin()); } in data()
149 return begin()[idx]; in operator []()
154 return begin()[id
[all...]
/third_party/spirv-tools/source/opt/
H A Dmodule.h248 iterator begin() { return iterator(&functions_, functions_.begin()); } in begin() function in spvtools::opt::Module
250 const_iterator begin() const { return cbegin(); } in begin() function in spvtools::opt::Module
388 functions_.emplace(functions_.begin(), std::move(f)); in AddFunctionDeclaration()
398 return capabilities_.begin(); in capability_begin()
405 return make_range(capabilities_.begin(), capabilities_.end()); in capabilities()
409 return make_range(capabilities_.begin(), capabilities_.end()); in capabilities()
413 return ext_inst_imports_.begin(); in ext_inst_import_begin()
420 return make_range(ext_inst_imports_.begin(), ext_inst_imports_.end()); in ext_inst_imports()
425 return make_range(ext_inst_imports_.begin(), ext_inst_imports in ext_inst_imports()
[all...]
/third_party/skia/third_party/externals/spirv-tools/source/opt/
H A Dmodule.h231 iterator begin() { return iterator(&functions_, functions_.begin()); } in begin() function in spvtools::opt::Module
233 const_iterator begin() const { return cbegin(); } in begin() function in spvtools::opt::Module
370 return capabilities_.begin(); in capability_begin()
377 return make_range(capabilities_.begin(), capabilities_.end()); in capabilities()
381 return make_range(capabilities_.begin(), capabilities_.end()); in capabilities()
385 return ext_inst_imports_.begin(); in ext_inst_import_begin()
392 return make_range(ext_inst_imports_.begin(), ext_inst_imports_.end()); in ext_inst_imports()
397 return make_range(ext_inst_imports_.begin(), ext_inst_imports_.end()); in ext_inst_imports()
400 inline Module::inst_iterator Module::debug1_begin() { return debugs1_.begin(); } in debug1_begin()
[all...]

Completed in 18 milliseconds

12345678910>>...202