/third_party/backends/backend/ |
H A D | abaton.c | 198 struct timeval now, start; in wait_ready() local 201 gettimeofday (&start, 0); in wait_ready() 220 if (now.tv_sec - start.tv_sec >= MAX_WAITING_TIME) in wait_ready() 223 (long) (now.tv_sec - start.tv_sec)); in wait_ready() 394 uint8_t start[7]; in start_scan() local 397 memset (start, 0, sizeof (start)); in start_scan() 398 start[0] = START_STOP; in start_scan() 399 start[4] = 1; in start_scan() 401 status = sanei_scsi_cmd (s->fd, start, sizeo in start_scan() [all...] |
H A D | plustek-pp_io.c | 278 UChar start, end; in fnBiDirRead() local 280 start = _CTRL_START_BIDIREAD; in fnBiDirRead() 286 start &= ~_CTRL_DIRECTION; in fnBiDirRead() 294 _OUTB_CTRL( ps, start ); in fnBiDirRead() 303 _OUTB_CTRL( ps, start ); in fnBiDirRead() 316 _OUTB_CTRL( ps, start ); in fnBiDirRead()
|
/third_party/ltp/testcases/kernel/io/ltp-aiodio/ |
H A D | aio-stress.c | 11 * Test creates a series of files and start AIO operations on them. 117 off_t start; member 571 off_t rand_byte = oper->start; in random_byte_offset() 575 range = (oper->end - oper->start) / (1024 * 1024); in random_byte_offset() 669 static struct io_oper *create_oper(int fd, int rw, off_t start, off_t end, in create_oper() argument 678 oper->start = start; in create_oper() 680 oper->last_offset = oper->start; in create_oper() 684 oper->total_ios = (oper->end - oper->start) / oper->reclen; in create_oper() 692 * start an [all...] |
/third_party/skia/experimental/sktext/src/ |
H A D | Text.cpp | 38 [this](SkUnichar unichar, int32_t start, int32_t end) { in initialize() 40 for (auto i = start; i < end; ++i) { in initialize() 115 auto start = newUnresolvedTexts.size(); in resolveChain() local 136 if (start > 0) { in resolveChain() 137 --start; in resolveChain() 237 [&](SkUnichar unichar, int32_t start, int32_t end, int32_t count) { 239 for (auto i = start; i < end; ++i) { 244 UTF8FromUTF16[utf16Index++] = start; 408 // (start it from a new line or squeeze the part of it on this line) 680 auto start [all...] |
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/wpa_supplicant/examples/ |
H A D | dpp-nfc.py | 216 summary("Failed to start DPP listen", color=C_RED) 250 raise Exception("Failed to start listen operation on %d MHz" % listen_freq) 270 summary("About to start run_dpp_handover_client (alt=%s)" % str(alt)) 299 start = time.time() 305 timeout -= time.time() - start 308 start = time.time() 322 timeout -= time.time() - start 325 start = time.time() 341 summary("Cannot start handover client - no bootstrap URI available", 402 start [all...] |
/base/request/request/services/src/manage/ |
H A D | notifier.rs | 149 manager.start(uid, task_id); in ut_notify_progress() 205 manager.start(uid, task_id); in ut_notify_pause_resume() 294 manager.start(uid, task_id); in ut_notify_completed() 332 manager.start(uid, task_id); in ut_notify_failed() 370 manager.start(uid, task_id); in ut_notify_pause_resume_completed() 408 manager.start(uid, task_id); in ut_notify_pause_resume_failed()
|
/base/web/webview/ohos_adapter/ohos_resource_adapter/src/ |
H A D | ohos_resource_adapter_impl.cpp | 447 auto start = config.find("\"", idx + strlen(key)); in GetModuleName() local 448 if (start == std::string::npos) { in GetModuleName() 451 auto end = config.find("\"", start + 1); in GetModuleName() 452 if (end == std::string::npos || end < start + 1) { in GetModuleName() 456 std::string retStr = std::string(configStr + start + 1, end - start - 1); in GetModuleName()
|
/foundation/arkui/ace_engine/frameworks/core/components/refresh/ |
H A D | render_refresh.cpp | 31 const char PULL_DOWN_START[] = "start"; // Pull-down event, state is start 272 double start = scrollableOffset_.GetY(); in HandleDragEnd() local 274 StartAnimation(start, end, false); in HandleDragEnd() 278 double start = scrollableOffset_.GetY(); in HandleDragEnd() local 281 StartAnimation(start, end, false); in HandleDragEnd() 331 void RenderRefresh::StartAnimation(double start, double end, bool isFinished) in StartAnimation() argument 335 translate_ = AceType::MakeRefPtr<CurveAnimation<double>>(start, end, Curves::FRICTION); in StartAnimation()
|
/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/drawable/ |
H A D | rs_render_node_drawable_adapter.cpp | 185 Drawing::Canvas& canvas, const Drawing::Rect& rect, int8_t start, int8_t end) const in DrawRangeImpl() 187 if (drawCmdList_.empty() || start < 0 || end < 0 || start > end) { in DrawRangeImpl() 198 if (start <= skipIndex_ && end > skipIndex_) { in DrawRangeImpl() 200 for (auto i = start; i < skipIndex_; i++) { in DrawRangeImpl() 211 for (auto i = start; i < end; i++) { in DrawRangeImpl() 184 DrawRangeImpl( Drawing::Canvas& canvas, const Drawing::Rect& rect, int8_t start, int8_t end) const DrawRangeImpl() argument
|
/foundation/multimedia/av_codec/test/nativedemo/avdemuxer/ |
H A D | avdemuxer_demo_runner.cpp | 253 auto start = clock::now(); in ConvertPtsFrameIndexDemo() 255 std::chrono::duration<double> elapsed = end - start; in ConvertPtsFrameIndexDemo() 258 start = clock::now(); in ConvertPtsFrameIndexDemo() 265 elapsed = end - start; in ConvertPtsFrameIndexDemo() 270 start = clock::now(); in ConvertPtsFrameIndexDemo() 276 elapsed = end - start; in ConvertPtsFrameIndexDemo()
|
/foundation/multimedia/media_library/frameworks/innerkitsimpl/test/unittest/medialibrary_helper_test/src/ |
H A D | media_file_uri_test.cpp | 558 int32_t start = 0; in HWTEST_F() local 560 MediaFileUri::GetTimeIdFromUri(uriBatch, timeIdBatch, start, count); in HWTEST_F() 568 int32_t start = 0; in HWTEST_F() local 570 MediaFileUri::GetTimeIdFromUri(uriBatch, timeIdBatch, start, count); in HWTEST_F() 578 int32_t start = 0; in HWTEST_F() local 580 MediaFileUri::GetTimeIdFromUri(uriBatch, timeIdBatch, start, count); in HWTEST_F()
|
/third_party/ffmpeg/libavcodec/ |
H A D | movtextenc.c | 63 uint16_t start; member 138 bytestream_put_be16(&p, s->hlit.start); in encode_hlit() 355 // last style != defaults, end the style entry and start a new one in mov_text_style_start() 445 if (!(s->box_flags & HLIT_BOX) || s->hlit.start == s->text_pos) { in mov_text_color_cb() 448 s->hlit.start = s->text_pos; in mov_text_color_cb() 454 take start of first section and end of last section. Movtext in mov_text_color_cb() 483 if (!(s->box_flags & HLIT_BOX) || s->hlit.start == s->text_pos) { in mov_text_alpha_cb() 486 s->hlit.start = s->text_pos; in mov_text_alpha_cb()
|
/third_party/ffmpeg/libavformat/ |
H A D | wavenc.c | 538 static void end_guid(AVIOContext *pb, int64_t start) in end_guid() argument 544 avio_seek(pb, start + 16, SEEK_SET); in end_guid() 545 avio_wl64(pb, end - start); in end_guid() 553 int64_t start; in w64_write_header() local 559 start_guid(pb, ff_w64_guid_fmt, &start); in w64_write_header() 565 end_guid(pb, start); in w64_write_header()
|
H A D | avio.c | 114 char *start; in url_alloc_for_protocol() local 117 if (av_strstart(uc->filename, up->name, (const char**)&start) && *start == ',') { in url_alloc_for_protocol() 119 char *p= start; in url_alloc_for_protocol() 129 if (strcmp(p, "start") && strcmp(p, "end")) { in url_alloc_for_protocol() 139 av_log(uc, AV_LOG_ERROR, "Error parsing options string %s\n", start); in url_alloc_for_protocol() 145 memmove(start, key+1, strlen(key)); in url_alloc_for_protocol()
|
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/locale/ |
H A D | LanguageTag.java | 152 // langtag must start with either language or privateuse in parse() 308 int start = itr.currentStart(); in parseExtensions() 324 if (sts._parseLength <= start) { in parseExtensions() 325 sts._errorIndex = start; in parseExtensions() 358 int start = itr.currentStart(); in parsePrivateuse() 373 if (sts._parseLength <= start) { in parsePrivateuse() 375 sts._errorIndex = start; in parsePrivateuse()
|
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/impl/locale/ |
H A D | LanguageTag.java | 197 // langtag must start with either language or privateuse in parse() 353 int start = itr.currentStart(); in parseExtensions() 369 if (sts._parseLength <= start) { in parseExtensions() 370 sts._errorIndex = start; in parseExtensions() 403 int start = itr.currentStart(); in parsePrivateuse() 418 if (sts._parseLength <= start) { in parsePrivateuse() 420 sts._errorIndex = start; in parsePrivateuse()
|
/third_party/icu/icu4c/source/i18n/ |
H A D | islamcal.cpp | 417 int32_t start = CalendarCache::get(&gMonthCache, month, status); in trueMonthStart() local 419 if (start==0) { in trueMonthStart() 450 start = (int32_t)(ClockMath::floorDivide( in trueMonthStart() 452 CalendarCache::put(&gMonthCache, month, start, status); in trueMonthStart() 456 start = 0; in trueMonthStart() 458 return start; in trueMonthStart() 551 // Return JD of start of given month/year 553 // Get the Julian day of the day BEFORE the start of this year. 554 // If useMonth is true, get the day before the start of the month. 709 * The system maintains a static default century start dat [all...] |
/third_party/json/include/nlohmann/detail/ |
H A D | json_pointer.hpp | 288 // start a new array if reference token is 0 in get_and_create() 293 // start a new object otherwise in get_and_create() 684 // - start: position after the previous slash in split() 689 start = 1; in split() 690 // we can stop if start == 0 (if slash == string_t::npos) in split() 691 start != 0; in split() 694 start = (slash == string_t::npos) ? 0 : slash + 1, in split() 696 slash = reference_string.find_first_of('/', start)) in split() 699 // (start) and the last slash (slash). in split() 700 auto reference_token = reference_string.substr(start, slas in split() [all...] |
/third_party/node/test/parallel/ |
H A D | test-repl-tab-complete.js | 56 const testMe = repl.start({ 617 const testNonGlobal = repl.start({ 651 const testCustomCompleterSyncMode = repl.start({ 681 const testCustomCompleterAsyncMode = repl.start({ 711 const editor = repl.start({ 734 const testRepl = repl.start({ stream });
|
/third_party/musl/porting/liteos_a/user/src/malloc/oldmalloc/ |
H A D | malloc.c | 521 void __malloc_donate(char *start, char *end) in __malloc_donate() argument 523 size_t align_start_up = (SIZE_ALIGN-1) & (-(uintptr_t)start - OVERHEAD); in __malloc_donate() 528 * multiple of SIZE_ALIGN bytes between start and end. */ in __malloc_donate() 529 if (end - start <= OVERHEAD + align_start_up + align_end_down) in __malloc_donate() 531 start += align_start_up + OVERHEAD; in __malloc_donate() 534 struct chunk *c = MEM_TO_CHUNK(start), *n = MEM_TO_CHUNK(end); in __malloc_donate() 536 c->csize = n->psize = C_INUSE | (end-start); in __malloc_donate()
|
/third_party/musl/porting/liteos_a/user_debug/src/malloc/oldmalloc/ |
H A D | malloc.c | 608 void __malloc_donate(char *start, char *end) in __malloc_donate() argument 610 size_t align_start_up = (SIZE_ALIGN-1) & (-(uintptr_t)start - BLOCK_HEAD); in __malloc_donate() 615 * multiple of SIZE_ALIGN bytes between start and end. */ in __malloc_donate() 616 if (end - start <= BLOCK_HEAD + align_start_up + align_end_down) in __malloc_donate() 618 start += align_start_up + BLOCK_HEAD; in __malloc_donate() 622 struct chunk *c = MEM_TO_CHUNK(start), *n = MEM_TO_CHUNK(end); in __malloc_donate() 624 c->csize = n->psize = C_INUSE | (end-start); in __malloc_donate()
|
/third_party/node/deps/icu-small/source/i18n/ |
H A D | islamcal.cpp | 349 int32_t start = CalendarCache::get(&gMonthCache, month, status); in trueMonthStart() local 351 if (start==0) { in trueMonthStart() 382 start = (int32_t)(ClockMath::floorDivide( in trueMonthStart() 384 CalendarCache::put(&gMonthCache, month, start, status); in trueMonthStart() 388 start = 0; in trueMonthStart() 390 return start; in trueMonthStart() 458 // Return JD of start of given month/year 460 // Get the Julian day of the day BEFORE the start of this year. 461 // If useMonth is true, get the day before the start of the month. 608 * The system maintains a static default century start dat [all...] |
/third_party/mesa3d/src/gallium/drivers/nouveau/nv30/ |
H A D | nv30_draw.c | 166 nv30_render_draw_arrays(struct vbuf_render *render, unsigned start, uint nr) in nv30_render_draw_arrays() argument 190 PUSH_DATA (push, 0xff000000 | start); in nv30_render_draw_arrays() 191 start += 256; in nv30_render_draw_arrays() 195 PUSH_DATA (push, ((pn - 1) << 24) | start); in nv30_render_draw_arrays() 335 PUSH_DATA (push, r->vertprog->start); in nv30_render_validate() 365 PUSH_DATA (push, r->vertprog->start); in nv30_render_validate()
|
/third_party/node/deps/v8/src/bigint/ |
H A D | bigint.h | 428 // {start == end} would indicate an empty string). Returns the current 431 ALWAYS_INLINE CharIt Parse(CharIt start, CharIt end, digit_t radix); 447 ALWAYS_INLINE CharIt ParsePowerTwo(CharIt start, CharIt end, digit_t radix); 534 CharIt FromStringAccumulator::Parse(CharIt start, CharIt end, digit_t radix) { in Parse() argument 536 CharIt current = start; in Parse() 544 inline_everything_ = (end - start) <= kInlineThreshold; in Parse() 547 return ParsePowerTwo(start, end, radix); in Parse()
|
/third_party/node/deps/v8/src/heap/ |
H A D | scavenger-inl.h | 459 void ScavengeVisitor::VisitPointers(HeapObject host, ObjectSlot start, in VisitPointers() argument 461 return VisitPointersImpl(host, start, end); in VisitPointers() 464 void ScavengeVisitor::VisitPointers(HeapObject host, MaybeObjectSlot start, in VisitPointers() argument 466 return VisitPointersImpl(host, start, end); in VisitPointers() 509 void ScavengeVisitor::VisitPointersImpl(HeapObject host, TSlot start, in VisitPointersImpl() argument 511 for (TSlot slot = start; slot < end; ++slot) { in VisitPointersImpl()
|