/third_party/node/deps/v8/src/torque/ |
H A D | utils.h | 211 StackRange(BottomOffset begin, BottomOffset end) : begin_(begin), end_(end) { in StackRange() argument 226 BottomOffset end() const { return end_; } in end() function in v8::internal::torque::StackRange 234 return out << "StackRange{" << range.begin() << ", " << range.end() << "}"; in operator <<() 275 for (auto it = elements_.end() - count; it != elements_.end(); ++it) { in PopMany() 285 DCHECK_LE(range.end(), AboveTop()); in DeleteRange() 287 for (BottomOffset i = range.end(); i < AboveTop(); ++i) { in DeleteRange() 301 T* end() { return begin() + elements_.size(); } in end() function in v8::internal::torque::Stack 303 const T* end() cons in begin() function in v8::internal::torque::Stack [all...] |
/third_party/toybox/toys/pending/ |
H A D | crond.c | 123 static void fillarray(char *dst, int start, int end, int skip) in fillarray() argument 127 if (end < 0) { in fillarray() 137 } while (start++ != end); in fillarray() 151 int start, end, skip = 0; in parse_and_fillarray() local 177 // Get end position. in parse_and_fillarray() 178 if (!ctoken) end = -1; // e.g. N1,N2,N3 in parse_and_fillarray() 181 if ((end = getval(ctoken, min, (min ? max : max-1))) < 0) goto ERROR; in parse_and_fillarray() 182 end = min ? (end-1) : end; in parse_and_fillarray() [all...] |
/third_party/python/Python/ |
H A D | pystrtod.c | 172 const char *end = NULL; /* Silence gcc */ in _PyOS_ascii_strtod() local 234 /* locate end of number */ in _PyOS_ascii_strtod() 244 end = p; in _PyOS_ascii_strtod() 257 copy = (char *)PyMem_Malloc(end - digits_pos + in _PyOS_ascii_strtod() 271 end - (decimal_point_pos + 1)); in _PyOS_ascii_strtod() 272 c += end - (decimal_point_pos + 1); in _PyOS_ascii_strtod() 330 and *endptr will point just past the end of the converted value. 389 char *dup, *end; in _Py_string_to_number_with_underscores() local 402 end = dup; in _Py_string_to_number_with_underscores() 413 *end in _Py_string_to_number_with_underscores() 556 char *old_fraction_end, *new_fraction_end, *end, *p; remove_trailing_zeros() local [all...] |
/third_party/protobuf/src/google/protobuf/ |
H A D | map_field.cc | 165 iter != map_.end(); ++iter) { in ~DynamicMapField() 177 iter != map->end(); ++iter) { in Clear() 195 return iter != map.end(); in ContainsMapKey() 236 if (iter == map->end()) { in InsertOrLookupMapValue() 251 if (iter == map_.end()) { in DeleteMapValue() 278 if (iter == map_.end()) return; in SetMapIteratorValue() 290 other_it != other_field.map_.end(); ++other_it) { in MergeFrom() 293 if (iter == map->end()) { in MergeFrom() 377 it != map_.end(); ++it) { in SyncRepeatedFieldWithMapNoLock() 454 iter != map->end(); in SyncMapWithRepeatedFieldNoLock() [all...] |
H A D | repeated_field_unittest.cc | 382 RepeatedField<int>::iterator it = me.erase(me.begin(), me.end()); in TEST() 389 it = me.erase(me.begin(), me.end()); in TEST() 396 it = me.erase(me.begin() + 2, me.end()); in TEST() 418 me.Add(values.begin(), values.end()); in TEST() 428 me.Add(values.begin(), values.end()); in TEST() 440 me.Add(values.begin(), values.end()); in TEST() 456 me.Add(values.begin(), values.end()); in TEST() 492 RepeatedField<int> empty(values.begin(), values.end()); in TEST() 498 RepeatedField<int> field(values.begin(), values.end()); in TEST() 503 RepeatedField<int> other(field.begin(), field.end()); in TEST() [all...] |
/third_party/skia/third_party/externals/abseil-cpp/absl/container/ |
H A D | inlined_vector_exception_safety_test.cc | 132 if (vec->begin() > vec->end()) return false; in InlinedVectorInvariants() 133 if ((vec->end() - vec->begin()) != vec->size()) return false; in InlinedVectorInvariants() 134 if (std::distance(vec->begin(), vec->end()) != vec->size()) return false; in InlinedVectorInvariants() 199 testing::TestThrowingCtor<VecT>(arr.begin(), arr.end()); in TYPED_TEST() 201 testing::TestThrowingCtor<VecT>(arr.begin(), arr.end(), allocator_type{}); in TYPED_TEST() 263 vec->assign(arr.begin(), arr.end()); in TYPED_TEST() 305 auto it = vec->end(); in TYPED_TEST() 329 auto it = vec->end(); in TYPED_TEST() 342 auto it = vec->end(); in TYPED_TEST() 349 vec->insert(it, arr.begin(), arr.end()); in TYPED_TEST() [all...] |
/third_party/wpa_supplicant/wpa_supplicant-2.9/wpa_supplicant/ |
H A D | mesh.c | 549 static int mesh_attr_text(const u8 *ies, size_t ies_len, char *buf, char *end) in mesh_attr_text() argument 568 ret = os_snprintf(pos, end - pos, "mesh_id=%s\n", mesh_id); in mesh_attr_text() 570 if (os_snprintf_error(end - pos, ret)) in mesh_attr_text() 575 ret = os_snprintf(pos, end - pos, in mesh_attr_text() 587 if (os_snprintf_error(end - pos, ret)) in mesh_attr_text() 611 ret = os_snprintf(pos, end - pos, "bss_basic_rate_set=%d", in mesh_attr_text() 613 if (os_snprintf_error(end - pos, ret)) in mesh_attr_text() 618 ret = os_snprintf(pos, end - pos, " %d", in mesh_attr_text() 620 if (os_snprintf_error(end - pos, ret)) in mesh_attr_text() 625 ret = os_snprintf(pos, end in mesh_attr_text() 637 wpas_mesh_scan_result_text(const u8 *ies, size_t ies_len, char *buf, char *end) wpas_mesh_scan_result_text() argument [all...] |
/third_party/vk-gl-cts/framework/opengl/ |
H A D | gluDrawUtil.cpp | 220 static OutputIter namedBindingsToProgramLocations (const glw::Functions& gl, deUint32 program, InputIter first, InputIter end, OutputIter out) in namedBindingsToProgramLocations() argument 222 for (InputIter cur = first; cur != end; ++cur) in namedBindingsToProgramLocations() 254 static bool areVertexArrayLocationsValid (BindingIter first, BindingIter end) in areVertexArrayLocationsValid() argument 257 for (BindingIter cur = first; cur != end; ++cur) in areVertexArrayLocationsValid() 264 if (usedLocations.find(binding.location) != usedLocations.end()) in areVertexArrayLocationsValid() 295 static void computeNonStridedBufferLayout (VertexBufferLayout& layout, BindingIter first, BindingIter end) in computeNonStridedBufferLayout() argument 297 for (BindingIter iter = first; iter != end; ++iter) in computeNonStridedBufferLayout() 426 for (std::vector<VertexAttributeDescriptor>::const_iterator vaIter = buffer.attributes.begin(); vaIter != buffer.attributes.end(); ++vaIter) in setVertexBufferAttributes() 434 for (std::vector<VertexArrayBinding>::const_iterator vaIter = bindings.begin(); vaIter != bindings.end(); ++vaIter) in disableVertexArrays() 506 TCU_CHECK(areVertexArrayLocationsValid(bindingsWithLocations.begin(), bindingsWithLocations.end())); in drawFromUserPointers() [all...] |
/foundation/ability/ability_runtime/services/appmgr/src/ |
H A D | app_running_manager.cpp | 137 auto iter = std::find_if(appRunningMap.begin(), appRunningMap.end(), FindSameProcess); in CheckAppRunningRecordIsExist() 138 return ((iter == appRunningMap.end()) ? nullptr : iter->second); in CheckAppRunningRecordIsExist() 154 auto appInfoIter = std::find_if(appInfoList.begin(), appInfoList.end(), isExist); in CheckAppRunningRecordIsExist() 155 if (appInfoIter == appInfoList.end()) { in CheckAppRunningRecordIsExist() 258 auto iter = std::find_if(appRunningRecordMap_.begin(), appRunningRecordMap_.end(), [&pid](const auto &pair) { in GetAppRunningRecordByPid() 261 return ((iter == appRunningRecordMap_.end()) ? nullptr : iter->second); in GetAppRunningRecordByPid() 293 auto iter = std::find_if(appInfoList.begin(), appInfoList.end(), isExist); in ProcessExitByBundleName() 294 if (iter == appInfoList.end() || pid <= 0) { in ProcessExitByBundleName() 362 auto iter = std::find_if(appInfoList.begin(), appInfoList.end(), isExist); in ProcessExitByBundleNameAndUid() 364 if (iter == appInfoList.end() || pi in ProcessExitByBundleNameAndUid() [all...] |
/foundation/multimedia/audio_framework/services/audio_policy/server/src/ |
H A D | audio_stream_collector.cpp | 145 for (auto it = audioRendererChangeInfos_.begin(); it != audioRendererChangeInfos_.end(); it++) { in GetRendererStreamInfo() 157 for (auto it = audioCapturerChangeInfos_.begin(); it != audioCapturerChangeInfos_.end(); it++) { in GetCapturerStreamInfo() 169 const auto &it = std::find_if(audioRendererChangeInfos_.begin(), audioRendererChangeInfos_.end(), in GetPipeType() 173 if (it == audioRendererChangeInfos_.end()) { in GetPipeType() 184 const auto &it = std::find_if(audioRendererChangeInfos_.begin(), audioRendererChangeInfos_.end(), in ExistStreamForPipe() 188 if (it == audioRendererChangeInfos_.end()) { in ExistStreamForPipe() 197 const auto &it = std::find_if(audioRendererChangeInfos_.begin(), audioRendererChangeInfos_.end(), in GetRendererDeviceInfo() 201 if (it == audioRendererChangeInfos_.end()) { in GetRendererDeviceInfo() 339 for (auto it = audioRendererChangeInfos_.begin(); it != audioRendererChangeInfos_.end(); it++) { in ResetRendererStreamDeviceInfo() 354 for (auto it = audioCapturerChangeInfos_.begin(); it != audioCapturerChangeInfos_.end(); i in ResetCapturerStreamDeviceInfo() [all...] |
/foundation/communication/wifi/wifi/services/wifi_standard/wifi_framework/wifi_manage/wifi_native/hal_device_manage/ |
H A D | hal_device_manage.cpp | 191 if (iter == mIWifiStaIfaces.end()) {
in RemoveStaIface() 214 if (iter == mIWifiApIfaces.end()) {
in RemoveApIface() 237 if (iter == mIWifiP2pIfaces.end()) {
in RemoveP2pIface() 260 if (iter == mIWifiStaIfaces.end()) {
in Scan() 286 if (iter == mIWifiStaIfaces.end()) {
in StartPnoScan() 312 if (iter == mIWifiStaIfaces.end()) {
in StopPnoScan() 338 if (iter == mIWifiStaIfaces.end()) {
in GetScanInfos() 364 if (iter == mIWifiStaIfaces.end()) {
in GetConnectSignalInfo() 390 if (iter == mIWifiStaIfaces.end()) {
in SetPmMode() 417 if (iter == mIWifiStaIfaces.end()) {
in SetDpiMarkRule() [all...] |
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/storage/src/cloud/ |
H A D | cloud_storage_utils.cpp | 249 std::transform(val.begin(), val.end(), val.begin(), ::toupper); in TextToVector() 319 std::sort(pkVec.begin(), pkVec.end(), [](const Field &a, const Field &b) { in GetCloudPrimaryKeyField() 573 for (auto it = assets.begin(); it != assets.end();) { in PrepareToFillAssetFromVBucket() 595 if (iterCol != assetOpType.end() && iterCol->second.find(dbItem.name) != iterCol->second.end()) { in FillAssetFromVBucketFinish() 612 if (iterCol == assetOpType.end()) { in FillAssetFromVBucketFinish() 655 if (it == toVecFunc.end()) { in CalculateHashKeyForOneField() 672 if (set.find(asset.name) != set.end()) { in IsAssetsContainDuplicateAsset() 683 for (auto items = assetsMap.begin(); items != assetsMap.end();) { in EraseNoChangeAsset() 684 for (auto item = items->second.begin(); item != items->second.end();) { in EraseNoChangeAsset() [all...] |
/third_party/ffmpeg/libavformat/ |
H A D | sbgdec.c | 129 char *script, *end; member 182 char *end; in str_to_time() local 189 hours = strtol(cur, &end, 10); in str_to_time() 190 if (end == cur || *end != ':' || end[1] < '0' || end[1] > '9') in str_to_time() 192 cur = end + 1; in str_to_time() 193 minutes = strtol(cur, &end, 10); in str_to_time() 194 if (end in str_to_time() 244 char *end; lex_double() local [all...] |
/third_party/node/deps/ngtcp2/nghttp3/lib/ |
H A D | nghttp3_conn.c | 624 const uint8_t *p = src, *end = src + srclen; in nghttp3_conn_read_control() local 637 for (; p != end || busy;) { in nghttp3_conn_read_control() 641 assert(end - p > 0); in nghttp3_conn_read_control() 642 nread = nghttp3_read_varint(rvint, p, (size_t)(end - p), /* fin = */ 0); in nghttp3_conn_read_control() 656 if (p == end) { in nghttp3_conn_read_control() 661 assert(end - p > 0); in nghttp3_conn_read_control() 662 nread = nghttp3_read_varint(rvint, p, (size_t)(end - p), /* fin = */ 0); in nghttp3_conn_read_control() 738 for (; p != end;) { in nghttp3_conn_read_control() 744 len = (size_t)nghttp3_min(rstate->left, (int64_t)(end - p)); in nghttp3_conn_read_control() 795 len = (size_t)nghttp3_min(rstate->left, (int64_t)(end in nghttp3_conn_read_control() 1173 const uint8_t *p = src, *end = src ? src + srclen : src; nghttp3_conn_read_bidi() local [all...] |
/third_party/python/Modules/ |
H A D | _zoneinfo.c | 35 TransitionRuleType *end; member 151 TransitionRuleType *end, _tzrule *out); 808 goto end; in ttinfo_eq() 813 goto end; in ttinfo_eq() 818 goto end; in ttinfo_eq() 820 end: in ttinfo_eq() 1203 // occurrence of `d`", so now we just check if we over-shot the end of the in calendarrule_year_to_timestamp() 1333 /* Calculate the start and end rules for a _tzrule in the given year. */ 1335 tzrule_transitions(_tzrule *rule, int year, int64_t *start, int64_t *end) in tzrule_transitions() argument 1338 assert(rule->end ! in tzrule_transitions() 1358 int64_t start, end; find_tzrule_ttinfo() local 1413 int64_t start, end; find_tzrule_ttinfo_fromutc() local 1470 TransitionRuleType *end = NULL; parse_tz_str() local 1915 build_tzrule(PyObject *std_abbr, PyObject *dst_abbr, long std_offset, long dst_offset, TransitionRuleType *start, TransitionRuleType *end, _tzrule *out) build_tzrule() argument [all...] |
/foundation/arkui/ace_engine/test/unittest/core/pattern/rich_editor/ |
H A D | rich_editor_pattern_testfour_ng.cpp | 167 int32_t end = -2; in HWTEST_F() local 169 RefPtr<SpanString> res = richEditorPattern->ToStyledString(start, end); in HWTEST_F() 271 previewRange.end = -2; in HWTEST_F() 275 previewRange.end = -2; in HWTEST_F() 279 previewRange.end = 0; in HWTEST_F() 283 previewRange.end = 20; in HWTEST_F() 287 previewRange.end = 10; in HWTEST_F() 291 previewRange.end = 2; in HWTEST_F() 314 previewRange.end = -2; in HWTEST_F() 318 previewRange.end in HWTEST_F() [all...] |
/foundation/communication/netmanager_ext/services/networksharemanager/src/ |
H A D | networkshare_tracker.cpp | 255 auto fit = find(clientRequestsVector_.begin(), clientRequestsVector_.end(), type); in OnChangeSharingState() 256 if (state && fit == clientRequestsVector_.end()) { in OnChangeSharingState() 259 if (!state && fit != clientRequestsVector_.end()) { in OnChangeSharingState() 374 if (iter != subStateMachineMap_.end()) { in HandleSubSmUpdateInterfaceState() 463 auto fit = find(clientRequestsVector_.begin(), clientRequestsVector_.end(), type); in StartNetworkSharing() 464 if (fit != clientRequestsVector_.end()) { in StartNetworkSharing() 482 auto fit = find(clientRequestsVector_.begin(), clientRequestsVector_.end(), type); in StopNetworkSharing() 483 if (fit != clientRequestsVector_.end()) { in StopNetworkSharing() 588 for_each(subStateMachineMap_.begin(), subStateMachineMap_.end(), [&](auto iter) { in GetNetSharingIfaces() 616 for (auto iter = sharingEventCallback_.begin(); iter != sharingEventCallback_.end(); in RegisterSharingEvent() [all...] |
/device/soc/rockchip/common/hardware/display/src/display_device/ |
H A D | drm_encoder.cpp | 34 if (crtcIter == crtcs.end()) { in PickIdleCrtcId() 36 for (crtcIter = crtcs.begin(); crtcIter != crtcs.end(); ++crtcIter) { in PickIdleCrtcId() 45 DISPLAY_CHK_RETURN((crtcIter == crtcs.end()), DISPLAY_FAILURE, in PickIdleCrtcId()
|
/device/soc/rockchip/rk3399/hardware/display/src/display_device/ |
H A D | drm_encoder.cpp | 34 if (crtcIter == crtcs.end()) { in PickIdleCrtcId() 36 for (crtcIter = crtcs.begin(); crtcIter != crtcs.end(); ++crtcIter) { in PickIdleCrtcId() 44 DISPLAY_CHK_RETURN((crtcIter == crtcs.end()), DISPLAY_FAILURE, in PickIdleCrtcId()
|
/device/soc/rockchip/rk3566/hardware/display/src/display_device/ |
H A D | drm_encoder.cpp | 34 if (crtcIter == crtcs.end()) { in PickIdleCrtcId() 36 for (crtcIter = crtcs.begin(); crtcIter != crtcs.end(); ++crtcIter) { in PickIdleCrtcId() 44 DISPLAY_CHK_RETURN((crtcIter == crtcs.end()), DISPLAY_FAILURE, in PickIdleCrtcId()
|
/device/soc/rockchip/rk3568/hardware/display/src/display_device/ |
H A D | drm_encoder.cpp | 34 if (crtcIter == crtcs.end()) { in PickIdleCrtcId() 36 for (crtcIter = crtcs.begin(); crtcIter != crtcs.end(); ++crtcIter) { in PickIdleCrtcId() 44 DISPLAY_CHK_RETURN((crtcIter == crtcs.end()), DISPLAY_FAILURE, in PickIdleCrtcId()
|
/device/soc/rockchip/rk3588/hardware/display/src/display_device/ |
H A D | drm_encoder.cpp | 34 if (crtcIter == crtcs.end()) {
in PickIdleCrtcId() 36 for (crtcIter = crtcs.begin(); crtcIter != crtcs.end(); ++crtcIter) {
in PickIdleCrtcId() 44 DISPLAY_CHK_RETURN((crtcIter == crtcs.end()), DISPLAY_FAILURE,
in PickIdleCrtcId()
|
/foundation/ability/form_fwk/services/src/ |
H A D | form_bundle_forbid_mgr.cpp | 70 return iter != formBundleForbiddenSet_.end(); in IsBundleForbidden() 87 if (isForbidden && iter == formBundleForbiddenSet_.end()) { in SetBundleForbiddenStatus() 90 } else if (!isForbidden && iter != formBundleForbiddenSet_.end()) { in SetBundleForbiddenStatus()
|
/foundation/CastEngine/castengine_wifi_display/services/protocol/frame/ |
H A D | h264_frame.cpp | 66 auto end = ptr + len; in SplitH264() local 69 auto nextStart = MemFind(start, end - start, "\x00\x00\x01", 3); in SplitH264() 86 cb(start - prefix, end - start + prefix, prefix); in SplitH264()
|
/foundation/arkui/ace_engine/frameworks/core/components/flex/ |
H A D | flex_element.cpp | 49 auto itNewFocusNode = focusNodes_.end(); in AcceptFocusByRectOfLastFocus() 51 for (auto it = focusNodes_.begin(); it != focusNodes_.end(); ++it) { in AcceptFocusByRectOfLastFocus() 70 if (itNewFocusNode != focusNodes_.end() && (*itNewFocusNode)->AcceptFocusByRectOfLastFocus(rect - offset)) { in AcceptFocusByRectOfLastFocus()
|