/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 | 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 | 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);
|
/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 | 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,
|
H A D | bionic_macros.h | 43 #define BIONIC_ALIGN(value, alignment) \ 44 (((value) + (alignment) - 1) & ~((alignment) - 1)) 46 #define BIONIC_ROUND_UP_POWER_OF_2(value) \ 47 ((sizeof(value) == 8) \ 48 ? (1UL << (64 - __builtin_clzl(static_cast<unsigned long>(value)))) \ 49 : (1UL << (32 - __builtin_clz(static_cast<unsigned int>(value)))))
|
/bionic/linker/ |
H A D | linker_dlwarning.h | 32 void add_dlwarning(const char* sopath, const char* message, const char* value = nullptr);
|
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_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 + "\"";
|
/bionic/tools/relocation_packer/src/ |
H A D | sleb128.cc | 41 // Add a single value to the encoding. Values are encoded with variable 44 // value is sign extended up to a multiple of 7 bits (ensuring that the 48 void Sleb128Encoder<uint_t>::Enqueue(uint_t value) { argument 50 static const size_t size = CHAR_BIT * sizeof(value); 53 const bool negative = static_cast<int_t>(value) < 0; 56 uint8_t byte = value & 127; 57 value >>= 7; 59 // Sign extend if encoding a -ve value. 61 value |= -(static_cast<uint_t>(1) << (size - 7)); 65 if ((value 97 uint_t value = 0; local [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 | setjmp_test.cpp | 23 int value; local 25 if ((value = setjmp(jb)) == 0) { 29 ASSERT_EQ(123, value); 34 int value; local 36 if ((value = _setjmp(jb)) == 0) { 40 ASSERT_EQ(456, value); 45 int value; local 47 if ((value = sigsetjmp(jb, 0)) == 0) { 51 ASSERT_EQ(789, value); 56 int value; local 203 int value; local 232 int value = setjmp(jb); local 253 int value = setjmp(jb); local [all...] |
/bionic/libc/include/sys/ |
H A D | eventfd.h | 45 int eventfd_read(int fd, eventfd_t* value); 46 int eventfd_write(int fd, eventfd_t value);
|
H A D | system_properties.h | 44 * Sets system property `key` to `value`, creating the system property if it doesn't already exist. 46 int __system_property_set(const char* key, const char* value) __INTRODUCED_IN(12); 50 * Use __system_property_read_callback to query the current value. 57 * Calls `callback` with a consistent trio of name, value, and serial number for property `pi`. 60 void (*callback)(void* cookie, const char *name, const char *value, uint32_t serial), 65 * callback. Use __system_property_read_callback() to read the value. 94 int __system_property_read(const prop_info* pi, char* name, char* value); 96 int __system_property_get(const char* name, char* value);
|
H A D | xattr.h | 38 int fsetxattr(int fd, const char* name, const void* value, size_t size, int flags) 40 int setxattr(const char* path, const char* name, const void* value, size_t size, int flags) 42 int lsetxattr(const char* path, const char* name, const void* value, size_t size, int flags) 45 ssize_t fgetxattr(int fd, const char* name, void* value, size_t size) __INTRODUCED_IN(16); 46 ssize_t getxattr(const char* path, const char* name, void* value, size_t size) __INTRODUCED_IN(16); 47 ssize_t lgetxattr(const char* path, const char* name, void* value, size_t size) __INTRODUCED_IN(16);
|
/bionic/tools/versioner/current/sys/ |
H A D | eventfd.h | 45 int eventfd_read(int fd, eventfd_t* value); 46 int eventfd_write(int fd, eventfd_t value);
|
H A D | system_properties.h | 44 * Sets system property `key` to `value`, creating the system property if it doesn't already exist. 46 int __system_property_set(const char* key, const char* value) __INTRODUCED_IN(12); 50 * Use __system_property_read_callback to query the current value. 57 * Calls `callback` with a consistent trio of name, value, and serial number for property `pi`. 60 void (*callback)(void* cookie, const char *name, const char *value, uint32_t serial), 65 * callback. Use __system_property_read_callback() to read the value. 94 int __system_property_read(const prop_info* pi, char* name, char* value); 96 int __system_property_get(const char* name, char* value);
|
H A D | xattr.h | 38 int fsetxattr(int fd, const char* name, const void* value, size_t size, int flags) 40 int setxattr(const char* path, const char* name, const void* value, size_t size, int flags) 42 int lsetxattr(const char* path, const char* name, const void* value, size_t size, int flags) 45 ssize_t fgetxattr(int fd, const char* name, void* value, size_t size) __INTRODUCED_IN(16); 46 ssize_t getxattr(const char* path, const char* name, void* value, size_t size) __INTRODUCED_IN(16); 47 ssize_t lgetxattr(const char* path, const char* name, void* value, size_t size) __INTRODUCED_IN(16);
|
/bionic/libc/malloc_debug/ |
H A D | DebugData.h | 57 uintptr_t value = reinterpret_cast<uintptr_t>(header); local 58 return reinterpret_cast<void*>(value + pointer_offset_); 62 uintptr_t value = reinterpret_cast<uintptr_t>(pointer); local 63 return reinterpret_cast<Header*>(value - pointer_offset_); 67 uintptr_t value = reinterpret_cast<uintptr_t>(header); local 68 return reinterpret_cast<BacktraceHeader*>(value + backtrace->alloc_offset()); 72 uintptr_t value = reinterpret_cast<uintptr_t>(header); local 73 return reinterpret_cast<uint8_t*>(value + front_guard->offset()); 77 uintptr_t value = reinterpret_cast<uintptr_t>(GetPointer(header)); local 78 return reinterpret_cast<uint8_t*>(value [all...] |
/bionic/libc/kernel/uapi/linux/ |
H A D | reiserfs_xattr.h | 31 void * value; member in struct:reiserfs_security_handle
|
/bionic/libc/versioner-dependencies/common/kernel_uapi/linux/ |
H A D | reiserfs_xattr.h | 31 void * value; member in struct:reiserfs_security_handle
|
/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);
|