/external/perfetto/src/protozero/ |
D | field.cc | 35 uint8_t* wptr = start; in SerializeAndAppendToInternal() local 38 wptr = pu::WriteVarInt(pu::MakeTagVarInt(id_), wptr); in SerializeAndAppendToInternal() 39 wptr = pu::WriteVarInt(int_value_, wptr); in SerializeAndAppendToInternal() 43 wptr = pu::WriteVarInt(pu::MakeTagFixed<uint32_t>(id_), wptr); in SerializeAndAppendToInternal() 45 memcpy(wptr, &value32, sizeof(value32)); in SerializeAndAppendToInternal() 46 wptr += sizeof(uint32_t); in SerializeAndAppendToInternal() 50 wptr = pu::WriteVarInt(pu::MakeTagFixed<uint64_t>(id_), wptr); in SerializeAndAppendToInternal() 51 memcpy(wptr, &int_value_, sizeof(int_value_)); in SerializeAndAppendToInternal() 52 wptr += sizeof(uint64_t); in SerializeAndAppendToInternal() 57 wptr = pu::WriteVarInt(pu::MakeTagLengthDelimited(id_), wptr); in SerializeAndAppendToInternal() [all …]
|
D | proto_decoder_unittest.cc | 75 uint8_t* wptr = raw; in TEST() local 76 wptr = WriteVarInt(MakeTagLengthDelimited(2), wptr); in TEST() 77 wptr = WriteVarInt(kPayloadSize, wptr); in TEST() 78 message.AppendRawProtoBytes(raw, static_cast<size_t>(wptr - raw)); in TEST()
|
/external/webrtc/webrtc/common_audio/signal_processing/ |
D | auto_corr_to_refl_coef.c | 26 int16_t *acfptr, *pptr, *wptr, *p1ptr, *w1ptr, ACF[WEBRTC_SPL_MAX_LPC_ORDER], in WebRtcSpl_AutoCorrToReflCoef() local 35 wptr = w1ptr; in WebRtcSpl_AutoCorrToReflCoef() 46 *wptr++ = *acfptr; in WebRtcSpl_AutoCorrToReflCoef() 89 wptr = w1ptr; in WebRtcSpl_AutoCorrToReflCoef() 95 tmp = (int16_t)(((int32_t)*wptr * (int32_t)*K + 16384) >> 15); in WebRtcSpl_AutoCorrToReflCoef() 99 *wptr = WebRtcSpl_AddSatW16(*wptr, tmp); in WebRtcSpl_AutoCorrToReflCoef() 100 wptr++; in WebRtcSpl_AutoCorrToReflCoef()
|
/external/selinux/policycoreutils/run_init/ |
D | open_init_pty.c | 108 char *wptr; member 116 b->buf = b->wptr = b->rptr = buf; in rb_init() 129 if (b->rptr > b->wptr) in rb_space() 130 return b->rptr - b->wptr; in rb_space() 132 if (b->rptr < b->wptr || b->count == 0) in rb_space() 133 return b->buf + b->size - b->wptr; in rb_space() 141 if (b->rptr < b->wptr) in rb_chunk_size() 142 return b->wptr - b->rptr; in rb_chunk_size() 144 if (b->rptr > b->wptr || b->count > 0) in rb_chunk_size() 153 ssize_t n = read(fd, b->wptr, rb_space(b)); in rb_read() [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/test/Transforms/DeadStoreElimination/ |
D | merge-stores-big-endian.ll | 41 %wptr = bitcast i64* %ptr to i16* 42 %wptr1 = getelementptr inbounds i16, i16* %wptr, i64 1 43 %wptr2 = getelementptr inbounds i16, i16* %wptr, i64 2 44 %wptr3 = getelementptr inbounds i16, i16* %wptr, i64 3 67 %wptr = bitcast i64* %ptr to i16* 68 %wptr2 = getelementptr inbounds i16, i16* %wptr, i64 2 92 %wptr = bitcast i64* %ptr to i16* 93 %wptr1 = getelementptr inbounds i16, i16* %wptr, i64 1 116 %wptr = bitcast i64* %ptr to i16* 117 %wptr1 = getelementptr inbounds i16, i16* %wptr, i64 1
|
D | merge-stores.ll | 40 %wptr = bitcast i64* %ptr to i16* 41 %wptr1 = getelementptr inbounds i16, i16* %wptr, i64 1 42 %wptr2 = getelementptr inbounds i16, i16* %wptr, i64 2 43 %wptr3 = getelementptr inbounds i16, i16* %wptr, i64 3 65 %wptr = bitcast i64* %ptr to i16* 66 %wptr2 = getelementptr inbounds i16, i16* %wptr, i64 2 90 %wptr = bitcast i64* %ptr to i16* 91 %wptr1 = getelementptr inbounds i16, i16* %wptr, i64 1 114 %wptr = bitcast i64* %ptr to i16* 115 %wptr1 = getelementptr inbounds i16, i16* %wptr, i64 1
|
D | combined-partial-overwrites.ll | 52 %wptr = bitcast i32* %ptr to i16* 53 store i16 -30062, i16* %wptr 65 ; CHECK: store i16 -30062, i16* %wptr 85 %wptr = bitcast i8* %bptr to i16* 92 store i16 1346, i16* %wptr, align 1 100 ; CHECK: store i16 1346, i16* %wptr, align 1 122 %wptr = bitcast i8* %bptr to i16* 130 store i16 1346, i16* %wptr, align 1 188 %wptr = bitcast i8* %bptr to i16* 194 store i16 1346, i16* %wptr, align 1
|
/external/perfetto/src/tracing/core/ |
D | trace_buffer.h | 569 void WriteChunkRecord(uint8_t* wptr, in WriteChunkRecord() argument 582 DcheckIsAlignedAndWithinBounds(wptr); in WriteChunkRecord() 585 data_.EnsureCommitted(static_cast<size_t>(wptr + record.size - begin())); in WriteChunkRecord() 588 PERFETTO_CHECK(wptr + sizeof(record) + size <= end()); in WriteChunkRecord() 589 memcpy(wptr, &record, sizeof(record)); in WriteChunkRecord() 601 memcpy(wptr + sizeof(record), src, size); in WriteChunkRecord() 606 memset(wptr + sizeof(record) + size, 0, rounding_size); in WriteChunkRecord()
|
D | trace_writer_impl.cc | 280 uint8_t* const wptr = protobuf_stream_writer_.write_ptr(); in GetNewBuffer() local 281 PERFETTO_DCHECK(wptr >= cur_fragment_start_); in GetNewBuffer() 282 uint32_t partial_size = static_cast<uint32_t>(wptr - cur_fragment_start_); in GetNewBuffer()
|
D | trace_buffer.cc | 215 uint8_t* wptr = reinterpret_cast<uint8_t*>(prev); in CopyChunkUntrusted() local 216 TRACE_BUFFER_DLOG(" overriding chunk @ %lu, size=%zu", wptr - begin(), in CopyChunkUntrusted() 225 TRACE_BUFFER_DLOG(" copying @ [%lu - %lu] %zu", wptr - begin(), in CopyChunkUntrusted() 226 uintptr_t(wptr - begin()) + record_size, record_size); in CopyChunkUntrusted() 227 WriteChunkRecord(wptr, record, src, size); in CopyChunkUntrusted() 228 TRACE_BUFFER_DLOG("Chunk raw: %s", HexDump(wptr, record_size).c_str()); in CopyChunkUntrusted()
|
/external/clang/test/CodeGenObjCXX/ |
D | arc-pseudo-destructors.mm | 4 void test_objc_object_pseudo_dtor(__strong id *ptr, __weak id *wptr) { 11 wptr->~id(); 19 (*wptr).~id();
|
D | arc-new-delete.mm | 64 void test_delete(__strong id *sptr, __weak id *wptr) { 74 delete wptr; 80 void test_array_delete(__strong id *sptr, __weak id *wptr) { 103 delete [] wptr;
|
/external/perfetto/src/traced/probes/ftrace/kallsyms/ |
D | kernel_symbol_map.cc | 296 uint8_t* wptr = buf_.data(); in Parse() local 308 uint32_t size_before = static_cast<uint32_t>(wptr - buf_.data()); in Parse() 313 wptr = buf_.data() + size_before; in Parse() 322 wptr = protozero::proto_utils::WriteVarInt(delta, wptr); in Parse() 329 wptr = protozero::proto_utils::WriteVarInt(token_id, wptr); in Parse() 334 buf_.resize(static_cast<size_t>(wptr - buf_.data())); in Parse()
|
/external/llvm/test/Transforms/DeadStoreElimination/ |
D | combined-partial-overwrites.ll | 52 %wptr = bitcast i32* %ptr to i16* 53 store i16 -30062, i16* %wptr 65 ; CHECK: store i16 -30062, i16* %wptr 85 %wptr = bitcast i8* %bptr to i16* 92 store i16 1346, i16* %wptr, align 1 100 ; CHECK: store i16 1346, i16* %wptr, align 1 122 %wptr = bitcast i8* %bptr to i16* 130 store i16 1346, i16* %wptr, align 1 188 %wptr = bitcast i8* %bptr to i16* 194 store i16 1346, i16* %wptr, align 1
|
/external/libcups/filter/ |
D | raster.c | 2002 unsigned char *wptr; /* Pointer into write buffer */ in cups_raster_write() local 2033 wptr = realloc(r->buffer, count); in cups_raster_write() 2035 wptr = malloc(count); in cups_raster_write() 2037 if (!wptr) in cups_raster_write() 2043 r->buffer = wptr; in cups_raster_write() 2054 wptr = r->buffer; in cups_raster_write() 2055 *wptr++ = (unsigned char)(r->count - 1); in cups_raster_write() 2072 *wptr++ = 0; in cups_raster_write() 2073 (*cf)(wptr, start, bpp); in cups_raster_write() 2074 wptr += bpp; in cups_raster_write() [all …]
|
/external/perfetto/src/traced/probes/ftrace/test/data/android_walleye_OPM5.171019.017.A1_4.4.88/events/kgsl/adreno_hw_preempt_clear_to_trig/ |
D | format | 18 print fmt: "cur_rb_lvl=%d rptr=%x wptr=%x rbbase=%x new_rb_lvl=%d rptr=%x wptr=%x rbbase=%x", REC->…
|
/external/perfetto/src/traced/probes/ftrace/test/data/android_walleye_OPM5.171019.017.A1_4.4.88/events/kgsl/adreno_hw_preempt_trig_to_comp/ |
D | format | 18 print fmt: "cur_rb_lvl=%d rptr=%x wptr=%x rbbase=%x new_rb_lvl=%d rptr=%x wptr=%x rbbase=%x", REC->…
|
/external/perfetto/src/traced/probes/ftrace/test/data/android_walleye_OPM5.171019.017.A1_4.4.88/events/kgsl/adreno_hw_preempt_trig_to_comp_int/ |
D | format | 18 print fmt: "cur_rb_lvl=%d rptr=%x wptr=%x rbbase=%x new_rb_lvl=%d rptr=%x wptr=%x rbbase=%x", REC->…
|
/external/perfetto/src/traced/probes/ftrace/test/data/android_walleye_OPM5.171019.017.A1_4.4.88/events/kgsl/adreno_hw_preempt_token_submit/ |
D | format | 19 print fmt: "cur_rb_lvl=%d rptr=%x wptr_preempt_end=%x wptr=%x rbbase=%x new_rb_lvl=%d rptr=%x wptr=…
|
/external/perfetto/src/traced/probes/ftrace/test/data/android_hammerhead_MRA59G_3.4.0/events/kgsl/adreno_gpu_fault/ |
D | format | 14 field:unsigned int wptr; offset:28; size:4; signed:0; 20 …us=%X RB=%X/%X IB1=%X/%X IB2=%X/%X", REC->ctx, REC->ts, REC->status, REC->wptr, REC->rptr, REC->ib…
|
/external/perfetto/src/traced/probes/ftrace/test/data/android_seed_N2F62_3.10.49/events/kgsl/adreno_gpu_fault/ |
D | format | 13 field:unsigned int wptr; offset:24; size:4; signed:0; 19 …us=%X RB=%X/%X IB1=%X/%X IB2=%X/%X", REC->ctx, REC->ts, REC->status, REC->wptr, REC->rptr, REC->ib…
|
/external/perfetto/src/traced/probes/ftrace/test/data/android_walleye_OPM5.171019.017.A1_4.4.88/events/kgsl/adreno_hw_preempt_comp_to_clear/ |
D | format | 19 print fmt: "cur_rb_lvl=%d rptr=%x wptr=%x rbbase=%x prev_rb_lvl=%d rptr=%x wptr_preempt_end=%x wptr…
|
/external/perfetto/src/traced/probes/ftrace/test/data/android_walleye_OPM5.171019.017.A1_4.4.88/events/kgsl/adreno_gpu_fault/ |
D | format | 13 field:unsigned int wptr; offset:24; size:4; signed:0; 20 …%X IB1=%X/%X IB2=%X/%X", REC->ctx, REC->ts, REC->rb_id, REC->status, REC->wptr, REC->rptr, REC->ib…
|
/external/perfetto/src/traced/probes/ftrace/test/data/android_walleye_OPM5.171019.017.A1_4.4.88/events/kgsl/adreno_cmdbatch_submitted/ |
D | format | 19 field:unsigned int wptr; offset:60; size:4; signed:0; 22 …" }) : "none", REC->ticks, REC->secs, REC->usecs, REC->rb_id, REC->rptr, REC->wptr, REC->q_inflight
|
/external/perfetto/src/traced/probes/ftrace/test/data/android_walleye_OPM5.171019.017.A1_4.4.88/events/kgsl/adreno_cmdbatch_retired/ |
D | format | 19 field:unsigned int wptr; offset:60; size:4; signed:0; 23 …, "IB_LIST" }) : "none", REC->start, REC->retire, REC->rb_id, REC->rptr, REC->wptr, REC->q_inflight
|