Home
last modified time | relevance | path

Searched refs:actual_size (Results 1 – 25 of 27) sorted by relevance

12

/external/u-boot/board/AndesTech/adp-ae3xx/
Dadp-ae3xx.c37 unsigned long actual_size; in dram_init() local
38 actual_size = get_ram_size((void *)sdram_base, expected_size); in dram_init()
39 gd->ram_size = actual_size; in dram_init()
40 if (expected_size != actual_size) { in dram_init()
42 actual_size >> 20, expected_size >> 20); in dram_init()
/external/u-boot/board/AndesTech/adp-ag101p/
Dadp-ag101p.c41 unsigned long actual_size; in dram_init() local
43 actual_size = get_ram_size((void *)sdram_base, expected_size); in dram_init()
45 gd->ram_size = actual_size; in dram_init()
47 if (expected_size != actual_size) { in dram_init()
49 actual_size >> 20, expected_size >> 20); in dram_init()
/external/mesa3d/src/gallium/winsys/i915/drm/
Di915_drm_batchbuffer.c24 size_t actual_size; member
44 batch->actual_size, in i915_drm_batchbuffer_reset()
47 memset(batch->base.map, 0, batch->actual_size); in i915_drm_batchbuffer_reset()
49 batch->base.size = batch->actual_size - BATCH_RESERVED; in i915_drm_batchbuffer_reset()
59 batch->actual_size = idws->max_batch_size; in i915_drm_batchbuffer_create()
61 batch->base.map = MALLOC(batch->actual_size); in i915_drm_batchbuffer_create()
/external/google-breakpad/src/testing/gtest/test/
Dgtest-listener_test.cc183 const int actual_size = data.size(); in VerifyResults() local
186 EXPECT_EQ(expected_data_size, actual_size); in VerifyResults()
189 const int shorter_size = expected_data_size <= actual_size ? in VerifyResults()
190 expected_data_size : actual_size; in VerifyResults()
198 for (; i < actual_size; ++i) { in VerifyResults()
/external/minijail/test/
Dlibminijail_test.cpp71 size_t actual_size = getgroups_with_alloc(&actual_list); in check_groups() local
73 if (expected_size != actual_size) { in check_groups()
75 << expected_size << ", actual " << actual_size; in check_groups()
81 for (size_t j = 0; j < actual_size; j++) { in check_groups()
/external/googletest/googletest/test/
Dgoogletest-listener-test.cc249 const size_t actual_size = data.size(); in VerifyResults() local
252 EXPECT_EQ(expected_data_size, actual_size); in VerifyResults()
255 const size_t shorter_size = expected_data_size <= actual_size ? in VerifyResults()
256 expected_data_size : actual_size; in VerifyResults()
264 for (; i < actual_size; ++i) { in VerifyResults()
/external/crosvm/devices/src/virtio/
Dqueue.rs229 pub fn actual_size(&self) -> u16 { in actual_size() method
234 let queue_size = self.actual_size() as usize; in is_valid()
289 let queue_size = self.actual_size(); in pop()
319 if desc_index >= self.actual_size() { in add_used()
328 let next_used = (self.next_used.0 % self.actual_size()) as usize; in add_used()
/external/libcxxabi/src/
Dcxa_exception.cpp186 size_t actual_size = cxa_exception_size_from_exception_thrown_size(thrown_size); in __cxa_allocate_exception() local
192 (char *)__aligned_malloc_with_fallback(header_offset + actual_size); in __cxa_allocate_exception()
197 std::memset(exception_header, 0, actual_size); in __cxa_allocate_exception()
216 size_t actual_size = sizeof(__cxa_dependent_exception); in __cxa_allocate_dependent_exception() local
217 void *ptr = __aligned_malloc_with_fallback(actual_size); in __cxa_allocate_dependent_exception()
220 std::memset(ptr, 0, actual_size); in __cxa_allocate_dependent_exception()
/external/protobuf/python/compatibility_tests/v2.5.0/tests/google/protobuf/internal/
Dwire_format_test.py107 actual_size = byte_size_fn(field_number, value)
108 self.assertEqual(expected_size, actual_size,
111 byte_size_fn, field_number, value, expected_size, actual_size))
/external/tensorflow/tensorflow/compiler/jit/
Dxla_launch_util.h176 XlaTensorBuffer(const void* ptr, size_t expected_size, size_t actual_size, in XlaTensorBuffer() argument
180 actual_size_(actual_size), in XlaTensorBuffer()
/external/protobuf/python/google/protobuf/internal/
Dwire_format_test.py111 actual_size = byte_size_fn(field_number, value)
112 self.assertEqual(expected_size, actual_size,
115 byte_size_fn, field_number, value, expected_size, actual_size))
/external/tensorflow/tensorflow/compiler/mlir/tensorflow/utils/
Dexport_utils.cc471 int64 actual_size = result.first->second.i(); in SetSizeAttribute() local
474 if (actual_size != size) in SetSizeAttribute()
476 size, " but found ", actual_size); in SetSizeAttribute()
/external/tensorflow/tensorflow/python/ops/
Dcheck_ops.py1835 actual_size = sizes.actual_sizes[tensor_dim]
1836 if _has_known_value(actual_size) and _has_known_value(specified_size):
1837 if int(actual_size) != int(specified_size):
1842 tensor_dim, specified_size, actual_size,
1848 ops.convert_to_tensor(actual_size),
/external/crosvm/devices/src/virtio/vhost/
Dworker.rs93 queue.actual_size(), in run()
/external/e2fsprogs/lib/ext2fs/
Dundo_io.c166 static int actual_size; variable
397 actual_size = 0; in undo_write_tdb()
413 data_size = actual_size; in undo_write_tdb()
488 actual_size = actual; in undo_io_read_error()
/external/protobuf/python/google/protobuf/pyext/
Dmessage.cc2046 Py_ssize_t actual_size = 0; in ListFields() local
2099 PyList_SET_ITEM(all_fields.get(), actual_size, t.release()); in ListFields()
2100 ++actual_size; in ListFields()
2102 if (static_cast<size_t>(actual_size) != fields.size() && in ListFields()
2103 (PyList_SetSlice(all_fields.get(), actual_size, fields.size(), NULL) < in ListFields()
/external/python/cpython3/Lib/test/
Dtest_zipfile.py841 actual_size = 8
846 file_size = actual_size
850 local_zip64_fields.append(actual_size)
851 central_zip64_fields.append(actual_size)
854 compress_size = actual_size
858 local_zip64_fields.append(actual_size)
859 central_zip64_fields.append(actual_size)
/external/webp/src/demux/
Ddemux.c295 uint32_t min_size, uint32_t actual_size, in NewFrame() argument
298 if (actual_size < min_size) return PARSE_ERROR; in NewFrame()
/external/google-breakpad/src/testing/include/gmock/
Dgmock-matchers.h2163 const size_t actual_size = lhs_stl_container.size();
2164 if (actual_size != rhs_.size()) {
2165 *listener << "which contains " << actual_size << " values";
2171 for (size_t i = 0; i != actual_size; ++i, ++left, ++right) {
/external/libchrome/base/metrics/
Dfield_trial.cc1099 size_t actual_size = sizeof(FieldTrial::FieldTrialEntry) + entry->pickle_size; in GetParamsFromSharedMemory() local
1100 if (allocated_size < actual_size) in GetParamsFromSharedMemory()
/external/swiftshader/third_party/llvm-7.0/llvm/utils/unittest/googlemock/include/gmock/
Dgmock-matchers.h2755 const size_t actual_size = lhs_stl_container.size();
2756 if (actual_size != rhs_.size()) {
2757 *listener << "which contains " << actual_size << " values";
2763 for (size_t i = 0; i != actual_size; ++i, ++left, ++right) {
/external/googletest/googlemock/include/gmock/
Dgmock-matchers.h2311 const size_t actual_size = lhs_stl_container.size();
2312 if (actual_size != rhs_.size()) {
2313 *listener << "which contains " << actual_size << " values";
2319 for (size_t i = 0; i != actual_size; ++i, ++left, ++right) {
/external/v8/src/wasm/baseline/
Dliftoff-compiler.cc54 template <int expected_size, int actual_size>
56 static_assert(expected_size == actual_size,
58 static constexpr int size = actual_size;
/external/v8/src/d8/
Dd8.cc3834 size_t* actual_size) override { in ReallocateBufferMemory() argument
3841 *actual_size = result ? size : 0; in ReallocateBufferMemory()
/external/fmtlib/test/gmock/
Dgmock.h7168 const size_t actual_size = lhs_stl_container.size();
7169 if (actual_size != rhs_.size()) {
7170 *listener << "which contains " << actual_size << " values";
7176 for (size_t i = 0; i != actual_size; ++i, ++left, ++right) {

12