/haiku-fatelf/src/system/libroot/posix/stdio/ |
H A D | local.h | 64 ((((fp)->_flags & __SWR) == 0 || (fp)->_bf._base == NULL) && \ 71 #define HASUB(fp) ((fp)->_ub._base != NULL) 73 if ((fp)->_ub._base != (fp)->_ubuf) \ 74 free((char *)(fp)->_ub._base); \ 75 (fp)->_ub._base = NULL; \ 81 #define HASLB(fp) ((fp)->_lb._base != NULL) 83 free((char *)(fp)->_lb._base); \ 84 (fp)->_lb._base = NULL; \
|
H A D | sscanf.c | 72 f._bf._base = f._p = (unsigned char *)str; 75 f._ub._base = NULL; 76 f._lb._base = NULL;
|
H A D | fgetln.c | 65 if ((p = realloc(fp->_lb._base, newsize)) == NULL) 67 fp->_lb._base = p; 132 (void)memcpy((void *)(fp->_lb._base + off), (void *)fp->_p, 146 (void)memcpy((void *)(fp->_lb._base + off), (void *)fp->_p, 154 fp->_lb._base[len] = 0; 156 return ((char *)fp->_lb._base);
|
H A D | ungetc.c | 56 if (fp->_ub._base == fp->_ubuf) { 62 fp->_ub._base = p; 71 p = realloc(fp->_ub._base, i << 1); 77 fp->_ub._base = p; 127 if (fp->_bf._base != NULL && fp->_p > fp->_bf._base && 140 fp->_ub._base = fp->_ubuf;
|
H A D | fvwrite.c | 116 size_t blen = fp->_p - fp->_bf._base; 117 unsigned char *_base; local 125 _base = realloc(fp->_bf._base, _size + 1); 126 if (_base == NULL) 129 fp->_bf._base = _base; 131 fp->_p = _base + blen; 141 } else if (fp->_p > fp->_bf._base && len > w) { 183 if (fp->_p > fp->_bf._base [all...] |
H A D | wsetup.c | 66 fp->_p = fp->_bf._base; 74 if (fp->_bf._base == NULL)
|
H A D | vsnprintf.c | 48 file._bf._base = file._p = (unsigned char *)buffer;
|
H A D | vsprintf.c | 49 f._bf._base = f._p = (unsigned char *)str;
|
H A D | makebuf.c | 60 fp->_bf._base = fp->_p = fp->_nbuf; 67 fp->_bf._base = fp->_p = fp->_nbuf; 73 fp->_bf._base = fp->_p = p;
|
H A D | fseek.c | 103 curoff += fp->_p - fp->_bf._base; 129 if (fp->_bf._base == NULL) 177 n = fp->_up - fp->_bf._base; 181 n = fp->_p - fp->_bf._base; 196 fp->_p = fp->_bf._base + o; 216 fp->_p = fp->_bf._base; 231 * do it. Allow the seek function to change fp->_bf._base. 241 fp->_p = fp->_bf._base;
|
H A D | snprintf.c | 51 f._bf._base = f._p = (unsigned char *)buffer;
|
H A D | wbuf.c | 79 n = fp->_p - fp->_bf._base;
|
H A D | refill.c | 107 if (fp->_bf._base == NULL) 117 fp->_p = fp->_bf._base;
|
/haiku-fatelf/src/system/boot/platform/cfe/ |
H A D | heap.cpp | 24 platform_init_heap(stage2_args *args, void **_base, void **_top) argument 28 *_base = NULL; 29 status_t error = platform_allocate_region(_base, args->heap_size, 34 printf("heap base = %p\n", *_base); 35 *_top = (void *)((int8 *)*_base + args->heap_size);
|
/haiku-fatelf/src/system/boot/platform/openfirmware/ |
H A D | heap.cpp | 24 platform_init_heap(stage2_args *args, void **_base, void **_top) argument 28 *_base = NULL; 29 status_t error = platform_allocate_region(_base, args->heap_size, 34 printf("heap base = %p\n", *_base); 35 *_top = (void *)((int8 *)*_base + args->heap_size);
|
/haiku-fatelf/src/bin/coreutils/lib/ |
H A D | stdio-impl.h | 29 struct { unsigned char *_base; int _size; } _bf; \ 35 struct { unsigned char *_base; int _size; } _ub; \ 39 struct { unsigned char *_base; int _size; } _lb; \ 61 # define fp_ub ((struct __sfileext *) fp->_ext._base)->_ub 66 # define HASUB(fp) (fp_ub._base != NULL) 77 unsigned char *_base; \ 90 # define _base __base macro
|
H A D | fpurge.c | 75 fp_->_p = fp_->_bf._base; 81 if (fp_ub._base != NULL) 83 if (fp_ub._base != fp_->_ubuf) 84 free (fp_ub._base); 85 fp_ub._base = NULL; 95 fp->_ptr = fp->_base;
|
/haiku-fatelf/src/bin/network/wget/lib/ |
H A D | stdio-impl.h | 29 struct { unsigned char *_base; int _size; } _bf; \ 35 struct { unsigned char *_base; int _size; } _ub; \ 39 struct { unsigned char *_base; int _size; } _lb; \ 61 # define fp_ub ((struct __sfileext *) fp->_ext._base)->_ub 66 # define HASUB(fp) (fp_ub._base != NULL) 77 unsigned char *_base; \ 90 # define _base __base macro
|
/haiku-fatelf/src/bin/bash/lib/sh/ |
H A D | fpurge.c | 85 fp->_p = fp->_bf._base; 94 # define fp_ub ((struct { struct __sbuf _ub; } *) fp->_ext._base)->_ub 98 if (fp_ub._base != NULL) 100 if (fp_ub._base != fp->_ubuf) 101 free (fp_ub._base); 102 fp_ub._base = NULL; 106 fp->_ptr = fp->_base;
|
H A D | vprint.c | 54 iop->_ptr = iop->_base = localbuf; 58 iop->_base = NULL;
|
/haiku-fatelf/src/bin/findutils/gnulib/lib/ |
H A D | fpurge.c | 73 fp->_p = fp->_bf._base; 82 # define fp_ub ((struct { struct __sbuf _ub; } *) fp->_ext._base)->_ub 86 if (fp_ub._base != NULL) 88 if (fp_ub._base != fp->_ubuf) 89 free (fp_ub._base); 90 fp_ub._base = NULL; 94 fp->_ptr = fp->_base;
|
H A D | fseeko.c | 50 # define fp_ub ((struct { struct __sbuf _ub; } *) fp->_ext._base)->_ub 67 if (fp->_p == fp->_bf._base 72 && fp_ub._base == NULL) 76 unsigned char *_base; \ 82 if (fp_->_ptr == fp_->_base 85 if (fp->_ptr == fp->_base
|
/haiku-fatelf/headers/private/app/ |
H A D | ServerMemoryAllocator.h | 27 uint8*& _base, size_t size,
|
/haiku-fatelf/src/add-ons/kernel/cpu/x86/ |
H A D | generic_x86.h | 26 extern status_t generic_get_mtrr(uint32 index, uint64 *_base, uint64 *_length,
|
/haiku-fatelf/src/kits/app/ |
H A D | ServerMemoryAllocator.cpp | 68 uint8*& _base, size_t size, bool readOnly) 107 _base = mapping->local_base; 132 uint8*& _base) 140 _base = mapping->local_base; 67 AddArea(area_id serverArea, area_id& _area, uint8*& _base, size_t size, bool readOnly) argument 131 AreaAndBaseFor(area_id serverArea, area_id& _area, uint8*& _base) argument
|