Searched refs:value (Results 26 - 50 of 87) sorted by path

1234

/system/core/include/system/
H A Dwindow.h69 /* a magic value defined by the actual EGL native type */
128 * has been queued. This value applies only if set_buffer_count was used to
131 * value before calling set_buffer_count. If it is necessary to have N
136 * Note that this value does NOT apply until a single buffer has been
148 * to the window compositor. The query sets the returned 'value' argument
329 * Special timestamp value to indicate that timestamps should be auto-generated
432 * takes a fence file descriptor should be used in its place (pass a value
444 int what, int* value);
495 * takes a fence file descriptor should be used in its place (pass a value
513 * dequeued buffer may be written to. A value o
[all...]
/system/core/include/usbhost/
H A Dusbhost.h183 int value,
190 * Returns number of bytes transferred, or negative value for error.
/system/core/init/
H A Dbuiltins.c53 void add_environment(const char *name, const char *value);
57 static int write_file(const char *path, const char *value) argument
66 len = strlen(value);
69 ret = write(fd, value, len);
551 const char *value = args[2]; local
555 ret = expand_props(prop_val, value, sizeof(prop_val));
557 ERROR("cannot expand '%s' while assigning to '%s'\n", value, name);
643 const char *value = args[2]; local
647 ret = expand_props(prop_val, value, sizeof(prop_val));
649 ERROR("cannot expand '%s' while writing to '%s'\n", value, pat
[all...]
H A Dinit.c105 /* add_environment - add "key=value" to the current environment */
268 add_environment(ei->name, ei->value);
428 void property_changed(const char *name, const char *value) argument
431 queue_property_triggers(name, value);
616 char *value = strchr(name, '='); local
619 if (value == 0) return;
620 *value++ = 0;
625 selinux_enabled = atoi(value);
636 property_set( buff, value );
641 strlcpy(qemu, value, sizeo
[all...]
H A Dinit.h63 const char *value; member in struct:svcenvinfo
133 void property_changed(const char *name, const char *value);
H A Dinit_parser.c513 void queue_property_triggers(const char *name, const char *value) argument
525 (!strcmp(test + name_length + 1, value) ||
540 /* parse property name and value
541 syntax is property:<name>=<value> */
546 const char* value; local
554 /* does the property exist, and match the trigger value? */
555 value = property_get(prop_name);
556 if (value && (!strcmp(equals + 1, value) ||
678 parse_error(state, "priority value mus
[all...]
H A Dinit_parser.h29 void queue_property_triggers(const char *name, const char *value);
H A Dproperty_service.c194 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 Dproperty_service.h29 extern int property_set(const char *name, const char *value);
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/libcorkscrew/arch-arm/
H A Dbacktrace-arm.c88 /* Special EXIDX value that indicates that a frame cannot be unwound. */
234 ALOGV("next_byte: ptr=0x%08x, value=0x%02x", stream->ptr, *out_value);
239 static void set_reg(unwind_state_t* state, uint32_t reg, uint32_t value) { argument
240 ALOGV("set_reg: reg=%d, value=0x%08x", reg, value);
241 state->gregs[reg] = value;
249 uint32_t value; local
250 if (!try_get_word(memory, sp, &value)) {
256 set_reg(state, i, value);
369 uint32_t value local
[all...]
/system/core/libctest/
H A Dctest.c150 void assertTrueWithSource(int value, const char* file, int line, char* message) { argument
151 if (!value) {
/system/core/libcutils/
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 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 Dhashmap.c30 void* value; member in struct:Entry
166 static Entry* createEntry(void* key, int hash, void* value) { argument
173 entry->value = value;
189 void* hashmapPut(Hashmap* map, void* key, void* value) { argument
199 *p = createEntry(key, hash, value);
211 void* oldValue = current->value;
212 current->value = value;
228 return entry->value;
267 void* value = initialValue(key, context); local
293 void* value = current->value; local
306 hashmapForEach(Hashmap* map, bool (*callback)(void* key, void* value, void* context), void* context) argument
[all...]
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 Dmq.c365 static bool peerProxyRemoveConnection(void* key, void* value, void* context) { argument
367 PeerProxy* otherPeer = (PeerProxy*) value;
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...]
H A Dqtaguid.c83 static int write_param(const char *param_path, const char *value) { argument
91 res = TEMP_FAILURE_RETRY(write(param_fd, value, strlen(value)));
167 const char *value; local
169 value = on ? "Y" : "N";
170 if (write_param(GLOBAL_PACIFIER_PARAM, value) < 0) {
173 if (write_param(TAG_PACIFIER_PARAM, value) < 0) {
H A Dstr_parms.c78 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 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 Dtztime.c692 return NULL; /* illegal value */
696 return NULL; /* illegal value */
840 register time_t value; local
844 INITIALIZE(value);
856 value = janfirst + (rulep->r_day - 1) * SECSPERDAY;
858 value += SECSPERDAY;
867 value = janfirst + rulep->r_day * SECSPERDAY;
874 value = janfirst;
876 value += mon_lengths[leapyear][i] * SECSPERDAY;
909 value
[all...]
/system/core/libmincrypt/
H A Dsha.c193 #define rol(bits, value) (((value) << (bits)) | ((value) >> (32 - (bits))))
/system/core/libnetutils/
H A Ddhcp_utils.c61 * Wait for a system property to be assigned a specified value.
63 * be created with any value. maxwait is the maximum amount of
68 char value[PROPERTY_VALUE_MAX] = {'\0'}; local
77 if (property_get(name, value, NULL)) {
79 strcmp(value, desired_value) == 0) {
125 // non 255.255.255.255 inputs. if we get that value check if it is legit..
/system/core/libnl_2/
H A Dattr.c43 /* Return value of 8 bit integer attribute. */
166 int nla_put_u8(struct nl_msg *msg, int attrtype, uint8_t value) argument
168 return nla_put(msg, attrtype, sizeof(uint8_t), &value);
172 int nla_put_u16(struct nl_msg *msg, int attrtype, uint16_t value) argument
174 return nla_put(msg, attrtype, sizeof(uint16_t), &value);
178 int nla_put_u32(struct nl_msg *msg, int attrtype, uint32_t value) argument
180 return nla_put(msg, attrtype, sizeof(uint32_t), &value);
184 int nla_put_u64(struct nl_msg *msg, int attrtype, uint64_t value) argument
186 return nla_put(msg, attrtype, sizeof(uint64_t), &value);

Completed in 86 milliseconds

1234