Home
last modified time | relevance | path

Searched refs:valid_size (Results 1 – 8 of 8) sorted by relevance

/external/perfetto/src/trace_processor/importers/ninja/
Dninja_log_parser.cc44 size_t valid_size = log_.size(); in Parse() local
45 for (; valid_size > 0 && log_[valid_size - 1] != '\n'; --valid_size) { in Parse()
48 for (StringSplitter line(log_.data(), valid_size, '\n'); line.Next();) { in Parse()
119 log_.erase(log_.begin(), log_.begin() + static_cast<ssize_t>(valid_size)); in Parse()
/external/igt-gpu-tools/tests/i915/
Dgem_mmap_gtt.c721 uint64_t valid_size = huge_object_size; in test_huge_copy() local
728 valid_size = rounddown(valid_size, tile_row_size(tiling_a, min_tile_width(devid, tiling_a))); in test_huge_copy()
736 valid_size = rounddown(valid_size, tile_row_size(tiling_b, max_tile_width(devid, tiling_b))); in test_huge_copy()
742 for (i = 0; i < valid_size / PAGE_SIZE; i++) { in test_huge_copy()
746 igt_progress("Writing a ", i, valid_size / PAGE_SIZE); in test_huge_copy()
750 for (i = 0; i < valid_size / PAGE_SIZE; i++) { in test_huge_copy()
754 igt_progress("Writing b ", i, valid_size / PAGE_SIZE); in test_huge_copy()
757 for (i = 0; i < valid_size / PAGE_SIZE; i++) { in test_huge_copy()
777 igt_progress("Copying a<->b ", i, valid_size / PAGE_SIZE); in test_huge_copy()
783 for (i = 0; i < valid_size / PAGE_SIZE; i++) { in test_huge_copy()
[all …]
/external/arm-trusted-firmware/tools/cert_create/src/
Dmain.c181 bool valid_size; in check_cmd_params() local
190 valid_size = false; in check_cmd_params()
193 valid_size = true; in check_cmd_params()
197 if (!valid_size) { in check_cmd_params()
/external/crosvm/rutabaga_gfx/src/rutabaga_gralloc/
Dvulkano_gralloc.rs391 let valid_size: usize = size.try_into()?; in import_and_map() localVariable
393 DeviceMemoryBuilder::new(device.clone(), vulkan_info.memory_idx, valid_size) in import_and_map()
398 Ok(Box::new(VulkanoMapping::new(mapping, valid_size))) in import_and_map()
/external/skia/src/core/
DSkFont.cpp29 static inline SkScalar valid_size(SkScalar size) { in valid_size() function
35 , fSize(valid_size(size)) in SkFont()
102 fSize = valid_size(size); in setSize()
/external/skqp/src/core/
DSkFont.cpp27 static inline SkScalar valid_size(SkScalar size) { in valid_size() function
33 , fSize(valid_size(size)) in SkFont()
98 fSize = valid_size(size); in setSize()
/external/cpuinfo/test/
Dinit.cc779 TEST(L1I_CACHE, valid_size) { in TEST() argument
944 TEST(L1D_CACHE, valid_size) { in TEST() argument
1111 TEST(L2_CACHE, valid_size) { in TEST() argument
1259 TEST(L3_CACHE, valid_size) { in TEST() argument
1407 TEST(L4_CACHE, valid_size) { in TEST() argument
/external/tensorflow/tensorflow/core/profiler/internal/gpu/
Dcupti_tracer.cc331 size_t valid_size) { in FreeCuptiActivityBuffer() argument
334 << " size: " << size << " valid_size: " << valid_size; in FreeCuptiActivityBuffer()
336 if (valid_size > 0) { in FreeCuptiActivityBuffer()
340 cupti_tracer->ProcessActivityBuffer(context, stream_id, buffer, valid_size) in FreeCuptiActivityBuffer()