/external/swiftshader/src/Reactor/ |
D | Debug.cpp | 188 va_list vararg; in trace() local 189 va_start(vararg, format); in trace() 190 logv(Level::Debug, format, vararg); in trace() 191 va_end(vararg); in trace() 196 va_list vararg; in warn() local 197 va_start(vararg, format); in warn() 198 logv(Level::Warn, format, vararg); in warn() 199 va_end(vararg); in warn() 204 va_list vararg; in abort() local 206 va_start(vararg, format); in abort() [all …]
|
/external/swiftshader/src/System/ |
D | Debug.cpp | 192 va_list vararg; in trace() local 193 va_start(vararg, format); in trace() 194 logv(Level::Debug, format, vararg); in trace() 195 va_end(vararg); in trace() 200 va_list vararg; in warn() local 201 va_start(vararg, format); in warn() 202 logv(Level::Warn, format, vararg); in warn() 203 va_end(vararg); in warn() 208 va_list vararg; in abort() local 210 va_start(vararg, format); in abort() [all …]
|
/external/swiftshader/third_party/marl/src/ |
D | debug.cpp | 28 va_list vararg; in fatal() local 29 va_start(vararg, msg); in fatal() 30 vfprintf(stderr, msg, vararg); in fatal() 31 va_end(vararg); in fatal() 36 va_list vararg; in warn() local 37 va_start(vararg, msg); in warn() 38 vfprintf(stdout, msg, vararg); in warn() 39 va_end(vararg); in warn()
|
D | trace.cpp | 94 va_list vararg; in nameThread() local 95 va_start(vararg, fmt); in nameThread() 96 vsnprintf(event->name, Trace::MaxEventNameLength, fmt, vararg); in nameThread() 97 va_end(vararg); in nameThread() 108 va_list vararg; in beginEvent() local 109 va_start(vararg, fmt); in beginEvent() 110 vsnprintf(event->name, Trace::MaxEventNameLength, fmt, vararg); in beginEvent() 111 va_end(vararg); in beginEvent() 132 va_list vararg; in beginAsyncEvent() local 133 va_start(vararg, fmt); in beginAsyncEvent() [all …]
|
/external/swiftshader/src/OpenGL/common/ |
D | debug.cpp | 38 static void output(const char *format, va_list vararg) in output() argument 40 ALOGI("%s", android::String8::formatV(format, vararg).string()); in output() 43 static void output(const char *format, va_list vararg) 55 vfprintf(file, format, vararg); 64 va_list vararg; in trace() local 65 va_start(vararg, format); in trace() 66 output(format, vararg); in trace() 67 va_end(vararg); in trace()
|
/external/clang/test/CXX/expr/expr.post/expr.call/ |
D | p7-0x.cpp | 21 void vararg(...); 26 vararg(x1); // OK in f() 27 …vararg(x2); // expected-error{{cannot pass object of non-trivial type 'X2' through variadic functi… in f() 28 vararg(x3); // OK in f() 29 …vararg(x4); // expected-error{{cannot pass object of non-trivial type 'X4' through variadic functi… in f() 31 vararg(g()); // expected-error{{cannot pass expression of type 'void' to variadic function}} in f() 32 vararg({1, 2, 3}); // expected-error{{cannot pass initializer list to variadic function}} in f()
|
/external/llvm-project/clang/test/CXX/expr/expr.post/expr.call/ |
D | p7-0x.cpp | 21 void vararg(...); 26 vararg(x1); // OK in f() 27 …vararg(x2); // expected-error{{cannot pass object of non-trivial type 'X2' through variadic functi… in f() 28 vararg(x3); // OK in f() 29 …vararg(x4); // expected-error{{cannot pass object of non-trivial type 'X4' through variadic functi… in f() 31 vararg(g()); // expected-error{{cannot pass expression of type 'void' to variadic function}} in f() 32 vararg({1, 2, 3}); // expected-error{{cannot pass initializer list to variadic function}} in f()
|
/external/llvm/test/MC/AsmParser/ |
D | macros-darwin-vararg.s | 3 .macro abc a b:vararg argument 12 .macro ifcc arg:vararg argument 18 .macro ifcc2 arg0 arg1:vararg argument 24 .macro ifcc3 arg0, arg1:vararg argument 30 .macro ifcc4 arg0, arg1:vararg argument 63 .macro abc arg:vararg=nop argument 67 .macro abcd arg0=%eax, arg1:vararg=%ebx 78 .macro .make_macro start, end, name, body:vararg argument
|
D | vararg.s | 2 .macro ifcc arg:vararg argument 8 .macro ifcc2 arg0 arg1:vararg argument 14 .macro ifcc3 arg0, arg1:vararg argument 20 .macro ifcc4 arg0, arg1:vararg argument
|
/external/llvm-project/llvm/test/MC/AsmParser/ |
D | macros-darwin-vararg.s | 3 .macro abc a b:vararg argument 12 .macro ifcc arg:vararg argument 18 .macro ifcc2 arg0 arg1:vararg argument 24 .macro ifcc3 arg0, arg1:vararg argument 30 .macro ifcc4 arg0, arg1:vararg argument 63 .macro abc arg:vararg=nop argument 67 .macro abcd arg0=%eax, arg1:vararg=%ebx 78 .macro .make_macro start, end, name, body:vararg argument
|
D | macro-vararg-err.s | 3 # CHECK:{{.*}}.s:[[#@LINE+3]]:21: error: vararg parameter 'a' should be the last parameter 4 # CHECK-NEXT:.macro two a:vararg b:vararg 6 .macro two a:vararg b:vararg argument 9 # CHECK-NEXT:.macro one a:req:vararg 11 .macro one a:req:vararg
|
D | macro-vararg.s | 2 .macro one a:vararg argument 19 .macro two a, b:vararg 32 .macro two1 a b:vararg argument
|
/external/llvm-project/clang-tools-extra/docs/clang-tidy/checks/ |
D | hicpp-vararg.rst | 1 .. title:: clang-tidy - hicpp-vararg 3 :http-equiv=refresh: 5;URL=cppcoreguidelines-pro-type-vararg.html 5 hicpp-vararg 8 The `hicpp-vararg` check is an alias, please see 9 `cppcoreguidelines-pro-type-vararg <cppcoreguidelines-pro-type-vararg.html>`_
|
D | cppcoreguidelines-pro-type-vararg.rst | 1 .. title:: clang-tidy - cppcoreguidelines-pro-type-vararg 3 cppcoreguidelines-pro-type-vararg 6 This check flags all calls to c-style vararg functions and all use of 9 To allow for SFINAE use of vararg functions, a call is not flagged if a literal 10 0 is passed as the only vararg argument.
|
/external/angle/src/tests/gles_conformance_tests/ |
D | gles_conformance_tests.cpp | 13 va_list vararg; in FormatArg() local 14 va_start(vararg, fmt); in FormatArg() 15 int len = vsnprintf(nullptr, 0, fmt, vararg); in FormatArg() 16 va_end(vararg); in FormatArg() 20 va_start(vararg, fmt); in FormatArg() 21 vsnprintf(buf.data(), buf.size(), fmt, vararg); in FormatArg() 22 va_end(vararg); in FormatArg()
|
/external/swiftshader/src/Common/ |
D | Debug.cpp | 30 va_list vararg; in trace() local 31 va_start(vararg, format); in trace() 32 vfprintf(file, format, vararg); in trace() 33 va_end(vararg); in trace()
|
D | DebugAndroid.cpp | 48 va_list vararg; in trace() local 49 va_start(vararg, format); in trace() 50 android_vprintLog(ANDROID_LOG_VERBOSE, NULL, LOG_TAG, format, vararg); in trace() 51 va_end(vararg); in trace()
|
/external/swiftshader/third_party/marl/include/marl/ |
D | trace.h | 177 va_list vararg; in ScopedEvent() local 178 va_start(vararg, fmt); in ScopedEvent() 179 vsnprintf(name, Trace::MaxEventNameLength, fmt, vararg); in ScopedEvent() 180 va_end(vararg); in ScopedEvent() 196 va_list vararg; in ScopedAsyncEvent() local 197 va_start(vararg, fmt); in ScopedAsyncEvent() 198 vsnprintf(buf, Trace::MaxEventNameLength, fmt, vararg); in ScopedAsyncEvent() 199 va_end(vararg); in ScopedAsyncEvent()
|
/external/angle/src/tests/perf_tests/third_party/perf/ |
D | perf_test.cc | 16 std::string FormatString(const char *fmt, va_list vararg) in FormatString() argument 21 int len = vsnprintf(buffer->data(), buffer->size(), fmt, vararg); in FormatString() 25 len = vsnprintf(NULL, 0, fmt, vararg); in FormatString() 29 vsnprintf(buffer->data(), buffer->size(), fmt, vararg); in FormatString() 37 va_list vararg; in StringPrintf() local 38 va_start(vararg, fmt); in StringPrintf() 39 std::string result = FormatString(fmt, vararg); in StringPrintf() 40 va_end(vararg); in StringPrintf()
|
D | angle-mods.patch | 34 --+std::string FormatString(const char *fmt, va_list vararg) { 38 --+ int len = vsnprintf(&buffer[0], buffer.size(), fmt, vararg); 41 --+ len = vsnprintf(NULL, 0, fmt, vararg); 45 --+ vsnprintf(&buffer[0], buffer.size(), fmt, vararg); 52 --+ va_list vararg; 53 --+ va_start(vararg, fmt); 54 --+ std::string result = FormatString(fmt, vararg); 55 --+ va_end(vararg); 110 -+std::string FormatString(const char *fmt, va_list vararg) { 114 -+ int len = vsnprintf(&buffer[0], buffer.size(), fmt, vararg); [all …]
|
/external/angle/src/common/ |
D | angleutils.cpp | 50 size_t FormatStringIntoVector(const char *fmt, va_list vararg, std::vector<char> &outBuffer) in FormatStringIntoVector() argument 53 va_copy(varargCopy, vararg); in FormatStringIntoVector() 55 int len = vsnprintf(nullptr, 0, fmt, vararg); in FormatStringIntoVector()
|
/external/llvm-project/llvm/test/Transforms/CodeExtractor/ |
D | PartialInlineVarArg.ll | 6 define i32 @vararg(i32 %count, ...) { 34 %tmp = tail call i32 (i32, ...) @vararg(i32 %arg) 39 ; CHECK-NEXT: call void (i32, i8**, i32, ...) @vararg.3.bb1(i32 %stat1.i, i8** %vargs.i, i32 %arg) 43 %tmp = tail call i32 (i32, ...) @vararg(i32 %arg, i32 10, float %arg2) 49 ; CHECK-NEXT: call void (i32, i8**, i32, ...) @vararg.3.bb1(i32 %stat1.i, i8** %vargs.i, i32 %arg,… 51 ; Test case to check that we do not extract a vararg function, if va_end is in
|
/external/arm-trusted-firmware/include/lib/cpus/aarch64/ |
D | cpu_macros.S | 105 .macro fill_constants _count:req, _this, _rest:vararg argument 152 _extra1:req, _extra2:req, _e_handler:req, _power_down_ops:vararg argument 206 _power_down_ops:vararg argument 212 _e_handler:req, _power_down_ops:vararg argument 219 _power_down_ops:vararg argument
|
/external/llvm-project/clang/test/CodeGenCXX/ |
D | vararg-non-pod-ms-compat.cpp | 10 void vararg(...); 26 vararg(x); in test()
|
/external/clang/test/CodeGenCXX/ |
D | vararg-non-pod-ms-compat.cpp | 10 void vararg(...); 26 vararg(x); in test()
|