/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 | 885 png_set_text(write_ptr, write_info_ptr, text_ptr, 3);
|
D | libpng-manual.txt | 2754 "read_ptr" and "write_ptr". Look at pngtest.c, for example. 3358 png_set_unknown_chunks(write_ptr, write_info_ptr, 3747 png_data_freer(write_ptr, write_info_ptr, 4249 png_set_write_fn(png_structp write_ptr, 4254 voidp write_io_ptr = png_get_io_ptr(write_ptr);
|
/external/adhd/cras/src/server/ |
D | test_iodev.c | 116 uint8_t *write_ptr; in get_buffer_fd_read() local 124 write_ptr = buf_write_pointer_size(testio->audbuff, &avail); in get_buffer_fd_read() 126 nread = read(testio->fd, write_ptr, avail); in get_buffer_fd_read() 138 write_ptr); in get_buffer_fd_read() 241 uint8_t *write_ptr; in test_iodev_add_samples() local 243 write_ptr = buf_write_pointer_size(testio->audbuff, &avail); in test_iodev_add_samples() 245 memcpy(write_ptr, samples, (size_t)count * (size_t)testio->fmt_bytes); in test_iodev_add_samples()
|
/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/libpng/contrib/libtests/ |
D | timepng.c | 84 FILE *write_ptr, FILE *read_ptr) in read_by_row() argument 92 if (write_ptr != NULL) in read_by_row() 96 io_copy.output = write_ptr; in read_by_row()
|
/external/rust/crates/grpcio-sys/grpc/src/core/ext/filters/http/client/ |
D | http_client_filter.cc | 319 char* write_ptr = in update_path_for_get() local 323 memcpy(write_ptr, original_path, GRPC_SLICE_LENGTH(path_slice)); in update_path_for_get() 324 write_ptr += GRPC_SLICE_LENGTH(path_slice); in update_path_for_get() 325 *write_ptr++ = '?'; in update_path_for_get() 328 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/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/perfetto/include/perfetto/protozero/ |
D | static_buffer.h | 77 return static_cast<size_t>(writer_.write_ptr() - delegate_.range_.begin); in Finalize()
|
D | scattered_stream_writer.h | 107 uint8_t* write_ptr() const { return write_ptr_; } in write_ptr() function
|
/external/perfetto/src/tracing/core/ |
D | trace_writer_impl.cc | 144 cur_fragment_start_ = protobuf_stream_writer_.write_ptr(); in NewTracePacket() 291 uint8_t* const wptr = protobuf_stream_writer_.write_ptr(); in GetNewBuffer()
|
/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 | 971 …cl_uchar *write_ptr = (cl_uchar *)clEnqueueMapBuffer(queue, write_mem, CL_TRUE, CL_MAP_WRITE, 0, w… in l_write_read_for_type() local 1002 clEnqueueUnmapMemObject(queue, write_mem, write_ptr, 0, 0, 0); in l_write_read_for_type() 1125 …cl_uchar *write_ptr = (cl_uchar *)clEnqueueMapBuffer(queue, write_mem, CL_TRUE, CL_MAP_WRITE, 0, w… in l_init_write_read_for_type() local 1182 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()
|
/external/fmtlib/include/fmt/ |
D | format.h | 1987 OutputIt write_ptr(OutputIt out, UIntPtr value, 2080 return write_ptr<Char>(out, to_uintptr(value), nullptr); 2183 out_ = write_ptr<char_type>(out_, to_uintptr(p), specs_);
|
/external/rust/crates/nix/ |
D | CHANGELOG.md | 720 - Added "bad none", "bad write_ptr", "bad write_int", and "bad readwrite" variants to the `ioctl!` 729 - Changed `ioctl!(write ...)` into `ioctl!(write_ptr ...)` and `ioctl!(write_int ..)` variants
|