/third_party/skia/third_party/externals/abseil-cpp/absl/strings/ |
H A D | cord_ring_test.cc | 246 CordRepSubstring* MakeSubstring(size_t start, size_t len, CordRep* rep) { in MakeSubstring() argument 249 sub->start = start; in MakeSubstring() 250 sub->length = (len <= 0) ? rep->length - start + len : len; in MakeSubstring() 256 CordRepSubstring* RemovePrefix(size_t start, CordRep* rep) { in RemovePrefix() argument 257 return MakeSubstring(start, rep->length - start, rep); in RemovePrefix() 1305 for (int start = 0; start <= flat_pos; ++start) { in TEST_F() [all...] |
/base/startup/appspawn/test/moduletest/threadpool/ |
H A D | thread_manager.c | 82 struct timespec start; in ConvertToTimespec() local 83 clock_gettime(CLOCK_MONOTONIC, &start); in ConvertToTimespec() 86 ns += start.tv_sec * APPSPAWN_SEC_TO_NSEC + start.tv_nsec; in ConvertToTimespec()
|
/drivers/hdf_core/framework/tools/hdf_dev_eco_tool/ |
H A D | hdf_utils.py | 49 start = 0 52 if end != start: 53 capital_split_words.append(self.words_str[start:end]) 54 start = end
|
/foundation/arkui/ace_engine/frameworks/core/components/text_overlay/ |
H A D | text_overlay_manager.cpp | 73 // Default to start. in MakeEmptyOffset() 187 // Return the start of next line. 526 void TextOverlayBase::UpdateEndSelection(int32_t start, const Offset& pos, const Offset& globalOffset) argument 529 textValue_.UpdateSelection(start, extend); 532 void TextOverlayBase::ChangeSelection(int32_t start, int32_t end) argument 534 textValue_.UpdateSelection(start, end);
|
/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/drawing_ndk/src/ |
H A D | drawing_path.cpp | 218 OH_Drawing_PathDirection dir, uint32_t start) in OH_Drawing_PathAddRectWithInitialCorner() 233 path->AddRect(CastToRect(*cRect), start, static_cast<PathDirection>(dir)); in OH_Drawing_PathAddRectWithInitialCorner() 256 const OH_Drawing_Rect* oval, uint32_t start, OH_Drawing_PathDirection dir) in OH_Drawing_PathAddOvalWithInitialPoint() 271 path->AddOval(CastToRect(*oval), start, static_cast<PathDirection>(dir)); in OH_Drawing_PathAddOvalWithInitialPoint() 217 OH_Drawing_PathAddRectWithInitialCorner(OH_Drawing_Path* cPath, const OH_Drawing_Rect* cRect, OH_Drawing_PathDirection dir, uint32_t start) OH_Drawing_PathAddRectWithInitialCorner() argument 255 OH_Drawing_PathAddOvalWithInitialPoint(OH_Drawing_Path* cPath, const OH_Drawing_Rect* oval, uint32_t start, OH_Drawing_PathDirection dir) OH_Drawing_PathAddOvalWithInitialPoint() argument
|
/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_base/fuzztest/rsmarshallinghelper_fuzzer/ |
H A D | rsmarshallinghelper_fuzzer.cpp | 99 float start = GetData<float>(); in DoUnmarshalling() local 101 Range<float> value(start, end); in DoUnmarshalling() 102 Range<float> randomValue(start, end); in DoUnmarshalling() 111 filter = RSFilter::CreateBlurFilter(start, end); in DoUnmarshalling()
|
/foundation/multimedia/player_framework/services/services/player/client/ |
H A D | player_client.cpp | 145 int32_t PlayerClient::SetPlayRange(int64_t start, int64_t end) in SetPlayRange() argument 149 return playerProxy_->SetPlayRange(start, end); in SetPlayRange() 152 int32_t PlayerClient::SetPlayRangeWithMode(int64_t start, int64_t end, PlayerSeekMode mode) in SetPlayRangeWithMode() argument 156 return playerProxy_->SetPlayRangeWithMode(start, end, mode); in SetPlayRangeWithMode()
|
/foundation/multimedia/player_framework/frameworks/native/player/ |
H A D | player_impl.cpp | 126 int32_t PlayerImpl::SetPlayRange(int64_t start, int64_t end) in SetPlayRange() argument 130 return playerService_->SetPlayRange(start, end); in SetPlayRange() 133 int32_t PlayerImpl::SetPlayRangeWithMode(int64_t start, int64_t end, PlayerSeekMode mode) in SetPlayRangeWithMode() argument 137 return playerService_->SetPlayRangeWithMode(start, end, mode); in SetPlayRangeWithMode()
|
/foundation/window/window_manager/utils/src/ |
H A D | wm_math.cpp | 349 // Get start point in GetOriginScreenPoint() 351 Vector3 start = TransformWithPerspDiv(screenPoint, invertMat); in GetOriginScreenPoint() local 355 // Get the intersection point of line start-end and xy plane in GetOriginScreenPoint() 356 float t = end.z_ / (end.z_ - start.z_); in GetOriginScreenPoint() 357 return Vector2(t * start.x_ + (1 - t) * end.x_, t * start.y_ + (1 - t) * end.y_); in GetOriginScreenPoint()
|
/foundation/communication/wifi/wifi/services/wifi_standard/wifi_framework/wifi_toolkit/utils/ |
H A D | wifi_global_func.cpp | 88 int GetRandomInt(int start, int end) in GetRandomInt() argument 90 if (end <= start) { in GetRandomInt() 91 return start; in GetRandomInt() 95 std::uniform_int_distribution<int> dist{start, end}; in GetRandomInt()
|
/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/src/drawing/engine_adapter/skia_adapter/ |
H A D | skia_path.cpp | 156 void SkiaPath::AddRect(const Rect& rect, unsigned start, PathDirection dir) in AddRect() argument 159 path_.addRect(SkRect::MakeLTRB(rect.GetLeft(), rect.GetTop(), rect.GetRight(), rect.GetBottom()), pathDir, start); in AddRect() local 170 void SkiaPath::AddOval(scalar left, scalar top, scalar right, scalar bottom, unsigned start, PathDirection dir) in AddOval() argument 173 path_.addOval(SkRect::MakeLTRB(left, top, right, bottom), pathDir, start); in AddOval() local
|
/third_party/ffmpeg/libavcodec/ |
H A D | aacsbr.c | 54 static void make_bands(int16_t* bands, int start, int stop, int num_bands) in make_bands() argument 59 base = powf((float)stop / start, 1.0f / num_bands); in make_bands() 60 prod = start; in make_bands() 61 previous = start; in make_bands()
|
H A D | gdv.c | 228 int start = bytestream2_tell_p(pb) - (-offset); in lz_copy() local 230 bytestream2_seek(g2, start, SEEK_SET); in lz_copy() 235 int start = bytestream2_tell_p(pb) + offset; in lz_copy() local 237 bytestream2_seek(g2, start, SEEK_SET); in lz_copy()
|
H A D | argo.c | 50 int start, count; in decode_pal8() local 52 start = bytestream2_get_le16(gb); in decode_pal8() 55 if (start + count > 256) in decode_pal8() 62 pal[start + i] = (0xFFU << 24) | bytestream2_get_be24u(gb); in decode_pal8()
|
/third_party/ffmpeg/libavfilter/ |
H A D | af_afftfilt.c | 236 const int start = (channels * jobnr) / nb_jobs; in tx_channel() local 239 for (int ch = start; ch < end; ch++) { in tx_channel() 256 const int start = (channels * jobnr) / nb_jobs; in filter_channel() local 262 for (int ch = start; ch < end; ch++) { in filter_channel()
|
H A D | vf_perspective.c | 287 int start = (h * job) / nb_jobs; in resample_cubic() local 292 for (y = start; y < end; y++) { in resample_cubic() 366 int start = (h * job) / nb_jobs; in resample_linear() local 371 for (y = start; y < end; y++){ in resample_linear()
|
/third_party/ffmpeg/libavformat/ |
H A D | gxf.c | 90 static const uint8_t startcode[] = {0, 0, 0, 0, 1, 0xbc}; // start with map packet in gxf_probe() 469 start: in gxf_resync_media() 474 goto start; in gxf_resync_media() 481 goto start; in gxf_resync_media() 489 goto start; in gxf_resync_media()
|
H A D | hdsenc.c | 223 int start = 0, fragments; in write_abst() local 227 start = FFMAX(os->nb_fragments - c->window_size, 0); in write_abst() 228 fragments = os->nb_fragments - start; in write_abst() 274 for (i = start; i < os->nb_fragments; i++) { in write_abst() 517 // Note, these fragment start timestamps, that represent a whole in hds_write_packet()
|
/third_party/curl/lib/ |
H A D | asyn-thread.c | 74 struct curltime start; member 653 /* failed to start, mark it as done here for proper cleanup. */ in init_resolve_thread() 863 ms = Curl_timediff(Curl_now(), reslv->start); in Curl_resolver_getsock() 894 reslv->start = Curl_now(); in Curl_resolver_getaddrinfo() 938 reslv->start = Curl_now(); in Curl_resolver_getaddrinfo() 945 failf(data, "getaddrinfo() thread failed to start"); in Curl_resolver_getaddrinfo()
|
/third_party/icu/icu4c/source/common/ |
H A D | uchar.cpp | 68 _enumTypeRange(const void *context, UChar32 start, UChar32 end, uint32_t value) { in _enumTypeRange() argument 72 start, end+1, (UCharCategory)value); in _enumTypeRange() 307 /* Checks if the Unicode character can start a Unicode identifier.*/ 343 /*Checks if the Unicode character can start a Java identifier.*/ 651 _enumPropertyStartsRange(const void *context, UChar32 start, UChar32 end, uint32_t value) { in _enumPropertyStartsRange() argument 652 /* add the start code point to the USet */ in _enumPropertyStartsRange() 654 sa->add(sa->set, start); in _enumPropertyStartsRange() 668 /* add the start code point of each same-value range of the main trie */ in uchar_addPropertyStarts() 730 /* add the start code point of each same-value range of the properties vectors trie */ in upropsvec_addPropertyStarts()
|
/third_party/icu/tools/unicode/c/genprops/ |
H A D | pnamesbuilder.cpp | 220 // Name groups for *value* aliases must not start at offset 0 in build() 538 // Read and skip the start and limit of this range. in findProperty() 539 int32_t start=valueMaps[i]; in findProperty() local 542 if(property<start) { in findProperty() 546 return i+(property-start)*2; in findProperty() 548 i+=(limit-start)*2; // Skip all entries for this range. in findProperty() 597 // valueMapIndex is the start of the property's valueMap, in getPropertyValueEnum()
|
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/util/ |
H A D | TrieMapTest.java | 172 t.start(); in timeIteration() 285 int start = matcher.getStart(); in checkSearch() 287 actualList.add(Row.of(start,end,value)); in checkSearch() 293 // + start + ".." + end + ", " in checkSearch() 294 // + string.substring(0, start) + "|" in checkSearch() 295 // + string.substring(start, end) + "|" in checkSearch() 314 t.start(); in timeBuilding() 465 // t.start(); in timeGet() 518 // int start = limit; 533 // return new StorageCharSequence(start, limi [all...] |
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/rbbi/ |
H A D | RBBIAPITest.java | 467 private void doTest(String testString, int start, int gotoffset, int expectedOffset, String expectedString) { in doTest() argument 472 if (start <= gotoffset) { in doTest() 473 selected = testString.substring(start, gotoffset); in doTest() 475 selected = testString.substring(gotoffset, start); in doTest()
|
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/rbbi/ |
H A D | RBBIAPITest.java | 464 private void doTest(String testString, int start, int gotoffset, int expectedOffset, String expectedString) { in doTest() argument 469 if (start <= gotoffset) { in doTest() 470 selected = testString.substring(start, gotoffset); in doTest() 472 selected = testString.substring(gotoffset, start); in doTest()
|
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/ |
H A D | TrieMapTest.java | 169 t.start(); in timeIteration() 282 int start = matcher.getStart(); in checkSearch() 284 actualList.add(Row.of(start,end,value)); in checkSearch() 290 // + start + ".." + end + ", " in checkSearch() 291 // + string.substring(0, start) + "|" in checkSearch() 292 // + string.substring(start, end) + "|" in checkSearch() 311 t.start(); in timeBuilding() 462 // t.start(); in timeGet() 515 // int start = limit; 530 // return new StorageCharSequence(start, limi [all...] |