Searched refs:new_buf (Results 1 - 9 of 9) sorted by relevance
/haiku-fatelf/src/system/libroot/posix/glibc/libio/ |
H A D | strops.c | 146 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 D | wstrops.c | 144 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 D | genops.c | 1131 char *new_buf; variable 1133 new_buf = (char *) malloc (new_size); 1134 if (new_buf == NULL) 1136 memcpy (new_buf + (new_size - old_size), fp->_IO_read_base, 1139 _IO_setg (fp, new_buf, new_buf + (new_size - old_size), 1140 new_buf + new_size);
|
H A D | wgenops.c | 175 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);
|
/haiku-fatelf/src/add-ons/translators/webp/libwebp/enc/ |
H A D | bit_writer.c | 24 uint8_t* new_buf; local 32 new_buf = (uint8_t*)malloc(new_size); 33 if (new_buf == NULL) { 37 if (bw->pos_ > 0) memcpy(new_buf, bw->buf_, bw->pos_); 39 bw->buf_ = new_buf;
|
/haiku-fatelf/src/bin/less/ |
H A D | line.c | 101 char *new_buf = (char *) realloc(linebuf, new_size); local 104 char *new_buf = (char *) calloc(new_size, sizeof(char)); local 107 if (new_buf == NULL || new_attr == NULL) 111 if (new_buf != NULL) 112 free(new_buf); 120 memset(new_buf + size_linebuf, 0, new_size - size_linebuf); 127 memcpy(new_buf, linebuf, size_linebuf * sizeof(char)); 132 linebuf = new_buf;
|
/haiku-fatelf/src/add-ons/accelerants/radeon/ |
H A D | overlay.c | 968 int /*old_buf, */new_buf; 973 new_buf = old_buf == 0 ? 3 : 0; 975 si->overlay_mgr.auto_flip_reg |= new_buf;*/ 976 new_buf = 0; 988 new_buf == 0 ? RADEON_OV0_VID_BUF_PITCH0_VALUE : RADEON_OV0_VID_BUF_PITCH1_VALUE, 991 new_buf == 0 ? RADEON_OV0_VID_BUF0_BASE_ADRS : RADEON_OV0_VID_BUF3_BASE_ADRS, 992 offset | (new_buf == 0 ? 0 : RADEON_VIF_BUF0_PITCH_SEL));
|
/haiku-fatelf/src/add-ons/kernel/file_systems/ntfs/utils/ |
H A D | mkntfs.c | 428 long long *new_buf; local 431 new_buf = realloc(g_bad_blocks, (g_num_bad_blocks + 16) * 433 if (!new_buf) { 438 g_bad_blocks = new_buf;
|
/haiku-fatelf/src/tools/docbook/libxml2/ |
H A D | parser.c | 3805 xmlChar *new_buf; local 3807 new_buf = (xmlChar *) xmlRealloc(buf, size * sizeof(xmlChar)); 3808 if (new_buf == NULL) { 3813 buf = new_buf; 3935 xmlChar *new_buf; local 3937 new_buf = (xmlChar *) xmlRealloc(buf, 3939 if (new_buf == NULL) { 3945 buf = new_buf;
|
Completed in 136 milliseconds