OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:num_old
(Results
1 - 4
of
4
) sorted by null
/external/iproute2/tc/
m_xt_old.c
97
unsigned int
num_old
, num_new, i;
local
99
for (
num_old
= 0; oldopts[
num_old
].name;
num_old
++) ;
104
merge = malloc(sizeof (struct option) * (num_new +
num_old
+ 1));
105
memcpy(merge, oldopts,
num_old
* sizeof (struct option));
107
merge[
num_old
+ i] = newopts[i];
108
merge[
num_old
+ i].val += *option_offset;
110
memset(merge +
num_old
+ num_new, 0, sizeof (struct option));
m_ipt.c
178
unsigned int
num_old
, num_new, i;
local
180
for (
num_old
= 0; oldopts[
num_old
].name;
num_old
++) ;
185
merge = malloc(sizeof (struct option) * (num_new +
num_old
+ 1));
186
memcpy(merge, oldopts,
num_old
* sizeof (struct option));
188
merge[
num_old
+ i] = newopts[i];
189
merge[
num_old
+ i].val += *option_offset;
191
memset(merge +
num_old
+ num_new, 0, sizeof (struct option));
/external/iptables/libxtables/
xtoptions.c
77
unsigned int num_orig,
num_old
= 0, num_new, i;
local
85
for (
num_old
= 0; oldopts[
num_old
].name != NULL; ++
num_old
)
95
num_old
-= num_orig;
97
merge = malloc(sizeof(*mp) * (num_orig +
num_old
+ num_new + 1));
117
memcpy(mp, oldopts, sizeof(*mp) *
num_old
);
118
mp +=
num_old
;
[
all
...]
xtables.c
107
unsigned int num_oold = 0,
num_old
= 0, num_new = 0, i;
local
115
for (
num_old
= 0; oldopts[
num_old
].name;
num_old
++) ;
123
num_old
-= num_oold;
125
merge = malloc(sizeof(*mp) * (num_oold +
num_old
+ num_new + 1));
142
memcpy(mp, oldopts, sizeof(*mp) *
num_old
);
143
mp +=
num_old
;
[
all
...]
Completed in 3413 milliseconds