Home
last modified time | relevance | path

Searched refs:num_new (Results 1 – 5 of 5) sorted by relevance

/external/iproute2/tc/
Dm_xt_old.c97 unsigned int num_old, num_new, i; in merge_options() local
100 for (num_new = 0; newopts[num_new].name; num_new++) ; in merge_options()
104 merge = malloc(sizeof (struct option) * (num_new + num_old + 1)); in merge_options()
106 for (i = 0; i < num_new; i++) { in merge_options()
110 memset(merge + num_old + num_new, 0, sizeof (struct option)); in merge_options()
Dm_ipt.c178 unsigned int num_old, num_new, i; in merge_options() local
181 for (num_new = 0; newopts[num_new].name; num_new++) ; in merge_options()
185 merge = malloc(sizeof (struct option) * (num_new + num_old + 1)); in merge_options()
187 for (i = 0; i < num_new; i++) { in merge_options()
191 memset(merge + num_old + num_new, 0, sizeof (struct option)); in merge_options()
/external/iptables/libxtables/
Dxtoptions.c77 unsigned int num_orig, num_old = 0, num_new, i; in xtables_options_xfrm() local
87 for (num_new = 0; entry[num_new].name != NULL; ++num_new) in xtables_options_xfrm()
97 merge = malloc(sizeof(*mp) * (num_orig + num_old + num_new + 1)); in xtables_options_xfrm()
109 for (i = 0; i < num_new; ++i, ++mp, ++entry) { in xtables_options_xfrm()
Dxtables.c107 unsigned int num_oold = 0, num_old = 0, num_new = 0, i; in xtables_merge_options() local
116 for (num_new = 0; newopts[num_new].name; num_new++) ; in xtables_merge_options()
125 merge = malloc(sizeof(*mp) * (num_oold + num_old + num_new + 1)); in xtables_merge_options()
136 memcpy(mp, newopts, sizeof(*mp) * num_new); in xtables_merge_options()
138 for (i = 0; i < num_new; ++i, ++mp) in xtables_merge_options()
/external/chromium_org/third_party/lcov/bin/
Dlcov3260 my $num_new; # Current line number in new file
3336 $num_new = 1;
3346 $mapping->{$num_new} = $num_old;
3348 $num_new++;
3360 $mapping->{$num_new} = $num_old;
3362 $num_new++;
3384 $num_new++;
3394 $mapping->{$num_new} = $num_old;
3396 $num_new++;