/haiku/headers/os/media/ |
H A D | RealtimeAlloc.h | 29 status_t rtm_realloc(void** data, size_t new_size);
|
/haiku/src/system/libroot/posix/glibc/extensions/ |
H A D | obstack.c | 287 register long new_size; local 294 new_size = (obj_size + length) + (obj_size >> 3) + h->alignment_mask + 100; 295 if (new_size < h->chunk_size) 296 new_size = h->chunk_size; 299 new_chunk = CALL_CHUNKFUN (h, new_size); 304 new_chunk->limit = h->chunk_limit = (char *) new_chunk + new_size;
|
/haiku/src/system/libroot/posix/unistd/ |
H A D | brk.c | 118 size_t new_size = (uint8_t *)address - (uint8_t *)(a_info->address); local 119 size_t new_size_aligned = (new_size + B_PAGE_SIZE - 1) & ~(B_PAGE_SIZE - 1);
|
/haiku/src/add-ons/kernel/file_systems/nfs4/ |
H A D | XDR.cpp | 324 uint32 new_size = max_c(fSize * 2, fPosition * sizeof(uint32) + size); 326 void* ptr = realloc(fBuffer, new_size); 333 fSize = new_size;
|
/haiku/src/add-ons/kernel/file_systems/ntfs/libntfs/ |
H A D | index.c | 329 u32 new_size; local 333 new_size = le32_to_cpu(ih->index_length) - le16_to_cpu(ie->length); 334 ih->index_length = cpu_to_le32(new_size); 336 new_size - ((u8 *)ie - (u8 *)ih)); 1438 u32 new_size; local 1447 new_size = le32_to_cpu(icx->ir->index.index_length) + 1450 new_size += sizeof(VCN); 1452 ret = ntfs_ir_make_space(icx, new_size); 1556 int allocated_size, new_size; local 1586 new_size 1805 u32 new_size; local [all...] |
H A D | attrib.h | 343 extern int ntfs_attr_record_resize(MFT_RECORD *m, ATTR_RECORD *a, u32 new_size); 346 const u32 new_size);
|
H A D | runlist.c | 92 * @new_size: number of runlist elements we need space for 105 int new_size) 108 new_size = (new_size * sizeof(runlist_element) + 0xfff) & ~0xfff; 109 if (old_size == new_size) 111 return realloc(rl, new_size); 1702 size_t new_size = (rl - *arl + 1) * sizeof(runlist_element); 1703 rl = realloc(*arl, new_size); 104 ntfs_rl_realloc(runlist_element *rl, int old_size, int new_size) argument
|
H A D | attrib.c | 4793 * @new_size: new size in bytes to which to resize the attribute record @a 4796 * the mft record @m to @new_size bytes. 4806 int ntfs_attr_record_resize(MFT_RECORD *m, ATTR_RECORD *a, u32 new_size) argument 4816 (unsigned)attr_size, (unsigned)new_size); 4819 new_size = (new_size + 7) & ~7; 4822 if (new_size != attr_size) { 4824 u32 new_muse = old_size - attr_size + new_size; 4834 if (a->type == AT_INDEX_ROOT && new_size > attr_size && 4850 memmove((u8 *)a + new_size, (u 4877 ntfs_resident_attr_value_resize(MFT_RECORD *m, ATTR_RECORD *a, const u32 new_size) argument [all...] |
/haiku/src/system/libroot/posix/glibc/libio/ |
H A D | strops.c | 148 _IO_size_t new_size = 2 * _IO_blen (fp) + 100; local 150 = (char *) (*((_IO_strfile *) fp)->_s._allocate_buffer) (new_size); 167 INTUSE(_IO_setb) (fp, new_buf, new_buf + new_size, 1);
|
H A D | wstrops.c | 146 _IO_size_t new_size = 2 * _IO_wblen (fp) + 100; local 148 = (wchar_t *) (*((_IO_strfile *) fp)->_s._allocate_buffer) (new_size 162 INTUSE(_IO_wsetb) (fp, new_buf, new_buf + new_size, 1);
|
H A D | wgenops.c | 172 _IO_size_t new_size; variable 176 new_size = 2 * old_size; 177 new_buf = (wchar_t *) malloc (new_size * sizeof (wchar_t)); 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 D | genops.c | 1131 _IO_size_t new_size; variable 1134 new_size = 2 * old_size; 1135 new_buf = (char *) malloc (new_size); 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/apps/mail/ |
H A D | Prefs.cpp | 289 int32 new_size; local 317 new_size = (int32)fNewFont->Size(); 319 || old_size != new_size) { 436 msg->FindInt32("size", &new_size); 437 if (old_size != new_size) { 438 fNewFont->SetSize(new_size); 514 new_size = (int32) fNewFont->Size(); 515 bool changed = old_size != new_size
|
/haiku/headers/libs/agg/ |
H A D | agg_array.h | 184 void resize(unsigned new_size); 242 void pod_vector<T>::resize(unsigned new_size) argument 244 if(new_size > m_size) 246 if(new_size > m_capacity) 248 T* data = pod_allocator<T>::allocate(new_size); 256 m_size = new_size;
|
/haiku/headers/cpp/ |
H A D | stl_slist.h | 610 void resize(size_type new_size, const _Tp& __x); 611 void resize(size_type new_size) { resize(new_size, _Tp()); } argument
|
H A D | stl_deque.h | 811 void resize(size_type new_size) { resize(new_size, value_type()); } argument
|
/haiku/src/apps/serialconnect/libvterm/src/ |
H A D | state.c | 127 size_t new_size = state->combine_chars_size * 2; local 128 uint32_t *new_chars = vterm_allocator_malloc(state->vt, new_size * sizeof(new_chars[0])); 135 state->combine_chars_size = new_size;
|
/haiku/src/libs/agg/src/ |
H A D | agg_gsv_text.cpp | 576 unsigned new_size = strlen(text) + 1; local 577 if(new_size > m_text_buf.size()) 579 m_text_buf.resize(new_size); 581 memcpy(&m_text_buf[0], text, new_size);
|