Searched refs:new_buf (Results 1 - 6 of 6) sorted by relevance

/haiku/src/system/libroot/posix/glibc/libio/
H A Dstrops.c146 char *new_buf; local
149 new_buf
151 if (new_buf == NULL)
158 memcpy (new_buf, old_buf, _IO_blen (fp));
165 memset (new_buf + pos, 0, blen() - pos);
167 INTUSE(_IO_setb) (fp, new_buf, new_buf + new_size, 1);
168 fp->_IO_read_base = new_buf + (fp->_IO_read_base - old_buf);
169 fp->_IO_read_ptr = new_buf + (fp->_IO_read_ptr - old_buf);
170 fp->_IO_read_end = new_buf
[all...]
H A Dwstrops.c144 wchar_t *new_buf; local
147 new_buf
150 if (new_buf == NULL)
157 __wmemcpy (new_buf, old_buf, _IO_wblen (fp));
162 INTUSE(_IO_wsetb) (fp, new_buf, new_buf + new_size, 1);
164 new_buf + (fp->_wide_data->_IO_read_base - old_buf);
166 new_buf + (fp->_wide_data->_IO_read_ptr - old_buf);
168 new_buf + (fp->_wide_data->_IO_read_end - old_buf);
170 new_buf
[all...]
H A Dwgenops.c175 wchar_t *new_buf; variable
177 new_buf = (wchar_t *) malloc (new_size * sizeof (wchar_t));
178 if (new_buf == NULL)
180 __wmemcpy (new_buf + (new_size - old_size),
183 _IO_wsetg (fp, new_buf, new_buf + (new_size - old_size),
184 new_buf + new_size);
H A Dgenops.c1133 char *new_buf; variable
1135 new_buf = (char *) malloc (new_size);
1136 if (new_buf == NULL)
1138 memcpy (new_buf + (new_size - old_size), fp->_IO_read_base,
1141 _IO_setg (fp, new_buf, new_buf + (new_size - old_size),
1142 new_buf + new_size);
/haiku/src/add-ons/accelerants/radeon/
H A Doverlay.c967 int /*old_buf, */new_buf;
972 new_buf = old_buf == 0 ? 3 : 0;
974 si->overlay_mgr.auto_flip_reg |= new_buf;*/
975 new_buf = 0;
987 new_buf == 0 ? RADEON_OV0_VID_BUF_PITCH0_VALUE : RADEON_OV0_VID_BUF_PITCH1_VALUE,
990 new_buf == 0 ? RADEON_OV0_VID_BUF0_BASE_ADRS : RADEON_OV0_VID_BUF3_BASE_ADRS,
991 offset | (new_buf == 0 ? 0 : RADEON_VIF_BUF0_PITCH_SEL));
/haiku/src/add-ons/kernel/file_systems/ntfs/utils/
H A Dmkntfs.c488 long long *new_buf; local
491 new_buf = realloc(g_bad_blocks, (g_num_bad_blocks + 16) *
493 if (!new_buf) {
498 g_bad_blocks = new_buf;

Completed in 49 milliseconds