Searched defs:value (Results 1 - 25 of 64) sorted by path

123

/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
/system/core/libcorkscrew/arch-arm/
H A Dbacktrace-arm.c88 /* Special EXIDX value that indicates that a frame cannot be unwound. */
234 ALOGV("next_byte: ptr=0x%08x, value=0x%02x", stream->ptr, *out_value);
239 static void set_reg(unwind_state_t* state, uint32_t reg, uint32_t value) { argument
240 ALOGV("set_reg: reg=%d, value=0x%08x", reg, value);
241 state->gregs[reg] = value;
249 uint32_t value; local
250 if (!try_get_word(memory, sp, &value)) {
256 set_reg(state, i, value);
369 uint32_t value local
[all...]
/system/core/libctest/
H A Dctest.c150 void assertTrueWithSource(int value, const char* file, int line, char* message) { argument
151 if (!value) {
/system/core/libcutils/
H A Dconfig_utils.c26 cnode* config_node(const char *name, const char *value) argument
33 node->value = value ? value : "";
75 switch(node->value[0]) {
92 return node->value;
95 void config_set(cnode *root, const char *name, const char *value) argument
101 node->value = value;
104 node->value
122 _lex(cstate *cs, int value) argument
[all...]
H A Dfs.c102 int fs_write_atomic_int(const char* path, int value) { argument
116 int len = snprintf(buf, BUF_SIZE, "%d", value) + 1;
118 ALOGE("Value %d too large: %s", value, strerror(errno));

Completed in 452 milliseconds

123