Lines Matching defs:data

486         view data;
520 return data.ptr;
1633 type data; \
1635 : data(in) {} \
1636 void fill(detail::TestCase& state) const { state.DOCTEST_CAT(m_, name) = data; } \
1637 void fill(detail::TestSuite& state) const { state.DOCTEST_CAT(m_, name) = data; } \
1751 const TestCaseData** data = nullptr;
1982 static doctest::detail::TestSuite data{}; \
1988 data* decorators; \
1991 return data; \
2778 DOCTEST_MSVC_SUPPRESS_WARNING(4267) // 'var' : conversion from 'x' to 'y', possible loss of data
2948 // casting any data pointer to char* is allowed
3115 // 3. This tlsLaneIdx is stored in the thread local data, so it is directly available with
3130 // this holds both parameters from the command line and runtime data for tests
3225 data.size = other.data.size;
3226 data.capacity = data.size + 1;
3227 data.ptr = new char[data.capacity];
3228 memcpy(data.ptr, other.data.ptr, data.size + 1);
3239 delete[] data.ptr;
3254 data.size = in_size;
3255 data.capacity = data.size + 1;
3256 data.ptr = new char[data.capacity];
3257 memcpy(data.ptr, in, in_size);
3258 data.ptr[in_size] = '\0';
3267 delete[] data.ptr;
3289 // copy current data to new location before writing in the union
3291 // update data in union
3293 data.size = total_size;
3294 data.capacity = data.size + 1;
3295 data.ptr = temp;
3296 // transfer the rest of the data
3297 memcpy(data.ptr + my_old_size, other.c_str(), other_size + 1);
3300 if(data.capacity > total_size) {
3302 data.size = total_size;
3303 memcpy(data.ptr + my_old_size, other.c_str(), other_size + 1);
3306 data.capacity *= 2;
3307 if(data.capacity <= total_size)
3308 data.capacity = total_size + 1;
3310 char* temp = new char[data.capacity];
3311 // copy current data to new location before releasing it
3312 memcpy(temp, data.ptr, my_old_size); // skip the +1 ('\0') for speed
3314 delete[] data.ptr;
3316 data.size = total_size;
3317 data.ptr = temp;
3318 // transfer the rest of the data
3319 memcpy(data.ptr + my_old_size, other.c_str(), other_size + 1);
3340 delete[] data.ptr;
3355 return data.ptr[i];
3362 return data.size;
3369 return data.capacity;
3629 static doctest::detail::TestSuite data{};
3630 return data;
3641 static reporterMap data;
3642 return data;
3645 static reporterMap data;
3646 return data;
3894 static std::set<TestCase> data;
3895 return data;
4012 static std::vector<const IExceptionTranslator*> data;
4013 return data;
4798 // The header is valid, check data
5054 xml.scopedElement("TestCase").writeAttribute("name", in.data[i]->m_name)
5055 .writeAttribute("testsuite", in.data[i]->m_test_suite)
5056 .writeAttribute("filename", skipPathFromFilename(in.data[i]->m_file.c_str()))
5057 .writeAttribute("line", line(in.data[i]->m_line));
5063 xml.scopedElement("TestSuite").writeAttribute("name", in.data[i]->m_test_suite);
5774 s << Color::None << in.data[i]->m_name << "\n";
5787 s << Color::None << in.data[i]->m_test_suite << "\n";
6529 qdata.data = queryResults.data();