Lines Matching refs:VarArgs
70 class VarArgs;
131 const VarArgs* va;
140 class VarArgs {
142 VarArgs(jmethodID m, va_list var) : m_(m), type_(kTypeVaList), cnt_(0) {
146 VarArgs(jmethodID m, const jvalue* vals) : m_(m), type_(kTypePtr), cnt_(0), ptr_(vals) {}
148 ~VarArgs() {
154 VarArgs(VarArgs&& other) {
166 // owned copy of the VarArgs. This is because getting the next argument from a va_list is a
167 // mutating operation. Therefore we pass around these VarArgs with the 'const' qualifier and when
169 VarArgs Clone() const {
173 return VarArgs(m_, cnt_, const_cast<VarArgs*>(this)->vargs_);
175 return VarArgs(m_, cnt_, ptr_);
223 VarArgs(jmethodID m, uint32_t cnt, va_list var) : m_(m), type_(kTypeVaList), cnt_(cnt) {
227 VarArgs(jmethodID m, uint32_t cnt, const jvalue* vals) : m_(m), type_(kTypePtr), cnt_(cnt), ptr_(vals) {}
454 * . - VarArgs* for Jni calls with variable length arguments
851 case '.': // A VarArgs list
858 bool CheckVarArgs(ScopedObjectAccess& soa, const VarArgs* args_p)
861 VarArgs args(args_p->Clone());
973 const VarArgs* va = arg.va;
974 VarArgs args(va->Clone());
1993 VarArgs rest(mid, vargs);
2017 VarArgs rest(mid, vargs);
2854 jclass c, jmethodID mid, InvokeType invoke, const VarArgs* vargs)
2889 VarArgs rest(mid, vargs);
3073 VarArgs rest(mid, vargs);