Home
last modified time | relevance | path

Searched refs:write_ptr (Results 1 – 14 of 14) sorted by relevance

/external/speex/libspeex/
Dbuffer.c47 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/skia/third_party/libpng/
Dpngtest.c762 write_sTER_chunk(png_structp write_ptr) in write_sTER_chunk() argument
769 png_write_chunk(write_ptr, sTER, &user_chunk_data.sTER_mode, 1); in write_sTER_chunk()
773 write_vpAg_chunk(png_structp write_ptr) in write_vpAg_chunk() argument
788 png_write_chunk(write_ptr, vpAg, vpag_chunk_data, 9); in write_vpAg_chunk()
792 write_chunks(png_structp write_ptr, int location) in write_chunks() argument
805 write_sTER_chunk(write_ptr); in write_chunks()
808 write_vpAg_chunk(write_ptr); in write_chunks()
869 png_structp write_ptr; in test_one_file() local
876 png_structp write_ptr = NULL; in test_one_file() local
917 write_ptr = in test_one_file()
[all …]
Dexample.c910 png_set_text(write_ptr, write_info_ptr, text_ptr, 3);
Dlibpng-manual.txt2700 "read_ptr" and "write_ptr". Look at pngtest.c, for example.
3299 png_set_unknown_chunks(write_ptr, write_info_ptr,
3688 png_data_freer(write_ptr, write_info_ptr,
4190 png_set_write_fn(png_structp write_ptr,
4195 voidp write_io_ptr = png_get_io_ptr(write_ptr);
/external/libpng/
Dpngtest.c763 write_sTER_chunk(png_structp write_ptr) in write_sTER_chunk() argument
770 png_write_chunk(write_ptr, sTER, &user_chunk_data.sTER_mode, 1); in write_sTER_chunk()
774 write_vpAg_chunk(png_structp write_ptr) in write_vpAg_chunk() argument
789 png_write_chunk(write_ptr, vpAg, vpag_chunk_data, 9); in write_vpAg_chunk()
793 write_chunks(png_structp write_ptr, int location) in write_chunks() argument
806 write_sTER_chunk(write_ptr); in write_chunks()
809 write_vpAg_chunk(write_ptr); in write_chunks()
870 png_structp write_ptr; in test_one_file() local
877 png_structp write_ptr = NULL; in test_one_file() local
918 write_ptr = in test_one_file()
[all …]
Dexample.c910 png_set_text(write_ptr, write_info_ptr, text_ptr, 3);
Dlibpng-manual.txt2705 "read_ptr" and "write_ptr". Look at pngtest.c, for example.
3304 png_set_unknown_chunks(write_ptr, write_info_ptr,
3693 png_data_freer(write_ptr, write_info_ptr,
4195 png_set_write_fn(png_structp write_ptr,
4200 voidp write_io_ptr = png_get_io_ptr(write_ptr);
/external/syslinux/com32/lib/libpng/
Dpngtest.c694 png_structp write_ptr; in test_one_file() local
698 png_structp write_ptr = NULL; in test_one_file() local
772 write_ptr = in test_one_file()
777 write_ptr = in test_one_file()
782 png_set_error_fn(write_ptr, (png_voidp)inname, pngtest_error, in test_one_file()
790 write_info_ptr = png_create_info_struct(write_ptr); in test_one_file()
791 write_end_info_ptr = png_create_info_struct(write_ptr); in test_one_file()
807 png_destroy_info_struct(write_ptr, &write_end_info_ptr); in test_one_file()
808 png_destroy_write_struct(&write_ptr, &write_info_ptr); in test_one_file()
823 if (setjmp(png_jmpbuf(write_ptr))) in test_one_file()
[all …]
Dlibpng.txt1541 "read_ptr" and "write_ptr". Look at pngtest.c, for example.
2312 png_data_freer(write_ptr, write_info_ptr,
2395 png_set_write_fn(png_structp write_ptr,
2400 voidp write_io_ptr = png_get_io_ptr(write_ptr);
/external/syslinux/gpxe/src/drivers/net/
Detherfabric_nic.h104 unsigned int write_ptr; member
122 unsigned int write_ptr; member
Detherfabric.c3512 tx_queue->read_ptr = tx_queue->write_ptr = 0; in falcon_init_resources()
3513 rx_queue->read_ptr = rx_queue->write_ptr = 0; in falcon_init_resources()
3613 int ptr = rx_queue->write_ptr % EFAB_RXD_SIZE; in falcon_notify_rx_desc()
3641 int ptr = tx_queue->write_ptr % EFAB_TXD_SIZE; in falcon_notify_tx_desc()
3660 int fill_level = rx_queue->write_ptr - rx_queue->read_ptr; in efab_fill_rx_queue()
3665 int buf_id = rx_queue->write_ptr % EFAB_NUM_RX_DESC; in efab_fill_rx_queue()
3666 int desc_id = rx_queue->write_ptr % EFAB_RXD_SIZE; in efab_fill_rx_queue()
3681 ++rx_queue->write_ptr; in efab_fill_rx_queue()
3690 fill_level = rx_queue->write_ptr - rx_queue->read_ptr; in efab_fill_rx_queue()
3745 fill_level = tx_queue->write_ptr - tx_queue->read_ptr; in efab_transmit()
[all …]
/external/libpng/contrib/libtests/
Dtimepng.c84 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/libmojo/mojo/edk/system/
Ddata_pipe_unittest.cc689 void* write_ptr = nullptr; in TEST_F() local
690 ASSERT_EQ(MOJO_RESULT_OK, BeginWriteData(&write_ptr, &num_bytes)); in TEST_F()
691 EXPECT_TRUE(write_ptr); in TEST_F()
710 static_cast<int32_t*>(write_ptr)[0] = 123; in TEST_F()
733 write_ptr = nullptr; in TEST_F()
734 ASSERT_EQ(MOJO_RESULT_OK, BeginWriteData(&write_ptr, &num_bytes)); in TEST_F()
735 EXPECT_TRUE(write_ptr); in TEST_F()
1359 void* write_ptr = nullptr; in TEST_F() local
1360 ASSERT_EQ(MOJO_RESULT_OK, BeginWriteData(&write_ptr, &num_bytes)); in TEST_F()
1378 write_ptr = nullptr; in TEST_F()
[all …]
Dcore_unittest.cc900 void* write_ptr = nullptr; in TEST_F() local
903 core()->BeginWriteData(ph, &write_ptr, &num_bytes, in TEST_F()
916 static_cast<char*>(write_ptr)[0] = 'C'; in TEST_F()
917 static_cast<char*>(write_ptr)[1] = 'D'; in TEST_F()
918 static_cast<char*>(write_ptr)[2] = 'E'; in TEST_F()
1152 void* write_ptr = nullptr; in TEST_F() local
1155 core()->BeginWriteData(ph, &write_ptr, &num_bytes, in TEST_F()
1183 static_cast<char*>(write_ptr)[0] = 'x'; in TEST_F()