/kernel/linux/linux-5.10/fs/ext4/ |
H A D | mballoc.c | 179 * it's consumed from the beginning to the end. 208 * killing performance on high-end SMP hardware. let's try to relax it using 3541 loff_t size, start_off, end; in ext4_mb_normalize_request() local 3648 end = start + size; in ext4_mb_normalize_request() 3670 if (pa->pa_lstart >= end || pa_end <= start) { in ext4_mb_normalize_request() 3674 BUG_ON(pa->pa_lstart <= start && pa_end >= end); in ext4_mb_normalize_request() 3676 /* adjust start or end to be adjacent to this pa */ in ext4_mb_normalize_request() 3681 BUG_ON(pa->pa_lstart > end); in ext4_mb_normalize_request() 3682 end = pa->pa_lstart; in ext4_mb_normalize_request() 3687 size = end in ext4_mb_normalize_request() 3811 ext4_fsblk_t end; ext4_mb_use_inode_pa() local 4315 unsigned int end; ext4_mb_release_inode_pa() local 6063 uint64_t start, end, minlen, trimmed = 0; ext4_trim_fs() local 6149 ext4_mballoc_query_range( struct super_block *sb, ext4_group_t group, ext4_grpblk_t start, ext4_grpblk_t end, ext4_mballoc_query_range_fn formatter, void *priv) ext4_mballoc_query_range() argument [all...] |
/kernel/linux/linux-6.6/fs/ceph/ |
H A D | caps.c | 502 * (Re)queue cap at the end of the delayed cap release list. 841 * Move a cap to the end of the LRU (oldest caps at list head, newest 2024 * the exclusive cap. So that MDS does not end up in ceph_check_caps() 2427 int ceph_fsync(struct file *file, loff_t start, loff_t end, int datasync) in ceph_fsync() argument 2437 ret = file_write_and_wait_range(file, start, end); in ceph_fsync() 4176 static int parse_fscrypt_fields(void **p, void *end, in parse_fscrypt_fields() argument 4181 ceph_decode_32_safe(p, end, extra->fscrypt_auth_len, bad); in parse_fscrypt_fields() 4183 ceph_decode_need(p, end, extra->fscrypt_auth_len, bad); in parse_fscrypt_fields() 4188 ceph_decode_copy_safe(p, end, extra->fscrypt_auth, in parse_fscrypt_fields() 4192 ceph_decode_32_safe(p, end, le in parse_fscrypt_fields() 4203 parse_fscrypt_fields(void **p, void *end, struct cap_extra_info *extra) parse_fscrypt_fields() argument 4243 void *p, *end; ceph_handle_caps() local [all...] |
/third_party/googletest/googlemock/include/gmock/ |
H A D | gmock-matchers.h | 388 // latter calls bool operator==(const Lhs& lhs, const Rhs& rhs) in the end 881 // Are we at the end of either s1 or s2? in CaseInsensitiveStringEquals() 1114 *os << "doesn't end with "; in DescribeNegationTo() 2340 // Implements a matcher that checks the begin()..end() distance of an STL-style 2366 *os << "distance between begin() and end() "; 2370 *os << "distance between begin() and end() "; 2377 using std::end; 2378 DistanceType distance = std::distance(begin(container), end(container)); 2382 *listener << "whose distance between begin() and end() " << distance 2405 // begin(), and end() [all...] |
/third_party/mesa3d/src/amd/compiler/ |
H A D | aco_register_allocation.cpp | 153 /* Construct a half-open interval, excluding the end register */ 154 static PhysRegInterval from_until(PhysReg first, PhysReg end) { return {first, end - first}; } in from_until() 165 PhysRegIterator end() const { return {PhysReg{lo_ + size}}; } in end() function 277 assert(subdword_regs.find(i) != subdword_regs.end()); in test() 433 while (line_begin_it != regs.end()) { in print_regs() 435 std::min<int>(max_regs_per_line, std::distance(line_begin_it, regs.end())); in print_regs() 456 std::count_if(regs.begin(), regs.end(), [&](auto reg) { return !reg_file[reg]; }); in print_regs() 780 while (it != parallelcopies.end()) { in update_renames() 900 std::min(bounds.end(), st in get_reg_simple() [all...] |
/base/hiviewdfx/hiview/adapter/plugins/eventservice/service/idl/src/ |
H A D | event_query_wrapper_builder.cpp | 48 if (extraInfoCondCache.empty() || extraInfoCondCache.find(condStr) == extraInfoCondCache.end()) { in ParseCondition() 55 if (iter != extraInfoCondCache.end()) { in ParseCondition() 80 return opMap.find(op) == opMap.end() ? EventStore::Op::NONE : opMap.at(op); in GetOpEnum() 166 if (versionSet.find(version) == versionSet.end()) { in ParseQueryCondition() 449 if (any_of(queryRules.begin(), queryRules.end(), [&domain, &eventName, &eventType, &extraInfo] (auto& rule) { in Append()
|
H A D | sys_event_service_ohos.cpp | 105 return any_of(rules.begin(), rules.end(), [domain, eventName, tag, eventType] (auto& rule) { in MatchRules() 190 for (auto listener = registeredListeners_.begin(); listener != registeredListeners_.end(); ++listener) { in OnSysEvent() 236 if (listener != registeredListeners_.end()) { in OnRemoteDied() 294 if (registeredListeners_.find(callbackObject) != registeredListeners_.end()) { in AddListener() 337 if (registeredListener != registeredListeners_.end()) { in RemoveListener()
|
/base/hiviewdfx/hiview/base/ |
H A D | event_loop.cpp | 292 if (eventSourceNameMap_.find(name) != eventSourceNameMap_.end()) {
in AddFileDescriptorEventCallback() 331 if (eventSourceNameMap_.find(name) == eventSourceNameMap_.end()) {
in RemoveFileDescriptorEventCallback() 360 for (auto it = eventSourceMap_.begin(); it != eventSourceMap_.end(); it++) {
in ModifyFdStatus() 392 if (it == eventSourceMap_.end()) {
in PollNextEvent() 569 if (it != eventSourceMap_.end()) {
in WaitNextEvent()
|
/base/notification/eventhandler/frameworks/eventhandler/src/ |
H A D | event_runner.cpp | 179 if (it == depositMap_.end()) { in DoReclaimLocked() 863 const DistributeEndTime end) in SetMainLooperWatcher() 865 if ((begin != nullptr && end != nullptr) || (begin == nullptr && end == nullptr)) { in SetMainLooperWatcher() 867 distributeEnd_ = end; in SetMainLooperWatcher() 862 SetMainLooperWatcher(const DistributeBeginTime begin, const DistributeEndTime end) SetMainLooperWatcher() argument
|
/base/theme/wallpaper_mgr/frameworks/native/src/ |
H A D | wallpaper_manager.cpp | 64 while (iter != wallpaperFdMap_.end()) { in ~WallpaperManager() 186 if (iter != wallpaperFdMap_.end() && fcntl(iter->second, F_GETFL) != -1) { in GetFile() 560 if (iter != wallpaperFdMap_.end() && fcntl(iter->second, F_GETFL) != -1) { in CloseWallpaperFd() 617 if (metaData.find(Media::AV_KEY_MIME_TYPE) != metaData.end()) { in CheckVideoFormat() 629 if (metaData.find(Media::AV_KEY_DURATION) != metaData.end()) { in CheckVideoFormat()
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/picker/ |
H A D | datepicker_pattern.h | 176 auto iter = std::find_if(datePickerColumns_.begin(), datePickerColumns_.end(), [&tag](const auto& c) { in GetColumn() 180 return (iter == datePickerColumns_.end()) ? nullptr : (*iter).Upgrade(); in GetColumn() 421 void AdjustSolarDate(PickerDate& date, const PickerDate& start, const PickerDate& end) const in AdjustSolarDate() 427 if (SolarDateCompare(date, end) > 0) { in AdjustSolarDate() 428 date = end; in AdjustSolarDate() 760 PickerDate endDateSolar_ = PickerDate(2100, 12, 31); // default end date is 2100-12-31 from FA document. 765 PickerDate endDefaultDateSolar_ = PickerDate(2100, 12, 31); // default end date is 2100-12-31 from FA document.
|
/foundation/arkui/ace_engine/frameworks/core/components/text_field/ |
H A D | render_text_field.h | 129 void Delete(int32_t start, int32_t end); 165 void HandleSetSelection(int32_t start, int32_t end, bool showHandle = true) override; 504 void UpdateStartSelection(int32_t end, const Offset& pos, bool isSingleHandle, bool isLongPress); 507 void UpdateSelection(int32_t start, int32_t end); 515 * The emoji character contains 2 code unit. Assumpt that the cursor is at the end (that will be 3+2+2 = 7). 701 void HandleOnStartHandleMove(int32_t end, const Offset& startHandleOffset,
|
/foundation/arkui/ace_engine/adapter/ohos/tools/raw_input_injector/ |
H A D | raw_input_injector.cpp | 176 if (existFinger != commandMap_.end()) { in ParseFingerId() 237 for (auto iter = commandMap_.begin(); iter != commandMap_.end(); ++iter) { in CheckCommandQueue() 269 for (auto iter = commandMap_.begin(); iter != commandMap_.end(); ++iter) { in PrepareAllInjectingActions() 538 for (auto iter = commandMap_.begin(); iter != commandMap_.end(); ++iter) { in IsAllConsumed() 596 while (iter != pointerStatusList_.end()) { in RemovePointerInfo()
|
/foundation/arkui/ace_engine/frameworks/bridge/js_frontend/ |
H A D | js_command.cpp | 473 if (animationName != animationNameKeyframe.end()) { in Execute() 557 auto showAttr = std::find_if(std::begin(attrs_), std::end(attrs_), in Execute() 559 if (showAttr != std::end(attrs_)) { in Execute() 652 std::find(g_declarationNodes.begin(), g_declarationNodes.end(), node->GetTag()) != g_declarationNodes.end()) { in Execute()
|
/foundation/arkui/ace_engine/adapter/preview/inspector/ |
H A D | js_inspector_manager.cpp | 143 for (auto item = child.begin(); item != child.end(); item++) { in GetChildrenJson() 227 if (iter != parents_.end()) { in OperateComponent() 445 auto it = std::find(specialComponentNameV1.begin(), specialComponentNameV1.end(), node->GetTag()); in UpdateNodeRectStrInfo() 446 if (it != specialComponentNameV1.end()) { in UpdateNodeRectStrInfo() 504 std::transform(dstStr.begin(), dstStr.end(), dstStr.begin(), ::tolower); in ConvertStrToPropertyType()
|
/foundation/arkui/ace_engine/test/unittest/core/pattern/list/ |
H A D | list_test_ng.cpp | 291 std::function<std::list<std::string>(uint32_t, uint32_t)> getKeys = [](uint32_t start, uint32_t end) { 293 for (uint32_t i = start; i <= end; ++i) { 298 std::function<std::list<std::string>(uint32_t, uint32_t)> getTypes = [](uint32_t start, uint32_t end) { 300 for (uint32_t i = start; i <= end; ++i) { 305 std::function<void(uint32_t, uint32_t)> setActiveRange = [](uint32_t start, uint32_t end) {};
|
/foundation/arkui/ace_engine/frameworks/core/event/ |
H A D | key_event_recognizer.cpp | 432 if (iter == KEYCODE_TO_STRING.end()) { in KeyCodeToString() 498 if (iter == MAP_KEY_INTENTION.end()) { in keyItemsTransKeyIntention() 575 pressedkeys.end(), static_cast<KeyCode>(keyCode)); in addPressedKey() 576 if (result == pressedkeys.end()) { in addPressedKey() 583 for (auto it = keys_.begin(); it != keys_.end(); ++it) { in removeReleasedKey()
|
/foundation/arkui/ace_engine/interfaces/native/node/ |
H A D | node_animate.cpp | 312 option->end = 1.0f; in OH_ArkUI_AnimatorOption_Create() 415 option->end = value; in OH_ArkUI_AnimatorOption_SetEnd() 520 return option->end; in OH_ArkUI_AnimatorOption_GetEnd() 661 ArkUI_CurveHandle OH_ArkUI_Curve_CreateStepsCurve(int32_t count, bool end) in OH_ArkUI_Curve_CreateStepsCurve() argument 663 return OHOS::Ace::AnimateModel::StepsCurve(count, end); in OH_ArkUI_Curve_CreateStepsCurve()
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/select_overlay/ |
H A D | select_overlay_content_modifier.cpp | 101 const OffsetF& start, const OffsetF& end, float radius, bool handleOnTop) in CalculateCenterPoint() 103 float vectorX = end.GetX() - start.GetX(); in CalculateCenterPoint() 104 float vectorY = end.GetY() - start.GetY(); in CalculateCenterPoint() 114 float centerX = handleOnTop ? start.GetX() + extendedVectorX : end.GetX() + extendedVectorX; in CalculateCenterPoint() 115 float centerY = handleOnTop ? start.GetY() + extendedVectorY : end.GetY() + extendedVectorY; in CalculateCenterPoint() 100 CalculateCenterPoint( const OffsetF& start, const OffsetF& end, float radius, bool handleOnTop) CalculateCenterPoint() argument
|
/foundation/barrierfree/accessibility/frameworks/asacfwk/src/ |
H A D | accessibility_system_ability_client_impl.cpp | 267 if (iter != elementOperators_.end()) { in RegisterElementOperator() 322 for (auto iter = elementOperators_.begin(); iter != elementOperators_.end(); iter++) { in ReregisterElementOperator() 337 if (iter != elementOperators_.end()) { in DeregisterElementOperator() 461 for (auto iter = observerVector.begin(); iter != observerVector.end(); ++iter) { in SubscribeStateObserver() 486 for (auto iter = observerVector.begin(); iter != observerVector.end(); ++iter) { in UnsubscribeStateObserver() 515 HILOG_ERROR("end stateObserversArray[%{public}d] is null", eventType); in NotifyStateChanged() 518 HILOG_DEBUG("end"); in NotifyStateChanged()
|
/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/app_control/ |
H A D | app_control_manager_host_impl.cpp | 309 if (item == callingNameMap_.end()) { in GetCallingName() 319 if (item == ruleTypeMap_.end()) { in GetControlRuleType() 437 auto iterator = std::find(appIds.begin(), appIds.end(), info.second.GetAppId()); in UpdateAppControlledInfo() 438 userInfo.isRemovable = (iterator != appIds.end()) ? false : true; in UpdateAppControlledInfo() 446 if (item != callingNameMap_.end()) { in GetCallerByUid()
|
/foundation/arkui/ui_appearance/services/src/ |
H A D | ui_appearance_ability.cpp | 327 return usersParam_.find(userId) != usersParam_.end(); in IsUserExist() 452 if (it != usersParam_.end()) { in SetDarkMode() 493 if (it != usersParam_.end()) { in GetDarkMode() 556 if (it != usersParam_.end()) { in GetFontScale() 623 if (it != usersParam_.end()) { in GetFontWeightScale()
|
/foundation/bundlemanager/distributed_bundle_framework/services/dbms/src/ |
H A D | distributed_data_storage.cpp | 414 if (infoItem == moduleAbilityInfos.end()) { in ConvertToDistributedBundleInfo() 458 if (oldDistributedBundleInfos.find(bundleInfo.name) != oldDistributedBundleInfos.end()) { in UpdateDistributedData() 499 if (std::find(bundleNames.begin(), bundleNames.end(), distributedBundleInfo.bundleName) == in GetAllOldDistributionBundleInfo() 500 bundleNames.end()) { in GetAllOldDistributionBundleInfo() 528 if (result.find(uuid_) == result.end()) { in SyncCompleted()
|
/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_bundle_data_group_test/ |
H A D | bms_bundle_data_group_test.cpp | 244 if (iter == bundleInfos.end()) { in HWTEST_F() 251 if (iter == bundleInfos.end()) { in HWTEST_F() 274 if (iter == bundleInfos.end()) { in HWTEST_F() 284 if (iter == bundleInfos.end()) { in HWTEST_F() 595 ASSERT_NE(iter, dataGroupInfos.end()); in HWTEST_F()
|
/foundation/graphic/graphic_3d/lume/LumeRender/src/vulkan/ |
H A D | create_functions_vk.cpp | 268 if (!std::all_of(extensions.begin(), extensions.end(), [&instanceExtensions](auto const requiredExtension) { in CreateInstance() 269 const bool supported = std::any_of(instanceExtensions.begin(), instanceExtensions.end(), in CreateInstance() 293 layers.erase(std::remove_if(layers.begin(), layers.end(), in CreateInstance() 295 const bool supported = std::any_of(instanceLayers.begin(), instanceLayers.end(), in CreateInstance() 465 std::sort(extensions.begin(), extensions.end(), [](const VkExtensionProperties& lhs, VkExtensionProperties& rhs) { in GetWrapper()
|
/foundation/graphic/graphic_3d/lume/LumeRender/src/gles/ |
H A D | wgl_state.cpp | 179 for (auto end = extensions.find(' '); end != BASE_NS::string::npos; end = extensions.find(' ', start)) { in ParseExtensions() 180 extensionList.emplace_back(extensions.data() + start, end - start); in ParseExtensions() 181 start = end + 1; in ParseExtensions()
|