/third_party/gstreamer/gst_libav/ext/libav/ |
D | gstavprotocol.c | 129 guint64 newpos = 0, oldpos; in gst_ffmpegdata_seek() local 142 newpos = (guint64) pos; in gst_ffmpegdata_seek() 145 newpos = info->offset + pos; in gst_ffmpegdata_seek() 158 newpos = ((guint64) duration) + pos; in gst_ffmpegdata_seek() 167 info->offset = newpos; in gst_ffmpegdata_seek() 186 newpos = info->offset; in gst_ffmpegdata_seek() 188 if (newpos != oldpos) { in gst_ffmpegdata_seek() 190 segment.start = newpos; in gst_ffmpegdata_seek() 191 segment.time = newpos; in gst_ffmpegdata_seek() 199 ")", info->offset, newpos); in gst_ffmpegdata_seek() [all …]
|
/third_party/NuttX/drivers/bch/ |
D | bchdev_driver.c | 178 loff_t newpos; in bch_seek() local 189 newpos = filep->f_pos + offset; in bch_seek() 193 newpos = offset; in bch_seek() 197 newpos = (loff_t)bch->sectsize * bch->nsectors + offset; in bch_seek() 220 if (newpos >= 0) in bch_seek() 222 filep->f_pos = newpos; in bch_seek() 223 ret = newpos; in bch_seek()
|
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/gpu/cuda_impl/ |
D | transpose_impl.cu | 27 size_t newpos; in Transpose() local 45 newpos = pos_array[input_axis[shape_size - 1]]; in Transpose() 49 newpos += pos_array[input_axis[j]] * newpos_size; in Transpose() 52 output[newpos] = input[pos]; in Transpose()
|
D | transpose_impl_opt.cu | 42 size_t newpos; in SimpleTransposeKernel() local 58 newpos = pos_array[input_axis[shape_size - 1]]; in SimpleTransposeKernel() 62 newpos += pos_array[input_axis[j]] * newpos_size; in SimpleTransposeKernel() 64 output[newpos] = *(input + pos); in SimpleTransposeKernel()
|
/third_party/ffmpeg/libavformat/ |
D | crypto.c | 237 int64_t newpos; in crypto_seek() local 256 newpos = ffurl_seek( c->hd, pos, AVSEEK_SIZE ); in crypto_seek() 257 if (newpos < 0) { in crypto_seek() 260 return newpos; in crypto_seek() 262 pos = newpos - pos; in crypto_seek() 293 newpos = ffurl_seek( c->hd, c->position, SEEK_SET ); in crypto_seek() 294 if (newpos < 0) { in crypto_seek() 297 return newpos; in crypto_seek()
|
D | libssh.c | 253 int64_t newpos; in libssh_seek() local 264 newpos = pos; in libssh_seek() 267 newpos = sftp_tell64(libssh->file) + pos; in libssh_seek() 270 newpos = libssh->filesize + pos; in libssh_seek() 276 if (newpos < 0) { in libssh_seek() 281 if (sftp_seek64(libssh->file, newpos)) { in libssh_seek() 286 return newpos; in libssh_seek()
|
D | libsmbclient.c | 139 int64_t newpos; in libsmbc_seek() local 149 if ((newpos = smbc_lseek(libsmbc->fd, pos, whence)) < 0) { in libsmbc_seek() 155 return newpos; in libsmbc_seek()
|
/third_party/boost/boost/detail/ |
D | basic_pointerbuf.hpp | 102 std::ptrdiff_t newpos = static_cast<std::ptrdiff_t>(pos + off); in seekoff() local 103 if((newpos < 0) || (newpos > size)) in seekoff() 106 this->setg(g, g + newpos, g + size); in seekoff()
|
/third_party/boost/libs/config/test/ |
D | boost_no_std_wstreambuf.ipp | 73 int newpos = pos + off; 74 if((newpos < 0) || (newpos > size)) 77 this->setg(g, g + newpos, g + size);
|
/third_party/flutter/skia/third_party/externals/sdl/src/file/ |
D | SDL_rwops.c | 387 Uint8 *newpos; in mem_seek() local 391 newpos = context->hidden.mem.base + offset; in mem_seek() 394 newpos = context->hidden.mem.here + offset; in mem_seek() 397 newpos = context->hidden.mem.stop + offset; in mem_seek() 402 if (newpos < context->hidden.mem.base) { in mem_seek() 403 newpos = context->hidden.mem.base; in mem_seek() 405 if (newpos > context->hidden.mem.stop) { in mem_seek() 406 newpos = context->hidden.mem.stop; in mem_seek() 408 context->hidden.mem.here = newpos; in mem_seek()
|
/third_party/NuttX/drivers/video/ |
D | fb.c | 304 off_t newpos; in fb_seek() local 318 newpos = filep->f_pos + offset; in fb_seek() 322 newpos = offset; in fb_seek() 326 newpos = fb->fblen + offset; in fb_seek() 348 if (newpos >= 0) in fb_seek() 350 filep->f_pos = newpos; in fb_seek() 351 ret = newpos; in fb_seek()
|
/third_party/flutter/skia/third_party/externals/icu/source/tools/genrb/ |
D | reslist.cpp | 504 return map[start].newpos; in mapKey() 1328 return compareInt32(((const KeyMapEntry *)l)->newpos, ((const KeyMapEntry *)r)->newpos); in compareKeyNewpos() 1354 map[i].newpos = 0; in compactKeys() 1361 map[i].newpos = 0; in compactKeys() 1383 map[i].newpos = map[i].oldpos; in compactKeys() 1405 map[j].newpos = map[i].oldpos + offset; /* yes, point to the earlier key */ in compactKeys() 1422 int32_t oldpos, newpos, limit; in compactKeys() local 1423 oldpos = newpos = fKeysBottom; in compactKeys() 1426 for (i = 0; i < keysCount && map[i].newpos < 0; ++i) {} in compactKeys() 1433 while (i < keysCount && map[i].newpos == oldpos) { in compactKeys() [all …]
|
/third_party/python/Modules/cjkcodecs/ |
D | multibytecodec.c | 231 Py_ssize_t retstrsize, newpos; in multibytecodec_encerror() local 357 newpos = PyLong_AsSsize_t(PyTuple_GET_ITEM(retobj, 1)); in multibytecodec_encerror() 358 if (newpos < 0 && !PyErr_Occurred()) in multibytecodec_encerror() 359 newpos += (Py_ssize_t)buf->inlen; in multibytecodec_encerror() 360 if (newpos < 0 || newpos > buf->inlen) { in multibytecodec_encerror() 364 newpos); in multibytecodec_encerror() 367 buf->inpos = newpos; in multibytecodec_encerror() 386 Py_ssize_t newpos; in multibytecodec_decerror() local 464 newpos = PyLong_AsSsize_t(PyTuple_GET_ITEM(retobj, 1)); in multibytecodec_decerror() 465 if (newpos < 0 && !PyErr_Occurred()) in multibytecodec_decerror() [all …]
|
/third_party/skia/third_party/externals/icu/source/tools/genrb/ |
D | reslist.cpp | 523 return map[start].newpos; in mapKey() 1349 return compareInt32(((const KeyMapEntry *)l)->newpos, ((const KeyMapEntry *)r)->newpos); in compareKeyNewpos() 1399 map[i].newpos = 0; in compactKeys() 1412 map[i].newpos = 0; in compactKeys() 1440 map[i].newpos = map[i].oldpos; in compactKeys() 1462 map[j].newpos = map[i].oldpos + offset; /* yes, point to the earlier key */ in compactKeys() 1479 int32_t oldpos, newpos, limit; in compactKeys() local 1480 oldpos = newpos = fKeysBottom; in compactKeys() 1483 for (i = 0; i < keysCount && map[i].newpos < 0; ++i) {} in compactKeys() 1490 while (i < keysCount && map[i].newpos == oldpos) { in compactKeys() [all …]
|
/third_party/node/deps/icu-small/source/tools/genrb/ |
D | reslist.cpp | 523 return map[start].newpos; in mapKey() 1341 return compareInt32(((const KeyMapEntry *)l)->newpos, ((const KeyMapEntry *)r)->newpos); in compareKeyNewpos() 1391 map[i].newpos = 0; in compactKeys() 1404 map[i].newpos = 0; in compactKeys() 1432 map[i].newpos = map[i].oldpos; in compactKeys() 1454 map[j].newpos = map[i].oldpos + offset; /* yes, point to the earlier key */ in compactKeys() 1471 int32_t oldpos, newpos, limit; in compactKeys() local 1472 oldpos = newpos = fKeysBottom; in compactKeys() 1475 for (i = 0; i < keysCount && map[i].newpos < 0; ++i) {} in compactKeys() 1482 while (i < keysCount && map[i].newpos == oldpos) { in compactKeys() [all …]
|
/third_party/icu/icu4c/source/tools/genrb/ |
D | reslist.cpp | 523 return map[start].newpos; in mapKey() 1349 return compareInt32(((const KeyMapEntry *)l)->newpos, ((const KeyMapEntry *)r)->newpos); in compareKeyNewpos() 1399 map[i].newpos = 0; in compactKeys() 1412 map[i].newpos = 0; in compactKeys() 1440 map[i].newpos = map[i].oldpos; in compactKeys() 1462 map[j].newpos = map[i].oldpos + offset; /* yes, point to the earlier key */ in compactKeys() 1479 int32_t oldpos, newpos, limit; in compactKeys() local 1480 oldpos = newpos = fKeysBottom; in compactKeys() 1483 for (i = 0; i < keysCount && map[i].newpos < 0; ++i) {} in compactKeys() 1490 while (i < keysCount && map[i].newpos == oldpos) { in compactKeys() [all …]
|
/third_party/python/Objects/stringlib/ |
D | codecs.h | 314 Py_ssize_t startpos, endpos, newpos; in STRINGLIB() local 386 unicode, &exc, startpos, endpos, &newpos); in STRINGLIB() 391 writer->min_size -= max_char_size * (newpos - startpos); in STRINGLIB() 419 i = newpos; in STRINGLIB()
|
/third_party/python/Lib/encodings/ |
D | punycode.py | 164 newpos, delta = decode_generalized_number(extended, extpos, 179 extpos = newpos
|
/third_party/boost/boost/spirit/home/classic/iterator/ |
D | position_iterator.hpp | 235 void set_position(PositionT const& newpos) { _pos = newpos; }
|
/third_party/eudev/src/udev/ |
D | udev-event.c | 948 char *newpos; local 953 newpos=pos=&newifname[strcspn(newifname,"0123456789")]; 954 ifidnum=(int)strtol(pos,&newpos,10); 956 … if (newpos > pos && *newpos == '\0') /* append new iface num to name */
|
/third_party/flutter/skia/experimental/editor/ |
D | editor_application.cpp | 143 int newpos = std::max(0, std::min(fPos + delta, maxPos)); in scroll() local 144 if (newpos != fPos) { in scroll() 145 fPos = newpos; in scroll()
|
/third_party/skia/modules/skplaintexteditor/app/ |
D | editor_application.cpp | 162 int newpos = std::max(0, std::min(fPos + delta, maxPos)); in scroll() local 163 if (newpos != fPos) { in scroll() 164 fPos = newpos; in scroll()
|
/third_party/gstreamer/gstplugins_good/gst/matroska/ |
D | matroska-demux.c | 2099 gint64 newpos = *pos; in gst_matroska_demux_search_cluster() local 2132 newpos = *cpos; in gst_matroska_demux_search_cluster() 2147 if (G_UNLIKELY (newpos < chunk)) { in gst_matroska_demux_search_cluster() 2148 toread = newpos; in gst_matroska_demux_search_cluster() 2149 newpos = 0; in gst_matroska_demux_search_cluster() 2151 newpos -= chunk; in gst_matroska_demux_search_cluster() 2159 ret = gst_pad_pull_range (demux->common.sinkpad, newpos, toread, &buf); in gst_matroska_demux_search_cluster() 2164 gst_buffer_get_size (buf), newpos); in gst_matroska_demux_search_cluster() 2168 if (oldpos == newpos && oldlength == map.size) { in gst_matroska_demux_search_cluster() 2173 oldpos = newpos; in gst_matroska_demux_search_cluster() [all …]
|
/third_party/python/Objects/ |
D | unicodeobject.c | 359 Py_ssize_t startpos, Py_ssize_t endpos, Py_ssize_t *newpos); 4474 Py_ssize_t newpos; in unicode_decode_call_errorhandler_wchar() local 4499 if (!PyArg_ParseTuple(restuple, argparse, &repunicode, &newpos)) in unicode_decode_call_errorhandler_wchar() 4514 if (newpos<0) in unicode_decode_call_errorhandler_wchar() 4515 newpos = insize+newpos; in unicode_decode_call_errorhandler_wchar() 4516 if (newpos<0 || newpos>insize) { in unicode_decode_call_errorhandler_wchar() 4517 PyErr_Format(PyExc_IndexError, "position %zd from error handler out of bounds", newpos); in unicode_decode_call_errorhandler_wchar() 4542 if (requiredsize > PY_SSIZE_T_MAX - (insize - newpos)) in unicode_decode_call_errorhandler_wchar() 4544 requiredsize += insize - newpos; in unicode_decode_call_errorhandler_wchar() 4555 *endinpos = newpos; in unicode_decode_call_errorhandler_wchar() [all …]
|
/third_party/gstreamer/gstreamer/libs/gst/base/ |
D | gstbaseparse.c | 4370 gint64 lpos, hpos, newpos; in gst_base_parse_locate_time() local 4448 newpos = hpos; in gst_base_parse_locate_time() 4450 newpos = in gst_base_parse_locate_time() 4455 newpos = lpos; in gst_base_parse_locate_time() 4461 newpos = CLAMP (newpos, lpos, hpos); in gst_base_parse_locate_time() 4464 GST_TIME_ARGS (time), newpos); in gst_base_parse_locate_time() 4466 ret = gst_base_parse_find_frame (parse, &newpos, &newtime, &dur); in gst_base_parse_locate_time() 4475 if (newtime == -1 || newpos == -1) { in gst_base_parse_locate_time() 4481 *_offset = newpos; in gst_base_parse_locate_time() 4488 hpos = (newpos >= hpos) ? MAX (lpos, hpos - chunk) : MAX (lpos, newpos); in gst_base_parse_locate_time() [all …]
|