/system/extras/tests/bionic/libc/bionic/ |
H A D | lib_static_init.cpp | 7 value = ++Foo::counter; 13 return value;
|
H A D | lib_static_init.h | 6 int value; member in class:Foo
|
/system/core/include/cutils/ |
H A D | properties.h | 24 /* 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 D | memory.h | 28 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 D | atomic.h | 63 * 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 D | atomic-x86.h | 49 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 D | atomic-mips.h | 49 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 D | config_utils.h | 33 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 D | str_parms.h | 31 const char *value); 32 int str_parms_add_int(struct str_parms *str_parms, const char *key, int value); 35 float value);
|
H A D | atomic-arm.h | 69 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 D | fs.h | 50 extern int fs_read_atomic_int(const char* path, int* value); 56 extern int fs_write_atomic_int(const char* path, int value);
|
/system/core/include/ctest/ |
H A D | ctest.h | 36 #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/libcutils/ |
H A D | memory.c | 20 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 D | str_parms.c | 78 static bool remove_pair(void *key, void *value, void *context) argument 104 free(value); 149 char *value; local 159 value = strdup(eq); 161 value = strdup(""); 164 value = strdup(""); 167 /* if we replaced a value, free it */ 168 old_val = hashmapPut(str_parms->map, key, value); 193 const char *value) 200 tmp_val = strdup(value); 192 str_parms_add_str(struct str_parms *str_parms, const char *key, const char *value) argument 214 str_parms_add_int(struct str_parms *str_parms, const char *key, int value) argument 227 str_parms_add_float(struct str_parms *str_parms, const char *key, float value) argument 244 char *value; local 255 char *value; local 273 char *value; local 287 combine_strings(void *key, void *value, void *context) argument 321 dump_entry(void *key, void *value, void *context) argument [all...] |
H A D | properties.c | 34 int property_set(const char *key, const char *value) argument 36 return __system_property_set(key, value); 39 int property_get(const char *key, char *value, const char *default_value) argument 43 len = __system_property_get(key, value); 50 memcpy(value, default_value, len + 1); 55 int property_list(void (*propfn)(const char *key, const char *value, void *cookie), argument 59 char value[PROP_VALUE_MAX]; local 64 __system_property_read(pi, name, value); 65 propfn(name, value, cookie); 137 int property_get(const char *key, char *value, cons argument 204 property_set(const char *key, const char *value) argument 241 property_list(void (*propfn)(const char *key, const char *value, void *cookie), void *cookie) argument 260 property_get(const char *key, char *value, const char *default_value) argument 294 property_set(const char *key, const char *value) argument 324 property_list(void (*propfn)(const char *key, const char *value, void *cookie), void *cookie) argument [all...] |
H A D | config_utils.c | 26 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...] |
/system/core/adb/ |
H A D | get_my_path_darwin.c | 26 CFStringRef value = (CFStringRef)CFDictionaryGetValue(dict, local 28 CFStringGetCString(value, s, maxLen, kCFStringEncodingUTF8);
|
/system/core/libpixelflinger/tinyutils/ |
H A D | TypeHelpers.h | 24 template <typename T> struct trait_trivial_ctor { enum { value = false }; }; enumerator in enum:android::trait_trivial_ctor::__anon443 25 template <typename T> struct trait_trivial_dtor { enum { value = false }; }; enumerator in enum:android::trait_trivial_dtor::__anon444 26 template <typename T> struct trait_trivial_copy { enum { value = false }; }; enumerator in enum:android::trait_trivial_copy::__anon445 27 template <typename T> struct trait_trivial_assign{ enum { value = false }; }; enumerator in enum:android::trait_trivial_assign::__anon446 29 template <typename T> struct trait_pointer { enum { value = false }; }; enumerator in enum:android::trait_pointer::__anon447 30 template <typename T> struct trait_pointer<T*> { enum { value = true }; }; enumerator in enum:android::trait_pointer::__anon448 33 template<> struct trait_trivial_ctor< T > { enum { value = true }; }; \ 34 template<> struct trait_trivial_dtor< T > { enum { value = true }; }; \ 35 template<> struct trait_trivial_copy< T > { enum { value = true }; }; \ 36 template<> struct trait_trivial_assign< T >{ enum { value 212 VALUE value; member in struct:android::key_value_pair_t 225 { enum { value = aggregate_traits<K,V>::has_trivial_ctor }; }; enumerator in enum:android::trait_trivial_ctor::__anon451 229 { enum { value = aggregate_traits<K,V>::has_trivial_dtor }; }; enumerator in enum:android::trait_trivial_dtor::__anon452 233 { enum { value = aggregate_traits<K,V>::has_trivial_copy }; }; enumerator in enum:android::trait_trivial_copy::__anon453 237 { enum { value = aggregate_traits<K,V>::has_trivial_assign};}; enumerator in enum:android::trait_trivial_assign::__anon454 [all...] |
/system/core/init/ |
H A D | property_service.h | 29 extern int property_set(const char *name, const char *value);
|
H A D | property_service.c | 194 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 D | init_parser.h | 29 void queue_property_triggers(const char *name, const char *value);
|
/system/core/fastboot/ |
H A D | util_osx.c | 39 CFStringRef value = (CFStringRef)CFDictionaryGetValue(dict, local 41 CFStringGetCString(value, s, PATH_MAX - 1, kCFStringEncodingUTF8);
|
/system/core/toolbox/ |
H A D | r.c | 9 fprintf(stderr,"r [-b|-s] <address> [<value>]\n"); 16 unsigned addr, value, endaddr = 0; local 50 value = strtoul(argv[2], 0, 16); 75 if(set) *x = value; 81 if(set) *x = value; 87 if(set) *x = value;
|
H A D | getprop.c | 43 char value[PROPERTY_VALUE_MAX]; local 51 property_get(argv[1], value, default_value); 52 printf("%s\n", value);
|
/system/extras/tests/bionic/libc/common/ |
H A D | test_drand48.c | 28 #define EXPECT_LONG(value,expected) \ 30 long _val = (value); \ 32 printf( "%s: ", #value); \ 41 #define EXPECT_DOUBLE(value,expected) \ 43 double _val = (value); \ 45 printf( "%s: ", #value); \
|