Searched defs:int (Results 1 - 5 of 5) sorted by relevance

/system/core/base/include/android-base/
H A Dunique_fd.h43 static void Close(int fd) {
57 explicit unique_fd_impl(int value) : value_(value) {}
66 void reset(int new_value = -1) {
73 int get() const { return value_; }
74 operator int() const { return get(); }
76 int release() __attribute__((warn_unused_result)) {
77 int ret = value_;
83 int value_;
95 int close(const android::base::unique_fd_impl<T>&)
/system/core/debuggerd/libdebuggerd/test/
H A Dlog_fake.cpp47 extern "C" int __android_log_buf_write(int bufId, int prio, const char* tag, const char* msg) {
55 extern "C" int __android_log_print(int prio, const char* tag, const char* fmt, ...) {
74 extern "C" struct logger_list* android_logger_list_open(log_id_t, int, unsigned int, pid_t) { argument
79 extern "C" int android_logger_list_read(struct logger_list*, struct log_msg*) {
87 extern "C" int android_log_processBinaryLogBuffer(
89 AndroidLogEntry*, const EventTagMap*, char*, int) {
[all...]
/system/core/libunwindstack/tests/
H A DLogFake.cpp52 extern "C" int __android_log_buf_write(int bufId, int prio, const char* tag, const char* msg) {
60 extern "C" int __android_log_print(int prio, const char* tag, const char* fmt, ...) {
63 int val = __android_log_vprint(prio, tag, fmt, ap);
69 extern "C" int __android_log_vprint(int prio, const char* tag, const char* fmt, va_list ap) {
85 extern "C" struct logger_list* android_logger_list_open(log_id_t, int, unsigned int, pid_ argument
[all...]
/system/libhidl/
H A Dtest_main.cpp267 int val;
269 explicit ConvertibleType(int val) : val(val) {}
270 explicit operator int() const { return val; }
271 bool operator==(const int& other) const { return val == other; }
278 android::hardware::hidl_vec<int> hv(input.begin(), input.end());
281 int sum = 0;
436 int main(int argc, char **argv) {
/system/core/base/
H A Dlogging.cpp150 const char* tag, const char*, unsigned int, const char* msg) {
152 static constexpr int kLogSeverityToKernelLogLevel[] = {
166 static int klog_fd = TEMP_FAILURE_RETRY(open("/dev/kmsg", O_WRONLY | O_CLOEXEC));
169 int level = kLogSeverityToKernelLogLevel[severity];
189 unsigned int line, const char* message) {
225 const char* file, unsigned int line,
235 int priority = kLogSeverityToAndroidLogPriority[severity];
345 LogMessageData(const char* file, unsigned int line, LogId id,
346 LogSeverity severity, int error)
358 unsigned int GetLineNumbe
149 KernelLogger(android::base::LogId, android::base::LogSeverity severity, const char* tag, const char*, unsigned int, const char* msg) argument
[all...]

Completed in 182 milliseconds