/third_party/node/src/ |
D | json_utils.cc | 18 size_t last_pos = 0; in EscapeJsonChars() local 32 if (pos > last_pos) { in EscapeJsonChars() 33 ret += str.substr(last_pos, pos - last_pos); in EscapeJsonChars() 35 last_pos = pos + 1; in EscapeJsonChars() 40 if (last_pos < str.size()) { in EscapeJsonChars() 41 ret += str.substr(last_pos, pos - last_pos); in EscapeJsonChars()
|
/third_party/mesa3d/src/gallium/drivers/r600/ |
D | compute_memory_pool.c | 222 int64_t last_pos; in compute_memory_finalize_pending() local 299 last_pos = allocated; in compute_memory_finalize_pending() 305 err = compute_memory_promote_item(pool, item, pipe, last_pos); in compute_memory_finalize_pending() 308 last_pos += align(item->size_in_dw, ITEM_ALIGNMENT); in compute_memory_finalize_pending() 330 int64_t last_pos; in compute_memory_defrag() local 334 last_pos = 0; in compute_memory_defrag() 336 if (src != dst || item->start_in_dw != last_pos) { in compute_memory_defrag() 337 assert(last_pos <= item->start_in_dw); in compute_memory_defrag() 340 item, last_pos, pipe); in compute_memory_defrag() 343 last_pos += align(item->size_in_dw, ITEM_ALIGNMENT); in compute_memory_defrag()
|
/third_party/skia/third_party/externals/libwebp/src/utils/ |
D | bit_reader_utils.c | 240 static int last_pos = 0; variable 279 if (abs(pos - last_pos) > 32) { in BitTrace() 282 last_pos = 0; in BitTrace() 290 kLabels[i].size += pos - last_pos; in BitTrace() 293 last_pos = pos; in BitTrace()
|
/third_party/FreeBSD/sys/dev/usb/ |
D | usb_hid.c | 62 struct hid_pos_data last_pos[MAXID]; member 115 if (s->last_pos[i].rid == c->report_ID) in hid_switch_rid() 117 if (s->last_pos[i].rid == 0) in hid_switch_rid() 122 s->last_pos[i].rid = c->report_ID; in hid_switch_rid() 123 s->last_pos[i].pos = c->loc.pos; in hid_switch_rid() 136 if (s->last_pos[i].rid == next_rID) in hid_switch_rid() 138 if (s->last_pos[i].rid == 0) in hid_switch_rid() 143 s->last_pos[i].rid = next_rID; in hid_switch_rid() 144 c->loc.pos = s->last_pos[i].pos; in hid_switch_rid()
|
/third_party/skia/third_party/externals/brotli/research/ |
D | find_opt_references.cc | 44 size_t last_pos = 0; in ReadInput() local 48 available_in = fread(storage + last_pos, 1, kFileBufferSize, fin); in ReadInput() 49 last_pos += available_in; in ReadInput() 51 assert(last_pos == input_size); in ReadInput()
|
/third_party/ffmpeg/libavformat/ |
D | gif.c | 37 int64_t last_pos; member 107 gif->last_pos = avio_tell(pb); in gif_write_packet() 111 if (!gif->last_pos) { in gif_write_packet()
|
D | gxf.c | 461 uint64_t last_pos; in gxf_resync_media() local 475 last_pos = avio_tell(pb); in gxf_resync_media() 479 if (avio_seek(pb, last_pos, SEEK_SET) < 0) in gxf_resync_media() 488 if (avio_seek(pb, last_pos, SEEK_SET) >= 0) in gxf_resync_media()
|
D | avidec.c | 187 int64_t last_pos = -1; in read_odml_index() local 244 if (last_pos == pos || pos == base - 8) in read_odml_index() 246 if (last_pos != pos && len) in read_odml_index() 251 last_pos = pos; in read_odml_index() 1612 int64_t last_pos = -1; in avi_read_idx1() local 1668 if (last_pos == pos) in avi_read_idx1() 1676 last_pos = pos; in avi_read_idx1()
|
D | mpeg.c | 134 int64_t last_pos = avio_tell(s->pb); in mpegps_read_header() local 145 avio_seek(s->pb, last_pos, SEEK_SET); in mpegps_read_header()
|
D | asfdec_f.c | 1519 int64_t itime, last_pos = -1; in asf_build_simple_index() local 1542 if (pos != last_pos) { in asf_build_simple_index() 1547 last_pos = pos; in asf_build_simple_index()
|
D | matroskadec.c | 843 static int matroska_resync(MatroskaDemuxContext *matroska, int64_t last_pos) in matroska_resync() argument 850 if (last_pos < avio_tell(pb) && avio_seek(pb, last_pos + 1, SEEK_SET) < 0) { in matroska_resync() 855 last_pos + 1), SEEK_SET); in matroska_resync()
|
/third_party/skia/third_party/externals/libwebp/src/dsp/ |
D | upsampling_neon.c | 205 const int last_pos = 1 + 16 * num_blocks; \ 242 top_dst, bottom_dst, last_pos, len - last_pos); \
|
/third_party/skia/third_party/externals/freetype/src/sdf/ |
D | ftsdf.c | 347 FT_26D6_Vec last_pos; member 666 contour->last_pos = *to; in sdf_move_to() 698 if ( contour->last_pos.x == to->x && in sdf_line_to() 699 contour->last_pos.y == to->y ) in sdf_line_to() 705 edge->start_pos = contour->last_pos; in sdf_line_to() 710 contour->last_pos = *to; in sdf_line_to() 744 edge->start_pos = contour->last_pos; in sdf_conic_to() 750 contour->last_pos = *to; in sdf_conic_to() 786 edge->start_pos = contour->last_pos; in sdf_cubic_to() 793 contour->last_pos = *to; in sdf_cubic_to()
|
/third_party/skia/src/shaders/gradients/ |
D | Sk4fGradientBase.cpp | 196 const SkScalar last_pos = SK_Scalar1 - first_pos; in init() local 228 fIntervals.emplace_back(clamp_color, last_pos, in init()
|
/third_party/protobuf/src/google/protobuf/ |
D | text_format_unittest.cc | 728 int last_pos = 0; in PrintString() local 733 val.substr(last_pos, newline_pos + 1 - last_pos), generator); in PrintString() 734 last_pos = newline_pos + 1; in PrintString() 735 newline_pos = val.find('\n', last_pos); in PrintString() 737 if (last_pos < val.size()) { in PrintString() 739 TextFormat::FastFieldValuePrinter::PrintString(val.substr(last_pos), in PrintString()
|
/third_party/ffmpeg/libavcodec/ |
D | atrac3.c | 453 int i, j, last_pos = -1; in add_tonal_components() local 457 last_pos = FFMAX(components[i].pos + components[i].num_coefs, last_pos); in add_tonal_components() 465 return last_pos; in add_tonal_components()
|
D | mpegaudiodec_template.c | 756 int last_pos, bits_left; in huffman_decode() local 845 last_pos = 0; in huffman_decode() 850 if (pos > end_pos2 && last_pos) { in huffman_decode() 854 skip_bits_long(&s->gb, last_pos - pos); in huffman_decode() 855 …av_log(s->avctx, AV_LOG_INFO, "overread, skip %d enddists: %d %d\n", last_pos - pos, end_pos-pos, … in huffman_decode() 864 last_pos = pos; in huffman_decode()
|
D | parser.c | 159 s->last_pos = s->pos; in av_parser_parse2()
|
D | dca_core.c | 1707 int last_pos = get_bits_count(&s->gb) / 32; in parse_optional_info() local 1724 for (; sync_pos >= last_pos; sync_pos--, w2 = w1) { in parse_optional_info() 1749 for (; sync_pos >= last_pos; sync_pos--, w2 = w1) { in parse_optional_info() 1774 for (; sync_pos >= last_pos; sync_pos--, w2 = w1) { in parse_optional_info()
|
D | avcodec.h | 2896 int64_t last_pos; member
|
/third_party/skia/third_party/externals/harfbuzz/src/ |
D | hb-ot-shape-complex-indic.cc | 683 indic_position_t last_pos = POS_START; in initial_reordering_consonant_syllable() local 688 info[i].indic_position() = last_pos; in initial_reordering_consonant_syllable() 708 last_pos = (indic_position_t) info[i].indic_position(); in initial_reordering_consonant_syllable()
|
/third_party/skia/third_party/externals/tint/src/reader/spirv/ |
D | function.h | 874 uint32_t last_pos) const;
|
D | function.cc | 4863 uint32_t last_pos = block_pos; in FindValuesNeedingNamedOrHoistedDefinition() local 4877 last_pos = std::max(last_pos, pred_block_info->pos); in FindValuesNeedingNamedOrHoistedDefinition() 4883 GetEnclosingScope(first_pos, last_pos); in FindValuesNeedingNamedOrHoistedDefinition() 4958 uint32_t last_pos) const { in GetEnclosingScope() 4964 !enclosing_construct->ScopeContainsPos(last_pos)) { in GetEnclosingScope()
|
/third_party/rust/crates/rust-openssl/openssl-sys/src/handwritten/ |
D | x509.rs | 483 …NID(n: #[const_ptr_if(any(ossl300, libressl280))] X509_NAME, nid: c_int, last_pos: c_int) -> c_int;
|
/third_party/node/deps/v8/src/compiler/backend/ |
D | register-allocator.cc | 2636 LifetimePosition last_pos = LifetimePosition::GapFromInstructionIndex( in IntervalPredecessorsCoveredByRange() local 2638 last_pos = last_pos.NextStart().End(); in IntervalPredecessorsCoveredByRange() 2639 if (!range->Covers(last_pos)) return false; in IntervalPredecessorsCoveredByRange()
|