Home
last modified time | relevance | path

Searched refs:sort (Results 1 – 25 of 382) sorted by relevance

12345678910>>...16

/ohos5.0/docs/zh-cn/application-dev/internationalization/
H A Di18n-sorting-local.md38 | usage | sort | 用作排序 | |
77 usage: "sort",
84 array.sort((a, b) => {
91 array.sort((a, b) => {
99 usage: "sort",
104 array.sort((a, b) => {
/ohos5.0/base/customization/enterprise_device_management/interfaces/inner_api/plugin_kits/src/utils/
H A Darray_string_serializer.cpp38 std::sort(data.begin(), data.end()); in SetUnionPolicyData()
39 std::sort(currentData.begin(), currentData.end()); in SetUnionPolicyData()
48 std::sort(data.begin(), data.end()); in SetDifferencePolicyData()
49 std::sort(currentData.begin(), currentData.end()); in SetDifferencePolicyData()
/ohos5.0/docs/en/application-dev/internationalization/
H A Di18n-sorting-local.md38 | usage | sort | Sorting.| |
47 | | false | Not sort by number.| 1 < 10 < 11 < 2 |
77 usage: "sort",
84 array.sort((a, b) => {
91 array.sort((a, b) => {
99 usage: "sort",
104 array.sort((a, b) => {
/ohos5.0/base/customization/enterprise_device_management/services/edm_plugin/src/utils/
H A Darray_usb_device_id_serializer.cpp29 std::sort(data.begin(), data.end(), Comp()); in SetUnionPolicyData()
30 std::sort(currentData.begin(), currentData.end(), Comp()); in SetUnionPolicyData()
39 std::sort(data.begin(), data.end(), Comp()); in SetDifferencePolicyData()
40 std::sort(currentData.begin(), currentData.end(), Comp()); in SetDifferencePolicyData()
H A Darray_usb_device_type_serializer.cpp33 std::sort(data.begin(), data.end()); in SetUnionPolicyData()
34 std::sort(currentData.begin(), currentData.end()); in SetUnionPolicyData()
43 std::sort(data.begin(), data.end()); in SetDifferencePolicyData()
44 std::sort(currentData.begin(), currentData.end()); in SetDifferencePolicyData()
/ohos5.0/base/request/request/services/src/manage/scheduler/
H A Dsql.rs176 res.sort(); in ut_pause()
177 tasks.sort(); in ut_pause()
217 res.sort(); in ut_stop()
218 tasks.sort(); in ut_stop()
/ohos5.0/foundation/communication/bluetooth_service/services/bluetooth/service/src/gavdp/a2dp_codec/
H A Da2dp_codec_factory.cpp76 indexedSourceCodecs_.sort(OrderCodecPriority); in Initialize()
79 indexedSinkCodecs_.sort(OrderCodecPriority); in Initialize()
229 indexedSourceCodecs_.sort(OrderCodecPriority); in UpdateCodecPriority()
231 indexedSinkCodecs_.sort(OrderCodecPriority); in UpdateCodecPriority()
/ohos5.0/base/update/packaging_tools/
H A Dblocks_manager.py75 data.sort()
115 range_d.sort()
132 sort_list.sort()
147 new_data.sort()
/ohos5.0/foundation/multimedia/av_codec/test/unittest/codeclist_test/inner/
H A Dcodeclist_inner_mock.cpp95 std::sort(ret.begin(), ret.end()); in GetAudioSupportedSampleRates()
217 std::sort(ret.begin(), ret.end()); in GetVideoSupportedPixelFormats()
237 std::sort(ret.begin(), ret.end()); in GetSupportedProfiles()
253 std::sort(levelsmatch->second.begin(), levelsmatch->second.end()); in GetSupportedLevelsForProfile()
/ohos5.0/docs/zh-cn/application-dev/quick-start/
H A Darkts-create-custom-components.md443 - 对当前数组做出修改,sort()改变了数组this.arr,随后的filter方法会返回一个新的数组。
448 ForEach(this.arr.sort().filter(...),
452 // 正确的执行方式为:filter返回一个新数组,后面的sort方法才不会改变原数组this.arr
453 ForEach(this.arr.filter(...).sort(),
H A Darkts-new-makeObserved.md147 | Array | push、pop、shift、unshift、splice、copyWithin、fill、reverse、sort |
148 | collections.Array | push、pop、shift、unshift、splice、fill、reverse、sort、shrinkTo、extendTo |
230 - 改变数组项本身:sort、fill
312 // sort:从大到小排序
313 Button('sort').onClick(() => {
314 this.arrCollect.sort((a: Info, b: Info) => b.id - a.id);
/ohos5.0/foundation/multimedia/av_codec/test/unittest/codeclist_test/capi/
H A Dcodeclist_capi_mock.cpp139 std::sort(retVector.begin(), retVector.end()); in GetAudioSupportedSampleRates()
333 std::sort(retVector.begin(), retVector.end()); in GetVideoSupportedPixelFormats()
353 std::sort(retVector.begin(), retVector.end()); in GetSupportedProfiles()
373 std::sort(retVector.begin(), retVector.end()); in GetSupportedLevelsForProfile()
/ohos5.0/foundation/arkui/napi/jsvm/
H A Dbuild_jsvm_inter.sh82 | awk '{ print $1 }' | sort > ${dynsyms_path}
85 | sort > ${funcsysms_path}
/ohos5.0/base/hiviewdfx/hiview/base/logstore/
H A Dlog_store_ex.cpp84 std::sort(logFileList.begin(), logFileList.end(), comparator_); in GetLogFiles()
86 std::sort(logFileList.begin(), logFileList.end()); in GetLogFiles()
/ohos5.0/base/hiviewdfx/hiview/plugins/sysevent_source/
H A Dsys_event_stat.cpp165 std::sort(domains.begin(), domains.end()); in GetDomains()
204 std::sort(eventNames.begin(), eventNames.end()); in GetEventNames()
230 std::sort(domains.begin(), domains.end()); in CalcStat()
/ohos5.0/docs/zh-cn/application-dev/reference/apis-arkts/
H A Djs-apis-arraylist.md492 ### sort subsection
494 sort(comparator?: (firstValue: T, secondValue: T) => number): void
522 | 10200011 | The sort method cannot be bound. |
532 arrayList.sort((a: number, b: number) => a - b);
533 arrayList.sort((a: number, b: number) => b - a);
534 arrayList.sort();
H A Djs-apis-vector.md372 ### sort subsection
374 sort(comparator?: (firstValue: T, secondValue: T) => number): void
401 vector.sort((a: number, b: number) => a - b);
402 vector.sort((a: number, b: number) => b - a);
403 vector.sort();
H A Djs-apis-list.md546 ### sort subsection
548 sort(comparator: (firstValue: T, secondValue: T) => number): void
576 | 10200011 | The sort method cannot be bound. |
586 list.sort((a: number, b: number) => a - b); // 结果为升序排列
587 list.sort((a: number, b: number) => b - a); // 结果为降序排列
/ohos5.0/commonlibrary/ets_utils/js_api_module/url/src/
H A Djs_url.ts20 sort(): void;
37 sort(): void;
197 sort(): void {
198 this.urlClass.sort();
334 sort(): void {
335 this.urlClass.sort();
/ohos5.0/foundation/resourceschedule/work_scheduler/services/native/src/
H A Dwork_queue.cpp34 workList_.sort(WorkComp()); in OnConditionChanged()
108 workList_.sort(WorkComp()); in Push()
176 workList_.sort(WorkComp()); in GetWorkToRunByPriority()
/ohos5.0/base/telephony/core_service/utils/vcard/src/contact_data/
H A Dvcard_name_data.cpp105 void VCardNameData::setSort(const std::string &sort) in setSort() argument
107 sort_ = sort; in setSort()
/ohos5.0/build/config/components/musl/
H A DBUILD.gn137 "-Wl,--sort-section,alignment",
138 "-Wl,--sort-common",
/ohos5.0/docs/en/application-dev/reference/apis-arkui/arkui-ts/
H A Dohos-arkui-advanced-GridObjectSortComponent.md4 **GridObjectSortComponent** is a grid object organizer that you can use to edit, drag to sort, add,…
55 …md#resourcestr) | No | First subtitle of the display area.<br>Default value: **Drag to sort**|
170 showAreaTitle: 'Drag to sort',
/ohos5.0/foundation/graphic/graphic_3d/lume/LumeRender/src/device/
H A Dgpu_program_util.cpp104 std::sort(currSet.bindings.begin(), currSet.bindings.end(), in CombinePipelineLayouts()
150 …std::sort(outSc.begin(), outSc.end(), [](const auto& lhs, const auto& rhs) { return (lhs.offset < … in CombineSpecializationConstants()
/ohos5.0/base/update/updateservice/services/firmware/upgrade/install/src/
H A Dfirmware_updater_install.cpp51 sort(componentPaths.begin(), componentPaths.end()); in DoUpdaterInstall()

12345678910>>...16