/bionic/libc/bionic/ |
H A D | eventfd_read.cpp | 32 int eventfd_read(int fd, eventfd_t* value) { argument 33 return (read(fd, value, sizeof(*value)) == sizeof(*value)) ? 0 : -1;
|
H A D | eventfd_write.cpp | 32 int eventfd_write(int fd, eventfd_t value) { argument 33 return (write(fd, &value, sizeof(value)) == sizeof(value)) ? 0 : -1;
|
H A D | pthread_internal.h | 62 void set_cached_pid(pid_t value) { argument 63 cached_pid_ = value;
|
H A D | system_properties_compat.c | 64 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 D | semaphore.c | 38 * 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 D | eventfd_test.cpp | 42 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 D | sstream_test.cpp | 26 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 D | stdlib_test.cpp | 144 char* value = getenv("ENVIRONMENT_VARIABLE"); local 145 if (value == NULL) { 146 setenv("ENVIRONMENT_VARIABLE", "value", 1);
|
/bionic/libc/kernel/uapi/linux/ |
H A D | reiserfs_xattr.h | 31 void *value; member in struct:reiserfs_security_handle
|
H A D | sw_sync.h | 24 __u32 value; member in struct:sw_sync_create_fence_data
|
H A D | hidraw.h | 26 __u8 value[HID_MAX_DESCRIPTOR_SIZE]; member in struct:hidraw_report_descriptor
|
H A D | phantom.h | 25 __u32 value; member in struct:phm_reg
|
H A D | virtio_console.h | 41 __u16 value; member in struct:virtio_console_control
|
H A D | uvcvideo.h | 44 __u32 value; member in struct:uvc_menu_info
|
/bionic/libc/private/ |
H A D | kernel_sigset_t.h | 29 kernel_sigset_t(const sigset_t* value) { argument 31 set(value); 38 void set(const sigset_t* value) { argument 39 bionic = *value;
|
H A D | bionic_futex.h | 42 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 D | mtctxres.c | 89 __res_destroy_ctx(void *value) { argument 91 mtctxres_t *mt = (mtctxres_t *)value;
|
/bionic/libc/upstream-openbsd/lib/libc/stdlib/ |
H A D | setenv.c | 38 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.h | 57 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 D | s_cbrt.c | 41 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 D | linker_allocator_test.cpp | 31 ssize_t value; member in struct:__anon955::test_struct_nominal 61 ptr1->value = 42;
|
/bionic/benchmarks/ |
H A D | property_benchmark.cpp | 84 // 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 D | xt_u32.h | 44 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 D | ldexp.c | 27 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 D | pthread.h | 45 int volatile value; member in struct:__anon46 71 int volatile value; member in struct:__anon48
|