/third_party/skia/samplecode/ |
H A D | SampleVariableWidthStroker.cpp | 70 fWeights.insert(fWeights.begin(), weights.begin(), weights.end()); in ScalarBezCurve() 610 // Open contour => endcap at the end 942 SkPoint start, mid, end; 946 end = seg.fPoints[1]; 947 mid = (start + end) * 0.5f; 952 end = seg.fPoints[2]; 957 end = seg.fPoints[3]; 967 approxQuad->fPoints[2] = end + offsetEnd;
|
/third_party/skia/third_party/externals/spirv-cross/ |
H A D | main.cpp | 104 if (itr == ::end(cbs.callbacks)) in parse() 127 void end() in end() function 239 buffer.insert(buffer.end(), tmp, tmp + ret); in read_spirv_file_stdin() 909 "\t[--fixup-clipspace]:\n\t\tFixup Z clip-space at the end of a vertex shader. The behavior is backend-dependent.\n" in print_help_common() 912 "\t[--flip-vert-y]:\n\t\tInverts gl_Position.y (or equivalent) at the end of a vertex shader. This is equivalent to using negative viewport height.\n" in print_help_common() 964 find_if(begin(resources), end(resources), [&remap](const Resource &res) { return res.name == remap.src_name; }); in remap_generic() 966 if (itr != end(resources)) in remap_generic() 1445 parser.end(); in main_inner() 1449 parser.end(); in main_inner()
|
/third_party/skia/third_party/externals/spirv-tools/source/fuzz/ |
H A D | fuzzer_util.cpp | 279 for (auto inst_it = block->begin(); inst_it != block->end(); ++inst_it) { in GetIteratorForInstruction() 284 return block->end(); in GetIteratorForInstruction() 972 return std::unordered_set<uint32_t>(arr.begin(), arr.end()).size() != in HasDuplicates() 986 auto min_max = std::minmax_element(arr.begin(), arr.end()); in IsPermutationOfRange() 1069 operand_ids.insert(operand_ids.end(), parameter_type_ids.begin(), in UpdateFunctionType() 1070 parameter_type_ids.end()); in UpdateFunctionType() 2015 ir_context->module()->end(), in GetFunctionIterator()
|
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/fuzz/ |
H A D | fuzzer_util.cpp | 279 for (auto inst_it = block->begin(); inst_it != block->end(); ++inst_it) { in GetIteratorForInstruction() 284 return block->end(); in GetIteratorForInstruction() 972 return std::unordered_set<uint32_t>(arr.begin(), arr.end()).size() != in HasDuplicates() 986 auto min_max = std::minmax_element(arr.begin(), arr.end()); in IsPermutationOfRange() 1069 operand_ids.insert(operand_ids.end(), parameter_type_ids.begin(), in UpdateFunctionType() 1070 parameter_type_ids.end()); in UpdateFunctionType() 2015 ir_context->module()->end(), in GetFunctionIterator()
|
/third_party/skia/third_party/externals/dawn/src/dawn_native/ |
H A D | Device.cpp | 160 // Ref will keep the pipeline layout alive until the end of the function where in ValidateLayoutAndGetRenderPipelineDescriptorWithDefaults() 690 if (iter != mCaches->bindGroupLayouts.end()) { 727 if (iter != mCaches->computePipelines.end()) { 738 if (iter != mCaches->renderPipelines.end()) { 781 if (iter != mCaches->pipelineLayouts.end()) { 814 if (iter != mCaches->samplers.end()) { 845 if (iter != mCaches->shaderModules.end()) { 875 if (iter != mCaches->attachmentStates.end()) { 966 // Call the callback directly when a validation error has been found in the front-end 1008 // Call the callback directly when a validation error has been found in the front-end [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/ |
H A D | CodeExtractor.cpp | 118 for (BasicBlock::const_iterator I = BB.begin(), E = BB.end(); I != E; ++I) { in isBlockValidForExtraction() 366 if (It != BaseMemAddrs.end()) in doesBlockContainClobberOfAddr() 407 while (I != BB->end()) { in findOrCreateBlockForHoisting() 502 LLVM_DEBUG(dbgs() << "Hoisting lifetime.end: " << *LMI.LifeEnd << "\n"); in findAllocas() 754 OldNode->end()); in splitReturnBlocks() 985 for (auto It = BB->begin(), End = BB->end(); It != End;) { in eraseLifetimeMarkersOnInputs() 1005 /// Insert lifetime start/end markers surrounding the call to the new function 1106 ve = StructValues.end(); v != ve; ++v) in emitCallAndSwitchStatement() 1530 // Replicate the effects of any lifetime start/end markers which referenced in extractCodeRegion() 1576 while (BlockIt != BB.end()) { in extractCodeRegion() [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Hexagon/ |
H A D | BitTracker.cpp | 93 } // end anonymous namespace 180 } // end namespace llvm 365 if (F != M.end()) { 784 if (F != Dist.end()) 921 MachineBasicBlock::const_iterator It = BI, End = B.end(); 952 Targets.insert(BTs.begin(), BTs.end()); 968 if (Next != MF.end()) 1064 MachineBasicBlock::const_iterator It = B.begin(), End = B.end(); 1085 // If block end has been reached, add the fall-through edge to the queue. 1089 if (Next != MF.end() [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/IPO/ |
H A D | SampleProfile.cpp | 510 } // end anonymous namespace 568 unsigned Count = (I != SampleCoverage.end()) ? I->second.size() : 0; in countUsedRecords() 678 uint64_t W = (I == BlockWeights.end() ? 0 : I->second); in printBlockWeight() 1001 CIS.insert(CIS.begin(), AllCandidates.begin(), AllCandidates.end()); in inlineHotFunctions() 1005 CIS.insert(CIS.begin(), ColdCandidates.begin(), ColdCandidates.end()); in inlineHotFunctions() 1038 if (R != SymbolMap.end() && R->getValue() && in inlineHotFunctions() 1800 std::reverse(FunctionOrderList.begin(), FunctionOrderList.end()); in buildFunctionOrder() 1826 NamesInProfile.insert(NameTable->begin(), NameTable->end()); in doInitialization()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Instrumentation/ |
H A D | PGOInstrumentation.cpp | 431 } // end anonymous namespace 607 } // end anonymous namespace 766 // If the returned first insertion point is the end of BB, skip this BB. in getInstrBB() 767 if (BB->getFirstInsertionPt() == BB->end()) in getInstrBB() 823 assert(Builder.GetInsertPoint() != InstrBB->end() && in instrumentOneFunc() 853 assert(Builder.GetInsertPoint() != Cand.InsertPt->getParent()->end() && in instrumentOneFunc() 939 } // end anonymous namespace 1060 } // end anonymous namespace 1211 // In the end of this operation, all BBs should have a valid count value. 1219 // For efficient traversal, it's better to start from the end a in populateCounters() [all...] |
/third_party/python/Objects/ |
H A D | codeobject.c | 749 int end = bounds.ar_end / sizeof(_Py_CODEUNIT); in _PyCode_CreateLineArray() local 750 for (int index = start; index < end; index++) { in _PyCode_CreateLineArray() 1149 PyObject *end = NULL; in lineiter_next() local 1153 end = PyLong_FromLong(bounds->ar_end); in lineiter_next() 1161 if (result == NULL || start == NULL || end == NULL || line == NULL) { in lineiter_next() 1165 PyTuple_SET_ITEM(result, 1, end); in lineiter_next() 1170 Py_XDECREF(end); in lineiter_next() 1492 /*[clinic end generated code: output=da39a3ee5e6b4b0d input=78aa5d576683bb4b]*/ 1529 /*[clinic end generated code: output=069fa20d299f9dda input=e31da3c41ad8064a]*/ in code_new_impl() 1914 /*[clinic end generate in code_replace_impl() [all...] |
/third_party/python/Modules/ |
H A D | _winapi.c | 180 /*[clinic end generated code: output=da39a3ee5e6b4b0d input=c13d3f5fd1dabb84]*/ 231 /*[python end generated code: output=da39a3ee5e6b4b0d input=011ee0c3a2244bfe]*/ 244 /*[clinic end generated code: output=bdd0c1ed6518cd03 input=194505ee8e0e3565]*/ in _winapi_Overlapped_GetOverlappedResult_impl() 284 /*[clinic end generated code: output=95a3eceefae0f748 input=347fcfd56b4ceabd]*/ in _winapi_Overlapped_getbuffer_impl() 304 /*[clinic end generated code: output=fcb9ab5df4ebdae5 input=cbf3da142290039f]*/ in _winapi_Overlapped_cancel_impl() 390 /*[clinic end generated code: output=7ad37345f07bd782 input=7f0e4ac36e0352b8]*/ in _winapi_CloseHandle_impl() 414 /*[clinic end generated code: output=335a0e7086800671 input=34f937c1c86e5e68]*/ in _winapi_ConnectNamedPipe_impl() 469 /*[clinic end generated code: output=417ddcebfc5a3d53 input=6423c3e40372dbd5]*/ in _winapi_CreateFile_impl() 509 /*[clinic end generated code: output=6c0a4d5cf7f6fcc6 input=3dc5cf762a74dee8]*/ in _winapi_CreateFileMapping_impl() 540 /*[clinic end generate in _winapi_CreateJunction_impl() 788 wchar_t *buffer = NULL, *p, *end; getenvironment() local [all...] |
/third_party/spirv-tools/source/fuzz/ |
H A D | fuzzer_util.cpp | 279 for (auto inst_it = block->begin(); inst_it != block->end(); ++inst_it) { in GetIteratorForInstruction() 284 return block->end(); in GetIteratorForInstruction() 978 return std::unordered_set<uint32_t>(arr.begin(), arr.end()).size() != in HasDuplicates() 992 auto min_max = std::minmax_element(arr.begin(), arr.end()); in IsPermutationOfRange() 1075 operand_ids.insert(operand_ids.end(), parameter_type_ids.begin(), in UpdateFunctionType() 1076 parameter_type_ids.end()); in UpdateFunctionType() 2024 ir_context->module()->end(), in GetFunctionIterator()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/eap_peer/ |
H A D | eap_aka.c | 170 char req[200], *pos, *end; in eap_aka_ext_sim_req() local 174 end = pos + sizeof(req); in eap_aka_ext_sim_req() 175 pos += os_snprintf(pos, end - pos, "UMTS-AUTH"); in eap_aka_ext_sim_req() 176 pos += os_snprintf(pos, end - pos, ":"); in eap_aka_ext_sim_req() 177 pos += wpa_snprintf_hex(pos, end - pos, data->rand, EAP_AKA_RAND_LEN); in eap_aka_ext_sim_req() 178 pos += os_snprintf(pos, end - pos, ":"); in eap_aka_ext_sim_req() 179 wpa_snprintf_hex(pos, end - pos, data->autn, EAP_AKA_AUTN_LEN); in eap_aka_ext_sim_req()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/eap_peer/ |
H A D | eap_aka.c | 170 char req[200], *pos, *end; in eap_aka_ext_sim_req() local 174 end = pos + sizeof(req); in eap_aka_ext_sim_req() 175 pos += os_snprintf(pos, end - pos, "UMTS-AUTH"); in eap_aka_ext_sim_req() 176 pos += os_snprintf(pos, end - pos, ":"); in eap_aka_ext_sim_req() 177 pos += wpa_snprintf_hex(pos, end - pos, data->rand, EAP_AKA_RAND_LEN); in eap_aka_ext_sim_req() 178 pos += os_snprintf(pos, end - pos, ":"); in eap_aka_ext_sim_req() 179 wpa_snprintf_hex(pos, end - pos, data->autn, EAP_AKA_AUTN_LEN); in eap_aka_ext_sim_req()
|
/base/notification/distributed_notification_service/services/ans/src/ |
H A D | advanced_notification_service.cpp | 732 if (it != doNotDisturbEnableRecord_.end()) { in ReportDoNotDisturbModeChanged() 1037 while (iter != notificationList_.end()) { in UpdateInNotificationList() 1434 while (iter != vec.end()) { in IsContained() 1953 for (auto it = pushCallBacks_.begin(); it != pushCallBacks_.end(); it++) { in ResetPushCallbackProxy() 2003 if (pushCallBacks_.find(slotType) != pushCallBacks_.end()) { in RegisterPushCallback() 2016 ANS_LOGD("end"); in RegisterPushCallback() 2044 ANS_LOGD("end"); in UnregisterPushCallback() 2071 if (pushCallBacks_.find(slotType) == pushCallBacks_.end()) { in IsNeedPushCheck() 2117 if (pushCallBacks_.find(request->GetSlotType()) == pushCallBacks_.end()) { in PushCheck() 2195 while (iter != notificationList_.end()) { in FillActionButtons() [all...] |
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/form/ |
H A D | form_pattern.cpp | 263 if (formChildrenNodeMap_.find(FormChildNodeType::FORM_STATIC_IMAGE_NODE) != formChildrenNodeMap_.end()) { in HandleSnapshot() 342 == formChildrenNodeMap_.end()) { in TakeSurfaceCaptureForUI() 448 == formChildrenNodeMap_.end()) { in SetNonTransparentAfterRecover() 529 != formChildrenNodeMap_.end()) { in UpdateImageNode() 998 != formChildrenNodeMap_.end() ? TRANSPARENT_VAL : CONTENT_BG_OPACITY; in LoadFormSkeleton() 1046 if (iter == OHOS::AppExecFwk::Constants::DIMENSION_MAP.end()) { in GetFormDimensionHeight() 1428 formChildrenNodeMap_.find(FormChildNodeType::FORM_FORBIDDEN_ROOT_NODE) != formChildrenNodeMap_.end()) { in AttachRSNode() 1931 if (iter == formChildrenNodeMap_.end()) { in AddFormChildNode() 1964 if (iter == formChildrenNodeMap_.end()) { in GetFormChildNode()
|
/foundation/arkui/napi/test/unittest/ |
H A D | test_sendable_napi.cpp | 595 napi_value end; in HWTEST_F() local 596 ASSERT_CHECK_CALL(napi_map_iterator_get_next(env, entries, &end)); in HWTEST_F() 598 ASSERT_CHECK_CALL(napi_get_named_property(env, end, "done", &done)); in HWTEST_F() 635 napi_value end; in HWTEST_F() local 636 ASSERT_CHECK_CALL(napi_map_iterator_get_next(env, keys, &end)); in HWTEST_F() 638 ASSERT_CHECK_CALL(napi_get_named_property(env, end, "done", &done)); in HWTEST_F() 675 napi_value end; in HWTEST_F() local 676 ASSERT_CHECK_CALL(napi_map_iterator_get_next(env, values, &end)); in HWTEST_F() 678 ASSERT_CHECK_CALL(napi_get_named_property(env, end, "done", &done)); in HWTEST_F()
|
/foundation/resourceschedule/device_usage_statistics/services/common/src/ |
H A D | bundle_active_usage_database.cpp | 256 sort(sortedTableArray_.at(databaseType).begin(), sortedTableArray_.at(databaseType).end()); in HandleTableInfo() 547 if (it == bundleNameUidMap.end()) { in UpdateOldDataUid() 569 if (bundleActiveRdbStoreCache_.find(file) == bundleActiveRdbStoreCache_.end()) { in GetBundleActiveRdbStore() 598 && (bundleActiveRdbStoreCache_.find(databaseFileName) != bundleActiveRdbStoreCache_.end())) { in CheckDatabaseFile() 821 for (auto iter = userHistory->begin(); iter != userHistory->end(); iter++) { in PutBundleHistoryData() 966 for (auto iter = stats.bundleStats_.begin(); iter != stats.bundleStats_.end(); iter++) { in FlushPackageInfo() 1363 sort(sortedTableArray_.at(databaseType).begin(), sortedTableArray_.at(databaseType).end()); in UpdateBundleUsageData() 1795 if (it != moduleRecords.end() && it->second) { in LoadFormData() 1898 if (iter != notificationEventStats.end()) { in QueryNotificationEventStats()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/amdgpu/ |
H A D | amdgpu_vm.c | 627 * amdgpu_vm_move_to_lru_tail - move all BOs to the end of LRU 632 * Move all BOs to the end of LRU and remember their positions to put them 1367 * @end: last PTE to handle 1370 * @frag_end: end of this fragment 1372 * Returns the first possible fragment for the start and end address. 1375 uint64_t start, uint64_t end, uint64_t flags, in amdgpu_vm_fragment() 1409 *frag_end = end; in amdgpu_vm_fragment() 1414 *frag = min((unsigned)ffs(start) - 1, (unsigned)fls64(end - start) - 1); in amdgpu_vm_fragment() 1417 *frag_end = end & ~((1ULL << max_frag) - 1); in amdgpu_vm_fragment() 1428 * @end 1374 amdgpu_vm_fragment(struct amdgpu_vm_update_params *params, uint64_t start, uint64_t end, uint64_t flags, unsigned int *frag, uint64_t *frag_end) amdgpu_vm_fragment() argument 1437 amdgpu_vm_update_ptes(struct amdgpu_vm_update_params *params, uint64_t start, uint64_t end, uint64_t dst, uint64_t flags) amdgpu_vm_update_ptes() argument [all...] |
/kernel/linux/linux-5.10/drivers/block/ |
H A D | xen-blkfront.c | 194 * hang in private_data off the gendisk structure. We may end up 445 unsigned int end = minor + nr; in xlbd_reserve_minors() local 448 if (end > nr_minors) { in xlbd_reserve_minors() 451 bitmap = kcalloc(BITS_TO_LONGS(end), sizeof(*bitmap), in xlbd_reserve_minors() 457 if (end > nr_minors) { in xlbd_reserve_minors() 462 nr_minors = BITS_TO_LONGS(end) * BITS_PER_LONG; in xlbd_reserve_minors() 470 if (find_next_bit(minors, end, minor) >= end) { in xlbd_reserve_minors() 482 unsigned int end = minor + nr; in xlbd_release_minors() local 484 BUG_ON(end > nr_minor in xlbd_release_minors() [all...] |
/kernel/linux/linux-5.10/drivers/md/ |
H A D | raid5-cache.c | 203 * an IO range starts from a meta data block and end at the next meta data 265 sector_t end) in r5l_ring_distance() 267 if (end >= start) in r5l_ring_distance() 268 return end - start; in r5l_ring_distance() 270 return end + log->device_size - start; in r5l_ring_distance() 1314 sector_t end) in r5l_write_super_and_discard_space() 1319 r5l_write_super(log, end); in r5l_write_super_and_discard_space() 1344 if (log->last_checkpoint < end) { in r5l_write_super_and_discard_space() 1347 end - log->last_checkpoint, GFP_NOIO, 0); in r5l_write_super_and_discard_space() 1353 blkdev_issue_discard(bdev, log->rdev->data_offset, end, in r5l_write_super_and_discard_space() 264 r5l_ring_distance(struct r5l_log *log, sector_t start, sector_t end) r5l_ring_distance() argument 1313 r5l_write_super_and_discard_space(struct r5l_log *log, sector_t end) r5l_write_super_and_discard_space() argument [all...] |
H A D | dm-cache-target.c | 575 static void build_key(dm_oblock_t begin, dm_oblock_t end, struct dm_cell_key_v2 *key) in build_key() argument 580 key->block_end = from_oblock(end); in build_key() 648 dm_oblock_t end = to_oblock(from_oblock(oblock) + 1ULL); in bio_detain_shared() local 653 build_key(oblock, end, &key); in bio_detain_shared() 1345 * But the cache block has since been overwritten, so it'll end in mg_update_metadata() 2694 * the end of the origin device. We don't cache these. in cache_map() 3214 * Defines a range of cblocks, begin to (end - 1) are in the range. end is 3215 * the one-past-the-end value. 3219 dm_cblock_t end; member [all...] |
H A D | dm-zoned-metadata.c | 512 * Metadata block BIO end callback. 1863 * This rotates a zone at the end of its map list. 1885 * in LRU order. This rotates a zone at the end of the list. 2390 unsigned int end = bit + nr_bits; in dmz_set_bits() local 2393 while (bit < end) { in dmz_set_bits() 2395 ((end - bit) >= BITS_PER_LONG)) { in dmz_set_bits() 2547 int end = bit + nr_bits; in dmz_clear_bits() local 2550 while (bit < end) { in dmz_clear_bits() 2552 ((end - bit) >= BITS_PER_LONG)) { in dmz_clear_bits() 2735 int end in dmz_count_bits() local [all...] |
/kernel/linux/linux-5.10/drivers/scsi/ |
H A D | aha152x.c | 10 * - gather code that is not used by PCMCIA at the end 599 void (*end)(struct Scsi_Host *); member 636 struct scsi_cmnd *end; in append_SC() local 642 for (end = *SC; SCNEXT(end); end = SCNEXT(end)) in append_SC() 644 SCNEXT(end) = new_SC; in append_SC() 2309 * end previous state in is_complete() 2312 if(PREVSTATE!=STATE && states[PREVSTATE].end) in is_complete() [all...] |
/kernel/linux/linux-5.10/drivers/scsi/aic7xxx/ |
H A D | aic79xx_osm.c | 1043 ahd_parse_brace_option(char *opt_name, char *opt_arg, char *end, int depth, in ahd_parse_brace_option() argument 1067 if (tok_end < end) in ahd_parse_brace_option() 1107 tok_end = end; in ahd_parse_brace_option() 1132 char *end; in aic79xx_setup() local 1156 end = strchr(s, '\0'); in aic79xx_setup() 1179 s = ahd_parse_brace_option("tag_info", p + n, end, in aic79xx_setup() 1183 p + n, end, 1, ahd_linux_setup_iocell_info, in aic79xx_setup() 1187 p + n, end, 1, ahd_linux_setup_iocell_info, in aic79xx_setup() 1191 p + n, end, 1, ahd_linux_setup_iocell_info, in aic79xx_setup()
|