/system/core/sh/ |
H A D | nodes.c | 213 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 D | cd.c | 244 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 D | mknodes.sh | 180 echo " new = funcblock;" 206 echo " new->$f = ${fn}n->$f${fn:+)};" 211 echo " new->type = n->type;"
|
H A D | exec.c | 225 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 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...] |
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;
|
/system/core/fastboot/ |
H A D | genkey.sh | 14 openssl req -new -x509 -key $1.pem -passin pass:"$2" \
|
/system/core/include/utils/ |
H A D | UniquePtr.h | 56 // UniquePtr<C> c(new C); 60 // Construct a new UniquePtr, taking ownership of the given raw pointer. 177 UniquePtr<C> c(new C); 184 UniquePtr<C> c(new C); 192 UniquePtr<C> c(new C); 194 c.reset(new C); 205 UniquePtr<C[]> cs(new C[4]); 211 UniquePtr<C[]> c(new C[4]); 219 UniquePtr<C[]> c(new C[4]); 221 c.reset(new [all...] |
H A D | Singleton.h | 36 instance = new TYPE();
|
H A D | TypeHelpers.h | 20 #include <new> 135 new(p++) TYPE; 154 new(d) TYPE(*s); 166 new(where) TYPE(*what); 188 new(d) TYPE(*s); 208 new(d) TYPE(*s);
|
H A D | List.h | 210 /* insert before the current node; returns iterator at new node */ 213 _Node* newNode = new _Node(val); // alloc & copy-construct 292 mpMiddle = (_Node*) new unsigned char[sizeof(_Node)];
|
H A D | LruCache.h | 107 mNullValue(NULL), mTable(new BasicHashtable<TKey, Entry>), mYoungest(NULL), mOldest(NULL), 229 mTable.reset(new BasicHashtable<TKey, Entry>(newCapacity));
|
H A D | BasicHashtable.h | 148 * adding new entries and removing existing entries. 387 new (&entryFor(bucket)) TEntry(*(static_cast<const TEntry*>(entry)));
|
H A D | Vector.h | 20 #include <new> 153 //! replace an item with a new one initialized with its default constructor 155 //! replace an item with a new one
|
/system/core/libpixelflinger/codeflinger/tinyutils/ |
H A D | TypeHelpers.h | 20 #include <new> 122 new(p++) TYPE; 141 new(d) TYPE(*s); 164 new(where) TYPE(*what); 182 new(d) TYPE(*s); 200 new(d) TYPE(*s);
|
H A D | Vector.h | 20 #include <new> 138 //! replace an item with a new one initialized with its default constructor 140 //! replace an item with a new one
|
/system/media/camera/docs/ |
H A D | CameraCaptureResultTest.mako | 24 ArrayList<CameraMetadata.Key<?>> resultKeys = new ArrayList<CameraMetadata.Key<?>>();
|
H A D | CameraMetadataKeys.mako | 58 new Key<${jtype_boxed(entry)}>("${entry.name}", ${jclass(entry)});
|
/system/core/liblinenoise/ |
H A D | linenoise.c | 301 /* 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/extras/ext4_utils/ |
H A D | allocate.c | 578 struct region *new; local 590 new = malloc(sizeof(struct region)); 592 new->bg = reg->bg; 593 new->block = reg->block + len; 594 new->len = reg->len - len; 595 new->next = reg->next; 596 new->prev = reg; 598 reg->next = new; 602 alloc->list.iter = new;
|
/system/core/include/sysutils/ |
H A D | List.h | 211 /* 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 D | List.h | 211 /* 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)];
|