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

123456

/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 Dsigqueue.cpp36 int sigqueue(pid_t pid, int signo, const sigval value) { argument
43 info.si_value = value;
H A Dfgetxattr.cpp38 ssize_t fgetxattr(int fd, const char *name, void *value, size_t size) { argument
40 ssize_t result = ___fgetxattr(fd, name, value, size);
58 return getxattr(buf, name, value, size);
H A Dfsetxattr.cpp38 int fsetxattr(int fd, const char* name, const void* value, size_t size, int flags) { argument
40 int result = ___fsetxattr(fd, name, value, size, flags);
58 return setxattr(buf, name, value, size, flags);
H A Dsetjmp_cookie.cpp43 long value; local
44 __libc_safe_arc4random_buf(&value, sizeof(value), args);
47 globals->setjmp_cookie = value & ~1;
52 __libc_fatal("unexpected sigflag value: %ld", sigflag);
H A Djemalloc_wrapper.cpp51 int je_mallopt(int param, int value) { argument
54 // Only support setting the value to 1 or 0.
56 if (value) {
/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;
/bionic/libc/kernel/uapi/linux/
H A Dreiserfs_xattr.h31 void * value; member in struct:reiserfs_security_handle
H A Dhidraw.h26 __u8 value[HID_MAX_DESCRIPTOR_SIZE]; member in struct:hidraw_report_descriptor
/bionic/libc/private/
H A Dkernel_sigset_t.h31 kernel_sigset_t(const sigset_t* value) { argument
33 set(value);
40 void set(const sigset_t* value) { argument
41 bionic = *value;
H A DWriteProtected.h32 T value; member in union:WriteProtectedContents
65 return &contents.value;
69 return contents.value;
78 mutator(&contents.value);
H A Dbionic_fortify.h58 static inline void __check_count(const char* fn, const char* identifier, size_t value) { argument
59 if (__predict_false(value > SSIZE_MAX)) {
60 __fortify_fatal("%s: %s %zu > SSIZE_MAX", fn, identifier, value);
H A DCachedProperty.h82 static void Callback(void* data, const char*, const char* value, uint32_t serial) { argument
85 strcpy(instance->cached_value_, value);
H A Dbionic_futex.h43 static inline __always_inline int __futex(volatile void* ftx, int op, int value, argument
48 int result = syscall(__NR_futex, ftx, op, value, timeout, NULL, bitset);
64 static inline int __futex_wait(volatile void* ftx, int value, const struct timespec* timeout) { argument
65 return __futex(ftx, FUTEX_WAIT, value, timeout, 0);
68 static inline int __futex_wait_ex(volatile void* ftx, bool shared, int value, argument
71 (use_realtime_clock ? FUTEX_CLOCK_REALTIME : 0), value, abs_timeout,
/bionic/libc/versioner-dependencies/common/kernel_uapi/linux/
H A Dreiserfs_xattr.h31 void * value; member in struct:reiserfs_security_handle
H A Dhidraw.h26 __u8 value[HID_MAX_DESCRIPTOR_SIZE]; member in struct:hidraw_report_descriptor
/bionic/linker/
H A Dlinker_dlwarning.cpp37 void add_dlwarning(const char* sopath, const char* message, const char* value) { argument
44 if (value != nullptr) {
45 current_msg = current_msg + " \"" + value + "\"";
H A Dlinker_sleb128.h45 size_t value = 0; local
46 static const size_t size = CHAR_BIT * sizeof(value);
56 value |= (static_cast<size_t>(byte & 127) << shift);
61 value |= -(static_cast<size_t>(1) << shift);
64 return value;
H A Dlinker_logger.cpp45 static uint32_t ParseProperty(const std::string& value) { argument
46 if (value.empty()) {
50 std::vector<std::string> options = android::base::Split(value, ",");
/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.c36 static char **lastenv; /* last value of environ */
40 * Add a name=value string directly to the environmental, replacing
41 * any current value.
86 * Set the value of the environmental variable "name" to be
87 * "value". If rewrite is set, replace any current value.
90 setenv(const char *name, const char *value, int rewrite) argument
107 l_value = strlen(value);
114 while ((*C++ = *value++))
140 if (!(environ[offset] = /* name + `=' + value */
[all...]
/bionic/tools/versioner/src/
H A DCompilationType.h60 int32_t value; local
61 memcpy(&value, &packed, sizeof(value));
62 return std::hash<int32_t>()(value);
/bionic/libm/upstream-freebsd/lib/msun/src/
H A Ds_cbrt.c41 double value; member in union:__anon2268
62 * ordinary integer divison of the value in bits magically gives
101 u.value=t;
103 t=u.value;

Completed in 469 milliseconds

123456