/system/security/keystore/ |
H A D | keystore.cpp | 952 static ResponseCode insert(KeyStore* keyStore, int, uid_t uid, Value* keyName, Value* val, argument 956 Blob keyBlob(val->value, val->length, NULL, 0, TYPE_GENERIC);
|
/system/bluetooth/bluez-clean-headers/bluetooth/ |
H A D | l2cap.h | 145 uint8_t val[0]; member in struct:__anon255
|
/system/core/charger/ |
H A D | charger.c | 272 static int read_file_int(const char *path, int *val) argument 288 *val = tmp;
|
/system/core/debuggerd/mips/ |
H A D | machine.c | 85 char val = (data >> (j*8)) & 0xff; local 86 if (val >= 0x20 && val < 0x7f) { 87 *asc_out++ = val;
|
/system/core/fastboot/ |
H A D | engine.c | 433 const char *val; local 438 const char *val = value[n]; local 439 int len = strlen(val); 442 if ((len > 1) && (val[len-1] == '*')) { 444 match = !strncmp(val, str, len); 446 match = !strcmp(val, str);
|
H A D | fastboot.c | 406 char *val[MAX_OPTIONS]; local 432 val[0] = x + 1; 435 x = strchr(val[count - 1],'|'); 438 val[count] = x + 1; 442 for(n = 0; n < count; n++) val[n] = strip(val[n]); 454 out[n] = strdup(strip(val[n])); 858 unsigned long val; local 860 val = strtoul(optarg, &endptr, 0); 861 if (!endptr || *endptr != '\0' || (val [all...] |
/system/core/include/cutils/ |
H A D | sockets.h | 50 const char *val; local 65 val = getenv(key); 66 if (!val) 70 fd = strtol(val, NULL, 10);
|
/system/core/include/sysutils/ |
H A D | List.h | 51 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/init/ |
H A D | init.c | 106 int add_environment(const char *key, const char *val) argument 112 size_t len = strlen(key) + strlen(val) + 2; 114 snprintf(entry, len, "%s=%s", key, val); 149 char val[64]; local 154 snprintf(val, sizeof(val), "%d", fd); 155 add_environment(key, val);
|
H A D | logo.c | 33 void android_memset16(void *_ptr, unsigned short val, unsigned count) argument 38 *ptr++ = val;
|
/system/core/libcutils/ |
H A D | str_parms.c | 241 int str_parms_get_str(struct str_parms *str_parms, const char *key, char *val, argument 248 return strlcpy(val, value, len); 253 int str_parms_get_int(struct str_parms *str_parms, const char *key, int *val) argument 262 *val = (int)strtol(value, &end, 0); 270 float *val) 269 str_parms_get_float(struct str_parms *str_parms, const char *key, float *val) argument
|
/system/core/liblog/ |
H A D | event_tag_map.c | 338 unsigned long val; local 345 val = strtoul(startp, &endp, 10); 350 tag->tagIndex = val;
|
/system/core/libmincrypt/ |
H A D | sha.c | 41 static inline uint32_t ror27(uint32_t val) { argument 42 return (val >> 27) | (val << 5); 44 static inline uint32_t ror2(uint32_t val) { argument 45 return (val >> 2) | (val << 30); 47 static inline uint32_t ror31(uint32_t val) { argument 48 return (val >> 31) | (val << 1);
|
/system/core/libpixelflinger/codeflinger/ |
H A D | GGLAssembler.cpp | 860 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/libsparse/ |
H A D | backed_block.c | 43 uint32_t val; member in struct:backed_block::__anon460::__anon464 106 return bb->fill.val; 219 if (a->fill.val != b->fill.val) { 299 bb->fill.val = fill_val;
|
/system/core/libsync/ |
H A D | sync_test.c | 63 printf(" val=%d\n", *(uint32_t *)pt_info->driver_data); 93 unsigned val = i + j * 3 + 1; local 95 int fd = sw_sync_fence_create(sync_timeline_fd, str, val); 97 printf("can't create sync pt %d: %s", val, strerror(errno)); 141 void *val; local 142 pthread_join(threads[i], &val);
|
/system/core/mkbootimg/ |
H A D | mkbootimg.c | 125 char *val = argv[1]; local 132 bootimg = val; 134 kernel_fn = val; 136 ramdisk_fn = val; 138 second_fn = val; 140 cmdline = val; 142 base = strtoul(val, 0, 16); 144 kernel_offset = strtoul(val, 0, 16); 146 ramdisk_offset = strtoul(val, 0, 16); 148 second_offset = strtoul(val, [all...] |
/system/core/sh/ |
H A D | alias.c | 65 setalias(char *name, char *val) argument 73 ckfree(ap->val); 74 ap->val = savestr(val); 101 ap->val = savestr(val); 104 int len = strlen(val); 105 ap->val = ckmalloc(len + 2); 106 memcpy(ap->val, val, le [all...] |
H A D | alias.h | 42 char *val; member in struct:alias
|
H A D | expand.c | 610 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...] |
H A D | miscbltin.c | 342 rlim_t val = 0; local 378 val = RLIM_INFINITY; 380 val = (rlim_t) 0; 384 val = (val * 10) + (long)(c - '0'); 385 if ((long)val < 0) 390 val *= l->factor; 397 val = limit.rlim_cur; 399 val = limit.rlim_max; 402 if (val [all...] |
H A D | options.c | 95 optlist[i].val = 2; 104 if (optlist[i].val == 2) 105 optlist[i].val = 0; 156 int val; local 164 val = 1; 177 val = 0; 187 minus_o(*argptr, val); 191 setoption(c, val); 198 set_opt_val(int i, int val) argument 203 if (val 217 minus_o(char *name, int val) argument 238 setoption(int flag, int val) argument [all...] |
H A D | options.h | 51 char val; /* value of <letter>flag */ member in struct:optent 65 #define eflag optlist[0].val 67 #define fflag optlist[1].val 69 #define Iflag optlist[2].val 71 #define iflag optlist[3].val 73 #define mflag optlist[4].val 75 #define nflag optlist[5].val 77 #define sflag optlist[6].val 79 #define xflag optlist[7].val 81 #define vflag optlist[8].val [all...] |
H A D | var.c | 195 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);
|
/system/core/toolbox/ |
H A D | newfs_msdos.c | 938 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;
|