/system/libbase/ |
D | stringprintf.cpp | 26 void StringAppendV(std::string* dst, const char* format, va_list ap) { in StringAppendV() argument 34 va_copy(backup_ap, ap); in StringAppendV() 57 va_copy(backup_ap, ap); in StringAppendV() 69 va_list ap; in StringPrintf() local 70 va_start(ap, fmt); in StringPrintf() 72 StringAppendV(&result, fmt, ap); in StringPrintf() 73 va_end(ap); in StringPrintf() 78 va_list ap; in StringAppendF() local 79 va_start(ap, format); in StringAppendF() 80 StringAppendV(dst, format, ap); in StringAppendF() [all …]
|
/system/core/fastboot/ |
D | util.cpp | 47 va_list ap; in die() local 48 va_start(ap, fmt); in die() 50 vfprintf(stderr, fmt, ap); in die() 52 va_end(ap); in die() 68 va_list ap; in verbose() local 69 va_start(ap, fmt); in verbose() 71 vfprintf(stderr, fmt, ap); in verbose() 72 va_end(ap); in verbose()
|
/system/netd/libnetdutils/include/netdutils/ |
D | Log.h | 130 va_list ap; in log() local 131 va_start(ap, fmt); in log() 132 StringAppendV(&result, fmt, ap); in log() 133 va_end(ap); in log() 145 va_list ap; in info() local 146 va_start(ap, fmt); in info() 147 StringAppendV(&result, fmt, ap); in info() 148 va_end(ap); in info() 160 va_list ap; in warn() local 161 va_start(ap, fmt); in warn() [all …]
|
D | Syscalls.h | 86 virtual StatusOr<int> vfprintf(FILE* file, const char* format, va_list ap) const = 0; 88 virtual StatusOr<int> vfscanf(FILE* file, const char* format, va_list ap) const = 0; 98 va_list ap; in fprintf() local 99 va_start(ap, format); in fprintf() 100 auto result = vfprintf(file, format, ap); in fprintf() 101 va_end(ap); in fprintf() 108 va_list ap; in fscanf() local 109 va_start(ap, format); in fscanf() 110 auto result = vfscanf(file, format, ap); in fscanf() 111 va_end(ap); in fscanf()
|
D | MockSyscalls.h | 65 MOCK_CONST_METHOD3(vfprintf, StatusOr<int>(FILE* file, const char* format, va_list ap)); 66 MOCK_CONST_METHOD3(vfscanf, StatusOr<int>(FILE* file, const char* format, va_list ap));
|
/system/core/libunwindstack/tests/ |
D | LogFake.cpp | 61 va_list ap; in __android_log_print() local 62 va_start(ap, fmt); in __android_log_print() 63 int val = __android_log_vprint(prio, tag, fmt, ap); in __android_log_print() 64 va_end(ap); in __android_log_print() 69 extern "C" int __android_log_vprint(int prio, const char* tag, const char* fmt, va_list ap) { in __android_log_vprint() argument 74 android::base::StringAppendV(&g_fake_log_print, fmt, ap); in __android_log_vprint()
|
/system/tools/sysprop/ |
D | CodeWriter.cpp | 34 va_list ap, apc; in Write() local 35 va_start(ap, format); in Write() 36 va_copy(apc, ap); in Write() 38 int size = std::vsnprintf(nullptr, 0, format, ap); in Write() 39 va_end(ap); in Write()
|
/system/core/libcutils/ |
D | klog.cpp | 59 va_list ap; in klog_write() local 60 va_start(ap, fmt); in klog_write() 61 vsnprintf(buf, sizeof(buf), fmt, ap); in klog_write() 62 va_end(ap); in klog_write()
|
/system/netd/libnetdutils/ |
D | DumpWriter.cpp | 64 va_list ap; in println() local 65 va_start(ap, fmt); in println() 66 StringAppendV(&line, fmt, ap); in println() 67 va_end(ap); in println()
|
D | Syscalls.cpp | 206 StatusOr<int> vfprintf(FILE* file, const char* format, va_list ap) const override { in vfprintf() 207 auto rv = ::vfprintf(file, format, ap); in vfprintf() 214 StatusOr<int> vfscanf(FILE* file, const char* format, va_list ap) const override { in vfscanf() 215 auto rv = ::vfscanf(file, format, ap); in vfscanf()
|
/system/core/debuggerd/libdebuggerd/test/ |
D | log_fake.cpp | 62 va_list ap; in __android_log_print() local 63 va_start(ap, fmt); in __android_log_print() 64 android::base::StringAppendV(&g_fake_log_print, fmt, ap); in __android_log_print() 65 va_end(ap); in __android_log_print()
|
/system/core/cli-test/ |
D | cli-test.cpp | 67 va_list ap; in Print() local 68 va_start(ap, fmt); in Print() 71 vfprintf(stdout, fmt, ap); in Print() 73 va_end(ap); in Print() 77 va_list ap; in Die() local 78 va_start(ap, fmt); in Die() 80 vfprintf(stderr, fmt, ap); in Die() 83 va_end(ap); in Die() 90 va_list ap; in V() local 91 va_start(ap, fmt); in V() [all …]
|
/system/libufdt/sysdeps/ |
D | libufdt_sysdeps_posix.c | 27 va_list ap; in dto_print() local 28 va_start(ap, fmt); in dto_print() 29 err = vfprintf(stderr, fmt, ap); in dto_print() 30 va_end(ap); in dto_print()
|
D | libufdt_sysdeps_vendor.c | 11 va_list ap; in dto_print() local 12 va_start(ap, fmt); in dto_print() 13 err = _dvprintf(fmt, ap); in dto_print() 14 va_end(ap); in dto_print()
|
/system/core/liblog/ |
D | logger_write.cpp | 330 int __android_log_vprint(int prio, const char* tag, const char* fmt, va_list ap) { in __android_log_vprint() argument 339 vsnprintf(buf, LOG_BUF_SIZE, fmt, ap); in __android_log_vprint() 354 va_list ap; in __android_log_print() local 357 va_start(ap, fmt); in __android_log_print() 358 vsnprintf(buf, LOG_BUF_SIZE, fmt, ap); in __android_log_print() 359 va_end(ap); in __android_log_print() 374 va_list ap; in __android_log_buf_print() local 377 va_start(ap, fmt); in __android_log_buf_print() 378 vsnprintf(buf, LOG_BUF_SIZE, fmt, ap); in __android_log_buf_print() 379 va_end(ap); in __android_log_buf_print() [all …]
|
/system/tools/aidl/ |
D | code_writer.cpp | 44 va_list ap; in Write() local 45 va_start(ap, format); in Write() 47 android::base::StringAppendV(&formatted, format, ap); in Write() 48 va_end(ap); in Write()
|
/system/bt/main/ |
D | bte_logmsg.cc | 179 va_list ap; in LogMsg() local 180 va_start(ap, fmt_str); in LogMsg() 181 vsnprintf(&buffer[MSG_BUFFER_OFFSET], BTE_LOG_MAX_SIZE, fmt_str, ap); in LogMsg() 182 va_end(ap); in LogMsg()
|
/system/core/adb/ |
D | adb_io.cpp | 143 va_list ap; in WriteFdFmt() local 144 va_start(ap, fmt); in WriteFdFmt() 145 android::base::StringAppendV(&str, fmt, ap); in WriteFdFmt() 146 va_end(ap); in WriteFdFmt()
|
/system/extras/simpleperf/ |
D | utils.cpp | 152 va_list ap; in PrintIndented() local 153 va_start(ap, fmt); in PrintIndented() 155 vprintf(fmt, ap); in PrintIndented() 156 va_end(ap); in PrintIndented() 160 va_list ap; in FprintIndented() local 161 va_start(ap, fmt); in FprintIndented() 163 vfprintf(fp, fmt, ap); in FprintIndented() 164 va_end(ap); in FprintIndented()
|
/system/core/debuggerd/libdebuggerd/ |
D | utility.cpp | 72 va_list ap; in _LOG() local 73 va_start(ap, fmt); in _LOG() 74 _VLOG(log, ltype, fmt, ap); in _LOG() 75 va_end(ap); in _LOG() 79 void _VLOG(log_t* log, enum logtype ltype, const char* fmt, va_list ap) { in _VLOG() argument 88 android::base::StringAppendV(&msg, fmt, ap); in _VLOG()
|
/system/libbase/include/android-base/ |
D | stringprintf.h | 36 void StringAppendV(std::string* dst, const char* format, va_list ap)
|
/system/core/adb/fastdeploy/deploypatchgenerator/ |
D | deploy_patch_generator.cpp | 41 va_list ap; in Log() local 42 va_start(ap, fmt); in Log() 43 vprintf(fmt, ap); in Log() 45 va_end(ap); in Log()
|
/system/bt/embdrv/g722/ |
D | g722_decode.cc | 111 band->ap[2] = ap2; in block4() 120 wd3 = __ssat16(15360 - band->ap[2]); in block4() 125 band->ap[1] = ap1; in block4() 157 band->a[i] = band->ap[i]; in block4()
|
D | g722_encode.cc | 105 band->ap[2] = ap2; in block4() 114 wd3 = saturate(15360 - band->ap[2]); in block4() 119 band->ap[1] = ap1; in block4() 151 band->a[i] = band->ap[i]; in block4()
|
/system/core/cpio/ |
D | mkbootfs.c | 29 va_list ap; in die() local 31 va_start(ap, why); in die() 33 vfprintf(stderr, why, ap); in die() 35 va_end(ap); in die()
|