/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()
|
/foundation/multimedia/media_library/frameworks/services/media_dfx/src/ |
H A D | dfx_reporter.cpp | 332 void DfxReporter::ReportStartResult(int32_t scene, int32_t error, int32_t start) in ReportStartResult() argument 334 int32_t cost = static_cast<int32_t>(MediaFileUtils::UTCTimeMilliSeconds() - start); in ReportStartResult() 371 int64_t start = prefs->GetLong(CLOUD_SYNC_START_TIME, 0); in ReportCloudSyncThumbGenerationStatus() local 373 int64_t cost = now - start; in ReportCloudSyncThumbGenerationStatus() 374 time_t startTime = start + ONE_HOUR * 8; in ReportCloudSyncThumbGenerationStatus()
|
/third_party/ffmpeg/libavfilter/ |
H A D | vf_framerate.c | 52 {"interp_start", "point to start linear interpolation", OFFSET(interp_start), AV_OPT_TYPE_INT, {.i64=15}, 0, 255, V|F }, 106 const int start = (s->height[plane] * job ) / nb_jobs; in filter_slice() local 108 uint8_t *src1_data = src1->data[plane] + start * src1->linesize[plane]; in filter_slice() 109 uint8_t *src2_data = src2->data[plane] + start * src2->linesize[plane]; in filter_slice() 110 uint8_t *dst_data = work->data[plane] + start * work->linesize[plane]; in filter_slice() 113 dst_data, work->linesize[plane], s->line_size[plane], end - start, in filter_slice() 413 av_log(ctx, AV_LOG_INFO, "fps -> fps:%u/%u scene score:%f interpolate start:%d end:%d\n", in config_output()
|
/third_party/ffmpeg/libavformat/ |
H A D | demux_utils.c | 43 int64_t start, int64_t end, const char *title) in avpriv_new_chapter() 49 if (end != AV_NOPTS_VALUE && start > end) { in avpriv_new_chapter() 50 av_log(s, AV_LOG_ERROR, "Chapter end time %"PRId64" before start %"PRId64"\n", end, start); in avpriv_new_chapter() 77 chapter->start = start; in avpriv_new_chapter() 42 avpriv_new_chapter(AVFormatContext *s, int64_t id, AVRational time_base, int64_t start, int64_t end, const char *title) avpriv_new_chapter() argument
|
/third_party/icu/icu4c/source/common/ |
H A D | ubidiimp.h | 171 uint16_t start; /* index of first opening entry for this run */ member 413 #define RETURN_IF_BAD_RANGE(arg, start, limit, errcode, retvalue) UPRV_BLOCK_MACRO_BEGIN { \ 414 if((arg)<(start) || (arg)>=(limit)) { \ 435 #define RETURN_VOID_IF_BAD_RANGE(arg, start, limit, errcode) UPRV_BLOCK_MACRO_BEGIN { \ 436 if((arg)<(start) || (arg)>=(limit)) { \
|
/third_party/icu/tools/cldr/cldr-to-icu/src/main/java/org/unicode/icu/tool/cldrtoicu/ |
H A D | PseudoLocales.java | 337 int start = 0; in createMessage() 338 for (; match.find(); start = match.end()) { in createMessage() 339 out.addFragment(text.substring(start, match.start()), !isPattern); in createMessage() 342 out.addFragment(text.substring(start), !isPattern); in createMessage()
|
H A D | IcuTextWriter.java | 353 int start = 0; in quoteInside() 355 buffer.append(item, start, matcher.start()); in quoteInside() 362 start = matcher.end(); in quoteInside() 364 buffer.append(item.substring(start)); in quoteInside()
|
/third_party/icu/tools/commit-checker/ |
H A D | check.py | 210 Return the start and end of the revrange 243 start = 0 246 issues = jira.search_issues(jira_query, startAt=start, maxResults=batch_size) 248 print("Loaded issues %d-%d" % (start + 1, start + len(issues)), file=sys.stderr) 255 start += batch_size
|
/third_party/icu/vendor/double-conversion/upstream/double-conversion/ |
H A D | string-to-double.cc | 208 // Checks whether the string in the range start-end is a hex-float string. 216 static bool IsHexFloatString(Iterator start, in IsHexFloatString() argument 220 DOUBLE_CONVERSION_ASSERT(start != end); in IsHexFloatString() 222 Iterator current = start; in IsHexFloatString() 603 // Integer part consists of 0 or is absent. Significant digits start after 709 char* start = buffer; 710 result = RadixStringToIeee<3>(&start,
|
/third_party/icu/icu4c/source/i18n/ |
H A D | csrmbcs.cpp | 97 int32_t start = 0, end = len-1; in binarySearch() local 98 int32_t mid = (start+end)/2; in binarySearch() 100 while(start <= end) { in binarySearch() 106 start = mid+1; in binarySearch() 111 mid = (start+end)/2; in binarySearch()
|
H A D | double-conversion-string-to-double.cpp | 229 // Checks whether the string in the range start-end is a hex-float string. 237 static bool IsHexFloatString(Iterator start, in IsHexFloatString() argument 241 DOUBLE_CONVERSION_ASSERT(start != end); in IsHexFloatString() 243 Iterator current = start; in IsHexFloatString() 624 // Integer part consists of 0 or is absent. Significant digits start after 730 char* start = buffer; 731 result = RadixStringToIeee<3>(&start,
|
/third_party/libphonenumber/tools/java/java-build/src/com/google/i18n/phonenumbers/ |
H A D | BuildMetadataJsonFromXml.java | 85 public boolean start() { in start() method in BuildMetadataJsonFromXml 96 return start(inputFile, outputFile, liteBuild, namespace); in start() 99 static boolean start(String inputFile, String outputFile, boolean liteBuild) { in start() method in BuildMetadataJsonFromXml 100 return start(inputFile, outputFile, liteBuild, NAMESPACE); in start() 103 static boolean start(String inputFile, String outputFile, boolean liteBuild, String namespace) { in start() method in BuildMetadataJsonFromXml
|
/third_party/mbedtls/library/ |
H A D | debug.c | 364 const char *start, *cur; in debug_print_line_by_line() local 366 start = text; in debug_print_line_by_line() 369 size_t len = (size_t) (cur - start) + 1; in debug_print_line_by_line() 374 memcpy(str, start, len); in debug_print_line_by_line() 379 start = cur + 1; in debug_print_line_by_line()
|
/third_party/mesa3d/src/freedreno/ir3/ |
H A D | ir3_merge_regs.c | 104 * start of the register, and offset + size <= size(reg). 177 unsigned start = MAX2(a_start, b_start); in can_skip_interference() local 181 .offset = start - a_start, in can_skip_interference() 182 .size = end - start, in can_skip_interference() 186 .offset = start - b_start, in can_skip_interference() 187 .size = end - start, in can_skip_interference()
|
/third_party/node/deps/icu-small/source/common/ |
H A D | ubidiimp.h | 171 uint16_t start; /* index of first opening entry for this run */ member 413 #define RETURN_IF_BAD_RANGE(arg, start, limit, errcode, retvalue) UPRV_BLOCK_MACRO_BEGIN { \ 414 if((arg)<(start) || (arg)>=(limit)) { \ 435 #define RETURN_VOID_IF_BAD_RANGE(arg, start, limit, errcode) UPRV_BLOCK_MACRO_BEGIN { \ 436 if((arg)<(start) || (arg)>=(limit)) { \
|
/third_party/node/deps/icu-small/source/i18n/ |
H A D | csrmbcs.cpp | 97 int32_t start = 0, end = len-1; in binarySearch() local 98 int32_t mid = (start+end)/2; in binarySearch() 100 while(start <= end) { in binarySearch() 106 start = mid+1; in binarySearch() 111 mid = (start+end)/2; in binarySearch()
|
H A D | double-conversion-string-to-double.cpp | 229 // Checks whether the string in the range start-end is a hex-float string. 237 static bool IsHexFloatString(Iterator start, in IsHexFloatString() argument 241 DOUBLE_CONVERSION_ASSERT(start != end); in IsHexFloatString() 243 Iterator current = start; in IsHexFloatString() 624 // Integer part consists of 0 or is absent. Significant digits start after 730 char* start = buffer; 731 result = RadixStringToIeee<3>(&start,
|
/third_party/icu/icu4c/source/test/cintltst/ |
H A D | ucnvseltst.c | 79 getEncodings(int32_t start, int32_t step, int32_t count, int32_t *pCount) { in getEncodings() argument 96 if (0 <= start && start < gCountAvailable) { in getEncodings() 97 names[i] = gAvailableNames[start]; in getEncodings() 98 start += step; in getEncodings()
|