Searched defs:value (Results 1 - 25 of 64) sorted by last modified time

123

/system/security/keystore/
H A Dkeystore.cpp53 /* KeyStore is a secured storage for key-value pairs. In this implementation,
54 * each file stores one key-value pair. Keys are encoded in file names, and
89 memcpy(value, orig, origLen);
97 uint8_t value[VALUE_SIZE]; member in struct:Value
105 value = new char[length + 1];
106 memcpy(value, orig->value, length);
107 value[length] = '\0';
111 delete[] value;
115 return value;
125 char* value; member in class:ValueString
287 uint8_t value[VALUE_SIZE + AES_BLOCK_SIZE]; member in struct:blob
300 Blob(uint8_t* value, int32_t valueLength, uint8_t* info, uint8_t infoLength, BlobType type) argument
[all...]
H A Dkeystore_get.h37 * specifies the buffer to store the retrieved value, which must be an array of
38 * KEYSTORE_MESSAGE_SIZE bytes. This function returns the length of the value or
40 static int keystore_get(const char *key, int length, char *value) argument
61 int n = recv(sock, &value[offset], length - offset, 0);
/system/vold/
H A DFat.cpp116 char value[PROPERTY_VALUE_MAX]; local
117 property_get("persist.sampling_profiler", value, "");
118 if (value[0] == '1') {
H A Dcryptfs.c142 /* key or salt can be NULL, in which case just skip writing that value. Useful to
187 SLOGE("Unexpected value for crypto key location\n");
293 SLOGE("Unexpected value for crypto key location\n");
1395 char value[PROPERTY_VALUE_MAX]; local
1397 property_get("ro.vold.wipe_on_crypt_fail", value, "0");
1398 if (!strcmp(value, "1")) {
/system/bluetooth/brcm_patchram_plus/
H A Dbrcm_patchram_plus.c56 ** fill_bits is the value in decimal for unused bits,
259 validate_baudrate(int baud_rate, int *value) argument
265 *value = baud_rates[i].termios_value;
420 printf("\n\t\tfill_bits is the value in decimal for unused bits,\n");
/system/core/adb/
H A Dadb.c304 char value[PROPERTY_VALUE_MAX];
305 property_get(cnxn_props[i], value, "");
306 len = snprintf(buf, remaining, "%s=%s;", cnxn_props[i], value);
876 char value[PROPERTY_VALUE_MAX]; local
880 property_get("persist.adb.trace_mask", value, "");
881 if (sscanf(value, "%x", &adb_trace_mask) != 1)
1060 char value[PROPERTY_VALUE_MAX];
1065 property_get("ro.kernel.qemu", value, "");
1066 if (strcmp(value, "1") != 0) {
1067 property_get("ro.secure", value, "
1092 char value[PROPERTY_VALUE_MAX]; local
[all...]
H A Dget_my_path_darwin.c26 CFStringRef value = (CFStringRef)CFDictionaryGetValue(dict, local
28 CFStringGetCString(value, s, maxLen, kCFStringEncodingUTF8);
H A Dservices.c113 char value[PROPERTY_VALUE_MAX]; local
120 property_get("ro.debuggable", value, "");
121 if (strcmp(value, "1") != 0) {
138 char value[PROPERTY_VALUE_MAX]; local
148 snprintf(value, sizeof(value), "%d", port);
149 property_set("service.adb.tcp.port", value);
H A Dusb_vendors.c225 long value = strtol(temp, NULL, 0); local
226 if (errno == EINVAL || errno == ERANGE || value > INT_MAX || value < 0) {
231 vendorIds[vendorIdCount++] = (int)value;
/system/core/charger/
H A Dcharger.c758 static int set_key_callback(int code, int value, void *data) argument
762 int down = !!value;
795 set_key_callback(ev->code, ev->value, charger);
/system/core/debuggerd/
H A Ddebuggerd.c138 && e.value == 0) {
256 char value[PROPERTY_VALUE_MAX]; local
257 property_get("debug.db.uid", value, "-1");
258 int debug_uid = atoi(value);
383 * if debug.db.uid is set, its value indicates if we should wait
H A Dtombstone.c604 char value[PROPERTY_VALUE_MAX]; local
605 property_get("ro.debuggable", value, "0");
606 bool want_logs = (value[0] == '1');
/system/core/fastboot/
H A Dengine.c431 static int match(char *str, const char **value, unsigned count) argument
438 const char *val = value[n];
459 const char **value = a->data; local
479 yes = match(resp, value, count);
492 invert ? "rejects" : "requires", value[0]);
494 fprintf(stderr," or '%s'", value[n]);
511 int invert, unsigned nvalues, const char **value)
516 a->data = value;
510 fb_queue_require(const char *prod, const char *var, int invert, unsigned nvalues, const char **value) argument
H A Dutil_osx.c39 CFStringRef value = (CFStringRef)CFDictionaryGetValue(dict, local
41 CFStringGetCString(value, s, PATH_MAX - 1, kCFStringEncodingUTF8);
/system/core/include/cutils/
H A Datomic-arm.h69 int32_t value = *ptr; local
71 return value;
80 extern inline void android_atomic_acquire_store(int32_t value, argument
83 *ptr = value;
87 extern inline void android_atomic_release_store(int32_t value, argument
91 *ptr = value;
193 extern int32_t android_atomic_and(int32_t value, volatile int32_t *ptr);
195 extern inline int32_t android_atomic_and(int32_t value, volatile int32_t *ptr) argument
205 : "r" (ptr), "Ir" (value)
211 extern inline int32_t android_atomic_and(int32_t value, volatil argument
226 android_atomic_or(int32_t value, volatile int32_t *ptr) argument
242 android_atomic_or(int32_t value, volatile int32_t *ptr) argument
[all...]
H A Datomic-mips.h49 int32_t value = *ptr; local
51 return value;
60 extern inline void android_atomic_acquire_store(int32_t value, argument
63 *ptr = value;
67 extern inline void android_atomic_release_store(int32_t value, argument
71 *ptr = value;
155 extern inline int32_t android_atomic_and(int32_t value, volatile int32_t *ptr) argument
162 " and %[status], %[prev], %[value]\n"
165 : [ptr] "r" (ptr), [value] "Ir" (value)
171 android_atomic_or(int32_t value, volatile int32_t *ptr) argument
[all...]
H A Datomic-x86.h49 int32_t value = *ptr; local
51 return value;
60 extern inline void android_atomic_acquire_store(int32_t value, argument
63 *ptr = value;
67 extern inline void android_atomic_release_store(int32_t value, argument
71 *ptr = value;
107 /* increment now holds the old value of *ptr */
121 extern inline int32_t android_atomic_and(int32_t value, argument
127 status = android_atomic_cas(prev, prev & value, ptr);
132 extern inline int32_t android_atomic_or(int32_t value, volatil argument
[all...]
H A Dconfig_utils.h33 const char *value; member in struct:cnode
43 cnode* config_node(const char *name, const char *value);
48 /* look up a child by name and return the boolean value */
51 /* look up a child by name and return the string value */
55 void config_set(cnode *root, const char *name, const char *value);
/system/core/include/private/pixelflinger/
H A Dggl_context.h87 // value shouldn't be more than 7, or bad things are going to
259 needs_t value; member in struct:android::needs_filter_t
265 ((filter.value.n ^ n) & filter.mask.n) |
266 ((filter.value.p ^ p) & filter.mask.p) |
267 ((filter.value.t[0] ^ t[0]) & filter.mask.t[0]) |
268 ((filter.value.t[1] ^ t[1]) & filter.mask.t[1]);
/system/core/init/
H A Dbuiltins.c53 void add_environment(const char *name, const char *value);
57 static int write_file(const char *path, const char *value) argument
66 len = strlen(value);
69 ret = write(fd, value, len);
551 const char *value = args[2]; local
555 ret = expand_props(prop_val, value, sizeof(prop_val));
557 ERROR("cannot expand '%s' while assigning to '%s'\n", value, name);
643 const char *value = args[2]; local
647 ret = expand_props(prop_val, value, sizeof(prop_val));
649 ERROR("cannot expand '%s' while writing to '%s'\n", value, pat
[all...]
H A Dinit.c105 /* add_environment - add "key=value" to the current environment */
268 add_environment(ei->name, ei->value);
428 void property_changed(const char *name, const char *value) argument
431 queue_property_triggers(name, value);
616 char *value = strchr(name, '='); local
619 if (value == 0) return;
620 *value++ = 0;
625 selinux_enabled = atoi(value);
636 property_set( buff, value );
641 strlcpy(qemu, value, sizeo
[all...]
H A Dinit.h63 const char *value; member in struct:svcenvinfo
133 void property_changed(const char *name, const char *value);
H A Dinit_parser.c513 void queue_property_triggers(const char *name, const char *value) argument
525 (!strcmp(test + name_length + 1, value) ||
540 /* parse property name and value
541 syntax is property:<name>=<value> */
546 const char* value; local
554 /* does the property exist, and match the trigger value? */
555 value = property_get(prop_name);
556 if (value && (!strcmp(equals + 1, value) ||
678 parse_error(state, "priority value mus
[all...]
H A Dproperty_service.c194 static void update_prop_info(prop_info *pi, const char *value, unsigned len) argument
197 memcpy(pi->value, value, len + 1);
315 return pi->value;
321 static void write_persistent_property(const char *name, const char *value) argument
334 write(fd, value, strlen(value));
343 int property_set(const char *name, const char *value) argument
349 int valuelen = strlen(value);
362 update_prop_info(pi, value, valuele
492 char *key, *value, *eol, *sol, *tmp; local
535 char value[PROP_VALUE_MAX]; local
[all...]
H A Dueventd.c39 char *value = strchr(name, '='); local
40 if (value != NULL) {
41 *value++ = 0;
44 strlcpy(hardware, value, sizeof(hardware));
76 * for androidboot.hardware param in kernel cmdline, and save its value in

Completed in 102 milliseconds

123