Searched defs:val (Results 26 - 35 of 35) sorted by relevance

12

/system/netd/
H A DList.h51 explicit _Node(const T& val) : mVal(val) {} argument
57 inline void setVal(const T& val) { mVal = val; } argument
208 void push_front(const T& val) { insert(begin(), val); } local
209 void push_back(const T& val) { insert(end(), val); } local
212 iterator insert(iterator posn, const T& val) argument
214 _Node* newNode = new _Node(val); // allo
[all...]
/system/core/fastboot/
H A Dengine.c415 const char *val; local
420 const char *val = value[n]; local
421 int len = strlen(val);
424 if ((len > 1) && (val[len-1] == '*')) {
426 match = !strncmp(val, str, len);
428 match = !strcmp(val, str);
H A Dfastboot.c457 char *val[MAX_OPTIONS]; local
483 val[0] = x + 1;
486 x = strchr(val[count - 1],'|');
489 val[count] = x + 1;
493 for(n = 0; n < count; n++) val[n] = strip(val[n]);
505 out[n] = strdup(strip(val[n]));
923 unsigned long val; local
925 val = strtoul(optarg, &endptr, 0);
926 if (!endptr || *endptr != '\0' || (val
[all...]
/system/core/libcorkscrew/arch-x86/
H A Dbacktrace-x86.c156 uint32_t val = 0; local
162 val |= ((uint32_t)buf & 0x7f) << (c * 7);
171 val |= ((uint32_t)-1 << (c * 7));
174 *out_value = val;
/system/core/sh/
H A Dvar.c195 setvarsafe(const char *name, const char *val, int flags) argument
208 setvar(name, val, flags);
216 * flags of the variable. If val is NULL, the variable is unset.
220 setvar(const char *name, const char *val, int flags) argument
247 if (val == NULL) {
250 len += strlen(val);
258 if (val)
259 scopy(val, d);
H A Dexpand.c610 char *val; local
629 val = NULL;
631 val = lookupvar(var);
632 if (val == NULL || ((varflags & VSNUL) && val[0] == '\0')) {
633 val = NULL;
668 for (;*val; val++)
671 while (*val) {
672 if (quotes && syntax[(int)*val]
1495 casematch(union node *pattern, char *val) argument
[all...]
/system/core/charger/
H A Dcharger.c276 static int read_file_int(const char *path, int *val) argument
292 *val = tmp;
/system/core/init/
H A Dinit.c99 int add_environment(const char *key, const char *val) argument
105 size_t len = strlen(key) + strlen(val) + 2;
107 snprintf(entry, len, "%s=%s", key, val);
142 char val[64]; local
147 snprintf(val, sizeof(val), "%d", fd);
148 add_environment(key, val);
/system/core/libpixelflinger/codeflinger/
H A DGGLAssembler.cpp860 static uint32_t find_bottom(uint32_t val) argument
863 while (!(val & (3<<i)))
868 static void normalize(uint32_t& val, uint32_t& rot) argument
871 while (!(val&3) || (val & 0xFC000000)) {
873 newval = val >> 2;
874 newval |= (val&3) << 30;
875 val = newval;
/system/core/toolbox/
H A Dnewfs_msdos.c938 ckgeom(const char *fname, u_int val, const char *msg) argument
940 if (!val)
942 if (val > MAXU16)
943 errx(1, "%s: illegal %s %d", fname, msg, val);
944 return val;

Completed in 829 milliseconds

12