/third_party/NuttX/fs/dirent/ |
D | fs_readdir.c | 149 if (idir->cur_pos != 0 && idir->cur_pos < MAX_DIRENT_NUM && idir->cur_pos < idir->end_pos) in readdir() 151 de = &(idir->fd_dir[idir->cur_pos]); in readdir() 153 if (idir->cur_pos == MAX_DIRENT_NUM) in readdir() 155 idir->cur_pos = 0; in readdir() 157 idir->cur_pos++; in readdir() 165 idir->cur_pos = 1; in readdir() 169 idir->cur_pos = 0; in readdir()
|
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/gpu/cuda_impl/ |
D | sparse_apply_proximal_adagrad_impl.cu | 69 const int cur_pos = indices[index] * inner_size + inner_pos; in SparseApplyProximalAdagradUpdate() local 70 accumulation[cur_pos] += gradient[grad_pos] * gradient[grad_pos]; in SparseApplyProximalAdagradUpdate() 71 const T scratch1 = learning_rate[0] * RsqrtFunc(accumulation[cur_pos]); in SparseApplyProximalAdagradUpdate() 72 T prox_v = variable[cur_pos]; in SparseApplyProximalAdagradUpdate() 76 …variable[cur_pos] = CompareFunc(l1_regularization[0], static_cast<T>(0.0)) ? Sgn(prox_v) * scratch… in SparseApplyProximalAdagradUpdate() 77 variable[cur_pos] = variable[cur_pos] / (static_cast<T>(1.0) + l2_regularization[0] * scratch1); in SparseApplyProximalAdagradUpdate() 78 accumulation_out[cur_pos] = accumulation[cur_pos]; in SparseApplyProximalAdagradUpdate() 79 variable_out[cur_pos] = variable[cur_pos]; in SparseApplyProximalAdagradUpdate()
|
/third_party/mindspore/mindspore/lite/tools/common/ |
D | string_util.cc | 58 auto cur_pos = raw_str.find(delimiter); in SplitStringToVector() local 59 while (cur_pos != std::string::npos) { in SplitStringToVector() 60 res.push_back(raw_str.substr(last_pos, cur_pos - last_pos)); in SplitStringToVector() 61 cur_pos++; in SplitStringToVector() 62 last_pos = cur_pos; in SplitStringToVector() 63 cur_pos = raw_str.find(delimiter, cur_pos); in SplitStringToVector()
|
/third_party/ffmpeg/libavutil/ |
D | aes_ctr.c | 94 uint8_t* cur_pos; in av_aes_ctr_increment_be64() local 96 for (cur_pos = counter + 7; cur_pos >= counter; cur_pos--) { in av_aes_ctr_increment_be64() 97 (*cur_pos)++; in av_aes_ctr_increment_be64() 98 if (*cur_pos != 0) { in av_aes_ctr_increment_be64()
|
/third_party/nghttp2/src/ |
D | memchunk.h | 341 cur_pos(nullptr), in PeekMemchunks() 349 cur_pos{std::exchange(other.cur_pos, nullptr)}, 361 cur_pos = std::exchange(other.cur_pos, nullptr); 386 cur_pos = cur->pos; in remove() 392 if (cur_pos == cur_last) { in remove() 401 auto n = std::min(last - first, cur_last - cur_pos); in remove() 403 first = std::copy_n(cur_pos, n, first); in remove() 404 cur_pos += n; in remove() 410 assert(cur_pos == cur_last); in remove() 415 cur_pos = cur->pos; in remove() [all …]
|
/third_party/grpc/src/core/ext/filters/load_reporting/ |
D | server_load_reporting_filter.cc | 181 char* cur_pos = client_ip_and_lr_token_; in StoreClientIpAndLrToken() local 184 strncpy(cur_pos, kEmptyAddressLengthString, kLengthPrefixSize); in StoreClientIpAndLrToken() 186 strncpy(cur_pos, kEncodedIpv4AddressLengthString, kLengthPrefixSize); in StoreClientIpAndLrToken() 188 strncpy(cur_pos, kEncodedIpv6AddressLengthString, kLengthPrefixSize); in StoreClientIpAndLrToken() 192 cur_pos += kLengthPrefixSize; in StoreClientIpAndLrToken() 195 strncpy(cur_pos, client_ip.c_str(), client_ip.size()); in StoreClientIpAndLrToken() 197 cur_pos += client_ip.size(); in StoreClientIpAndLrToken() 200 strncpy(cur_pos, lr_token, lr_token_len); in StoreClientIpAndLrToken() 202 GPR_ASSERT(cur_pos + lr_token_len - client_ip_and_lr_token_ == in StoreClientIpAndLrToken()
|
/third_party/ffmpeg/libavcodec/ |
D | exif.c | 76 int ret, cur_pos; in exif_decode_tag() local 84 ff_tread_tag(gbytes, le, &id, &type, &count, &cur_pos); in exif_decode_tag() 87 bytestream2_seek(gbytes, cur_pos, SEEK_SET); in exif_decode_tag() 109 bytestream2_seek(gbytes, cur_pos, SEEK_SET); in exif_decode_tag()
|
/third_party/boost/boost/move/algo/ |
D | adaptive_sort.hpp | 25 void move_data_backward( RandIt cur_pos in move_data_backward() argument 32 boost::move_backward(cur_pos, cur_pos+l_data, new_pos+l_data); in move_data_backward() 35 boost::adl_move_swap_ranges_backward(cur_pos, cur_pos+l_data, new_pos+l_data); in move_data_backward() 42 void move_data_forward( RandIt cur_pos in move_data_forward() argument 49 boost::move(cur_pos, cur_pos+l_data, new_pos); in move_data_forward() 52 boost::adl_move_swap_ranges(cur_pos, cur_pos+l_data, new_pos); in move_data_forward()
|
/third_party/flutter/skia/third_party/externals/freetype/src/pshinter/ |
D | pshalgo.c | 410 hint->cur_pos = FT_MulFix( hint->org_pos, scale ) + delta; in ps_simple_scale() 461 hint->cur_pos = pos; in psh_hint_align() 490 hint->cur_pos = align.align_top - fit_len; in psh_hint_align() 495 hint->cur_pos = align.align_bot; in psh_hint_align() 500 hint->cur_pos = align.align_bot; in psh_hint_align() 523 par_cur_center = parent->cur_pos + ( parent->cur_len >> 1 ); in psh_hint_align() 530 hint->cur_pos = pos; in psh_hint_align() 605 hint->cur_pos = pos + psh_hint_snap_stem_side_delta( pos, len ); in psh_hint_align() 612 pos = hint->cur_pos; in psh_hint_align() 623 hint->cur_pos = align.align_top - len; in psh_hint_align() [all …]
|
/third_party/freetype/src/pshinter/ |
D | pshalgo.c | 409 hint->cur_pos = FT_MulFix( hint->org_pos, scale ) + delta; in ps_simple_scale() 460 hint->cur_pos = pos; in psh_hint_align() 489 hint->cur_pos = align.align_top - fit_len; in psh_hint_align() 494 hint->cur_pos = align.align_bot; in psh_hint_align() 499 hint->cur_pos = align.align_bot; in psh_hint_align() 522 par_cur_center = parent->cur_pos + ( parent->cur_len >> 1 ); in psh_hint_align() 529 hint->cur_pos = pos; in psh_hint_align() 604 hint->cur_pos = pos + psh_hint_snap_stem_side_delta( pos, len ); in psh_hint_align() 611 pos = hint->cur_pos; in psh_hint_align() 622 hint->cur_pos = align.align_top - len; in psh_hint_align() [all …]
|
/third_party/skia/third_party/externals/freetype/src/pshinter/ |
D | pshalgo.c | 410 hint->cur_pos = FT_MulFix( hint->org_pos, scale ) + delta; in ps_simple_scale() 461 hint->cur_pos = pos; in psh_hint_align() 490 hint->cur_pos = align.align_top - fit_len; in psh_hint_align() 495 hint->cur_pos = align.align_bot; in psh_hint_align() 500 hint->cur_pos = align.align_bot; in psh_hint_align() 523 par_cur_center = parent->cur_pos + ( parent->cur_len >> 1 ); in psh_hint_align() 530 hint->cur_pos = pos; in psh_hint_align() 605 hint->cur_pos = pos + psh_hint_snap_stem_side_delta( pos, len ); in psh_hint_align() 612 pos = hint->cur_pos; in psh_hint_align() 623 hint->cur_pos = align.align_top - len; in psh_hint_align() [all …]
|
/third_party/grpc/src/cpp/server/load_reporter/ |
D | load_data_store.cc | 89 size_t cur_pos = 2; in LoadRecordKey() local 90 client_ip_hex_ = client_ip_and_token.substr(cur_pos, ip_hex_size); in LoadRecordKey() 91 cur_pos += ip_hex_size; in LoadRecordKey() 92 if (client_ip_and_token.size() - cur_pos < kLbIdLength) { in LoadRecordKey() 96 lb_id_ = client_ip_and_token.substr(cur_pos, kLbIdLength); in LoadRecordKey() 97 lb_tag_ = client_ip_and_token.substr(cur_pos + kLbIdLength); in LoadRecordKey()
|
/third_party/gstreamer/gstplugins_good/tests/icles/ |
D | gdkpixbufsink-test.c | 40 gint64 cur_pos; member 143 &info->cur_pos)) in bus_message_cb() 144 info->cur_pos = -1; in bus_message_cb() 260 if (info->cur_pos < 0) in slider_format_value_cb() 263 g_snprintf (s, 64, "%" GST_TIME_FORMAT, GST_TIME_ARGS (info->cur_pos)); in slider_format_value_cb()
|
/third_party/skia/third_party/externals/libwebp/src/enc/ |
D | backward_references_enc.h | 189 PixOrCopy* cur_pos; // current position member 199 return (c->cur_pos != NULL); in VP8LRefsCursorOk() 207 if (++c->cur_pos == c->last_pos_) VP8LRefsCursorNextBlock(c); in VP8LRefsCursorNext()
|
D | backward_references_enc.c | 133 c.cur_pos = c.cur_block_->start_; in VP8LRefsCursorInit() 134 c.last_pos_ = c.cur_pos + c.cur_block_->size_; in VP8LRefsCursorInit() 136 c.cur_pos = NULL; in VP8LRefsCursorInit() 144 c->cur_pos = (b == NULL) ? NULL : b->start_; in VP8LRefsCursorNextBlock() 712 if (PixOrCopyIsCopy(c.cur_pos)) { in BackwardReferences2DLocality() 713 const int dist = c.cur_pos->argb_or_distance; in BackwardReferences2DLocality() 715 c.cur_pos->argb_or_distance = transformed_dist; in BackwardReferences2DLocality() 760 const PixOrCopy* const v = c.cur_pos; in CalculateBestCacheSize() 841 PixOrCopy* const v = c.cur_pos; in BackwardRefsWithLocalCache()
|
/third_party/flutter/skia/third_party/externals/libwebp/src/enc/ |
D | backward_references_enc.h | 188 PixOrCopy* cur_pos; // current position member 198 return (c->cur_pos != NULL); in VP8LRefsCursorOk() 206 if (++c->cur_pos == c->last_pos_) VP8LRefsCursorNextBlock(c); in VP8LRefsCursorNext()
|
D | backward_references_enc.c | 118 c.cur_pos = c.cur_block_->start_; in VP8LRefsCursorInit() 119 c.last_pos_ = c.cur_pos + c.cur_block_->size_; in VP8LRefsCursorInit() 121 c.cur_pos = NULL; in VP8LRefsCursorInit() 129 c->cur_pos = (b == NULL) ? NULL : b->start_; in VP8LRefsCursorNextBlock() 681 if (PixOrCopyIsCopy(c.cur_pos)) { in BackwardReferences2DLocality() 682 const int dist = c.cur_pos->argb_or_distance; in BackwardReferences2DLocality() 684 c.cur_pos->argb_or_distance = transformed_dist; in BackwardReferences2DLocality() 729 const PixOrCopy* const v = c.cur_pos; in CalculateBestCacheSize() 804 PixOrCopy* const v = c.cur_pos; in BackwardRefsWithLocalCache()
|
/third_party/ffmpeg/libavformat/ |
D | xwma.c | 237 int64_t cur_pos; in xwma_read_header() local 263 cur_pos = avio_tell(pb); in xwma_read_header() 270 cur_pos + (i+1) * st->codecpar->block_align, /* pos */ in xwma_read_header()
|
D | movenccenc.c | 93 const uint8_t* cur_pos = buf_in; in mov_cenc_write_encrypted() local 99 av_aes_ctr_crypt(ctx->aes_ctr, chunk, cur_pos, cur_size); in mov_cenc_write_encrypted() 101 cur_pos += cur_size; in mov_cenc_write_encrypted()
|
D | smoothstreamingenc.c | 57 int64_t tail_pos, cur_pos, cur_start_pos; member 88 os->cur_pos += buf_size; in ism_write() 89 if (os->cur_pos >= os->tail_pos) in ism_write() 90 os->tail_pos = os->cur_pos; in ism_write() 109 os->cur_pos = offset; in ism_seek() 134 os->cur_pos = offset; in ism_seek()
|
/third_party/quickjs/ |
D | jscompress.c | 667 const int *hash_next, int cur_pos) in find_longest_match() argument 671 len_max = min_int(src_len - cur_pos, MATCH_LEN_MAX); in find_longest_match() 674 pos_min = max_int(cur_pos - DIST_MAX - 1, 0); in find_longest_match() 675 pos = hash_next[cur_pos]; in find_longest_match() 678 if (src[cur_pos + i] != src[pos + i]) in find_longest_match() 687 *pdist = cur_pos - match_pos - 1; in find_longest_match()
|
/third_party/boost/boost/graph/ |
D | core_numbers.hpp | 243 size_type cur_pos = 0; in core_numbers_impl() local 247 bin[cur_deg] = cur_pos; in core_numbers_impl() 248 cur_pos += tmp; in core_numbers_impl()
|
/third_party/skia/third_party/externals/spirv-tools/tools/sva/src/ |
D | lexer.js | 113 let cur_pos = this.cur_pos_; 125 if (cur_pos === this.cur_pos_)
|
/third_party/spirv-tools/tools/sva/src/ |
D | lexer.js | 113 let cur_pos = this.cur_pos_; 125 if (cur_pos === this.cur_pos_)
|
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/tools/sva/src/ |
D | lexer.js | 113 let cur_pos = this.cur_pos_; 125 if (cur_pos === this.cur_pos_)
|