/external/vulkan-validation-layers/libs/vkjson/ |
D | vkjson.cc | 76 inline bool Iterate(Visitor* visitor, VkPhysicalDeviceLimits* limits) { in Iterate() argument 78 visitor->Visit("maxImageDimension1D", &limits->maxImageDimension1D) && in Iterate() 79 visitor->Visit("maxImageDimension2D", &limits->maxImageDimension2D) && in Iterate() 80 visitor->Visit("maxImageDimension3D", &limits->maxImageDimension3D) && in Iterate() 81 visitor->Visit("maxImageDimensionCube", &limits->maxImageDimensionCube) && in Iterate() 82 visitor->Visit("maxImageArrayLayers", &limits->maxImageArrayLayers) && in Iterate() 83 visitor->Visit("maxTexelBufferElements", &limits->maxTexelBufferElements) && in Iterate() 84 visitor->Visit("maxUniformBufferRange", &limits->maxUniformBufferRange) && in Iterate() 85 visitor->Visit("maxStorageBufferRange", &limits->maxStorageBufferRange) && in Iterate() 86 visitor->Visit("maxPushConstantsSize", &limits->maxPushConstantsSize) && in Iterate() [all …]
|
/external/deqp/external/vulkancts/framework/vulkan/ |
D | vkNullDriver.cpp | 675 props->limits.maxImageDimension1D = 4096; in getPhysicalDeviceProperties() 676 props->limits.maxImageDimension2D = 4096; in getPhysicalDeviceProperties() 677 props->limits.maxImageDimension3D = 256; in getPhysicalDeviceProperties() 678 props->limits.maxImageDimensionCube = 4096; in getPhysicalDeviceProperties() 679 props->limits.maxImageArrayLayers = 256; in getPhysicalDeviceProperties() 680 props->limits.maxTexelBufferElements = 65536; in getPhysicalDeviceProperties() 681 props->limits.maxUniformBufferRange = 16384; in getPhysicalDeviceProperties() 682 props->limits.maxStorageBufferRange = 1u<<27; in getPhysicalDeviceProperties() 683 props->limits.maxPushConstantsSize = 128; in getPhysicalDeviceProperties() 684 props->limits.maxMemoryAllocationCount = 4096; in getPhysicalDeviceProperties() [all …]
|
D | vkGlslToSpirV.cpp | 92 void getDefaultLimits (TLimits* limits) in getDefaultLimits() argument 94 limits->nonInductiveForLoops = true; in getDefaultLimits() 95 limits->whileLoops = true; in getDefaultLimits() 96 limits->doWhileLoops = true; in getDefaultLimits() 97 limits->generalUniformIndexing = true; in getDefaultLimits() 98 limits->generalAttributeMatrixVectorIndexing = true; in getDefaultLimits() 99 limits->generalVaryingIndexing = true; in getDefaultLimits() 100 limits->generalSamplerIndexing = true; in getDefaultLimits() 101 limits->generalVariableIndexing = true; in getDefaultLimits() 102 limits->generalConstantMatrixVectorIndexing = true; in getDefaultLimits() [all …]
|
D | vkPlatform.hpp | 142 virtual void getMemoryLimits (PlatformMemoryLimits& limits) const = 0; 148 PlatformMemoryLimits limits; in getMemoryLimits() local 149 platform.getMemoryLimits(limits); in getMemoryLimits() 150 return limits; in getMemoryLimits()
|
/external/vulkan-validation-layers/demos/ |
D | vulkaninfo.c | 155 VkPhysicalDevice limits; member 1102 static void app_dump_limits(const VkPhysicalDeviceLimits *limits) in app_dump_limits() argument 1106 …printf("\t\tmaxImageDimension1D = %u\n", limits->maxImageDimen… in app_dump_limits() 1107 …printf("\t\tmaxImageDimension2D = %u\n", limits->maxImageDimen… in app_dump_limits() 1108 …printf("\t\tmaxImageDimension3D = %u\n", limits->maxImageDimen… in app_dump_limits() 1109 …printf("\t\tmaxImageDimensionCube = %u\n", limits->maxImageDimen… in app_dump_limits() 1110 …printf("\t\tmaxImageArrayLayers = %u\n", limits->maxImageArray… in app_dump_limits() 1111 …printf("\t\tmaxTexelBufferElements = 0x%" PRIxLEAST32 "\n", limits->maxTexelBuffe… in app_dump_limits() 1112 …printf("\t\tmaxUniformBufferRange = 0x%" PRIxLEAST32 "\n", limits->maxUniformBuf… in app_dump_limits() 1113 …printf("\t\tmaxStorageBufferRange = 0x%" PRIxLEAST32 "\n", limits->maxStorageBuf… in app_dump_limits() [all …]
|
/external/mesa3d/src/mesa/drivers/dri/i965/ |
D | brw_urb.c | 91 } limits[CS+1] = { variable 121 if (csize < limits[CS].min_entry_size) in recalculate_urb_fence() 122 csize = limits[CS].min_entry_size; in recalculate_urb_fence() 124 if (vsize < limits[VS].min_entry_size) in recalculate_urb_fence() 125 vsize = limits[VS].min_entry_size; in recalculate_urb_fence() 127 if (sfsize < limits[SF].min_entry_size) in recalculate_urb_fence() 128 sfsize = limits[SF].min_entry_size; in recalculate_urb_fence() 142 brw->urb.nr_vs_entries = limits[VS].preferred_nr_entries; in recalculate_urb_fence() 143 brw->urb.nr_gs_entries = limits[GS].preferred_nr_entries; in recalculate_urb_fence() 144 brw->urb.nr_clip_entries = limits[CLP].preferred_nr_entries; in recalculate_urb_fence() [all …]
|
/external/deqp/external/vulkancts/modules/vulkan/ |
D | vktInfoTests.cpp | 219 vk::PlatformMemoryLimits limits; in logPlatformMemoryLimits() local 221 context.getTestContext().getPlatform().getVulkanPlatform().getMemoryLimits(limits); in logPlatformMemoryLimits() 223 …stLog::Message << "totalSystemMemory = " << prettySize(limits.totalSystemMemory) << " (" << limits… in logPlatformMemoryLimits() 224 …<< "totalDeviceLocalMemory = " << prettySize(limits.totalDeviceLocalMemory) << " (" << limits.tota… in logPlatformMemoryLimits() 225 << "deviceMemoryAllocationGranularity = " << limits.deviceMemoryAllocationGranularity << "\n" in logPlatformMemoryLimits() 226 << "devicePageSize = " << limits.devicePageSize << "\n" in logPlatformMemoryLimits() 227 << "devicePageTableEntrySize = " << limits.devicePageTableEntrySize << "\n" in logPlatformMemoryLimits() 228 << "devicePageTableHierarchyLevels = " << limits.devicePageTableHierarchyLevels << "\n" in logPlatformMemoryLimits() 231 TCU_CHECK(limits.totalSystemMemory > 0); in logPlatformMemoryLimits() 232 TCU_CHECK(limits.deviceMemoryAllocationGranularity > 0); in logPlatformMemoryLimits() [all …]
|
/external/mesa3d/src/mesa/vbo/ |
D | vbo_split.c | 109 const struct split_limits *limits ) in vbo_split_prims() argument 112 if (limits->max_indices == 0) { in vbo_split_prims() 123 else if (max_index - min_index >= limits->max_verts) { in vbo_split_prims() 130 draw, limits ); in vbo_split_prims() 132 else if (ib->count > limits->max_indices) { in vbo_split_prims() 138 min_index, max_index, draw, limits ); in vbo_split_prims() 146 if (max_index - min_index >= limits->max_verts) { in vbo_split_prims() 152 min_index, max_index, draw, limits ); in vbo_split_prims()
|
/external/deqp/framework/platform/null/ |
D | tcuNullPlatform.cpp | 83 void Platform::getMemoryLimits (vk::PlatformMemoryLimits& limits) const in getMemoryLimits() 85 limits.totalSystemMemory = 256*1024*1024; in getMemoryLimits() 86 limits.totalDeviceLocalMemory = 0; in getMemoryLimits() 87 limits.deviceMemoryAllocationGranularity = 4096; in getMemoryLimits() 88 limits.devicePageSize = 4096; in getMemoryLimits() 89 limits.devicePageTableEntrySize = 8; in getMemoryLimits() 90 limits.devicePageTableHierarchyLevels = 3; in getMemoryLimits()
|
/external/deqp/external/vulkancts/modules/vulkan/api/ |
D | vktApiFeatureInfo.cpp | 106 VkPhysicalDeviceLimits* limits = &properties->limits; in validateFeatureLimits() local 205 …{ LIMIT(maxInterpolationOffset), 0, 0, 0, 0.5f - (1.0f/deFloatPow(2.0f, (float)limits->subPi… in validateFeatureLimits() 229 …{ LIMIT(pointSizeRange[1]), 0, 0, 0, 64.0f - limits->pointSizeGranularity , LIMIT_FORMAT_F… in validateFeatureLimits() 232 …{ LIMIT(lineWidthRange[1]), 0, 0, 0, 8.0f - limits->lineWidthGranularity, LIMIT_FORMAT_FLO… in validateFeatureLimits() 290 log << TestLog::Message << *limits << TestLog::EndMessage; in validateFeatureLimits() 321 if (*((deUint32*)((deUint8*)limits+featureLimitTable[ndx].offset)) < limitToCheck) in validateFeatureLimits() 325 << *((deUint32*)((deUint8*)limits + featureLimitTable[ndx].offset)) << TestLog::EndMessage; in validateFeatureLimits() 331 if (*((deUint32*)((deUint8*)limits+featureLimitTable[ndx].offset)) > limitToCheck) in validateFeatureLimits() 335 << *((deUint32*)((deUint8*)limits + featureLimitTable[ndx].offset)) << TestLog::EndMessage; in validateFeatureLimits() 353 if (*((float*)((deUint8*)limits+featureLimitTable[ndx].offset)) < limitToCheck) in validateFeatureLimits() [all …]
|
/external/libchrome/base/process/ |
D | process_metrics_posix.cc | 61 struct rlimit limits; in SetFdLimit() local 62 if (getrlimit(RLIMIT_NOFILE, &limits) == 0) { in SetFdLimit() 64 if (limits.rlim_max > 0 && limits.rlim_max < max_descriptors) { in SetFdLimit() 65 new_limit = limits.rlim_max; in SetFdLimit() 67 limits.rlim_cur = new_limit; in SetFdLimit() 68 if (setrlimit(RLIMIT_NOFILE, &limits) != 0) { in SetFdLimit()
|
/external/jacoco/org.jacoco.report/src/org/jacoco/report/check/ |
D | Rule.java | 29 private List<Limit> limits; field in Rule 39 this.limits = new ArrayList<Limit>(); in Rule() 96 return limits; in getLimits() 103 public void setLimits(final List<Limit> limits) { in setLimits() argument 104 this.limits = limits; in setLimits() 114 this.limits.add(limit); in createLimit()
|
/external/icu/icu4c/source/layoutex/layout/ |
D | RunArrays.h | 64 inline RunArray(const le_int32 *limits, le_int32 count); 236 inline RunArray::RunArray(const le_int32 *limits, le_int32 count) in RunArray() argument 237 : UObject(), fClientArrays(TRUE), fLimits(limits), fCount(count), fCapacity(count) in RunArray() 290 inline FontRuns(const LEFontInstance **fonts, const le_int32 *limits, le_int32 count); 397 inline FontRuns::FontRuns(const LEFontInstance **fonts, const le_int32 *limits, le_int32 count) in FontRuns() argument 398 : RunArray(limits, count), fFonts(fonts) in FontRuns() 427 inline LocaleRuns(const Locale **locales, const le_int32 *limits, le_int32 count); 537 inline LocaleRuns::LocaleRuns(const Locale **locales, const le_int32 *limits, le_int32 count) in LocaleRuns() argument 538 : RunArray(limits, count), fLocales(locales) in LocaleRuns() 565 inline ValueRuns(const le_int32 *values, const le_int32 *limits, le_int32 count); [all …]
|
/external/deqp/external/vulkancts/modules/vulkan/tessellation/ |
D | vktTessellationLimitsTests.cpp | 88 …return expectGreaterOrEqual(log, caseDef.minimum, properties.limits.maxTessellationGenerationLevel… in deviceLimitsTestCase() 90 return expectGreaterOrEqual(log, caseDef.minimum, properties.limits.maxTessellationPatchSize); in deviceLimitsTestCase() 92 …return expectGreaterOrEqual(log, caseDef.minimum, properties.limits.maxTessellationControlPerVerte… in deviceLimitsTestCase() 94 …return expectGreaterOrEqual(log, caseDef.minimum, properties.limits.maxTessellationControlPerVerte… in deviceLimitsTestCase() 96 …return expectGreaterOrEqual(log, caseDef.minimum, properties.limits.maxTessellationControlPerPatch… in deviceLimitsTestCase() 98 …return expectGreaterOrEqual(log, caseDef.minimum, properties.limits.maxTessellationControlTotalOut… in deviceLimitsTestCase() 100 …return expectGreaterOrEqual(log, caseDef.minimum, properties.limits.maxTessellationEvaluationInput… in deviceLimitsTestCase() 102 …return expectGreaterOrEqual(log, caseDef.minimum, properties.limits.maxTessellationEvaluationOutpu… in deviceLimitsTestCase()
|
/external/icu/icu4c/source/test/intltest/ |
D | callimts.cpp | 357 int32_t limits[UCAL_FIELD_COUNT][4]; in doLimitsTest() local 359 limits[j][0] = INT32_MAX; in doLimitsTest() 360 limits[j][1] = INT32_MIN; in doLimitsTest() 361 limits[j][2] = INT32_MAX; in doLimitsTest() 362 limits[j][3] = INT32_MIN; in doLimitsTest() 394 if (limits[j][0] > minActual) { in doLimitsTest() 396 limits[j][0] = minActual; in doLimitsTest() 398 if (limits[j][1] < minActual) { in doLimitsTest() 400 limits[j][1] = minActual; in doLimitsTest() 402 if (limits[j][2] > maxActual) { in doLimitsTest() [all …]
|
/external/mesa3d/src/compiler/glsl/ |
D | opt_minmax.cpp | 318 minmax_range limits[2]; in prune_expression() local 337 limits[i] = get_range(expr->operands[i]); in prune_expression() 347 if (limits[i].low && limits[1 - i].high) { in prune_expression() 348 cr = compare_components(limits[i].low, limits[1 - i].high); in prune_expression() 356 if (!is_redundant && limits[i].low && baserange.high) { in prune_expression() 357 cr = compare_components(limits[i].low, baserange.high); in prune_expression() 365 if (limits[i].high && limits[1 - i].low) { in prune_expression() 366 cr = compare_components(limits[i].high, limits[1 - i].low); in prune_expression() 374 if (!is_redundant && limits[i].high && baserange.low) { in prune_expression() 375 cr = compare_components(limits[i].high, baserange.low); in prune_expression() [all …]
|
/external/mesa3d/src/gallium/state_trackers/clover/util/ |
D | factor.hpp | 62 next_grid_factor(const std::pair<T, std::vector<T>> &limits, in next_grid_factor() argument 73 return next_grid_factor(limits, grid, factors, in next_grid_factor() 83 if (block.first <= limits.first && in next_grid_factor() 84 block.second[d] <= limits.second[d] && in next_grid_factor() 97 return next_grid_factor(limits, grid, factors, in next_grid_factor() 116 const auto limits = std::make_pair(product_limit, coord_limit); in find_grid_optimal_factor() local 121 block = detail::next_grid_factor(limits, grid, factors, block)) { in find_grid_optimal_factor()
|
/external/mesa3d/src/mesa/main/ |
D | arbprogram.c | 645 const struct gl_program_constants *limits; in _mesa_GetProgramivARB() local 652 limits = &ctx->Const.Program[MESA_SHADER_VERTEX]; in _mesa_GetProgramivARB() 657 limits = &ctx->Const.Program[MESA_SHADER_FRAGMENT]; in _mesa_GetProgramivARB() 665 assert(limits); in _mesa_GetProgramivARB() 683 *params = limits->MaxInstructions; in _mesa_GetProgramivARB() 689 *params = limits->MaxNativeInstructions; in _mesa_GetProgramivARB() 695 *params = limits->MaxTemps; in _mesa_GetProgramivARB() 701 *params = limits->MaxNativeTemps; in _mesa_GetProgramivARB() 707 *params = limits->MaxParameters; in _mesa_GetProgramivARB() 713 *params = limits->MaxNativeParameters; in _mesa_GetProgramivARB() [all …]
|
/external/python/cpython2/Modules/ |
D | resource.c | 148 PyObject *limits, *curobj, *maxobj; in resource_setrlimit() local 150 if (!PyArg_ParseTuple(args, "iO:setrlimit", &resource, &limits)) in resource_setrlimit() 159 limits = PySequence_Tuple(limits); in resource_setrlimit() 160 if (!limits) in resource_setrlimit() 164 if (PyTuple_GET_SIZE(limits) != 2) { in resource_setrlimit() 169 curobj = PyTuple_GET_ITEM(limits, 0); in resource_setrlimit() 170 maxobj = PyTuple_GET_ITEM(limits, 1); in resource_setrlimit() 204 Py_DECREF(limits); in resource_setrlimit() 209 Py_DECREF(limits); in resource_setrlimit()
|
/external/icu/icu4c/source/i18n/ |
D | choicfmt.cpp | 89 ChoiceFormat::ChoiceFormat(const double* limits, in ChoiceFormat() argument 95 setChoices(limits, NULL, formats, cnt, constructorErrorCode); in ChoiceFormat() 100 ChoiceFormat::ChoiceFormat(const double* limits, in ChoiceFormat() argument 107 setChoices(limits, closures, formats, cnt, constructorErrorCode); in ChoiceFormat() 255 ChoiceFormat::setChoices( const double* limits, in setChoices() argument 260 setChoices(limits, NULL, formats, cnt, errorCode); in setChoices() 266 ChoiceFormat::setChoices( const double* limits, in setChoices() argument 272 setChoices(limits, closures, formats, cnt, errorCode); in setChoices() 276 ChoiceFormat::setChoices(const double* limits, in setChoices() argument 284 if (limits == NULL || formats == NULL) { in setChoices() [all …]
|
/external/deqp/framework/platform/win32/ |
D | tcuWin32VulkanPlatform.cpp | 198 void VulkanPlatform::getMemoryLimits (vk::PlatformMemoryLimits& limits) const in getMemoryLimits() 200 limits.totalSystemMemory = 256*1024*1024; in getMemoryLimits() 201 limits.totalDeviceLocalMemory = 128*1024*1024; in getMemoryLimits() 202 limits.deviceMemoryAllocationGranularity = 64*1024; in getMemoryLimits() 203 limits.devicePageSize = 4096; in getMemoryLimits() 204 limits.devicePageTableEntrySize = 8; in getMemoryLimits() 205 limits.devicePageTableHierarchyLevels = 3; in getMemoryLimits()
|
/external/libvpx/libvpx/vp9/common/ |
D | vp9_postproc.c | 189 uint8_t *limits) { in deblock_and_de_macro_block() argument 219 vp9_deblock(source, post, q, limits); in deblock_and_de_macro_block() 230 uint8_t *limits) { in vp9_deblock() argument 258 memset(limits, (unsigned char)ppl, 16 * mb_cols); in vp9_deblock() 264 dst->y_stride, src->y_width, limits, 16); in vp9_deblock() 268 dst->uv_stride, src->uv_width, limits, 8); in vp9_deblock() 272 dst->uv_stride, src->uv_width, limits, 8); in vp9_deblock() 280 uint8_t *limits) { in vp9_denoise() argument 281 vp9_deblock(src, dst, q, limits); in vp9_denoise() 360 if (!cm->postproc_state.limits) { in vp9_post_proc_frame() [all …]
|
/external/v8/src/compiler/ |
D | loop-variable-optimizer.cc | 176 const VariableLimits* limits = limits_[from->id()]; in VisitBackedge() local 177 for (const Constraint* constraint = limits->head(); constraint != nullptr; in VisitBackedge() 233 VariableLimits* limits = limits_[branch->id()]->Copy(zone()); in VisitIf() local 237 AddCmpToLimits(limits, cond, InductionVariable::kStrict, polarity); in VisitIf() 240 AddCmpToLimits(limits, cond, InductionVariable::kNonStrict, !polarity); in VisitIf() 243 AddCmpToLimits(limits, cond, InductionVariable::kNonStrict, polarity); in VisitIf() 246 AddCmpToLimits(limits, cond, InductionVariable::kStrict, !polarity); in VisitIf() 251 limits_[node->id()] = limits; in VisitIf() 255 VariableLimits* limits, Node* node, InductionVariable::ConstraintKind kind, in AddCmpToLimits() argument 261 limits->Add(left, kind, right, zone()); in AddCmpToLimits() [all …]
|
/external/deqp/modules/gles31/functional/ |
D | es31fAndroidExtensionPackES31ATests.cpp | 185 } limits[] = in init() local 212 for (int ndx = 0; ndx < DE_LENGTH_OF_ARRAY(limits); ++ndx) in init() 214 limits[ndx].name, in init() 215 …(std::string() + "Check " + limits[ndx].name + " is at least " + de::toString(limits[ndx].limit)).… in init() 216 limits[ndx].target, in init() 217 limits[ndx].limit)); in init()
|
/external/syslinux/gpxe/src/drivers/infiniband/ |
D | arbel.c | 565 cq->cqn = ( arbel->limits.reserved_cqs + cqn_offset ); in arbel_create_cq() 608 usr_page, arbel->limits.reserved_uars, in arbel_create_cq() 677 cqn_offset = ( cq->cqn - arbel->limits.reserved_cqs ); in arbel_destroy_cq() 794 qp->qpn = ( ARBEL_QPN_BASE + arbel->limits.reserved_qps + qpn_offset ); in arbel_create_qp() 841 qpc_eec_data.usr_page, arbel->limits.reserved_uars ); in arbel_create_qp() 966 qpn_offset = ( qp->qpn - ARBEL_QPN_BASE - arbel->limits.reserved_qps ); in arbel_destroy_qp() 1316 arbel_eq->eqn = arbel->limits.reserved_eqs; in arbel_create_eq() 1794 arbel->limits.reserved_qps = in arbel_get_limits() 1796 arbel->limits.qpc_entry_size = MLX_GET ( &dev_lim, qpc_entry_sz ); in arbel_get_limits() 1797 arbel->limits.eqpc_entry_size = MLX_GET ( &dev_lim, eqpc_entry_sz ); in arbel_get_limits() [all …]
|