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

123

/system/core/adb/
H A Dget_my_path_darwin.c26 CFStringRef value = (CFStringRef)CFDictionaryGetValue(dict, local
28 CFStringGetCString(value, s, maxLen, kCFStringEncodingUTF8);
/system/core/fastboot/
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 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 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...]
/system/core/libcutils/
H A Dthreads.c31 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 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 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));
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 Dproperties.c34 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...]
/system/extras/tests/bionic/libc/bionic/
H A Dlib_static_init.h6 int value; member in class:Foo
/system/extras/tests/icachetest/
H A Dicache_main.c18 long value; local
/system/core/toolbox/
H A Dgetprop.c43 char value[PROPERTY_VALUE_MAX]; local
51 property_get(argv[1], value, default_value);
52 printf("%s\n", value);
H A Dr.c9 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 Dwatchprops.c28 char value[PROP_VALUE_MAX]; local
31 __system_property_read(pi, name, value);
33 for(x = value; *x; x++) {
37 fprintf(stderr,"%10d %s = '%s'\n", (int) time(0), name, value);
H A Dgetevent.h5 int value; member in struct:label
H A Dsyren.c17 unsigned long value; member in struct:syren_io_args
57 fprintf(stderr, "usage: syren [r/w] [REGNAME | page:addr] (value)\n");
94 sio.value = strtoul(argv[3], 0, 0);
116 fprintf(stderr, "%s: %04x\n", registers[i].name, sio.value);
145 printf("%s: %04x\n", name, sio.value);
147 printf("wrote %04x to %s\n", sio.value, name);
/system/extras/tests/bionic/libc/common/
H A Dtest_sem_post.c60 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 Dminui.h39 unsigned value; member in struct:event
/system/security/keystore/
H A Dkeystore_get.h37 * specifies the buffer to store the retrieved value, which must be an array of
38 * KEYSTORE_MESSAGE_SIZE bytes. This function returns the length of the value or
40 static int keystore_get(const char *key, int length, char *value) argument
61 int n = recv(sock, &value[offset], length - offset, 0);
/system/core/init/
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/libsync/
H A Dsync.c103 int sw_sync_fence_create(int fd, const char *name, unsigned value) argument
108 data.value = value;
/system/vold/
H A DFat.cpp116 char value[PROPERTY_VALUE_MAX]; local
117 property_get("persist.sampling_profiler", value, "");
118 if (value[0] == '1') {
/system/core/libctest/
H A Dctest.c150 void assertTrueWithSource(int value, const char* file, int line, char* message) { argument
151 if (!value) {

Completed in 2502 milliseconds

123