OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:num_new
(Results
1 - 5
of
5
) sorted by null
/external/iproute2/tc/
m_xt_old.c
97
unsigned int num_old,
num_new
, i;
local
100
for (
num_new
= 0; newopts[
num_new
].name;
num_new
++) ;
104
merge = malloc(sizeof (struct option) * (
num_new
+ num_old + 1));
106
for (i = 0; i <
num_new
; i++) {
110
memset(merge + num_old +
num_new
, 0, sizeof (struct option));
m_ipt.c
178
unsigned int num_old,
num_new
, i;
local
181
for (
num_new
= 0; newopts[
num_new
].name;
num_new
++) ;
185
merge = malloc(sizeof (struct option) * (
num_new
+ num_old + 1));
187
for (i = 0; i <
num_new
; i++) {
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
87
for (
num_new
= 0; entry[
num_new
].name != NULL; ++
num_new
)
97
merge = malloc(sizeof(*mp) * (num_orig + num_old +
num_new
+ 1));
109
for (i = 0; i <
num_new
; ++i, ++mp, ++entry) {
[
all
...]
xtables.c
107
unsigned int num_oold = 0, num_old = 0,
num_new
= 0, i;
local
116
for (
num_new
= 0; newopts[
num_new
].name;
num_new
++) ;
125
merge = malloc(sizeof(*mp) * (num_oold + num_old +
num_new
+ 1));
136
memcpy(mp, newopts, sizeof(*mp) *
num_new
);
138
for (i = 0; i <
num_new
; ++i, ++mp)
[
all
...]