Searched defs:new (Results 1 - 7 of 7) sorted by relevance
/system/core/fastbootd/commands/ |
H A D | virtual_partitions.c | 54 struct virtual_partition *new; local 55 new = malloc(sizeof(*new)); 56 if (new) { 57 new->name = name; 58 new->handler = handler; 59 new->next = partitions; 60 partitions = new;
|
/system/core/libutils/ |
H A D | LinearAllocator.cpp | 95 void* operator new(size_t /*size*/, void* buf) { return buf; } 200 return new (buf) Page();
|
/system/core/toolbox/ |
H A D | iftop.c | 196 static int print_interfaces(struct if_stats *old, struct if_stats *new, int nr) argument 203 new->name, new->mtu, 204 new->rx_bytes - old->rx_bytes, 205 new->rx_packets - old->rx_packets, 206 new->rx_errors - old->rx_errors, 207 new->rx_dropped - old->rx_dropped, 208 new->tx_bytes - old->tx_bytes, 209 new->tx_packets - old->tx_packets, 210 new [all...] |
H A D | mount.c | 75 char *new; local 77 new = realloc(extra->str, newlen + 1); /* +1 for NUL */ 78 if (!new) 81 extra->str = new;
|
H A D | vmstat.c | 69 static void print_line(struct state *old, struct state *new); 224 static void print_line(struct state *old, struct state *new) { argument 226 us = JP(new->cpu_us - old->cpu_us); NORM(us); 227 ni = JP(new->cpu_ni - old->cpu_ni); NORM(ni); 228 sy = JP(new->cpu_sy - old->cpu_sy); NORM(sy); 229 id = JP(new->cpu_id - old->cpu_id); NORM(id); 230 wa = JP(new->cpu_wa - old->cpu_wa); NORM(wa); 231 ir = JP(new->cpu_ir - old->cpu_ir); NORM(ir); 233 new->procs_r ? (new [all...] |
/system/extras/ext4_utils/ |
H A D | allocate.c | 546 struct region *new; local 558 new = malloc(sizeof(struct region)); 560 new->bg = reg->bg; 561 new->block = reg->block + len; 562 new->len = reg->len - len; 563 new->next = reg->next; 564 new->prev = reg; 566 reg->next = new; 570 alloc->list.iter = new;
|
/system/core/lmkd/ |
H A D | lmkd.c | 169 static void adjslot_insert(struct adjslot_list *head, struct adjslot_list *new) argument 172 new->prev = head; 173 new->next = next; 174 next->prev = new; 175 head->next = new;
|
Completed in 234 milliseconds