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

123

/bionic/libc/bionic/
H A Deventfd_read.cpp32 int eventfd_read(int fd, eventfd_t* value) { argument
33 return (read(fd, value, sizeof(*value)) == sizeof(*value)) ? 0 : -1;
H A Deventfd_write.cpp32 int eventfd_write(int fd, eventfd_t value) { argument
33 return (write(fd, &value, sizeof(value)) == sizeof(value)) ? 0 : -1;
H A Dpthread_internal.h62 void set_cached_pid(pid_t value) { argument
63 cached_pid_ = value;
H A Dsystem_properties_compat.c64 char value[PROP_VALUE_MAX]; member in struct:prop_info_compat
97 __LIBC_HIDDEN__ int __system_property_read_compat(const prop_info *_pi, char *name, char *value) argument
109 memcpy(value, pi->value, len + 1);
H A Dsemaphore.c38 * 31-bit signed value and a 1-bit 'shared' flag
41 * We use the value -1 to indicate contention on the
43 * any value lower than -2 is invalid at runtime.
65 /* Maximum unsigned value that can be stored in the semaphore.
71 /* convert a value into the corresponding sem->count bit pattern */
74 /* convert a sem->count bit pattern into the corresponding signed value */
77 /* the value +1 as a sem->count bit-pattern. */
80 /* the value -1 as a sem->count bit-pattern. */
90 int sem_init(sem_t *sem, int pshared, unsigned int value) argument
97 /* ensure that 'value' ca
[all...]
/bionic/tests/
H A Deventfd_test.cpp42 eventfd_t value = 123; local
43 ASSERT_EQ(0, eventfd_read(fd, &value));
44 ASSERT_EQ(initial_value, value);
47 ASSERT_EQ(-1, eventfd_read(fd, &value));
55 ASSERT_EQ(0, eventfd_read(fd, &value));
56 ASSERT_EQ(3U, value);
H A Dsstream_test.cpp26 static void CheckOverflow(T expected, const char* value, bool should_overflow) { argument
27 std::stringstream ss(value);
30 EXPECT_FALSE(ss.bad()) << value << ' ' << int64_t(result);
31 EXPECT_EQ(should_overflow, ss.fail()) << value << ' ' << int64_t(result);
33 ASSERT_EQ(expected, result) << value;
H A Dstdlib_test.cpp144 char* value = getenv("ENVIRONMENT_VARIABLE"); local
145 if (value == NULL) {
146 setenv("ENVIRONMENT_VARIABLE", "value", 1);
/bionic/libc/kernel/uapi/linux/
H A Dreiserfs_xattr.h31 void *value; member in struct:reiserfs_security_handle
H A Dsw_sync.h24 __u32 value; member in struct:sw_sync_create_fence_data
H A Dhidraw.h26 __u8 value[HID_MAX_DESCRIPTOR_SIZE]; member in struct:hidraw_report_descriptor
H A Dphantom.h25 __u32 value; member in struct:phm_reg
H A Dvirtio_console.h41 __u16 value; member in struct:virtio_console_control
H A Duvcvideo.h44 __u32 value; member in struct:uvc_menu_info
/bionic/libc/private/
H A Dkernel_sigset_t.h29 kernel_sigset_t(const sigset_t* value) { argument
31 set(value);
38 void set(const sigset_t* value) { argument
39 bionic = *value;
H A Dbionic_futex.h42 static inline __always_inline int __futex(volatile void* ftx, int op, int value, const struct timespec* timeout) { argument
45 int result = syscall(__NR_futex, ftx, op, value, timeout);
61 static inline int __futex_wait(volatile void* ftx, int value, const struct timespec* timeout) { argument
62 return __futex(ftx, FUTEX_WAIT, value, timeout);
65 static inline int __futex_wait_ex(volatile void* ftx, bool shared, int value, const struct timespec* timeout) { argument
66 return __futex(ftx, shared ? FUTEX_WAIT : FUTEX_WAIT_PRIVATE, value, timeout);
/bionic/libc/upstream-netbsd/lib/libc/resolv/
H A Dmtctxres.c89 __res_destroy_ctx(void *value) { argument
91 mtctxres_t *mt = (mtctxres_t *)value;
/bionic/libc/upstream-openbsd/lib/libc/stdlib/
H A Dsetenv.c38 static char **lastenv; /* last value of environ */
42 * Add a name=value string directly to the environmental, replacing
43 * any current value.
87 * Set the value of the environmental variable "name" to be
88 * "value". If rewrite is set, replace any current value.
91 setenv(const char *name, const char *value, int rewrite) argument
108 l_value = strlen(value);
115 while ((*C++ = *value++))
141 if (!(environ[offset] = /* name + `=' + value */
[all...]
/bionic/libc/include/sys/
H A D_system_properties.h57 char value[PROP_VALUE_MAX]; member in struct:prop_msg
66 ** - prop_area.count will never decrease in value
69 ** - reading a value requires the following steps
72 ** 3. memcpy(local, pi->value, SERIAL_VALUE_LEN(serial) + 1)
75 ** - writing a value requires the following steps
77 ** 2. memcpy(pi->value, local_value, value_len)
109 const char *value, unsigned int valuelen);
111 /* Update the value of a system property returned by
119 int __system_property_update(prop_info *pi, const char *value, unsigned int len);
129 ** in 0 the first time, and the previous return value o
[all...]
/bionic/libm/upstream-freebsd/lib/msun/src/
H A Ds_cbrt.c41 double value; member in union:__anon951
62 * ordinary integer divison of the value in bits magically gives
101 u.value=t;
103 t=u.value;
/bionic/linker/tests/
H A Dlinker_allocator_test.cpp31 ssize_t value; member in struct:__anon955::test_struct_nominal
61 ptr1->value = 42;
/bionic/benchmarks/
H A Dproperty_benchmark.cpp84 // the value from the possible values.
91 // Make sure the value contains at least 1 character.
146 char value[PROP_VALUE_MAX]; local
156 __system_property_get(pa.names[random() % nprops], value);
/bionic/libc/kernel/uapi/linux/netfilter/
H A Dxt_u32.h44 struct xt_u32_value_element value[XT_U32_MAXSIZE+1]; member in struct:xt_u32_test
/bionic/libc/upstream-freebsd/lib/libc/gen/
H A Dldexp.c27 double value; member in union:__anon887
41 double value; member in union:__anon889
56 ew_u.value = (d); \
66 gh_u.value = (d); \
75 sh_u.value = (d); \
77 (d) = sh_u.value; \
/bionic/libc/include/
H A Dpthread.h45 int volatile value; member in struct:__anon46
71 int volatile value; member in struct:__anon48

Completed in 7999 milliseconds

123