/external/mesa3d/src/gallium/drivers/etnaviv/ |
etnaviv_util.h | 33 /* align to a value divisable by granularity >= value, works only for powers of two */ 35 etna_align_up(uint32_t value, uint32_t granularity) 37 return (value + (granularity - 1)) & (~(granularity - 1));
|
/external/mesa3d/src/intel/common/ |
gen_urb_config.c | 82 unsigned granularity[4]; local 84 granularity[i] = (entry_size[i] < 9) ? 8 : 1; 117 min_entries[i] = ALIGN(min_entries[i], granularity[i]); 187 /* Ensure that we program a multiple of the granularity. */ 188 entries[i] = ROUND_DOWN_TO(entries[i], granularity[i]);
|
/frameworks/support/compat/java/android/support/v4/view/accessibility/ |
AccessibilityEventCompat.java | 96 * Represents the event of traversing the text of a view at a given movement granularity. 291 * Sets the movement granularity that was traversed. 293 * @param granularity The granularity. 297 public static void setMovementGranularity(AccessibilityEvent event, int granularity) { 299 event.setMovementGranularity(granularity); 304 * Gets the movement granularity that was traversed. 306 * @return The granularity.
|
/external/deqp/external/vulkancts/modules/vulkan/api/ |
vktApiGranularityTests.cpp | 22 * \brief Vulkan Get Render Area Granularity Tests 363 VkExtent2D granularity = { 0u, 0u }; local 364 vk.getRenderAreaGranularity(device, *m_renderPass, &granularity); 365 TCU_CHECK(granularity.width >= 1 && granularity.height >= 1); 366 TCU_CHECK(prePassGranularity.width == granularity.width && prePassGranularity.height == granularity.height); 367 TCU_CHECK(granularity.width <= m_context.getDeviceProperties().limits.maxFramebufferWidth && granularity.height <= m_context.getDeviceProperties().limits.maxFramebufferHeight); 372 log << tcu::TestLog::Message << "Horizontal granularity: " << granularity.width << " Vertical granularity: " << granularity.height << tcu::TestLog::EndMes (…) [all...] |
/external/compiler-rt/lib/asan/ |
asan_poisoning.cc | 338 uptr granularity = SHADOW_GRANULARITY; local 340 IsAligned(beg, granularity))) { 348 uptr a = RoundDownTo(Min(old_mid, new_mid), granularity); 349 uptr c = RoundUpTo(Max(old_mid, new_mid), granularity); 350 uptr d1 = RoundDownTo(old_mid, granularity); 351 // uptr d2 = RoundUpTo(old_mid, granularity); 360 if (a + granularity <= d1) 362 // if (d2 + granularity <= c && c <= end) 363 // CHECK_EQ(*(u8 *)MemToShadow(c - granularity), 366 uptr b1 = RoundDownTo(new_mid, granularity); [all...] |
/external/v8/tools/ |
eval_gc_nvp.py | 18 def __init__(self, granularity): 19 self.granularity = granularity 22 return int(value / self.granularity) 25 return (bucket * self.granularity, (bucket + 1) * self.granularity) 154 linear_group.add_argument('--linear-histogram-granularity', 155 metavar='GRANULARITY', type=int, nargs='?', 157 help='histogram granularity (default: 5)')
|
/external/mesa3d/src/gallium/drivers/radeonsi/ |
cik_sdma.c | 324 unsigned granularity; local 329 granularity = bpp == 1 ? 64 / (8*bpp) : 335 granularity = bpp == 1 ? 32 / (8*bpp) : 340 granularity = bpp <= 2 ? 64 / (8*bpp) : 348 /* The linear reads start at tiled_x & ~(granularity - 1). 349 * If linear_x == 0 && tiled_x % granularity != 0, the hw 357 start_linear_address -= (int)(bpp * (tiled_x % granularity)); 365 if ((tiled_x + copy_width) % granularity) 366 end_linear_address += granularity - 367 (tiled_x + copy_width) % granularity; [all...] |
/prebuilts/go/darwin-x86/test/ |
chanlinear.go | 23 // to measure with accurate enough granularity. On failure, 24 // make it run longer, hoping that the timing granularity
|
maplinear.go | 22 // to measure with accurate enough granularity. On failure, 23 // make it run longer, hoping that the timing granularity
|
/prebuilts/go/linux-x86/test/ |
chanlinear.go | 23 // to measure with accurate enough granularity. On failure, 24 // make it run longer, hoping that the timing granularity
|
maplinear.go | 22 // to measure with accurate enough granularity. On failure, 23 // make it run longer, hoping that the timing granularity
|
/external/protobuf/php/ext/google/protobuf/ |
storage.c | 288 static size_t align_up_to(size_t offset, size_t granularity) { 289 // Granularity must be a power of two. 290 return (offset + granularity - 1) & ~(granularity - 1); 320 // Align current offset up to | size | granularity.
|
/external/skia/src/gpu/vk/ |
GrVkRenderPass.h | 105 const VkExtent2D& granularity() const { return fGranularity; } function in class:GrVkRenderPass
|
GrVkGpu.cpp | 1968 const VkExtent2D& granularity = renderPass->granularity(); local [all...] |
/external/compiler-rt/lib/interception/ |
interception_win.cc | 301 static void *AllocateTrampolineRegion(uptr image_address, size_t granularity) { 311 if (info.State == MEM_FREE && info.RegionSize >= granularity) { 312 void *page = ::VirtualAlloc((void*)RoundUpTo(address, granularity), 313 granularity, 326 granularity,
|
/external/ant-glob/src/org/apache/tools/ant/types/selectors/ |
SelectorUtils.java | 602 * @param granularity the amount in seconds of slack we will give in 606 public static boolean isOutOfDate(File src, File target, int granularity) { 613 if ((src.lastModified() - granularity) > target.lastModified()) {
|
/frameworks/rs/script_api/ |
rs_time.spec | 102 The granularity of the values return by this call may be much larger than a nanosecond.
|
/prebuilts/tools/common/m2/repository/com/android/tools/external/ant-glob/1.0/ |
ant-glob-1.0.jar | |
/external/e2fsprogs/misc/ |
badblocks.c | 751 unsigned int granularity = blocks_at_once; local 836 got = try = granularity - buf_used; 855 if (granularity != 1) { 856 granularity = 1; 899 if ((buf_used != granularity) && 904 granularity = blocks_at_once; [all...] |
/external/compiler-rt/lib/asan/tests/ |
asan_interface_test.cc | 220 // Make sure that each aligned block of size "2^granularity" doesn't have 222 static void MakeShadowValid(bool *shadow, int length, int granularity) { 229 if (i % (1 << granularity) == 0) { 249 MakeShadowValid(expected, kSize, /*granularity*/ 3); 251 MakeShadowValid(expected, kSize, /*granularity*/ 3); 261 MakeShadowValid(expected, kSize, /*granularity*/ 3); 263 MakeShadowValid(expected, kSize, /*granularity*/ 3);
|
/frameworks/base/core/java/android/view/accessibility/ |
AccessibilityEvent.java | 232 * <b>View text traversed at movement granularity</b> - represents the event of traversing the 233 * text of a view at a given granularity. For example, moving to the next word.</br> 242 * <li>{@link #getMovementGranularity()} - Sets the granularity at which a view's text 254 * <li>{@link #getMovementGranularity()} - Sets the granularity at which a view's text 649 * Represents the event of traversing the text of a view at a given movement granularity. [all...] |
AccessibilityNodeInfo.java | 167 * at a given movement granularity. For example, move to the next character, 199 * at a given movement granularity. For example, move to the next character, 349 * Argument for which movement granularity to be used when traversing the node text. 383 * Argument for whether when moving at granularity to extend the selection 534 * Movement granularity bit for traversing the text of a node by character. 539 * Movement granularity bit for traversing the text of a node by word. 544 * Movement granularity bit for traversing the text of a node by line. 549 * Movement granularity bit for traversing the text of a node by paragraph. 554 * Movement granularity bit for traversing the text of a node by page. 3669 final int granularity = 1 << Integer.numberOfTrailingZeros(granularities); local [all...] |
/prebuilts/go/darwin-x86/src/runtime/ |
mem_linux.go | 97 // the MADV_NOHUGEPAGE flag on a fine granularity, so we avoid 99 // MADV_NOHUGEPAGE flag on a large granularity. This still
|
/prebuilts/go/linux-x86/src/runtime/ |
mem_linux.go | 97 // the MADV_NOHUGEPAGE flag on a fine granularity, so we avoid 99 // MADV_NOHUGEPAGE flag on a large granularity. This still
|
/external/python/cpython2/Modules/_ctypes/libffi/src/ |
dlmalloc.c | 2108 size_t granularity; member in struct:malloc_params [all...] |