Home
last modified time | relevance | path

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

12345678910>>...390

/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...]
/foundation/communication/netmanager_ext/services/mdnsmanager/src/
H A Dmdns_packet_parser.cpp34 const uint8_t *begin = reinterpret_cast<const uint8_t *>(&data); in WriteRawData() local
35 payload.insert(payload.end(), begin, begin + sizeof(T)); in WriteRawData()
40 const uint8_t *begin = reinterpret_cast<const uint8_t *>(&data); in WriteRawData() local
42 ptr[i] = *begin++; in WriteRawData()
90 const uint8_t *MDnsPayloadParser::Parse(const uint8_t *begin, const MDnsPayload &payload, MDnsMessage &msg) in Parse() argument
92 begin = ParseHeader(begin, payload, msg.header); in Parse()
94 return begin; in Parse()
97 begin in Parse()
123 ParseHeader(const uint8_t *begin, const MDnsPayload &payload, DNSProto::Header &header) ParseHeader() argument
141 ParseQuestion(const uint8_t *begin, const MDnsPayload &payload, std::vector<DNSProto::Question> &questions) ParseQuestion() argument
164 ParseRR(const uint8_t *begin, const MDnsPayload &payload, std::vector<DNSProto::ResourceRecord> &answers) ParseRR() argument
189 ParseRData(const uint8_t *begin, const MDnsPayload &payload, int type, int length, std::any &data) ParseRData() argument
239 ParseSrv(const uint8_t *begin, const MDnsPayload &payload, std::any &data) ParseSrv() argument
261 ParseTxt(const uint8_t *begin, const MDnsPayload &payload, int length, std::any &data) ParseTxt() argument
273 ParseDnsString(const uint8_t *begin, const MDnsPayload &payload, std::string &str) ParseDnsString() 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...]
/kernel/linux/common_modules/memory_security/src/
H A Djit_space_list.c9 inline struct jit_space_node *init_jit_space_node(unsigned long begin, unsigned long end) in init_jit_space_node() argument
16 new->begin = begin; in init_jit_space_node()
21 const void find_jit_space(struct list_head *head, unsigned long begin, unsigned long size, int *err) in find_jit_space() argument
23 unsigned long end = begin + size; in find_jit_space()
30 if (node->begin <= begin && node->end >= end) { in find_jit_space()
38 void update_jit_space(struct list_head *head, unsigned long begin, unsigned long size) in update_jit_space() argument
40 unsigned long end = begin + size; in update_jit_space()
42 struct jit_space_node *new = init_jit_space_node(begin, en in update_jit_space()
50 delete_jit_space(struct list_head *head, unsigned long begin, unsigned long size, int *err) delete_jit_space() argument
[all...]
/kernel/linux/linux-6.6/scripts/dtc/
H A Dof_unittest_expect106 --verbose do not suppress EXPECT begin and end lines
116 to occur with an 'EXPECT \\ : text' (begin) before triggering the
121 For each expected message, the 'EXPECT \\ : text' (begin) and
124 If 'EXPECT \\' (begin) and 'EXPECT /' (end) lines do not contain
128 reverse order of the corresponding 'EXPECT \\' (begin) lines.
130 'EXPECT \\ : text' (begin) and 'EXPECT / : text' (end) lines can
137 'EXPECT \\' (begin) and 'EXPECT /' (end) lines are suppressed.
141 'ok ' Line matches an enclosing EXPECT begin/end pair
235 # Patterns to match 'EXPECT \ : ' (begin) and 'EXPECT / : ' (end)
279 # ----- find EXPECT 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...]
/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...]
/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...]
/kernel/linux/linux-5.10/fs/ufs/
H A Dutil.h323 #define ubh_get_addr8(ubh,begin) \
324 ((u8*)(ubh)->bh[(begin) >> uspi->s_fshift]->b_data + \
325 ((begin) & ~uspi->s_fmask))
327 #define ubh_get_addr16(ubh,begin) \
328 (((__fs16*)((ubh)->bh[(begin) >> (uspi->s_fshift-1)]->b_data)) + \
329 ((begin) & ((uspi->fsize>>1) - 1)))
331 #define ubh_get_addr32(ubh,begin) \
332 (((__fs32*)((ubh)->bh[(begin) >> (uspi->s_fshift-2)]->b_data)) + \
333 ((begin) & ((uspi->s_fsize>>2) - 1)))
335 #define ubh_get_addr64(ubh,begin) \
393 _ubh_find_next_zero_bit_( struct ufs_sb_private_info * uspi, struct ufs_buffer_head * ubh, unsigned begin, unsigned size, unsigned offset) _ubh_find_next_zero_bit_() argument
440 _ubh_find_last_zero_bit_( struct ufs_sb_private_info * uspi, struct ufs_buffer_head * ubh, unsigned begin, unsigned start, unsigned end) _ubh_find_last_zero_bit_() argument
469 _ubh_isblockset_(struct ufs_sb_private_info * uspi, struct ufs_buffer_head * ubh, unsigned begin, unsigned block) _ubh_isblockset_() argument
490 _ubh_clrblock_(struct ufs_sb_private_info * uspi, struct ufs_buffer_head * ubh, unsigned begin, unsigned block) _ubh_clrblock_() argument
510 _ubh_setblock_(struct ufs_sb_private_info * uspi, struct ufs_buffer_head * ubh, unsigned begin, unsigned block) _ubh_setblock_() argument
[all...]
/kernel/linux/linux-6.6/fs/ufs/
H A Dutil.h317 #define ubh_get_addr8(ubh,begin) \
318 ((u8*)(ubh)->bh[(begin) >> uspi->s_fshift]->b_data + \
319 ((begin) & ~uspi->s_fmask))
321 #define ubh_get_addr16(ubh,begin) \
322 (((__fs16*)((ubh)->bh[(begin) >> (uspi->s_fshift-1)]->b_data)) + \
323 ((begin) & ((uspi->fsize>>1) - 1)))
325 #define ubh_get_addr32(ubh,begin) \
326 (((__fs32*)((ubh)->bh[(begin) >> (uspi->s_fshift-2)]->b_data)) + \
327 ((begin) & ((uspi->s_fsize>>2) - 1)))
329 #define ubh_get_addr64(ubh,begin) \
387 _ubh_find_next_zero_bit_( struct ufs_sb_private_info * uspi, struct ufs_buffer_head * ubh, unsigned begin, unsigned size, unsigned offset) _ubh_find_next_zero_bit_() argument
434 _ubh_find_last_zero_bit_( struct ufs_sb_private_info * uspi, struct ufs_buffer_head * ubh, unsigned begin, unsigned start, unsigned end) _ubh_find_last_zero_bit_() argument
463 _ubh_isblockset_(struct ufs_sb_private_info * uspi, struct ufs_buffer_head * ubh, unsigned begin, unsigned block) _ubh_isblockset_() argument
484 _ubh_clrblock_(struct ufs_sb_private_info * uspi, struct ufs_buffer_head * ubh, unsigned begin, unsigned block) _ubh_clrblock_() argument
504 _ubh_setblock_(struct ufs_sb_private_info * uspi, struct ufs_buffer_head * ubh, unsigned begin, unsigned block) _ubh_setblock_() argument
[all...]
/foundation/communication/wifi/wifi/services/wifi_standard/wifi_framework/wifi_manage/wifi_p2p/
H A Dwifi_p2p_dns_txt_record.cpp47 data.insert(data.begin(), oldData.begin(), oldData.begin() + insertIndex); in InsertData()
49 data.insert(data.begin() + newDataLength - secondHalfLength, in InsertData()
50 oldData.begin() + insertIndex, in InsertData()
51 oldData.begin() + insertIndex + secondHalfLength); in InsertData()
52 data.insert(data.begin() + insertIndex, static_cast<unsigned char>(addLength)); in InsertData()
53 data.insert(data.begin() + insertIndex + mapLengthSize, keyBytes.begin(), keyBytes.end()); in InsertData()
56 data.insert(data.begin() in InsertData()
[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/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...]
/kernel/linux/linux-5.10/arch/x86/kernel/
H A Ddumpstack_32.c40 unsigned long *begin = (unsigned long *)this_cpu_read(hardirq_stack_ptr); in in_hardirq_stack() local
41 unsigned long *end = begin + (THREAD_SIZE / sizeof(long)); in in_hardirq_stack()
47 if (stack < begin || stack > end) in in_hardirq_stack()
51 info->begin = begin; in in_hardirq_stack()
58 info->next_sp = (unsigned long *)*begin; in in_hardirq_stack()
65 unsigned long *begin = (unsigned long *)this_cpu_read(softirq_stack_ptr); in in_softirq_stack() local
66 unsigned long *end = begin + (THREAD_SIZE / sizeof(long)); in in_softirq_stack()
72 if (stack < begin || stack > end) in in_softirq_stack()
76 info->begin in in_softirq_stack()
93 void *begin = ss->stack; in_doublefault_stack() local
[all...]
/kernel/linux/linux-6.6/arch/x86/kernel/
H A Ddumpstack_32.c40 unsigned long *begin = (unsigned long *)this_cpu_read(pcpu_hot.hardirq_stack_ptr); in in_hardirq_stack() local
41 unsigned long *end = begin + (THREAD_SIZE / sizeof(long)); in in_hardirq_stack()
47 if (stack < begin || stack > end) in in_hardirq_stack()
51 info->begin = begin; in in_hardirq_stack()
58 info->next_sp = (unsigned long *)*begin; in in_hardirq_stack()
65 unsigned long *begin = (unsigned long *)this_cpu_read(pcpu_hot.softirq_stack_ptr); in in_softirq_stack() local
66 unsigned long *end = begin + (THREAD_SIZE / sizeof(long)); in in_softirq_stack()
72 if (stack < begin || stack > end) in in_softirq_stack()
76 info->begin in in_softirq_stack()
93 void *begin = ss->stack; in_doublefault_stack() 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...]

Completed in 10 milliseconds

12345678910>>...390