#include "config.h"
#include "compat.h"
Go to the source code of this file.
◆ FI_NEXT
◆ fi_add()
Definition at line 81 of file index.c.
82{
83 debug3(
"wanting to add to fill %lu, step %lu, size %lu", (
unsigned long)fi->
fill, (
unsigned long)fi->
step, (
unsigned long)fi->
size);
85 {
86
88
91
92
93 if(fi->
next != framenum)
return;
94 }
95
97 {
102 debug3(
"added pos %li to index with fill %lu and step %lu", (
long)
pos, (
unsigned long)fi->
fill, (
unsigned long)fi->
step);
103 }
104}
#define debug3(s, a, b, c)
static off_t fi_next(struct frame_index *fi)
static void fi_shrink(struct frame_index *fi)
◆ fi_exit()
Definition at line 49 of file index.c.
50{
51 debug2(
"fi_exit: %p and %lu", (
void*)fi->
data, (
unsigned long)fi->
size);
53
55}
◆ fi_init()
◆ fi_reset()
◆ fi_resize()
Definition at line 57 of file index.c.
58{
60 if(newsize == fi->
size)
return 0;
61
62 if(newsize > 0 && newsize < fi->
size)
63 {
65 }
66
68 if(newsize == 0 || newdata !=
NULL)
69 {
73
75 debug2(
"new index of size %lu at %p", (
unsigned long)fi->
size, (
void*)fi->
data);
76 return 0;
77 } else
78 return -1;
79}
◆ fi_set()
Definition at line 106 of file index.c.
107{
111 {
114 }
115 else
116 {
117
119 }
121 debug3(
"set new index of fill %lu, size %lu at %p",
122 (
unsigned long)fi->
fill, (
unsigned long)fi->
size, (
void*)fi->
data);
123 return 0;
124}
_STLP_MOVE_TO_STD_NAMESPACE void fill(_ForwardIter __first, _ForwardIter __last, const _Tp &__val)
static const FxOffsetAndName offsets[]
#define memcpy(s1, s2, n)