Searched refs:value (Results 1 - 25 of 149) sorted by relevance

123456

/system/core/include/utils/
H A DBitSet.h31 uint32_t value; member in struct:android::BitSet32
33 inline BitSet32() : value(0UL) { }
34 explicit inline BitSet32(uint32_t value) : value(value) { } argument
36 // Gets the value associated with a particular bit index.
40 inline void clear() { clear(value); }
42 static inline void clear(uint32_t& value) { value = 0UL; } argument
45 inline uint32_t count() const { return count(value); }
47 count(uint32_t value) argument
52 isEmpty(uint32_t value) argument
57 isFull(uint32_t value) argument
62 hasBit(uint32_t value, uint32_t n) argument
67 markBit(uint32_t& value, uint32_t n) argument
72 clearBit(uint32_t& value, uint32_t n) argument
78 firstMarkedBit(uint32_t value) argument
84 firstUnmarkedBit(uint32_t value) argument
90 lastMarkedBit(uint32_t value) argument
96 clearFirstMarkedBit(uint32_t& value) argument
106 markFirstUnmarkedBit(uint32_t& value) argument
116 clearLastMarkedBit(uint32_t& value) argument
128 getIndexOfBit(uint32_t value, uint32_t n) argument
152 clz_checked(uint32_t value) argument
160 ctz_checked(uint32_t value) argument
173 uint64_t value; member in struct:android::BitSet64
176 BitSet64(uint64_t value) argument
184 clear(uint64_t& value) argument
189 count(uint64_t value) argument
194 isEmpty(uint64_t value) argument
199 isFull(uint64_t value) argument
204 hasBit(uint64_t value, uint32_t n) argument
209 markBit(uint64_t& value, uint32_t n) argument
214 clearBit(uint64_t& value, uint32_t n) argument
220 firstMarkedBit(uint64_t value) argument
226 firstUnmarkedBit(uint64_t value) argument
232 lastMarkedBit(uint64_t value) argument
238 clearFirstMarkedBit(uint64_t& value) argument
248 markFirstUnmarkedBit(uint64_t& value) argument
258 clearLastMarkedBit(uint64_t& value) argument
268 getIndexOfBit(uint64_t value, uint32_t n) argument
[all...]
H A DTypeHelpers.h33 template <typename T> struct trait_trivial_ctor { enum { value = false }; }; enumerator in enum:android::trait_trivial_ctor::__anon131
34 template <typename T> struct trait_trivial_dtor { enum { value = false }; }; enumerator in enum:android::trait_trivial_dtor::__anon132
35 template <typename T> struct trait_trivial_copy { enum { value = false }; }; enumerator in enum:android::trait_trivial_copy::__anon133
36 template <typename T> struct trait_trivial_move { enum { value = false }; }; enumerator in enum:android::trait_trivial_move::__anon134
37 template <typename T> struct trait_pointer { enum { value = false }; }; enumerator in enum:android::trait_pointer::__anon135
38 template <typename T> struct trait_pointer<T*> { enum { value = true }; }; enumerator in enum:android::trait_pointer::__anon136
44 is_pointer = trait_pointer<TYPE>::value,
46 has_trivial_ctor = is_pointer || trait_trivial_ctor<TYPE>::value,
48 has_trivial_dtor = is_pointer || trait_trivial_dtor<TYPE>::value,
50 has_trivial_copy = is_pointer || trait_trivial_copy<TYPE>::value,
232 VALUE value; member in struct:android::key_value_pair_t
250 { enum { value = aggregate_traits<K,V>::has_trivial_ctor }; }; enumerator in enum:android::trait_trivial_ctor::__anon139
253 { enum { value = aggregate_traits<K,V>::has_trivial_dtor }; }; enumerator in enum:android::trait_trivial_dtor::__anon140
256 { enum { value = aggregate_traits<K,V>::has_trivial_copy }; }; enumerator in enum:android::trait_trivial_copy::__anon141
259 { enum { value = aggregate_traits<K,V>::has_trivial_move }; }; enumerator in enum:android::trait_trivial_move::__anon142
294 hash_type(T* const & value) argument
[all...]
/system/core/libcutils/arch-mips/
H A Dandroid_memset.c20 void _memset16(uint16_t* dst, uint16_t value, size_t size);
21 void _memset32(uint32_t* dst, uint32_t value, size_t size);
23 void android_memset16(uint16_t* dst, uint16_t value, size_t size) argument
25 _memset16(dst, value, size);
28 void android_memset32(uint32_t* dst, uint32_t value, size_t size) argument
30 _memset32(dst, value, size);
/system/core/toolbox/
H A Dsetsebool.c13 const char *value = args[2]; local
20 if (!strcmp(value, "1") || !strcasecmp(value, "true") || !strcasecmp(value, "on"))
21 b.value = 1;
22 else if (!strcmp(value, "0") || !strcasecmp(value, "false") || !strcasecmp(value, "off"))
23 b.value = 0;
25 fprintf(stderr, "setsebool: invalid value
[all...]
H A Dwatchprops.c22 static void announce(char *name, char *value) argument
26 for(x = (unsigned char *)value; *x; x++) {
30 fprintf(stderr,"%10d %s = '%s'\n", (int) time(0), name, value);
37 unsigned *value = malloc(sizeof(unsigned)); local
38 if (!key || !value)
41 *value = __system_property_serial(pi);
42 hashmapPut(watchlist, key, value);
59 char value[PROP_VALUE_MAX]; local
62 __system_property_read(pi, name, value);
66 announce(name, value);
[all...]
/system/extras/tests/bionic/libc/bionic/
H A Dlib_static_init.cpp7 value = ++Foo::counter;
13 return value;
H A Dlib_static_init.h6 int value; member in class:Foo
/system/netd/server/
H A DInterfaceController.h30 int writeIPv6ProcPath(const char *interface, const char *setting, const char *value);
32 void setOnAllInterfaces(const char* filename, const char* value);
33 void setAcceptRA(const char* value);
35 void setIPv6OptimisticMode(const char *value);
H A DInterfaceController.cpp49 int InterfaceController::writeIPv6ProcPath(const char *interface, const char *setting, const char *value) { argument
56 int success = writeFile(path, value, strlen(value));
105 void InterfaceController::setOnAllInterfaces(const char* filename, const char* value) { argument
106 // Set the default value, which is used by any interfaces that are created in the future.
107 writeIPv6ProcPath("default", filename, value);
109 // Set the value on all the interfaces that currently exist.
118 writeIPv6ProcPath(d->d_name, filename, value);
124 void InterfaceController::setAcceptRA(const char *value) { argument
125 setOnAllInterfaces("accept_ra", value);
135 char* value; local
154 setIPv6OptimisticMode(const char *value) argument
[all...]
/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/init/
H A Dproperty_service.h30 extern int __property_get(const char *name, char *value);
31 extern int property_set(const char *name, const char *value);
42 int property_get(const char *name, char *value) argument
44 size_t value_len = __builtin_object_size(value, 0);
48 return __property_get(name, value);
/system/core/include/cutils/
H A Dproperties.h29 /* System properties are *small* name value pairs managed by the
39 /* property_get: returns the length of the value which will never be
43 ** If the property read fails or returns an empty value, the default
44 ** value is used (if nonnull).
46 int property_get(const char *key, char *value, const char *default_value);
48 /* property_get_bool: returns the value of key coerced into a
49 ** boolean. If the property is not set, then the default value is returned.
60 ** conversion fails, the default value is returned.
64 /* property_get_int64: returns the value of key truncated and coerced into a
65 ** int64_t. If the property is not set, then the default value i
119 property_get(const char *key, char *value, const char *default_value) argument
[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 Datomic.h75 * barrier with "release" ordering, and return the previous value.
82 int32_t android_atomic_add(int32_t value, volatile int32_t* addr);
83 int32_t android_atomic_and(int32_t value, volatile int32_t* addr);
84 int32_t android_atomic_or(int32_t value, volatile int32_t* addr);
120 void android_atomic_acquire_store(int32_t value, volatile int32_t* addr);
121 void android_atomic_release_store(int32_t value, volatile int32_t* addr);
126 * This returns zero if the new value was successfully stored, which will
129 * (The return value is inverted from implementations on other platforms,
H A Datomic-x86.h46 int32_t value = *ptr; local
48 return value;
59 android_atomic_acquire_store(int32_t value, volatile int32_t *ptr) argument
61 *ptr = value;
66 android_atomic_release_store(int32_t value, volatile int32_t *ptr) argument
69 *ptr = value;
107 /* increment now holds the old value of *ptr */
124 android_atomic_and(int32_t value, volatile int32_t *ptr) argument
129 status = android_atomic_cas(prev, prev & value, ptr);
135 android_atomic_or(int32_t value, volatil argument
[all...]
H A Datomic-x86_64.h53 int32_t value = *ptr; local
55 return value;
66 void android_atomic_acquire_store(int32_t value, volatile int32_t *ptr) argument
68 *ptr = value;
73 void android_atomic_release_store(int32_t value, volatile int32_t *ptr) argument
76 *ptr = value;
113 /* increment now holds the old value of *ptr */
130 int32_t android_atomic_and(int32_t value, volatile int32_t *ptr) argument
135 status = android_atomic_cas(prev, prev & value, ptr);
141 int32_t android_atomic_or(int32_t value, volatil argument
[all...]
H A Datomic-mips.h46 int32_t value = *ptr; local
48 return value;
59 android_atomic_acquire_store(int32_t value, volatile int32_t *ptr) argument
61 *ptr = value;
66 android_atomic_release_store(int32_t value, volatile int32_t *ptr) argument
69 *ptr = value;
141 android_atomic_and(int32_t value, volatile int32_t *ptr) argument
148 " and %[status], %[prev], %[value]\n"
151 : [ptr] "r" (ptr), [value] "Ir" (value)
158 android_atomic_or(int32_t value, volatile int32_t *ptr) argument
[all...]
H A Datomic-mips64.h39 int32_t value = *ptr; local
41 return value;
52 void android_atomic_acquire_store(int32_t value, volatile int32_t *ptr) argument
54 *ptr = value;
59 void android_atomic_release_store(int32_t value, volatile int32_t *ptr) argument
62 *ptr = value;
133 android_atomic_and(int32_t value, volatile int32_t *ptr) argument
140 " and %[status], %[prev], %[value]\n"
143 : [ptr] "r" (ptr), [value] "Ir" (value)
150 android_atomic_or(int32_t value, volatile int32_t *ptr) 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/libcutils/
H A Dmemory.c20 void android_memset16(uint16_t* dst, uint16_t value, size_t size) argument
24 *dst++ = value;
30 void android_memset32(uint32_t* dst, uint32_t value, size_t size) argument
34 *dst++ = value;
H A Dstr_parms.c79 static bool remove_pair(void *key, void *value, void *context) argument
105 free(value);
150 char *value; local
160 value = strdup(eq);
162 value = strdup("");
165 value = strdup("");
168 /* if we replaced a value, free it */
169 old_val = hashmapPut(str_parms->map, key, value);
194 const char *value)
210 tmp_val = strdup(value);
193 str_parms_add_str(struct str_parms *str_parms, const char *key, const char *value) argument
238 str_parms_add_int(struct str_parms *str_parms, const char *key, int value) argument
251 str_parms_add_float(struct str_parms *str_parms, const char *key, float value) argument
272 char *value; local
283 char *value; local
301 char *value; local
316 combine_strings(void *key, void *value, void *context) argument
350 dump_entry(void *key, void *value, void *context UNUSED) argument
[all...]
H A Dtrace.c62 char value[PROPERTY_VALUE_MAX]; local
63 char* start = value;
65 property_get("debug.atrace.app_cmdlines", value, "");
89 char value[PROPERTY_VALUE_MAX]; local
93 property_get("ro.debuggable", value, "0");
94 if (value[0] == '1') {
118 // Read the sysprop and return the value tags should be set to
121 char value[PROPERTY_VALUE_MAX]; local
125 property_get("debug.atrace.tags.enableflags", value, "0");
127 tags = strtoull(value,
[all...]
/system/core/libsync/
H A Dsw_sync.h31 int sw_sync_fence_create(int fd, const char *name, unsigned value);
/system/security/keystore/include/keystore/
H A Dkeystore_get.h33 ssize_t keystore_get(const char *key, size_t length, uint8_t** value);
/system/core/libpixelflinger/codeflinger/tinyutils/
H A DTypeHelpers.h34 template <typename T> struct trait_trivial_ctor { enum { value = false }; }; enumerator in enum:android::tinyutils::trait_trivial_ctor::__anon191
35 template <typename T> struct trait_trivial_dtor { enum { value = false }; }; enumerator in enum:android::tinyutils::trait_trivial_dtor::__anon192
36 template <typename T> struct trait_trivial_copy { enum { value = false }; }; enumerator in enum:android::tinyutils::trait_trivial_copy::__anon193
37 template <typename T> struct trait_trivial_assign{ enum { value = false }; }; enumerator in enum:android::tinyutils::trait_trivial_assign::__anon194
39 template <typename T> struct trait_pointer { enum { value = false }; }; enumerator in enum:android::tinyutils::trait_pointer::__anon195
40 template <typename T> struct trait_pointer<T*> { enum { value = true }; }; enumerator in enum:android::tinyutils::trait_pointer::__anon196
43 template<> struct trait_trivial_ctor< T > { enum { value = true }; }; \
44 template<> struct trait_trivial_dtor< T > { enum { value = true }; }; \
45 template<> struct trait_trivial_copy< T > { enum { value = true }; }; \
46 template<> struct trait_trivial_assign< T >{ enum { value
222 VALUE value; member in struct:android::tinyutils::key_value_pair_t
235 { enum { value = aggregate_traits<K,V>::has_trivial_ctor }; }; enumerator in enum:android::tinyutils::trait_trivial_ctor::__anon199
239 { enum { value = aggregate_traits<K,V>::has_trivial_dtor }; }; enumerator in enum:android::tinyutils::trait_trivial_dtor::__anon200
243 { enum { value = aggregate_traits<K,V>::has_trivial_copy }; }; enumerator in enum:android::tinyutils::trait_trivial_copy::__anon201
247 { enum { value = aggregate_traits<K,V>::has_trivial_assign};}; enumerator in enum:android::tinyutils::trait_trivial_assign::__anon202
[all...]

Completed in 5071 milliseconds

123456