Searched refs:value (Results 1 - 25 of 87) sorted by path

1234

/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 Dfastboot.h54 unsigned nvalues, const char **value);
H A Dutil_osx.c39 CFStringRef value = (CFStringRef)CFDictionaryGetValue(dict, local
41 CFStringGetCString(value, s, PATH_MAX - 1, kCFStringEncodingUTF8);
/system/core/include/ctest/
H A Dctest.h36 #define assertTrue(value, message) assertTrueWithSource(value, __FILE__, __LINE__, message);
39 * Asserts that a condition is false. The test fails if the value is true.
41 #define assertFalse(value, message) assertTrueWithSource(!value, __FILE__, __LINE__, message);
49 #define assertSame(a, b) assertTrueWithSource(a == b, __FILE__, __LINE__, "Expected same value.");
64 void assertTrueWithSource(int value, const char* file, int line, char* message);
/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 Datomic.h63 * barrier with "release" ordering, and return the previous value.
70 int32_t android_atomic_add(int32_t value, volatile int32_t* addr);
71 int32_t android_atomic_and(int32_t value, volatile int32_t* addr);
72 int32_t android_atomic_or(int32_t value, volatile int32_t* addr);
89 void android_atomic_acquire_store(int32_t value, volatile int32_t* addr);
90 void android_atomic_release_store(int32_t value, volatile int32_t* addr);
95 * This returns zero if the new value was successfully stored, which will
98 * (The return value is inverted from implementations on other platforms,
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);
H A Dfs.h50 extern int fs_read_atomic_int(const char* path, int* value);
56 extern int fs_write_atomic_int(const char* path, int value);
H A Dhashmap.h56 * Puts value for the given key in the map. Returns pre-existing value if
62 void* hashmapPut(Hashmap* map, void* key, void* value);
65 * Gets a value from the map. Returns NULL if no entry for the given key is
66 * found or if the value itself is NULL.
76 * Gets the value for a key. If a value is not found, this function gets a
77 * value and creates an entry using the given callback.
86 * Removes an entry from the map. Returns the removed value or NULL if no
101 bool (*callback)(void* key, void* value, voi
[all...]
H A Dmemory.h28 void android_memset16(uint16_t* dst, uint16_t value, size_t size);
31 void android_memset32(uint32_t* dst, uint32_t value, size_t size);
H A Dproperties.h24 /* System properties are *small* name value pairs managed by the
34 /* property_get: returns the length of the value which will never be
38 ** If the property read fails or returns an empty value, the default
39 ** value is used (if nonnull).
41 int property_get(const char *key, char *value, const char *default_value);
45 int property_set(const char *key, const char *value);
47 int property_list(void (*propfn)(const char *key, const char *value, void *cookie), void *cookie);
H A Dstr_parms.h31 const char *value);
32 int str_parms_add_int(struct str_parms *str_parms, const char *key, int value);
35 float value);
H A Dthreads.h63 typedef void (*thread_store_destruct_t)(void* value);
68 void* 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/include/sync/
H A Dsync.h58 int sw_sync_fence_create(int fd, const char *name, unsigned value);

Completed in 84 milliseconds

1234