/third_party/typescript/tests/baselines/reference/ |
H A D | APISample_compile.js | 34 var { line, character } = diagnostic.file.getLineAndCharacterOfPosition(diagnostic.start!); 69 var _a = diagnostic.file.getLineAndCharacterOfPosition(diagnostic.start), line = _a.line, character = _a.character;
|
/third_party/protobuf/src/google/protobuf/ |
H A D | repeated_field.cc | 99 void RepeatedPtrFieldBase::CloseGap(int start, int num) { in CloseGap() argument 101 // Close up a gap of "num" elements starting at offset "start". in CloseGap() 102 for (int i = start + num; i < rep_->allocated_size; ++i) in CloseGap()
|
/third_party/python/Lib/turtledemo/ |
H A D | planet_and_moon.py | 32 def start(self): member in GravSys 106 gs.start()
|
/third_party/skia/third_party/externals/abseil-cpp/absl/time/ |
H A D | clock_test.cc | 68 absl::Time start = absl::Now(); in SleepForBounded() local 70 absl::Duration actual = absl::Now() - start; in SleepForBounded()
|
/third_party/skia/experimental/sktext/src/ |
H A D | LogicalRun.h | 30 SkScalar calculateWidth(GlyphIndex start, GlyphIndex end) const { in calculateWidth() argument 31 return calculateWidth(GlyphRange(start, end)); in calculateWidth()
|
/third_party/rust/crates/regex/examples/ |
H A D | shootout-regex-dna-cheat.rs | 84 new.push_str(&text[last_match..m.start()]); in replace_all() 85 new.push_str(replacements[text.as_bytes()[m.start()] as usize]); in replace_all()
|
/third_party/rust/crates/once_cell/xtask/src/ |
H A D | main.rs | 102 let start = Instant::now(); 104 let elapsed = start.elapsed();
|
/third_party/rust/crates/regex/src/ |
H A D | prog.rs | 30 /// A pointer to the start instruction. This can vary depending on how 35 pub start: InstPtr, 51 /// Whether the regex must match from the start of the input. 86 start: 0, in new() 227 visible_byte(inst.start), 233 if pc == self.start { 234 write!(f, " (start)")?; 423 /// The start (inclusive) of this byte range. 424 pub start: u8, 432 self.start < in matches() [all...] |
/third_party/rust/crates/minimal-lexical/tests/ |
H A D | integration_tests.rs | 134 let start = bytes; in parse_float() 179 if bytes.len() == start.len() { in parse_float()
|
/third_party/rust/crates/regex/bench/src/ffi/ |
H A D | pcre1.rs | 81 fn find_at(&self, text: &str, start: usize) -> Option<(usize, usize)> { in find_at() 90 start as c_int, in find_at()
|
H A D | re2.rs | 40 fn find_at(&self, text: &str, start: usize) -> Option<(usize, usize)> { in find_at() 46 start as c_int, in find_at() 99 // This is an empty match. To ensure we make progress, start in next()
|
/base/inputmethod/imf/frameworks/native/inputmethod_controller/src/ |
H A D | input_data_channel_stub.cpp | 157 int32_t start = 0; in SelectByRangeOnRemote() local 159 if (!ITypesUtil::Unmarshal(data, start, end)) { in SelectByRangeOnRemote() 163 return reply.WriteInt32(SelectByRange(start, end)) ? ErrorCode::NO_ERROR : ErrorCode::ERROR_EX_PARCELABLE; in SelectByRangeOnRemote() 303 int32_t InputDataChannelStub::SelectByRange(int32_t start, int32_t end) in SelectByRange() argument 305 InputMethodController::GetInstance()->SelectByRange(start, end); in SelectByRange()
|
/base/request/request/services/src/manage/events/ |
H A D | mod.rs | 32 mod start; modules 67 pub(crate) fn start(uid: u64, task_id: u32) -> (Self, Recv<ErrorCode>) { 288 let (event, rx) = TaskManagerEvent::start(uid, task_id); in ut_task_manager_start() 313 let (event, _rx) = TaskManagerEvent::start(uid, task_id); in ut_task_manager_pause_resume() 340 let (event, _rx) = TaskManagerEvent::start(uid, task_id); in ut_task_manager_stop_resume()
|
/base/security/device_auth/common_lib/impl/src/ |
H A D | hc_parcel.c | 132 HcBool ParcelEraseBlock(HcParcel *parcel, uint32_t start, uint32_t dataSize, void *dst)
in ParcelEraseBlock() argument 138 if (start > PARCEL_UINT_MAX - dataSize) {
in ParcelEraseBlock() 142 if (parcelSizeOrg < start + dataSize) {
in ParcelEraseBlock() 145 char *beginCopy = parcel->data + parcel->beginPos + start;
in ParcelEraseBlock() 146 uint32_t copySize = parcelSizeOrg - start - dataSize;
in ParcelEraseBlock()
|
/base/security/device_auth/test/fuzztest/session_manager/session/v2/expand_sub_session/expand_process_lib/authcodeimport_fuzzer/ |
H A D | authcodeimport_fuzzer.cpp | 72 int32_t res = client->start(client, &clientOut); in AuthCodeImportTest002() 170 int32_t res = self->start(nullptr, &out); in AuthCodeImportTest107() 183 int32_t res = self->start(self, nullptr); in AuthCodeImportTest108() 197 int32_t res = self->start(self, &out); in AuthCodeImportTest109() 201 res = self->start(self, &out); in AuthCodeImportTest109()
|
/base/update/packaging_tools/ |
H A D | image_class.py | 309 chunk_start: the start position of chunk,
364 for start, end in blocks_set_data:
365 diff_value = end - start
366 idx = bisect.bisect_right(self.offset_index, start) - 1
370 remain = chunk_len - (start - chunk_start)
373 pos = file_pos + ((start - chunk_start) * self.block_size)
|
/base/update/updater/services/applypatch/ |
H A D | block_set.cpp | 239 size_t start = locations.TotalBlockSize();
in MoveBlock() local 242 start -= blocks;
in MoveBlock() 243 if (memmove_s(td + (it->first * H_BLOCK_SIZE), blocks * H_BLOCK_SIZE, sd + (start *
in MoveBlock() 396 [&](size_t start, const UpdatePatch::BlockBuffer &data, size_t size) -> int {
in WriteDiffToBlock() 413 [&](size_t start, const UpdatePatch::BlockBuffer &data, size_t size) -> int {
in WriteDiffToBlock()
|
/base/web/webview/ohos_adapter/inputmethodframework_adapter/src/ |
H A D | imf_adapter_impl.cpp | 155 void IMFTextListenerAdapterImpl::HandleSetSelection(int32_t start, int32_t end) in HandleSetSelection() argument 158 listener_->HandleSetSelection(start, end); in HandleSetSelection() 203 return listener_->SetPreviewText(text, range.start, range.end); in SetPreviewText() 372 void IMFAdapterImpl::OnSelectionChange(std::u16string text, int start, int end) in OnSelectionChange() argument 374 MiscServices::InputMethodController::GetInstance()->OnSelectionChange(text, start, end); in OnSelectionChange()
|
/foundation/ability/ability_base/interfaces/kits/native/extractortool/src/ |
H A D | file_path_utils.cpp | 259 const std::string& moduleInstallPath, const std::string& npmPackage, size_t start) in FindNpmPackageInTopLevel() 261 for (size_t level = start; level <= MAX_NPM_LEVEL; ++level) { in FindNpmPackageInTopLevel() 421 auto start = path.find_last_of('/'); in MakeFilePath() local 432 path.erase(start + 1, pos - start); in MakeFilePath() 258 FindNpmPackageInTopLevel( const std::string& moduleInstallPath, const std::string& npmPackage, size_t start) FindNpmPackageInTopLevel() argument
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/text_field/ |
H A D | text_field_manager.cpp | 181 CHECK_NULL_RETURN(scrollableRect.Top() < bottomInset.start, false); in ScrollToSafeAreaHelper() 195 if (isShowKeyboard && diffTop <= 0 && LessNotEqual(bottomInset.start, in ScrollToSafeAreaHelper() 209 if (isShowKeyboard && LessNotEqual((caretRect.Bottom() + RESERVE_BOTTOM_HEIGHT.ConvertToPx()), bottomInset.start)) { in ScrollToSafeAreaHelper() 216 auto scrollBottom = isShowKeyboard && GreatOrEqual(scrollableRect.Bottom(), bottomInset.start) ? in ScrollToSafeAreaHelper() 217 bottomInset.start : scrollableRect.Bottom(); in ScrollToSafeAreaHelper()
|
/foundation/arkui/ace_engine/frameworks/core/components_v2/list/ |
H A D | render_list_item.cpp | 370 void RenderListItem::StartSpringMotion(double start, double end, double velocity) in StartSpringMotion() argument 382 springMotion_ = AceType::MakeRefPtr<SpringMotion>(start, end, velocity, DEFAULT_OVER_SPRING_PROPERTY); in StartSpringMotion() 383 springMotion_->AddListener([weakScroll = AceType::WeakClaim(this), start, end](double position) { in StartSpringMotion() 387 ((GreatNotEqual(end, start) && GreatOrEqual(position, end)) || in StartSpringMotion() 388 (LessNotEqual(end, start) && LessOrEqual(position, end)))) { in StartSpringMotion()
|
/foundation/bundlemanager/bundle_framework/interfaces/kits/js/zip/src/ |
H A D | file_path.cpp | 182 uint32_t start = 1; in StripTrailingSeparatorsInternal() local 184 for (std::string::size_type pos = path_.length(); pos > start && FilePath::IsSeparator(path_[pos - one]); --pos) { in StripTrailingSeparatorsInternal() 185 if (pos != start + one || lastStripped == start + two || !FilePath::IsSeparator(path_[start - one])) { in StripTrailingSeparatorsInternal()
|
/foundation/arkui/ace_engine/test/unittest/core/pattern/text_input/ |
H A D | text_field_pattern_testthree.cpp | 397 int32_t start = 0; in HWTEST_F() local 400 pattern_->SetSelectionFlag(start, end, options); in HWTEST_F() 487 int32_t start = 0; in HWTEST_F() local 493 pattern_->OnTextGestureSelectionUpdate(start, end, info); in HWTEST_F() 496 pattern_->OnTextGestureSelectionUpdate(start, end, info); in HWTEST_F()
|
/foundation/graphic/graphic_2d/rosen/modules/2d_engine/rosen_text/skia_txt/impl/ |
H A D | paragraph_impl.cpp | 231 std::vector<TextBox> ParagraphImpl::GetRectsForRange(size_t start, size_t end, in GetRectsForRange() argument 236 paragraph_->getRectsForRange(start, end, static_cast<skt::RectHeightStyle>(rectHeightStyle), in GetRectsForRange() 258 return Range<size_t>(range.start, range.end); in GetWordBoundary() 266 return Range<size_t>(range.start, range.end); in GetActualTextRange() 276 return Range<size_t>(range.start, range.end); in GetEllipsisTextRange()
|
/foundation/multimedia/image_framework/frameworks/innerkitsimpl/converter/src/ |
H A D | post_proc_slr.cpp | 220 int start = key.x; in SLRSubtask() local 223 for (int i = start; i < end; i++) { in SLRSubtask() 245 int start = k * step; in Parallel() local 247 auto func = [&src, &dst, &x, &y, start, end, n] { in Parallel() 248 SLRSliceKey key(start, end); in Parallel()
|