Home
last modified time | relevance | path

Searched refs:begin (Results 76 - 100 of 1439) sorted by relevance

12345678910>>...58

/base/global/i18n/frameworks/intl/src/
H A Dpreferred_language.cpp68 list.insert(list.begin(), systemLanguage); in GetPreferredLanguageList()
114 supportLanguageList.insert(supportLanguageList.end(), supportLanguageListExt.begin(), in GetMatchedLanguage()
254 std::string::size_type begin = 0; in Split() local
257 dest.push_back(src.substr(begin, end - begin)); in Split()
258 begin = end + sep.size(); in Split()
259 end = src.find(sep, begin); in Split()
261 if (begin != src.size()) { in Split()
262 dest.push_back(src.substr(begin)); in Split()
298 preferredLanguages.erase(preferredLanguages.begin() in RemovePreferredLanguage()
[all...]
H A Dutils.cpp52 string::size_type begin = 0; in Split() local
55 dest.push_back(src.substr(begin, end - begin)); in Split()
56 begin = end + sep.size(); in Split()
57 end = src.find(sep, begin); in Split()
59 if (begin != src.size()) { in Split()
60 dest.push_back(src.substr(begin)); in Split()
89 if (!numberStr.empty() && std::all_of(numberStr.begin(), numberStr.end(), ::isdigit)) { in ConvertString2Int()
/kernel/linux/linux-5.10/drivers/md/persistent-data/
H A Ddm-space-map-common.c168 static int sm_find_free(void *addr, unsigned begin, unsigned end, in sm_find_free() argument
171 while (begin < end) { in sm_find_free()
172 if (!(begin & (ENTRIES_PER_WORD - 1)) && in sm_find_free()
173 dm_bitmap_word_used(addr, begin)) { in sm_find_free()
174 begin += ENTRIES_PER_WORD; in sm_find_free()
178 if (!sm_lookup_bitmap(addr, begin)) { in sm_find_free()
179 *result = begin; in sm_find_free()
183 begin++; in sm_find_free()
334 int sm_ll_find_free_block(struct ll_disk *ll, dm_block_t begin, in sm_ll_find_free_block() argument
339 dm_block_t i, index_begin = begin; in sm_ll_find_free_block()
390 sm_ll_find_common_free_block(struct ll_disk *old_ll, struct ll_disk *new_ll, dm_block_t begin, dm_block_t end, dm_block_t *b) sm_ll_find_common_free_block() argument
[all...]
/base/hiviewdfx/faultloggerd/common/dfxutil/
H A 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/powermgr/thermal_manager/services/native/src/thermal_action/action/
H A Daction_volume.cpp91 value = *min_element(valueList_.begin(), valueList_.end()); in GetActionValue()
93 value = *max_element(valueList_.begin(), valueList_.end()); in GetActionValue()
105 const auto& item = std::find_if(g_actionInfo.begin(), g_actionInfo.end(), [](const auto& info) { in VolumeRequest()
132 for (auto info = audioInfos.begin(); info != audioInfos.end(); ++info) { in VolumeRequest()
133 std::vector<std::string>::iterator it = find(uidList.begin(), uidList.end(), in VolumeRequest()
/base/security/asset/frameworks/js/napi/src/
H A Dasset_napi_pre_query.cpp45 validTags.insert(validTags.end(), CRITICAL_LABEL_TAGS.begin(), CRITICAL_LABEL_TAGS.end()); in CheckPreQueryArgs()
46 validTags.insert(validTags.end(), NORMAL_LABEL_TAGS.begin(), NORMAL_LABEL_TAGS.end()); in CheckPreQueryArgs()
47 validTags.insert(validTags.end(), NORMAL_LOCAL_LABEL_TAGS.begin(), NORMAL_LOCAL_LABEL_TAGS.end()); in CheckPreQueryArgs()
48 validTags.insert(validTags.end(), ACCESS_CONTROL_TAGS.begin(), ACCESS_CONTROL_TAGS.end()); in CheckPreQueryArgs()
49 validTags.insert(validTags.end(), OPTIONAL_TAGS.begin(), OPTIONAL_TAGS.end()); in CheckPreQueryArgs()
H A Dasset_napi_remove.cpp41 validTags.insert(validTags.end(), NORMAL_LABEL_TAGS.begin(), NORMAL_LABEL_TAGS.end()); in CheckRemoveArgs()
42 validTags.insert(validTags.end(), NORMAL_LOCAL_LABEL_TAGS.begin(), NORMAL_LOCAL_LABEL_TAGS.end()); in CheckRemoveArgs()
43 validTags.insert(validTags.end(), ACCESS_CONTROL_TAGS.begin(), ACCESS_CONTROL_TAGS.end()); in CheckRemoveArgs()
44 validTags.insert(validTags.end(), ASSET_SYNC_TAGS.begin(), ASSET_SYNC_TAGS.end()); in CheckRemoveArgs()
/base/security/crypto_framework/common/src/
H A Dhcf_string.c124 * @param begin: the position find from
127 int StringFind(const HcString *self, char c, uint32_t begin) in StringFind() argument
132 uint32_t p = begin; in StringFind()
153 * @param begin: the begin position of the sub string.
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/sensors/miscdevice/services/miscdevice_service/hdi_connection/adapter/src/
H A Dcompatible_light_connection.cpp56 if (std::find(supportLights.begin(), supportLights.end(), lightId) == supportLights.end()) { in TurnOn()
69 if (std::find(turnOnLights_.begin(), turnOnLights_.end(), lightId) != turnOnLights_.end()) { in TurnOn()
80 if (std::find(supportLights.begin(), supportLights.end(), lightId) == supportLights.end()) { in TurnOff()
85 if (std::find(turnOnLights_.begin(), turnOnLights_.end(), lightId) == turnOnLights_.end()) { in TurnOff()
89 std::vector<int32_t>::iterator iter = std::find(turnOnLights_.begin(), turnOnLights_.end(), lightId); in TurnOff()
/base/location/interfaces/inner_api/include/
H A Dsatellite_status.h49 for (std::vector<int>::iterator it = ids.begin(); it != ids.end(); ++it) { in SetSatelliteIds()
68 for (std::vector<double>::iterator it = cn0.begin(); it != cn0.end(); ++it) { in SetCarrierToNoiseDensitys()
87 for (std::vector<double>::iterator it = altitudes.begin(); it != altitudes.end(); ++it) { in SetAltitudes()
106 for (std::vector<double>::iterator it = azimuths.begin(); it != azimuths.end(); ++it) { in SetAzimuths()
125 for (std::vector<double>::iterator it = cfs.begin(); it != cfs.end(); ++it) { in SetCarrierFrequencies()
144 for (std::vector<int>::iterator it = types.begin(); it != types.end(); ++it) { in SetConstellationTypes()
170 for (std::vector<int>::iterator it = additionalInfo.begin(); in SetSatelliteAdditionalInfoList()
/base/request/request/frameworks/cj/ffi/src/
H A Dcj_listener_list.cpp40 for (auto it = this->allCb_.begin(); it != this->allCb_.end(); it++) { in RemoveListenerInner()
47 for (auto it = this->allCb_.begin(); it != this->allCb_.end(); it++) { in RemoveListenerInner()
61 for (auto it = this->allCb_.begin(); it != this->allCb_.end();) { in OnMessageReceive()
77 for (auto it = this->allCb_.begin(); it != this->allCb_.end(); it++) { in IsListenerAdded()
/base/telephony/cellular_call/services/utils/src/
H A Demergency_utils.cpp58 if (std::any_of(eccList.begin(), eccList.end(), [&formatString](std::string eccNum) { in IsEmergencyCallProcessing()
64 for (auto it = eccCallList.begin(); it != eccCallList.end(); it++) { in IsEmergencyCallProcessing()
74 transform(countryIsoCode.begin(), countryIsoCode.end(), countryIsoCode.begin(), ::toupper); in IsEmergencyCallProcessing()
/kernel/linux/linux-6.6/include/asm-generic/
H A Dsections.h82 * @begin: virtual address of the beginning of the memory region
88 * contained within the memory region defined by @begin and @end, false
91 static inline bool memory_contains(void *begin, void *end, void *virt, in memory_contains() argument
94 return virt >= begin && virt + size <= end; in memory_contains()
100 * @begin: virtual address of the beginning of the memory region
106 * intersects with the region specified by @begin and @end, false otherwise.
108 static inline bool memory_intersects(void *begin, void *end, void *virt, in memory_intersects() argument
113 if (virt < end && vend > begin) in memory_intersects()
/base/global/i18n/frameworks/intl/entity_recognition/date_time_recognition/src/
H A Ddate_time_filter.cpp80 std::sort(matches.begin(), matches.end()); in FilterOverlay()
91 auto matchIterator = matches.begin(); in FilterByRules()
121 auto matchIterator = matches.begin(); in FilterByPast()
142 auto matchIterator = matchList.begin(); in FilterOverlayFirst()
178 auto matchIterator = matchList.begin(); in FilterOverlaySecond()
232 sub.assign(matches.begin() + i + 1, matches.begin() + i + 3); in FilterDate()
235 sub.assign(matches.begin() + i + 1, matches.begin() + i + 2); in FilterDate()
318 matches.erase(matches.begin() in FilterDateTime()
[all...]
/base/startup/init/services/init/standard/
H A Dinit_cmds.c67 char *begin = strchr(start, '$'); in GetParamValue() local
68 if (begin == NULL || begin >= end) { // not has '$' copy the original string in GetParamValue()
73 ret = memcpy_s(paramValue + curr, paramLen - curr, start, begin - start); in GetParamValue()
75 curr += begin - start; in GetParamValue()
77 while (*begin != '{') { in GetParamValue()
78 INIT_CHECK_RETURN_VALUE(*begin != '\0', -1); in GetParamValue()
79 begin++; in GetParamValue()
81 begin++; in GetParamValue()
82 char *left = strchr(begin, '}'); in GetParamValue()
[all...]
/base/hiviewdfx/hiview/utility/common_utils/
H A Dlog_parse.cpp137 validPart.insert(validPart.begin(), topStr); in StackToMultipart()
167 // keep the begin 28 lines and the end 2 lines in GetValidBlock()
168 validStack.erase(validStack.begin() + (STACK_LEN_MAX - 2), validStack.end() - 2); // 2 : end 2 lines in GetValidBlock()
175 validStack.insert(validStack.begin(), part.begin(), part.end()); in GetValidBlock()
178 // keep the begin 28 lines and the end 2 lines in GetValidBlock()
179 validStack.erase(validStack.begin() + (STACK_LEN_MAX - 2), validStack.end() - 2); // 2 : end 2 lines in GetValidBlock()
181 // keep the begin 2 lines and the end 28 lines in GetValidBlock()
182 validStack.erase(validStack.begin() + 2, validStack.end() - (STACK_LEN_MAX - 2)); // 2 : begin in GetValidBlock()
[all...]
/base/security/dlp_permission_service/interfaces/inner_api/dlp_fuse/src/
H A Ddlp_link_manager.cpp41 for (auto iter = dlpLinkFileNameMap_.begin(); iter != dlpLinkFileNameMap_.end();) { in ~DlpLinkManager()
82 for (auto it = dlpLinkFileNameMap_.begin(); it != dlpLinkFileNameMap_.end(); it++) { in AddDlpLinkFile()
110 for (auto iter = dlpLinkFileNameMap_.begin(); iter != dlpLinkFileNameMap_.end(); iter++) { in StopDlpLinkFile()
135 for (auto iter = dlpLinkFileNameMap_.begin(); iter != dlpLinkFileNameMap_.end(); iter++) { in RestartDlpLinkFile()
164 for (auto iter = dlpLinkFileNameMap_.begin(); iter != dlpLinkFileNameMap_.end(); iter++) { in ReplaceDlpLinkFile()
188 for (auto iter = dlpLinkFileNameMap_.begin(); iter != dlpLinkFileNameMap_.end(); iter++) { in DeleteDlpLinkFile()
210 for (auto iter = dlpLinkFileNameMap_.begin(); iter != dlpLinkFileNameMap_.end(); ++iter) { in LookUpDlpLinkFile()
229 for (auto iter = dlpLinkFileNameMap_.begin(); iter != dlpLinkFileNameMap_.end(); iter++) { in DumpDlpLinkFile()
/base/startup/init/test/moduletest/
H A Dparam_test_cmds.c277 char *begin = (char *)value; in CalcValue() local
278 while (*begin != '\0') { in CalcValue()
279 if (*begin == ' ') { in CalcValue()
280 begin++; in CalcValue()
285 char *end = begin + strlen(begin); in CalcValue()
286 while (end > begin) { in CalcValue()
292 return StringToInt(begin, -1); in CalcValue()
/base/telephony/core_service/frameworks/native/src/
H A Doperator_config_types.cpp56 auto valueIt = configValue.begin(); in MarshallingU16StringMap()
74 auto valueIt = stringValue.begin(); in MarshallingStringMap()
92 auto valueIt = boolValue.begin(); in MarshallingBoolMap()
110 auto valueIt = intValue.begin(); in MarshallingIntMap()
128 auto valueIt = longValue.begin(); in MarshallingLongMap()
146 auto valueIt = stringArrayValue.begin(); in MarshallingStringArrayMap()
164 auto valueIt = intArrayValue.begin(); in MarshallingIntArrayMap()
182 auto valueIt = longArrayValue.begin(); in MarshallingLongArrayMap()
/base/telephony/core_service/utils/codec/src/
H A Dasn1_node.cpp74 dest.insert(dest.end(), uintByte.begin(), uintByte.end()); in Asn1Write()
90 dest.insert(dest.end(), uintByteStr.begin(), uintByteStr.end()); in Asn1Write()
98 for (auto it = children_.begin(); it != children_.end(); ++it) { in Asn1Write()
107 dest.insert(dest.end(), dataBytes_.begin(), dataBytes_.end()); in Asn1Write()
123 for (auto it = children_.begin(); it != children_.end(); ++it) { in Asn1GetChild()
176 for (auto it = children_.begin(); it != children_.end(); ++it) { in Asn1GetChildren()
272 std::vector<uint8_t> byteSteamSegment(dataBytes.begin() + dataOffset_, dataBytes.begin() + dataLength_); in Asn1AsBytes()
/kernel/linux/linux-5.10/arch/x86/kernel/
H A Ddumpstack.c35 unsigned long *begin = task_stack_page(task); in in_task_stack() local
38 if (stack < begin || stack >= end) in in_task_stack()
42 info->begin = begin; in in_task_stack()
54 void *begin = ss; in in_entry_stack() local
57 if ((void *)stack < begin || (void *)stack >= end) in in_entry_stack()
61 info->begin = begin; in in_entry_stack()
/kernel/linux/linux-5.10/fs/epfs/
H A Dfile.c57 if (range->range[0].begin >= range->range[0].end) { in check_range()
58 epfs_err("Invalid range: [%llu, %llu)", range->range[0].begin, in check_range()
64 if ((range->range[index].begin >= range->range[index].end) || in check_range()
65 (range->range[index].begin < range->range[index - 1].end)) { in check_range()
67 range->range[index - 1].begin, in check_range()
69 range->range[index].begin, in check_range()
78 range->range[index].begin, in check_range()
247 current_begin = range->range[current_range_index].begin; in epfs_read()
/kernel/linux/linux-6.6/fs/epfs/
H A Dfile.c57 if (range->range[0].begin >= range->range[0].end) { in epfs_check_range()
58 epfs_err("Invalid range: [%llu, %llu)", range->range[0].begin, in epfs_check_range()
64 if ((range->range[index].begin >= range->range[index].end) || in epfs_check_range()
65 (range->range[index].begin < range->range[index - 1].end)) { in epfs_check_range()
67 range->range[index - 1].begin, in epfs_check_range()
69 range->range[index].begin, in epfs_check_range()
78 range->range[index].begin, in epfs_check_range()
247 current_begin = range->range[current_range_index].begin; in epfs_read()
/kernel/linux/linux-6.6/arch/x86/kernel/
H A Ddumpstack.c35 unsigned long *begin = task_stack_page(task); in in_task_stack() local
38 if (stack < begin || stack >= end) in in_task_stack()
42 info->begin = begin; in in_task_stack()
54 void *begin = ss; in in_entry_stack() local
57 if ((void *)stack < begin || (void *)stack >= end) in in_entry_stack()
61 info->begin = begin; in in_entry_stack()
/base/hiviewdfx/hiview/plugins/unified_collector/task/
H A Dcpu_perf_dump.cpp108 std::partial_sort(cpuCollectionInfos.begin(), cpuCollectionInfos.begin() + middlePos, in CheckAndDumpPerfData()
112 std::partial_sort(cpuCollectionInfos.begin(), cpuCollectionInfos.begin() + middlePos, in CheckAndDumpPerfData()
165 std::sort(perfFiles.begin(), perfFiles.end(), CompareFilenames); in TryToAgePerfFiles()

Completed in 14 milliseconds

12345678910>>...58