/system/core/init/ |
H A D | property_service.h | 29 extern int __property_get(const char *name, char *value); 30 extern int property_set(const char *name, const char *value); 41 int property_get(const char *name, char *value) argument 43 size_t value_len = __builtin_object_size(value, 0); 47 return __property_get(name, value);
|
H A D | ueventd.c | 39 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/libcutils/arch-mips/ |
H A D | android_memset.c | 20 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/adb/ |
H A D | get_my_path_darwin.c | 26 CFStringRef value = (CFStringRef)CFDictionaryGetValue(dict, local 28 CFStringGetCString(value, s, maxLen, kCFStringEncodingUTF8);
|
/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/include/cutils/ |
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 | properties.h | 28 /* System properties are *small* name value pairs managed by the 38 /* property_get: returns the length of the value which will never be 42 ** If the property read fails or returns an empty value, the default 43 ** value is used (if nonnull). 45 int property_get(const char *key, char *value, const char *default_value); 49 int property_set(const char *key, const char *value); 51 int property_list(void (*propfn)(const char *key, const char *value, void *cookie), void *cookie); 60 int property_get(const char *key, char *value, const char *default_value) { argument 61 size_t bos = __bos(value); 65 return __property_get_real(key, value, default_valu [all...] |
H A D | atomic-arm.h | 52 int32_t value = *ptr; local 54 return value; 65 void android_atomic_acquire_store(int32_t value, volatile int32_t *ptr) argument 67 *ptr = value; 72 void android_atomic_release_store(int32_t value, volatile int32_t *ptr) argument 75 *ptr = value; 143 int32_t android_atomic_and(int32_t value, volatile int32_t *ptr) argument 153 : "r" (ptr), "Ir" (value) 160 int32_t android_atomic_or(int32_t value, volatile int32_t *ptr) argument 170 : "r" (ptr), "Ir" (value) [all...] |
H A D | atomic-mips.h | 54 int32_t value = *ptr; local 56 return value; 67 android_atomic_acquire_store(int32_t value, volatile int32_t *ptr) argument 69 *ptr = value; 74 android_atomic_release_store(int32_t value, volatile int32_t *ptr) argument 77 *ptr = value; 166 android_atomic_and(int32_t value, volatile int32_t *ptr) argument 173 " and %[status], %[prev], %[value]\n" 176 : [ptr] "r" (ptr), [value] "Ir" (value) 183 android_atomic_or(int32_t value, volatile int32_t *ptr) argument [all...] |
H A D | atomic-x86.h | 54 int32_t value = *ptr; local 56 return value; 67 android_atomic_acquire_store(int32_t value, volatile int32_t *ptr) argument 69 *ptr = value; 74 android_atomic_release_store(int32_t value, volatile int32_t *ptr) argument 77 *ptr = value; 115 /* increment now holds the old value of *ptr */ 132 android_atomic_and(int32_t value, volatile int32_t *ptr) argument 137 status = android_atomic_cas(prev, prev & value, ptr); 143 android_atomic_or(int32_t value, volatil argument [all...] |
/system/core/libcutils/ |
H A D | threads.c | 31 void* value, 44 pthread_setspecific( store->tls, value ); 59 void* value, 82 TlsSetValue( store->tls, value ); 30 thread_store_set( thread_store_t* store, void* value, thread_store_destruct_t destroy) argument 58 thread_store_set( thread_store_t* store, void* value, thread_store_destruct_t destroy ) argument
|
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;
|
/system/extras/tests/bionic/libc/bionic/ |
H A D | lib_static_init.h | 6 int value; member in class:Foo
|
/system/core/toolbox/ |
H A D | setsebool.c | 13 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 D | getprop.c | 43 char value[PROPERTY_VALUE_MAX]; local 51 property_get(argv[1], value, default_value); 52 printf("%s\n", value);
|
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;
|
/system/extras/tests/icachetest/ |
H A D | icache_main.c | 18 long value; local
|
/system/security/keystore/ |
H A D | keystore_get.cpp | 24 ssize_t keystore_get(const char *key, size_t keyLength, uint8_t** value) { argument 34 int32_t ret = service->get(String16(key, keyLength), value, &valueLength);
|
/system/core/fastbootd/ |
H A D | commands.c | 158 const char *value; local 161 value = fastboot_getvar(arg); 163 fastboot_okay(phandle, value);
|
H A D | config.c | 65 char *value; local 80 value = c + 1; 83 value = strip(value); 86 value = strdup(value); 88 fastboot_publish(key, value);
|
/system/extras/tests/bionic/libc/common/ |
H A D | test_sem_post.c | 60 int nn, value; local 89 if (sem_getvalue(&semaphore, &value) < 0) { 90 printf("Could not get semaphore value: %s\n", strerror(errno)); 93 if (value != 1) { 94 printf("Error: Semaphore value = %d\n", value);
|
/system/extras/tests/framebuffer/ |
H A D | minui.h | 39 unsigned value; member in struct:event
|
/system/core/include/utils/ |
H A D | KeyedVector.h | 103 enum { value = trait_trivial_move<SortedVector< key_value_pair_t<KEY, VALUE> > >::value }; enumerator in enum:android::trait_trivial_move::__anon111 110 * Variation of KeyedVector that holds a default value to return when 145 return mVector.itemAt(i).value; 150 return mVector.itemAt(index).value; 167 return mVector.editItemAt(i).value; 172 return mVector.editItemAt(index).value; 176 ssize_t KeyedVector<KEY,VALUE>::add(const KEY& key, const VALUE& value) { 177 return mVector.add( key_value_pair_t<KEY,VALUE>(key, value) ); 181 ssize_t KeyedVector<KEY,VALUE>::replaceValueFor(const KEY& key, const VALUE& value) { [all...] |
H A D | BitSet.h | 31 uint32_t value; member in struct:android::BitSet32 33 inline BitSet32() : value(0) { } 34 explicit inline BitSet32(uint32_t value) : value(value) { } argument 36 // Gets the value associated with a particular bit index. 40 inline void clear() { value = 0; } 43 inline uint32_t count() const { return __builtin_popcount(value); } 46 inline bool isEmpty() const { return ! value; } 49 inline bool isFull() const { return value [all...] |
H A D | Flattenable.h | 62 static void write(void*& buffer, size_t& size, const T& value) { argument 63 *static_cast<T*>(buffer) = value; 69 static void read(void const*& buffer, size_t& size, T& value) { argument 70 value = *static_cast<T const*>(buffer); 99 // size should be equal to the value of getFlattenedSize() when the
|