| /third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/util/ |
| H A D | small_vector.h | 260 iterator erase(const_iterator first, const_iterator last) { in erase() argument 262 size_t start_index = first - large_data_->data(); in erase() 272 iterator f = const_cast<iterator>(first); in erase() 276 size_t num_of_del_elements = last - first; in erase() 278 if (first == last) { in erase() 329 iterator insert(iterator pos, InputIt first, InputIt last) { in insert() argument 331 size_t num_of_new_elements = std::distance(first, last); in insert() 340 large_data_->insert(new_pos, first, last); in insert() 358 for (; first != last; ++p, ++first) { in insert() [all...] |
| /third_party/skia/third_party/externals/angle2/src/tests/test_utils/ |
| H A D | angle_test_instantiate.h | 113 #define ANGLE_INSTANTIATE_TEST(testName, first, ...) \ 114 const decltype(first) testName##params[] = {first, ##__VA_ARGS__}; \ 236 #define ANGLE_INSTANTIATE_TEST_COMBINE_1(testName, print, combine1, first, ...) \ 237 const decltype(first) testName##params[] = {first, ##__VA_ARGS__}; \ 241 first, ...) \ 242 const decltype(first) testName##params[] = {first, ##__VA_ARGS__}; \ 248 combine5, first, [all...] |
| /third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ProfileData/ |
| H A D | SampleProf.h | 67 // Prefer first error encountered as later errors may be secondary effects of in MergeResult() 124 // marker for the first type of profile. 214 return LHS.first < RHS.first; in operator ()() 262 SortedTargets.emplace(I.first(), I.second); in SortCallTargets() 272 MergeResult(Result, addCalledTarget(I.first(), I.second, Weight)); in merge() 410 /// branch target. This should be equivalent to the sample of the first 416 /// Return the sample count of the first instruction of the function. 423 BodySamples.begin()->first < CallsiteSamples.begin()->first)) in getEntrySamples() [all...] |
| /third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Support/ |
| H A D | OnDiskHashTable.h | 191 InfoObj.EmitKey(Out, I->Key, Len.first); in Emit() 197 InfoObj.EmitKey(Out, I->Key, Len.first); in Emit() 201 assert(offset_type(DataStart - KeyStart) == Len.first && in Emit() 378 offset_type ItemLen = L.first + L.second; in find_hashed() 388 InfoPtr->ReadKey((const unsigned char *const)Items, L.first); in find_hashed() 397 return iterator(X, Items + L.first, L.second, InfoPtr); in find_hashed() 421 return new OnDiskChainedHashTable<Info>(NumBucketsAndEntries.first, in Create() 477 Ptr += L.first + L.second; in advance() 529 return InfoObj->ReadKey(LocalPtr, L.first); in getInternalKey() 575 const internal_key_type &Key = InfoObj->ReadKey(LocalPtr, L.first); in operator *() [all...] |
| /third_party/python/Lib/lib2to3/pgen2/ |
| H A D | tokenize.py | 88 # longest operators first (e.g., if = came before ==, == would get 153 The first parameter, readline, must be a callable object which provides 232 # Only care about the first 12 characters. 290 first = read_or_stop() 291 if first.startswith(BOM_UTF8): 293 first = first[3:] 295 if not first: 298 encoding = find_cookie(first) 300 return encoding, [first] [all...] |
| /third_party/skia/third_party/externals/abseil-cpp/absl/numeric/ |
| H A D | int128_benchmark.cc | 56 benchmark::DoNotOptimize(pair.first / pair.second); in BM_DivideClass128UniformDivisor() 68 benchmark::DoNotOptimize(pair.first % pair.second); in BM_RemainderClass128UniformDivisor() 96 benchmark::DoNotOptimize(pair.first / pair.second); in BM_DivideClass128SmallDivisor() 108 benchmark::DoNotOptimize(pair.first % pair.second); in BM_RemainderClass128SmallDivisor() 132 benchmark::DoNotOptimize(pair.first * pair.second); in BM_MultiplyClass128() 142 benchmark::DoNotOptimize(pair.first + pair.second); in BM_AddClass128() 188 benchmark::DoNotOptimize(pair.first / pair.second); in BM_DivideIntrinsic128UniformDivisor() 200 benchmark::DoNotOptimize(pair.first % pair.second); in BM_RemainderIntrinsic128UniformDivisor() 229 benchmark::DoNotOptimize(pair.first / pair.second); in BM_DivideIntrinsic128SmallDivisor() 241 benchmark::DoNotOptimize(pair.first in BM_RemainderIntrinsic128SmallDivisor() [all...] |
| /third_party/zlib/contrib/puff/ |
| H A D | puff.c | 226 * - The first code for the shortest length is all zeros. Subsequent codes of 239 int first; /* first code of length len */ in decode() local 241 int index; /* index of first code of length len in symbol table */ in decode() 243 code = first = index = 0; in decode() 247 if (code - count < first) /* if length len, return symbol */ in decode() 248 return h->symbol[index + (code - first)]; in decode() 250 first += count; in decode() 251 first <<= 1; in decode() 267 int first; /* firs in decode() local [all...] |
| /foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/swiper_indicator/dot_indicator/ |
| H A D | overlength_dot_indicator_modifier.cpp | 118 // first point color
in PaintBlackPoint() 170 longPointLeftCenterX_->Set(longPointCenterX.first);
in UpdateShrinkPaintProperty() 258 longPointLeftCenterX_->Set(longPointEndCenterX.first);
in PlayBlackPointsAnimation() 364 auto dragTargetCenterX = (overlongSelectedEndCenterX_.second + overlongSelectedEndCenterX_.first) * HALF_FLOAT;
in UpdateSelectedCenterXOnDrag() 365 overlongSelectedEndCenterX_.first = overlongSelectedStartCenterX_.first +
in UpdateSelectedCenterXOnDrag() 366 (dragTargetCenterX - overlongSelectedStartCenterX_.first) * leftMoveRate;
in UpdateSelectedCenterXOnDrag() 371 auto leftDistance = overlongSelectedEndCenterX_.first - overlongSelectedStartCenterX_.first;
in UpdateSelectedCenterXOnDrag() 374 leftDistance = longPointEndCenterX.first in UpdateSelectedCenterXOnDrag() [all...] |
| /third_party/skia/third_party/externals/harfbuzz/test/api/ |
| H A D | test-set.c | 406 hb_codepoint_t next, first, last; in test_set_iter() local 460 first = last = HB_SET_VALUE_INVALID; in test_set_iter() 461 g_assert (hb_set_next_range (s, &first, &last)); in test_set_iter() 462 g_assert_cmpint (first, ==, 6); in test_set_iter() 464 g_assert (hb_set_next_range (s, &first, &last)); in test_set_iter() 465 g_assert_cmpint (first, ==, 10); in test_set_iter() 467 g_assert (hb_set_next_range (s, &first, &last)); in test_set_iter() 468 g_assert_cmpint (first, ==, 1100); in test_set_iter() 470 g_assert (hb_set_next_range (s, &first, &last)); in test_set_iter() 471 g_assert_cmpint (first, in test_set_iter() [all...] |
| /third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Hexagon/ |
| H A D | HexagonGenInsert.cpp | 589 dbgs() << " " << printReg(I->first, HRI) << ":\n"; 592 dbgs() << " " << PrintIFR(LL[i].first, HRI) << ", " 638 VRs.push_back(I->first); 869 dbgs() << " L=" << I->first << ':'; 872 dbgs() << " (" << printReg(LL[i].first, HRI) << ",@" 915 unsigned InsR = LL[i].first; 1005 // Breadth-first search. 1048 findRemovableRegisters(I->first, LL[i].first, LL[i].second); 1101 IFRecord MaxIF = LL[0].first; [all...] |
| /foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/list/ |
| H A D | list_item_group_pattern.cpp | 206 return height - targetPos.first + layoutedItemInfo_.value().startIndex * averageHeight - spaceWidth_; in GetEstimateOffset() 209 return height - targetPos.first; in GetEstimateOffset() 448 auto start = itemStartIndex_ + itemPosition_.begin()->first; in UpdateActiveChildRange() 449 auto end = itemStartIndex_ + itemPosition_.rbegin()->first; in UpdateActiveChildRange() 469 int32_t endIndex = (outOfView || itemPosition_.empty()) ? -1 : itemPosition_.rbegin()->first; in UpdateCachedIndexForward() 474 if (iter->first >= endIndex + 1 && iter->first <= endLimit) { in UpdateCachedIndexForward() 493 int32_t startIndex = (outOfView || itemPosition_.empty()) ? itemTotalCount_ : itemPosition_.begin()->first; in UpdateCachedIndexBackward() 501 if (iter->first >= startLimit && iter->first < in UpdateCachedIndexBackward() [all...] |
| /foundation/distributedhardware/distributed_hardware_fwk/av_transport/common/src/ |
| H A D | softbus_channel_adapter.cpp | 145 [&](const auto& item) { return item.first == ownerName; });
in TransName2PkgName() 155 [&](const auto& item) { return item.first == peerSessionName; });
in FindSessNameByPeerSessName() 221 if (((it->first).find(serverMapKey) != std::string::npos)) {
in RemoveChannelServer() 223 serverMap_.erase(it->first);
in RemoveChannelServer() 234 if ((it->first).find(sessName) != std::string::npos) {
in RemoveChannelServer() 236 devId2SessIdMap_.erase(it->first);
in RemoveChannelServer() 254 if (((it->first).find(mySessName) != std::string::npos) && (it->second != nullptr)) {
in SendEventChannelOPened() 255 std::thread(&SoftbusChannelAdapter::SendChannelEvent, this, it->first, event).detach();
in SendEventChannelOPened() 462 return it->first;
in GetSessionNameById() 486 if (((it->first) in OnSoftbusChannelOpened() [all...] |
| /third_party/alsa-lib/test/ |
| H A D | pcm.c | 57 if ((areas[chn].first % 8) != 0) { in generate_sine() 58 printf("areas[%u].first == %u, aborting...\n", chn, areas[chn].first); in generate_sine() 61 samples[chn] = /*(signed short *)*/(((unsigned char *)areas[chn].addr) + (areas[chn].first / 8)); in generate_sine() 476 int first = 0, err; in async_direct_callback() local 486 first = 1; in async_direct_callback() 501 first = 1; in async_direct_callback() 505 if (first) { in async_direct_callback() 506 first = 0; in async_direct_callback() 526 first in async_direct_callback() 609 int err, first = 1; direct_loop() local [all...] |
| /third_party/skia/third_party/externals/freetype/src/autofit/ |
| H A D | afhints.c | 353 if ( segment->first <= segment->last ) in af_get_segment_index() 355 if ( point >= segment->first && point <= segment->last ) in af_get_segment_index() 360 AF_Point p = segment->first; in af_get_segment_index() 574 AF_INDEX_NUM( seg->first, points ), in af_glyph_hints_dump_segments() 647 *offset = ( dim == AF_DIMENSION_HORZ ) ? seg->first->fx in af_glyph_hints_get_segment_offset() 648 : seg->first->fy; in af_glyph_hints_get_segment_offset() 881 /* first of all, reallocate the contours array if necessary */ in FT_LOCAL_DEF() 1058 * prepends the small vectors between near points to the first in FT_LOCAL_DEF() 1073 AF_Point first = *contour; in FT_LOCAL_DEF() local 1079 /* since the first poin in FT_LOCAL_DEF() 1328 AF_Point point, first, last; af_glyph_hints_align_edge_points() local 1354 AF_Point point, first, last; af_glyph_hints_align_edge_points() local [all...] |
| /third_party/elfutils/libebl/ |
| H A D | eblmachineflagname.c | 51 bool first = true; in ebl_machine_flag_name() local 57 if (! first) in ebl_machine_flag_name() 83 first = false; in ebl_machine_flag_name()
|
| /third_party/icu/icu4c/source/i18n/ |
| H A D | pluralranges.h | 37 /** Select rule based on the first and second forms */ 38 StandardPlural::Form resolve(StandardPlural::Form first, StandardPlural::Form second) const; 42 StandardPlural::Form first, 51 StandardPlural::Form first; member
|
| /third_party/jsframework/runtime/main/util/ |
| H A D | shared.js | 11 const first = prop.shift(); 12 for (const key in first) { 13 obj[key] = first[key];
|
| /third_party/mesa3d/src/gallium/drivers/softpipe/ |
| H A D | sp_quad_pipe.c | 37 quad->next = sp->quad.first; in insert_stage_at_head() 38 sp->quad.first = quad; in insert_stage_at_head() 54 sp->quad.first = sp->quad.blend; in sp_build_quad_pipeline()
|
| /third_party/node/deps/icu-small/source/i18n/ |
| H A D | pluralranges.h | 37 /** Select rule based on the first and second forms */ 38 StandardPlural::Form resolve(StandardPlural::Form first, StandardPlural::Form second) const; 42 StandardPlural::Form first, 51 StandardPlural::Form first; member
|
| /third_party/node/deps/v8/src/heap/ |
| H A D | embedder-tracing-inl.h | 33 if (type_slot.ToAlignedPointer(isolate, &info->first) && info->first && in ExtractWrappableInfo() 37 (*static_cast<uint16_t*>(info->first) == in ExtractWrappableInfo()
|
| /third_party/node/deps/openssl/openssl/crypto/asn1/ |
| H A D | t_bitst.c | 19 char first = 1; in ASN1_BIT_STRING_name_print() local 23 if (!first) in ASN1_BIT_STRING_name_print() 26 first = 0; in ASN1_BIT_STRING_name_print()
|
| /third_party/skia/third_party/externals/swiftshader/src/Vulkan/Debug/ |
| H A D | Variable.cpp | 43 bool first = true; in string() local 45 if(!first) { out += fmt.listDelimiter; } in string() 46 first = false; in string()
|
| /third_party/skia/third_party/externals/icu/source/i18n/ |
| H A D | pluralranges.h | 37 /** Select rule based on the first and second forms */ 38 StandardPlural::Form resolve(StandardPlural::Form first, StandardPlural::Form second) const; 42 StandardPlural::Form first, 51 StandardPlural::Form first; member
|
| /third_party/openssl/crypto/asn1/ |
| H A D | t_bitst.c | 19 char first = 1; in ASN1_BIT_STRING_name_print() local 23 if (!first) in ASN1_BIT_STRING_name_print() 26 first = 0; in ASN1_BIT_STRING_name_print()
|
| /third_party/rust/crates/quote/src/ |
| H A D | spanned.rs | 31 let first = match iter.next() { in join_spans() 37 .and_then(|last| first.join(last)) in join_spans() 38 .unwrap_or(first) in join_spans()
|