/external/speex/libspeexdsp/ |
D | buffer.c | 47 int write_ptr; member 57 st->write_ptr = 0; in speex_buffer_init() 78 end = st->write_ptr + len; in speex_buffer_write() 82 SPEEX_COPY(st->data + st->write_ptr, data, end1 - st->write_ptr); in speex_buffer_write() 86 SPEEX_COPY(st->data, data+end1 - st->write_ptr, end); in speex_buffer_write() 92 st->read_ptr = st->write_ptr; in speex_buffer_write() 94 st->write_ptr += len; in speex_buffer_write() 95 if (st->write_ptr > st->size) in speex_buffer_write() 96 st->write_ptr -= st->size; in speex_buffer_write() 110 end = st->write_ptr + len; in speex_buffer_writezeros() [all …]
|
/external/libpng/ |
D | pngtest.c | 754 write_sTER_chunk(png_structp write_ptr) in write_sTER_chunk() argument 761 png_write_chunk(write_ptr, sTER, &user_chunk_data.sTER_mode, 1); in write_sTER_chunk() 765 write_vpAg_chunk(png_structp write_ptr) in write_vpAg_chunk() argument 780 png_write_chunk(write_ptr, vpAg, vpag_chunk_data, 9); in write_vpAg_chunk() 784 write_chunks(png_structp write_ptr, int location) in write_chunks() argument 797 write_sTER_chunk(write_ptr); in write_chunks() 800 write_vpAg_chunk(write_ptr); in write_chunks() 861 png_structp write_ptr; in test_one_file() local 868 png_structp write_ptr = NULL; in test_one_file() local 909 write_ptr = in test_one_file() [all …]
|
D | example.c | 886 png_set_text(write_ptr, write_info_ptr, text_ptr, 3);
|
/external/perfetto/include/perfetto/public/ |
D | stream_writer.h | 29 return PERFETTO_STATIC_CAST(size_t, w->end - w->write_ptr); in PerfettoStreamWriterAvailableBytes() 40 memcpy(w->write_ptr, src, size); in PerfettoStreamWriterAppendBytesUnsafe() 41 w->write_ptr += size; in PerfettoStreamWriterAppendBytesUnsafe() 63 *w->write_ptr++ = value; in PerfettoStreamWriterAppendByte() 74 uint8_t* ret = w->write_ptr; in PerfettoStreamWriterReserveBytesUnsafe() 76 w->write_ptr += size; in PerfettoStreamWriterReserveBytesUnsafe() 93 return w->write_ptr - size; in PerfettoStreamWriterReserveBytes() 100 PERFETTO_STATIC_CAST(size_t, w->write_ptr - w->begin); in PerfettoStreamWriterGetWrittenSize()
|
D | data_source.h | 89 uint8_t* write_ptr = data_source_desc; in PerfettoDsRegister() local 91 write_ptr = PerfettoPbWriteVarInt( in PerfettoDsRegister() 93 write_ptr); in PerfettoDsRegister() 94 write_ptr = PerfettoPbWriteVarInt(data_source_name_len, write_ptr); in PerfettoDsRegister() 95 memcpy(write_ptr, data_source_name, data_source_name_len); in PerfettoDsRegister() 96 write_ptr += data_source_name_len; in PerfettoDsRegister() 126 PERFETTO_STATIC_CAST(size_t, write_ptr - data_source_desc)); in PerfettoDsRegister()
|
/external/perfetto/include/perfetto/protozero/ |
D | scattered_stream_writer.h | 132 uint8_t* write_ptr() const { return write_ptr_; } in write_ptr() function 134 void set_write_ptr(uint8_t* write_ptr) { in set_write_ptr() argument 135 assert(cur_range_.begin <= write_ptr && write_ptr <= cur_range_.end); in set_write_ptr() 136 write_ptr_ = write_ptr; in set_write_ptr()
|
D | static_buffer.h | 77 return static_cast<size_t>(writer_.write_ptr() - delegate_.range_.begin); in Finalize()
|
/external/ltp/testcases/kernel/mem/thp/ |
D | thp04.c | 36 static int *write_ptr, *read_ptr; variable 93 write_ptr = (int *)(write_thp + thp_size - sizeof(int)); in setup() 109 memcpy(&c, write_ptr, sizeof(c)); in thread_run() 110 SAFE_LSEEK(readfd, (off_t)write_ptr, SEEK_SET); in thread_run() 129 SAFE_LSEEK(writefd, (off_t)write_ptr, SEEK_SET); in run()
|
/external/perfetto/src/shared_lib/ |
D | stream_writer.cc | 28 sw->set_write_ptr(w->write_ptr); in PerfettoStreamWriterUpdateWritePtr() 33 sw->set_write_ptr(w->write_ptr); in PerfettoStreamWriterNewChunk() 52 sw->set_write_ptr(w->write_ptr); in PerfettoStreamWriterAppendBytesSlowpath() 60 sw->set_write_ptr(w->write_ptr); in PerfettoStreamWriterReserveBytesSlowpath()
|
D | stream_writer.h | 31 w->write_ptr = sw.write_ptr(); in UpdateStreamWriter()
|
D | heap_buffer.cc | 39 sw->set_write_ptr(w->write_ptr); in PerfettoHeapBufferCopyInto()
|
D | data_source.cc | 444 sw->set_write_ptr(w->write_ptr); in PerfettoDsTracerImplPacketEnd()
|
/external/cronet/base/memory/ |
D | shared_memory_mapping_unittest.cc | 47 uint32_t* write_ptr = write_mapping_.GetMemoryAs<uint32_t>(); in TEST_F() local 48 EXPECT_NE(nullptr, write_ptr); in TEST_F() 53 *write_ptr = 0u; in TEST_F() 56 *write_ptr = 0x12345678u; in TEST_F()
|
/external/libwebm/testing/ |
D | video_frame_tests.cc | 42 uint8_t* write_ptr = reinterpret_cast<uint8_t*>(frame.buffer().data.get()); in TEST() local 43 *write_ptr = 0xFF; in TEST()
|
/external/libchrome/mojo/core/ |
D | core_unittest.cc | 349 void* write_ptr = nullptr; in TEST_F() local 352 core()->BeginWriteData(ph, nullptr, &write_ptr, &num_bytes)); in TEST_F() 363 static_cast<char*>(write_ptr)[0] = 'C'; in TEST_F() 364 static_cast<char*>(write_ptr)[1] = 'D'; in TEST_F() 365 static_cast<char*>(write_ptr)[2] = 'E'; in TEST_F()
|
D | data_pipe_unittest.cc | 762 void* write_ptr = nullptr; in TEST_F() local 763 ASSERT_EQ(MOJO_RESULT_OK, BeginWriteData(&write_ptr, &num_bytes)); in TEST_F() 764 EXPECT_TRUE(write_ptr); in TEST_F() 782 static_cast<int32_t*>(write_ptr)[0] = 123; in TEST_F() 806 write_ptr = nullptr; in TEST_F() 807 ASSERT_EQ(MOJO_RESULT_OK, BeginWriteData(&write_ptr, &num_bytes)); in TEST_F() 808 EXPECT_TRUE(write_ptr); in TEST_F() 1432 void* write_ptr = nullptr; in TEST_F() local 1433 ASSERT_EQ(MOJO_RESULT_OK, BeginWriteData(&write_ptr, &num_bytes)); in TEST_F() 1451 write_ptr = nullptr; in TEST_F() [all …]
|
/external/perfetto/src/tracing/core/ |
D | trace_writer_impl.cc | 145 cur_fragment_start_ = protobuf_stream_writer_.write_ptr(); in NewTracePacket() 297 uint8_t* const wptr = protobuf_stream_writer_.write_ptr(); in GetNewBuffer() 375 uint8_t* const wptr = protobuf_stream_writer_.write_ptr(); in FinishTracePacket()
|
/external/zstd/doc/educational_decoder/ |
D | zstd_decompress.c | 613 u8 *const write_ptr = IO_get_write_ptr(out, block_len); in decompress_data() local 616 memcpy(write_ptr, read_ptr, block_len); in decompress_data() 626 u8 *const write_ptr = IO_get_write_ptr(out, block_len); in decompress_data() local 629 memset(write_ptr, read_ptr[0], block_len); in decompress_data() 1275 u8 *const write_ptr = IO_get_write_ptr(out, literal_length); in copy_literals() local 1279 memcpy(write_ptr, read_ptr, literal_length); in copy_literals() 1335 u8 *write_ptr = IO_get_write_ptr(out, match_length); in execute_match_copy() local 1352 memcpy(write_ptr, ctx->dict_content + dict_offset, dict_copy); in execute_match_copy() 1353 write_ptr += dict_copy; in execute_match_copy() 1365 *write_ptr = *(write_ptr - offset); in execute_match_copy() [all …]
|
/external/rust/crates/grpcio-sys/grpc/src/core/ext/filters/http/client/ |
D | http_client_filter.cc | 326 char* write_ptr = in update_path_for_get() local 330 memcpy(write_ptr, original_path, GRPC_SLICE_LENGTH(path_slice)); in update_path_for_get() 331 write_ptr += GRPC_SLICE_LENGTH(path_slice); in update_path_for_get() 332 *write_ptr++ = '?'; in update_path_for_get() 335 grpc_base64_encode_core(write_ptr, payload_bytes, in update_path_for_get()
|
/external/grpc-grpc/src/core/ext/filters/http/client/ |
D | http_client_filter.cc | 269 char* write_ptr = in update_path_for_get() local 273 memcpy(write_ptr, original_path, GRPC_SLICE_LENGTH(path_slice)); in update_path_for_get() 274 write_ptr += GRPC_SLICE_LENGTH(path_slice); in update_path_for_get() 275 *write_ptr++ = '?'; in update_path_for_get() 278 grpc_base64_encode_core(write_ptr, payload_bytes, in update_path_for_get()
|
/external/libpng/contrib/libtests/ |
D | timepng.c | 83 FILE *write_ptr, FILE *read_ptr) in read_by_row() argument 91 if (write_ptr != NULL) in read_by_row() 95 io_copy.output = write_ptr; in read_by_row()
|
/external/perfetto/include/perfetto/public/abi/ |
D | stream_writer_abi.h | 55 uint8_t* write_ptr; member
|
/external/perfetto/src/protozero/ |
D | scattered_stream_writer_unittest.cc | 103 EXPECT_EQ(other_buffer, ssw.write_ptr()); in TEST()
|
/external/OpenCL-CTS/test_conformance/basic/ |
D | test_progvar.cpp | 1182 cl_uchar* write_ptr = (cl_uchar*)clEnqueueMapBuffer( in l_write_read_for_type() local 1226 clEnqueueUnmapMemObject(queue, write_mem, write_ptr, 0, 0, 0); in l_write_read_for_type() 1396 cl_uchar* write_ptr = (cl_uchar*)clEnqueueMapBuffer( in l_init_write_read_for_type() local 1473 clEnqueueUnmapMemObject(queue, write_mem, write_ptr, 0, 0, 0); in l_init_write_read_for_type()
|
/external/fmtlib/test/ |
D | format-impl-test.cc | 435 fmt::detail::write_ptr<char>( in TEST()
|