Home
last modified time | relevance | path

Searched refs:begin (Results 1 – 25 of 868) sorted by relevance

12345678910>>...35

/base/customization/enterprise_device_management/interfaces/inner_api/plugin_kits/src/utils/
Darray_string_serializer.cpp38 std::sort(data.begin(), data.end()); in SetUnionPolicyData()
39 std::sort(currentData.begin(), currentData.end()); in SetUnionPolicyData()
40 …std::set_union(data.begin(), data.end(), currentData.begin(), currentData.end(), back_inserter(mer… in SetUnionPolicyData()
48 std::sort(data.begin(), data.end()); in SetDifferencePolicyData()
49 std::sort(currentData.begin(), currentData.end()); in SetDifferencePolicyData()
50 …std::set_difference(currentData.begin(), currentData.end(), data.begin(), data.end(), back_inserte… in SetDifferencePolicyData()
/base/hiviewdfx/faultloggerd/interfaces/innerkits/unwinder/include/
Ddfx_map.h36 DfxMap(uint64_t begin, uint64_t end, uint64_t offset, in DfxMap() argument
38 : begin(begin), end(end), offset(offset), perms(perms), name(name) {} in DfxMap()
39 DfxMap(uint64_t begin, uint64_t end, uint64_t offset, in DfxMap() argument
41 : begin(begin), end(end), offset(offset), prots(prots), name(name) {} in DfxMap()
52 uint64_t begin = 0; variable
84 return (pc >= begin && pc < end); in Contain()
91 return vaddr < a.begin; in ValueLessThen()
95 return vaddr <= a.begin; in ValueLessEqual()
101 return vaddr - begin + offset; in FileOffsetFromAddr()
/base/security/crypto_framework/common/src/
Dhcf_string.c127 int StringFind(const HcString *self, char c, uint32_t begin) in StringFind() argument
141 while (begin < strLen) { in StringFind()
142 if (*(curChar + begin) == c) { in StringFind()
143 return begin; in StringFind()
145 ++begin; in StringFind()
158 bool StringSubString(const HcString *self, uint32_t begin, uint32_t len, HcString* dst) in StringSubString() argument
163 if (MAX_UINT - len <= begin) { in StringSubString()
166 const char* beingPointer = StringGet(self) + begin; in StringSubString()
/base/powermgr/thermal_manager/utils/native/src/
Dstring_operation.cpp36 std::string::size_type begin = str.find_first_not_of(sep); in SplitString() local
37 while (begin != std::string::npos) { in SplitString()
38 std::string::size_type pos = str.find(sep, begin); in SplitString()
40 temp = str.substr(begin, pos - begin); in SplitString()
41 begin = pos + sep.length(); in SplitString()
43 temp = str.substr(begin); in SplitString()
44 begin = pos; in SplitString()
/base/hiviewdfx/hitrace/test/unittest/common/napi/
Dnapi_hitracechain.test.js59 let traceId = hiTraceChain.begin("hiTraceChainJsUnitTest001")
71 let traceId = hiTraceChain.begin("hiTraceChainJsUnitTest002")
84 let traceId = hiTraceChain.begin("hiTraceChainJsUnitTest003")
99 let traceId = hiTraceChain.begin("hiTraceChainJsUnitTest004")
113 let traceId = hiTraceChain.begin("hiTraceChainJsUnitTest005", "testp1", "testp2")
125 let traceId = hiTraceChain.begin("hiTraceChainJsUnitTest006", undefined)
137 let traceId = hiTraceChain.begin("hiTraceChainJsUnitTest007")
152 let traceId = hiTraceChain.begin("hiTraceChainJsUnitTest008", null)
164 let traceId = hiTraceChain.begin("hiTraceChainJsUnitTest009")
179 let traceId = hiTraceChain.begin("hiTraceChainJsUnitTest010")
/base/hiviewdfx/hitrace/test/unittest/rust/hitracechain/src/
Dmain.rs24 let trace_id = hitracechain::begin!("hitracechain_rust_unit_test_001", HiTraceFlag::Default); in hitracechain_rust_unit_test_001()
33 …let mut trace_id = hitracechain::begin!("hitracechain_rust_unit_test_002", HiTraceFlag::IncludeAsy… in hitracechain_rust_unit_test_002()
43 … let mut trace_id = hitracechain::begin!("hitracechain_rust_unit_test_003", HiTraceFlag::Default); in hitracechain_rust_unit_test_003()
58 … let mut trace_id = hitracechain::begin!("hitracechain_rust_unit_test_004", HiTraceFlag::Default); in hitracechain_rust_unit_test_004()
67 let trace_id = hitracechain::begin!("hitracechain_rust_unit_test_005", HiTraceFlag::Default); in hitracechain_rust_unit_test_005()
77 let trace_id = hitracechain::begin!("hitracechain_rust_unit_test_006", HiTraceFlag::Default); in hitracechain_rust_unit_test_006()
87 let trace_id = hitracechain::begin!("hitracechain_rust_unit_test_007", in hitracechain_rust_unit_test_007()
/base/hiviewdfx/faultloggerd/common/dfxutil/
Ddfx_util.cpp60 const char *begin = source.data(); in TrimAndDupStr() local
61 const char *end = begin + source.size(); in TrimAndDupStr()
62 if (begin == end) { in TrimAndDupStr()
67 while ((begin < end) && isspace(*begin)) { in TrimAndDupStr()
68 begin++; in TrimAndDupStr()
71 while ((begin < end) && isspace(*(end - 1))) { in TrimAndDupStr()
75 if (begin == end) { in TrimAndDupStr()
80 uint32_t offset = static_cast<uint32_t>(end - begin); in TrimAndDupStr()
85 str.assign(begin, maxStrLen); in TrimAndDupStr()
Dstack_util.h42 uint64_t begin = 0; in ParseSelfMaps() local
48 … if (sscanf_s(mapInfo, "%" SCNxPTR "-%" SCNxPTR " %4s %" SCNxPTR " %*x:%*x %*d%n", &begin, &end, in ParseSelfMaps()
52 g_stackMapStart = static_cast<uintptr_t>(begin); in ParseSelfMaps()
58 … if (sscanf_s(mapInfo, "%" SCNxPTR "-%" SCNxPTR " %4s %" SCNxPTR " %*x:%*x %*d%n", &begin, &end, in ParseSelfMaps()
62 g_arkMapStart = static_cast<uintptr_t>(begin); in ParseSelfMaps()
/base/startup/appspawn/util/include/
Dparcel_util.h30 std::copy(originList.begin(), originList.end(), destVector.begin()); in TranslateListToVector()
39 std::copy(originVector.begin(), originVector.end(), destList.begin()); in TranslateVectorToList()
/base/powermgr/thermal_manager/services/native/src/thermal_policy/
Dthermal_policy.cpp80 …for (auto clusterPolicy = clusterPolicyMap_.begin(); clusterPolicy != clusterPolicyMap_.end(); clu… in SortLevel()
81 sort(clusterPolicy->second.begin(), clusterPolicy->second.end(), LevelCompare); in SortLevel()
94 for (auto cluster = sensorClusterMap_.begin(); cluster != sensorClusterMap_.end(); cluster++) { in LevelDecision()
111 for (auto iter = clusterLevelMap_.begin(); iter != clusterLevelMap_.end(); iter++) { in WriteLevel()
114 auto level = *max_element(levelList.begin(), levelList.end()); in WriteLevel()
129 …for (auto clusterPolicy = clusterPolicyMap_.begin(); clusterPolicy != clusterPolicyMap_.end(); clu… in PolicyDecision()
162 for (auto action = actionList.begin(); action != actionList.end(); action++) { in ActionDecision()
199 for (auto prop = stateMap.begin(); prop != stateMap.end(); prop++) { in StateMachineDecision()
224 for (auto iter = actionMap.begin(); iter != actionMap.end(); iter++) { in ActionExecution()
237 …for (auto clusterIter = clusterLevelMap_.begin(); clusterIter != clusterLevelMap_.end(); clusterIt… in PrintPolicyState()
[all …]
/base/telephony/call_manager/interfaces/innerkits/
Dcall_manager_info.h374 … std::copy(std::begin(temp.phoneNumber), std::end(temp.phoneNumber), std::begin(phoneNumber));
375 std::copy(std::begin(temp.formattedPhoneNumber), std::end(temp.formattedPhoneNumber),
376 std::begin(formattedPhoneNumber));
377 std::copy(std::begin(temp.numberLocation), std::end(temp.numberLocation),
378 std::begin(numberLocation));
391 … std::copy(std::begin(temp.numberMarkInfo.markContent), std::end(temp.numberMarkInfo.markContent),
392 std::begin(numberMarkInfo.markContent));
394 … std::copy(std::begin(temp.numberMarkInfo.markSource), std::end(temp.numberMarkInfo.markSource),
395 std::begin(numberMarkInfo.markSource));
467 std::copy(std::begin(temp.phoneNum), std::end(temp.phoneNum), std::begin(phoneNum));
[all …]
/base/telephony/call_manager/services/call/src/
Dcall_object_manager.cpp44 std::list<sptr<CallBase>>::iterator it = callObjectPtrList_.begin(); in ~CallObjectManager()
57 std::list<sptr<CallBase>>::iterator it = callObjectPtrList_.begin(); in AddOneCallObject()
90 for (it = callObjectPtrList_.begin(); it != callObjectPtrList_.end(); ++it) { in DeleteOneCallObject()
125 std::list<sptr<CallBase>>::iterator it = CallObjectManager::callObjectPtrList_.begin(); in GetOneCallObject()
143 std::list<sptr<CallBase>>::iterator it = callObjectPtrList_.begin(); in GetOneCallObject()
160 for (it = callObjectPtrList_.begin(); it != callObjectPtrList_.end(); ++it) { in HasNewCall()
177 for (it = callObjectPtrList_.begin(); it != callObjectPtrList_.end(); ++it) { in IsNewCallAllowedCreate()
239 for (it = callObjectPtrList_.begin(); it != callObjectPtrList_.end(); ++it) { in GetCarrierCallList()
253 for (it = callObjectPtrList_.begin(); it != callObjectPtrList_.end(); ++it) { in GetVoipCallList()
266 for (it = callObjectPtrList_.begin(); it != callObjectPtrList_.end(); ++it) { in HasRingingMaximum()
[all …]
/base/global/i18n/frameworks/intl/include/
Dmatched_number_info.h26 …MatchedNumberInfo(int begin, int end, icu::UnicodeString& content) : _begin(begin), _end(end), con… in MatchedNumberInfo() argument
29 void SetBegin(int begin) in SetBegin() argument
31 this->_begin = begin; in SetBegin()
Dmatched_date_time_info.h28 MatchedDateTimeInfo(int begin, int end, std::string& regex) in MatchedDateTimeInfo() argument
29 : _begin(begin), _end(end), regex(regex), type(0), isTimePeriod(false) {} in MatchedDateTimeInfo()
51 void SetBegin(int begin) in SetBegin() argument
53 this->_begin = begin; in SetBegin()
/base/security/access_token/services/privacymanager/src/database/
Ddata_translator.cpp34 int64_t begin = request.beginTimeMillis; in TranslationIntoGenericValues() local
37 if ((begin < 0) || (end < 0) || (begin > end)) { in TranslationIntoGenericValues()
41 if (begin == 0 && end == 0) { in TranslationIntoGenericValues()
43 begin = (beginTime < 0) ? 0 : beginTime; in TranslationIntoGenericValues()
47 if (begin != 0) { in TranslationIntoGenericValues()
48 andGenericValues.Put(PrivacyFiledConst::FIELD_TIMESTAMP_BEGIN, begin); in TranslationIntoGenericValues()
/base/hiviewdfx/faultloggerd/tools/process_dump/
Ddfx_ring_buffer_wrapper.cpp102 size_t begin = 0; in SplitDumpInfo() local
103 size_t pos = dumpInfo.find(sepator, begin); in SplitDumpInfo()
105 result.push_back(dumpInfo.substr(begin, pos - begin)); in SplitDumpInfo()
107 begin = pos + sepator.size(); in SplitDumpInfo()
108 pos = dumpInfo.find(sepator, begin); in SplitDumpInfo()
110 if (begin < dumpInfo.size()) { in SplitDumpInfo()
111 result.push_back(dumpInfo.substr(begin)); in SplitDumpInfo()
/base/customization/enterprise_device_management/services/edm_plugin/src/utils/
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()
31 …std::set_union(data.begin(), data.end(), currentData.begin(), currentData.end(), back_inserter(mer… in SetUnionPolicyData()
39 std::sort(data.begin(), data.end(), Comp()); in SetDifferencePolicyData()
40 std::sort(currentData.begin(), currentData.end(), Comp()); in SetDifferencePolicyData()
41 …std::set_difference(currentData.begin(), currentData.end(), data.begin(), data.end(), back_inserte… in SetDifferencePolicyData()
132 std::for_each(result.begin(), result.end(), [&](const auto usbDeviceId) { in WritePolicy()
/base/hiviewdfx/hidumper/frameworks/native/src/common/
Doption_args.cpp45 list_.assign(optArgs.list_.begin(), optArgs.list_.end()); in operator =()
48 names_.assign(optArgs.names_.begin(), optArgs.names_.end()); in operator =()
49 args_.assign(optArgs.args_.begin(), optArgs.args_.end()); in operator =()
116 list_.assign(list.begin(), list.end()); in SetStrList()
132 names_.assign(names.begin(), names.end()); in SetNamesAndArgs()
133 args_.assign(args.begin(), args.end()); in SetNamesAndArgs()
185 ret->list_.assign(optArgs->list_.begin(), optArgs->list_.end()); in Clone()
187 ret->names_.assign(optArgs->names_.begin(), optArgs->names_.end()); in Clone()
188 ret->args_.assign(optArgs->args_.begin(), optArgs->args_.end()); in Clone()
/base/location/services/location_locator/locator/source/
Dwork_record.cpp221 for (auto iterUid = uids_.begin(); iterUid != uids_.end(); iterUid++, i++) { in Remove()
231 uids_.erase(uids_.begin() + i); in Remove()
232 pids_.erase(pids_.begin() + i); in Remove()
233 names_.erase(names_.begin() + i); in Remove()
234 timeInterval_.erase(timeInterval_.begin() + i); in Remove()
235 uuid_.erase(uuid_.begin() + i); in Remove()
236 nlpRequestType_.erase(nlpRequestType_.begin() + i); in Remove()
248 for (auto iter = names_.begin(); iter != names_.end(); iter++, i++) { in Remove()
256 uids_.erase(uids_.begin() + i); in Remove()
257 pids_.erase(pids_.begin() + i); in Remove()
[all …]
/base/global/i18n_lite/frameworks/i18n/src/
Dstr_util.cpp105 std::string::size_type begin = 0; in Split() local
115 dst[current++] = std::string(src, begin, end - begin); in Split()
117 begin = end; in Split()
119 if (current < size && end > begin) { in Split()
120 dst[current++] = std::string(src, begin, end - begin); in Split()
/base/global/i18n/frameworks/intl/src/
Dutils.cpp42 string::size_type begin = 0; in Split() local
45 dest.push_back(src.substr(begin, end - begin)); in Split()
46 begin = end + sep.size(); in Split()
47 end = src.find(sep, begin); in Split()
49 if (begin != src.size()) { in Split()
50 dest.push_back(src.substr(begin)); in Split()
66 if (!numberStr.empty() && std::all_of(numberStr.begin(), numberStr.end(), ::isdigit)) { in ConvertString2Int()
Dpreferred_language.cpp63 list.insert(list.begin(), systemLanguage); in GetPreferredLanguageList()
173 std::string::size_type begin = 0; in Split() local
176 dest.push_back(src.substr(begin, end - begin)); in Split()
177 begin = end + sep.size(); in Split()
178 end = src.find(sep, begin); in Split()
180 if (begin != src.size()) { in Split()
181 dest.push_back(src.substr(begin)); in Split()
217 preferredLanguages.erase(preferredLanguages.begin() + validIndex); in RemovePreferredLanguage()
235 preferredLanguages.insert(preferredLanguages.begin() + validIndex, language); in AddNonExistPreferredLanguage()
261 preferredLanguages.erase(preferredLanguages.begin() + languageIdx); in AddExistPreferredLanguage()
[all …]
/base/notification/distributed_notification_service/frameworks/test/moduletest/
DReminderHelperTest.js68 let times = end - begin;
83 let begin = getTime();
107 let begin = getTime();
111 let times = end - begin;
142 times = end - begin;
158 let begin = getTime();
186 let begin = getTime();
190 let times = end - begin;
224 times = end - begin;
239 let begin = getTime();
[all …]
/base/hiviewdfx/faultloggerd/interfaces/innerkits/unwinder/
Ddfx_maps.cpp124 stackBottom_ = static_cast<uintptr_t>(map->begin); in Parse()
217 if (addr >= cur->begin && addr < cur->end) { in FindMapByAddr()
223 } else if (addr < cur->begin) { in FindMapByAddr()
239 if (offset >= iter->offset && (offset - iter->offset) < (iter->end - iter->begin)) { in FindMapByFileInfo()
241 name.c_str(), offset, iter->begin, iter->end, iter->offset); in FindMapByFileInfo()
268 std::sort(maps_.begin(), maps_.end(), in Sort()
275 return a->begin < b->begin; in Sort()
278 std::sort(maps_.begin(), maps_.end(), in Sort()
285 return a->begin > b->begin; in Sort()
/base/hiviewdfx/hiview/plugins/reliability/leak_detectors/base/
Dfault_info_base.h132 sampleMemory_.erase(sampleMemory_.begin(), sampleMemory_.begin() + removeCnt); in RemoveMemory()
161 cpuTime_.erase(cpuTime_.begin(), cpuTime_.begin() + cpuRemoveCnt); in RemoveTime()
167 realTime_.erase(realTime_.begin(), realTime_.begin() + realRemoveCnt); in RemoveTime()

12345678910>>...35