Home
last modified time | relevance | path

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

/external/libpng/
Dpngtest.c128 #define png_convert_to_rfc1123_buffer(ts, t) tIME_to_str(read_ptr, ts, t)
858 png_structp read_ptr; in test_one_file() local
897 read_ptr = in test_one_file()
901 read_ptr = in test_one_file()
904 png_set_error_fn(read_ptr, &error_parameters, pngtest_error, in test_one_file()
920 read_info_ptr = png_create_info_struct(read_ptr); in test_one_file()
921 end_info_ptr = png_create_info_struct(read_ptr); in test_one_file()
929 png_set_read_user_chunk_fn(read_ptr, &user_chunk_data, in test_one_file()
935 if (setjmp(png_jmpbuf(read_ptr))) in test_one_file()
938 png_free(read_ptr, row_buf); in test_one_file()
[all …]
Dlibpng-manual.txt643 png_set_keep_unknown_chunks(read_ptr, 2, NULL, 0);
646 png_set_keep_unknown_chunks(read_ptr, 2, vpAg, 1);
649 png_set_keep_unknown_chunks(read_ptr, 1, unused_chunks,
2753 "read_ptr" and "write_ptr". Look at pngtest.c, for example.
3742 png_data_freer(read_ptr, read_info_ptr,
4245 png_set_read_fn(png_structp read_ptr,
4252 voidp read_io_ptr = png_get_io_ptr(read_ptr);
/external/speex/libspeexdsp/
Dbuffer.c46 int read_ptr; member
56 st->read_ptr = 0; in speex_buffer_init()
92 st->read_ptr = st->write_ptr; in speex_buffer_write()
124 st->read_ptr = st->write_ptr; in speex_buffer_writezeros()
141 end = st->read_ptr + len; in speex_buffer_read()
145 SPEEX_COPY(data, st->data + st->read_ptr, end1 - st->read_ptr); in speex_buffer_read()
150 SPEEX_COPY(data+end1 - st->read_ptr, st->data, end); in speex_buffer_read()
153 st->read_ptr += len; in speex_buffer_read()
154 if (st->read_ptr > st->size) in speex_buffer_read()
155 st->read_ptr -= st->size; in speex_buffer_read()
/external/webrtc/webrtc/modules/audio_processing/transient/
Dtransient_suppression_test.cc87 int16_t* read_ptr = audio_buffer; in ReadBuffers() local
90 read_ptr = tmpbuf.get(); in ReadBuffers()
92 if (fread(read_ptr, in ReadBuffers()
93 sizeof(*read_ptr), in ReadBuffers()
103 read_ptr[i + j * num_channels]; in ReadBuffers()
/external/e2fsprogs/lib/ext2fs/
Dundo_io.c329 unsigned char *read_ptr; in undo_write_tdb() local
391 retval = ext2fs_get_mem(data->tdb_data_size, &read_ptr); in undo_write_tdb()
396 memset(read_ptr, 0, data->tdb_data_size); in undo_write_tdb()
403 sz, read_ptr); in undo_write_tdb()
406 free(read_ptr); in undo_write_tdb()
418 free(read_ptr); in undo_write_tdb()
443 blk_crc = ext2fs_crc32c_le(blk_crc, read_ptr, data_size); in undo_write_tdb()
451 blk_crc = ext2fs_crc32c_le(~0, read_ptr, data_size); in undo_write_tdb()
460 data->undo_blk_num, sz, read_ptr); in undo_write_tdb()
462 free(read_ptr); in undo_write_tdb()
[all …]
/external/linux-kselftest/tools/testing/selftests/x86/
Dprotection_keys.c994 __attribute__((noinline)) int read_ptr(int *ptr) in read_ptr() function
1009 ptr_contents = read_ptr(ptr); in test_read_of_write_disabled_region()
1020 ptr_contents = read_ptr(ptr); in test_read_of_access_disabled_region()
1268 peek_result = read_ptr(ptr); in test_ptrace_of_child()
1278 peek_result = read_ptr(plain_ptr); in test_ptrace_of_child()
1322 ptr_contents = read_ptr(p1); in test_executing_on_unreadable_memory()
1337 ptr_contents = read_ptr(p1); in test_executing_on_unreadable_memory()
1353 ptr_contents = read_ptr(p1); in test_implicit_mprotect_exec_only_memory()
1366 ptr_contents = read_ptr(p1); in test_implicit_mprotect_exec_only_memory()
1381 ptr_contents = read_ptr(p1); in test_implicit_mprotect_exec_only_memory()
/external/libchrome/mojo/core/
Dcore_unittest.cc411 const void* read_ptr = nullptr; in TEST_F() local
414 core()->BeginReadData(ch, nullptr, &read_ptr, &num_bytes)); in TEST_F()
425 ASSERT_EQ('C', static_cast<const char*>(read_ptr)[0]); in TEST_F()
426 ASSERT_EQ('D', static_cast<const char*>(read_ptr)[1]); in TEST_F()
427 ASSERT_EQ('E', static_cast<const char*>(read_ptr)[2]); in TEST_F()
Ddata_pipe_unittest.cc827 const void* read_ptr = nullptr; in TEST_F() local
828 ASSERT_EQ(MOJO_RESULT_OK, BeginReadData(&read_ptr, &num_bytes)); in TEST_F()
829 EXPECT_TRUE(read_ptr); in TEST_F()
1499 const void* read_ptr = nullptr; in TEST_F() local
1500 ASSERT_EQ(MOJO_RESULT_OK, BeginReadData(&read_ptr, &num_bytes)); in TEST_F()
1512 read_ptr = nullptr; in TEST_F()
1513 ASSERT_EQ(MOJO_RESULT_OK, BeginReadData(&read_ptr, &num_bytes)); in TEST_F()
1515 ASSERT_EQ(123, static_cast<const int32_t*>(read_ptr)[0]); in TEST_F()
/external/mesa3d/src/gallium/drivers/r300/compiler/
Dradeon_pair_schedule.c415 struct rc_list * read_ptr; in notify_sem_wait() local
417 for (read_ptr = pending->TexReaders; read_ptr; in notify_sem_wait()
418 read_ptr = read_ptr->Next) { in notify_sem_wait()
419 struct schedule_instruction * reader = read_ptr->Item; in notify_sem_wait()
/external/libpng/contrib/libtests/
Dtimepng.c84 FILE *write_ptr, FILE *read_ptr) in read_by_row() argument
95 io_copy.input = read_ptr; in read_by_row()
/external/e2fsprogs/misc/
Dbadblocks.c745 unsigned char *blkbuf, *save_ptr, *test_ptr, *read_ptr; in test_nd() local
933 read_ptr = read_base; in test_nd()
945 got = do_read (dev, read_ptr, try, in test_nd()
952 read_ptr+i*block_size, block_size)) in test_nd()
966 read_ptr += got * block_size; in test_nd()
/external/e2fsprogs/intl/
Dloadmsgcat.c978 char *read_ptr; in _nl_load_domain() local
985 read_ptr = (char *) data; in _nl_load_domain()
988 long int nb = (long int) read (fd, read_ptr, to_read); in _nl_load_domain()
998 read_ptr += nb; in _nl_load_domain()
/external/u-boot/drivers/misc/
Dcros_ec.c1077 uint8_t *pdata, *read_ptr = NULL; in cros_ec_i2c_tunnel() local
1100 read_ptr = in->buf; in cros_ec_i2c_tunnel()
1133 memcpy(read_ptr, r->data, read_len); in cros_ec_i2c_tunnel()
/external/e2fsprogs/tests/u_mke2fs_opt_offset/
Dscript86 # * data_ptr was set to read_ptr - 2048