Searched refs:new (Results 1 - 15 of 15) sorted by relevance

/system/core/sh/
H A Dnodes.c213 union node *new; local
217 new = funcblock;
225 new->nbinary.ch2 = copynode(n->nbinary.ch2);
226 new->nbinary.ch1 = copynode(n->nbinary.ch1);
229 new->ncmd.redirect = copynode(n->ncmd.redirect);
230 new->ncmd.args = copynode(n->ncmd.args);
231 new->ncmd.backgnd = n->ncmd.backgnd;
234 new->npipe.cmdlist = copynodelist(n->npipe.cmdlist);
235 new->npipe.backgnd = n->npipe.backgnd;
240 new
[all...]
H A Dcd.c244 char *new; local
270 STARTSTACKSTR(new);
274 STPUTC(*p++, new);
276 STUNPUTC(new);
280 while (new > stackblock() && (STUNPUTC(new), *new) != '/');
282 STPUTC('/', new);
284 STPUTC(*p++, new);
287 if (new
[all...]
H A Dmknodes.sh180 echo " new = funcblock;"
206 echo " new->$f = ${fn}n->$f${fn:+)};"
211 echo " new->type = n->type;"
H A Dexec.c225 char **new; local
266 new = ckmalloc(i + ((char *)ap2 - (char *)argv));
267 ap = newargs, ap2 = new;
272 shellexec(new, envp, pathval(), 0);
688 * Called before PATH is changed. The argument is the new value of PATH;
696 const char *old, *new; local
702 new = newval;
707 if (*old != *new) {
709 if ((*old == '\0' && *new == ':')
710 || (*old == ':' && *new
[all...]
/system/core/toolbox/
H A Dvmstat.c69 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...]
H A Diftop.c196 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 Dmount.c74 char *new; local
76 new = realloc(extra->str, newlen + 1); /* +1 for NUL */
77 if (!new)
80 extra->str = new;
/system/core/fastboot/
H A Dgenkey.sh14 openssl req -new -x509 -key $1.pem -passin pass:"$2" \
/system/core/libpixelflinger/tinyutils/
H A DTypeHelpers.h11 #include <new>
112 new(p++) TYPE;
131 new(d) TYPE(*s);
154 new(where) TYPE(*what);
172 new(d) TYPE(*s);
190 new(d) TYPE(*s);
H A DVector.h12 #include <new>
129 //! replace an item with a new one initialized with its default constructor
131 //! replace an item with a new one
/system/core/liblinenoise/
H A Dlinenoise.c301 /* Show the new entry */
432 char **new; local
438 new = malloc(sizeof(char*)*len);
439 if (new == NULL) return 0;
441 memcpy(new,history+(history_max_len-tocopy), sizeof(char*)*tocopy);
443 history = new;
/system/core/libcutils/
H A Dprivate.h246 char * icatalloc P((char * old, const char * new));
/system/extras/ext4_utils/
H A Dallocate.c567 struct region *new; local
579 new = malloc(sizeof(struct region));
581 new->bg = reg->bg;
582 new->block = reg->block + len;
583 new->len = reg->len - len;
584 new->next = reg->next;
585 new->prev = reg;
587 reg->next = new;
591 alloc->list.iter = new;
/system/core/include/sysutils/
H A DList.h211 /* insert before the current node; returns iterator at new node */
214 _Node* newNode = new _Node(val); // alloc & copy-construct
293 mpMiddle = (_Node*) new unsigned char[sizeof(_Node)];
/system/netd/
H A DList.h211 /* insert before the current node; returns iterator at new node */
214 _Node* newNode = new _Node(val); // alloc & copy-construct
293 mpMiddle = (_Node*) new unsigned char[sizeof(_Node)];

Completed in 97 milliseconds