/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 | sigqueue.cpp | 36 int sigqueue(pid_t pid, int signo, const sigval value) { argument 43 info.si_value = value;
|
H A D | fgetxattr.cpp | 38 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 D | fsetxattr.cpp | 38 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 D | setjmp_cookie.cpp | 43 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 D | jemalloc_wrapper.cpp | 51 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 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;
|
/bionic/libc/kernel/uapi/linux/ |
H A D | reiserfs_xattr.h | 31 void * value; member in struct:reiserfs_security_handle
|
H A D | hidraw.h | 26 __u8 value[HID_MAX_DESCRIPTOR_SIZE]; member in struct:hidraw_report_descriptor
|
/bionic/libc/private/ |
H A D | kernel_sigset_t.h | 31 kernel_sigset_t(const sigset_t* value) { argument 33 set(value); 40 void set(const sigset_t* value) { argument 41 bionic = *value;
|
H A D | WriteProtected.h | 32 T value; member in union:WriteProtectedContents 65 return &contents.value; 69 return contents.value; 78 mutator(&contents.value);
|
H A D | bionic_fortify.h | 58 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 D | CachedProperty.h | 82 static void Callback(void* data, const char*, const char* value, uint32_t serial) { argument 85 strcpy(instance->cached_value_, value);
|
H A D | bionic_futex.h | 43 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 D | reiserfs_xattr.h | 31 void * value; member in struct:reiserfs_security_handle
|
H A D | hidraw.h | 26 __u8 value[HID_MAX_DESCRIPTOR_SIZE]; member in struct:hidraw_report_descriptor
|
/bionic/linker/ |
H A D | linker_dlwarning.cpp | 37 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 D | linker_sleb128.h | 45 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 D | linker_logger.cpp | 45 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 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 | 36 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 D | CompilationType.h | 60 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 D | s_cbrt.c | 41 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;
|