Home
last modified time | relevance | path

Searched full:limits (Results 1 – 25 of 4697) sorted by relevance

12345678910>>...188

/external/deqp/external/vulkancts/framework/vulkan/
DvkNullDriver.cpp845 props->limits.maxImageDimension1D = 4096; in getPhysicalDeviceProperties()
846 props->limits.maxImageDimension2D = 4096; in getPhysicalDeviceProperties()
847 props->limits.maxImageDimension3D = 256; in getPhysicalDeviceProperties()
848 props->limits.maxImageDimensionCube = 4096; in getPhysicalDeviceProperties()
849 props->limits.maxImageArrayLayers = 256; in getPhysicalDeviceProperties()
850 props->limits.maxTexelBufferElements = 65536; in getPhysicalDeviceProperties()
851 props->limits.maxUniformBufferRange = 16384; in getPhysicalDeviceProperties()
852 props->limits.maxStorageBufferRange = 1u<<27; in getPhysicalDeviceProperties()
853 props->limits.maxPushConstantsSize = 128; in getPhysicalDeviceProperties()
854 props->limits.maxMemoryAllocationCount = 4096; in getPhysicalDeviceProperties()
[all …]
/external/grpc-grpc/src/core/ext/filters/message_size/
Dmessage_size_filter.cc21 #include <limits.h>
49 const message_size_limits& limits() const { return limits_; } in limits() function in grpc_core::__anon6655d1eb0211::MessageSizeLimits
97 message_size_limits limits; member
114 message_size_limits limits; member
128 if (*calld->recv_message != nullptr && calld->limits.max_recv_size >= 0 && in recv_message_ready()
130 static_cast<size_t>(calld->limits.max_recv_size)) { in recv_message_ready()
134 (*calld->recv_message)->length(), calld->limits.max_recv_size); in recv_message_ready()
169 if (op->send_message && calld->limits.max_send_size >= 0 && in start_transport_stream_op_batch()
171 static_cast<size_t>(calld->limits.max_send_size)) { in start_transport_stream_op_batch()
175 calld->limits.max_send_size); in start_transport_stream_op_batch()
[all …]
/external/deqp/external/vulkancts/modules/vulkan/pipeline/
DvktPipelineMultisampleBase.cpp48 isImageSizeValid = imageSize.x() <= deviceProperties.limits.maxImageDimension1D; in validateImageSize()
51 isImageSizeValid = imageSize.x() <= deviceProperties.limits.maxImageDimension1D && in validateImageSize()
52 imageSize.z() <= deviceProperties.limits.maxImageArrayLayers; in validateImageSize()
55 isImageSizeValid = imageSize.x() <= deviceProperties.limits.maxImageDimension2D && in validateImageSize()
56 imageSize.y() <= deviceProperties.limits.maxImageDimension2D; in validateImageSize()
59 isImageSizeValid = imageSize.x() <= deviceProperties.limits.maxImageDimension2D && in validateImageSize()
60 imageSize.y() <= deviceProperties.limits.maxImageDimension2D && in validateImageSize()
61 imageSize.z() <= deviceProperties.limits.maxImageArrayLayers; in validateImageSize()
64 isImageSizeValid = imageSize.x() <= deviceProperties.limits.maxImageDimensionCube && in validateImageSize()
65 imageSize.y() <= deviceProperties.limits.maxImageDimensionCube; in validateImageSize()
[all …]
/external/mesa3d/src/mesa/drivers/dri/i965/
Dbrw_urb.c91 } limits[CS+1] = { variable
121 if (csize < limits[CS].min_entry_size) in brw_calculate_urb_fence()
122 csize = limits[CS].min_entry_size; in brw_calculate_urb_fence()
124 if (vsize < limits[VS].min_entry_size) in brw_calculate_urb_fence()
125 vsize = limits[VS].min_entry_size; in brw_calculate_urb_fence()
127 if (sfsize < limits[SF].min_entry_size) in brw_calculate_urb_fence()
128 sfsize = limits[SF].min_entry_size; in brw_calculate_urb_fence()
142 brw->urb.nr_vs_entries = limits[VS].preferred_nr_entries; in brw_calculate_urb_fence()
143 brw->urb.nr_gs_entries = limits[GS].preferred_nr_entries; in brw_calculate_urb_fence()
144 brw->urb.nr_clip_entries = limits[CLP].preferred_nr_entries; in brw_calculate_urb_fence()
[all …]
/external/python/cpython3/Modules/clinic/
Dresource.c.h58 "setrlimit($module, resource, limits, /)\n"
66 resource_setrlimit_impl(PyObject *module, int resource, PyObject *limits);
73 PyObject *limits; in resource_setrlimit() local
76 &resource, &limits)) { in resource_setrlimit()
79 return_value = resource_setrlimit_impl(module, resource, limits); in resource_setrlimit()
88 "prlimit(pid, resource, [limits])");
95 int group_right_1, PyObject *limits);
104 PyObject *limits = NULL; in resource_prlimit() local
113 if (!PyArg_ParseTuple(args, "" _Py_PARSE_PID "iO:prlimit", &pid, &resource, &limits)) { in resource_prlimit()
122 return_value = resource_prlimit_impl(module, pid, resource, group_right_1, limits); in resource_prlimit()
/external/tensorflow/tensorflow/compiler/tf2xla/kernels/
Dcross_op.cc51 std::vector<int64> limits; in Compile() local
53 limits.push_back(dim_size); in Compile()
61 limits.back() = 1; in Compile()
62 auto u1 = xla::Slice(in0, starts, limits, strides); in Compile()
63 auto v1 = xla::Slice(in1, starts, limits, strides); in Compile()
65 limits.back() = 2; in Compile()
66 auto u2 = xla::Slice(in0, starts, limits, strides); in Compile()
67 auto v2 = xla::Slice(in1, starts, limits, strides); in Compile()
69 limits.back() = 3; in Compile()
70 auto u3 = xla::Slice(in0, starts, limits, strides); in Compile()
[all …]
/external/jacoco/org.jacoco.report/src/org/jacoco/report/check/
DRule.java21 * A rule applies for a certain element type and can define any number of limits
29 private List<Limit> limits; field in Rule
35 * Creates a new Rule without limits.
39 this.limits = new ArrayList<Limit>(); in Rule()
96 return limits; in getLimits()
100 * @param limits
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/libcxx/include/
Dlimits.h2 //===--------------------------- limits.h ---------------------------------===//
15 limits.h synopsis
48 #include_next <limits.h>
50 // GCC header limits.h recursively includes itself through another header called
52 // #include_next GCC's limits.h (reasons not entirely clear to me). Therefore,
55 // Get the system limits.h defines (force recurse into the next level)
58 #include_next <limits.h>
62 #include_next <limits.h>
/external/libchrome/base/process/
Dprocess_metrics_posix.cc7 #include <limits.h>
75 struct rlimit limits; in IncreaseFdLimitTo() local
76 if (getrlimit(RLIMIT_NOFILE, &limits) == 0) { in IncreaseFdLimitTo()
78 if (max_descriptors <= limits.rlim_cur) in IncreaseFdLimitTo()
80 if (limits.rlim_max > 0 && limits.rlim_max < max_descriptors) { in IncreaseFdLimitTo()
81 new_limit = limits.rlim_max; in IncreaseFdLimitTo()
83 limits.rlim_cur = new_limit; in IncreaseFdLimitTo()
84 if (setrlimit(RLIMIT_NOFILE, &limits) != 0) { in IncreaseFdLimitTo()
/external/deqp/external/vulkancts/modules/vulkan/tessellation/
DvktTessellationLimitsTests.cpp22 * \brief Tessellation Limits Tests
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()
115 …r<tcu::TestCaseGroup> group (new tcu::TestCaseGroup(testCtx, "limits", "Tessellation limits tests"… in createLimitsTests()
/external/deqp/external/vulkancts/modules/vulkan/api/
DvktApiFeatureInfo.cpp105 VkPhysicalDeviceLimits* limits = &properties->limits; in validateFeatureLimits() local
107 deUint32 maxPerStageResourcesMin = deMin32(128, limits->maxPerStageDescriptorUniformBuffers + in validateFeatureLimits()
108 limits->maxPerStageDescriptorStorageBuffers + in validateFeatureLimits()
109 limits->maxPerStageDescriptorSampledImages + in validateFeatureLimits()
110 limits->maxPerStageDescriptorStorageImages + in validateFeatureLimits()
111 limits->maxPerStageDescriptorInputAttachments + in validateFeatureLimits()
112 limits->maxColorAttachments); in validateFeatureLimits()
222 …{ LIMIT(maxInterpolationOffset), 0, 0, 0, 0.5f - (1.0f/deFloatPow(2.0f, (float)limits->subPi… in validateFeatureLimits()
246 …{ LIMIT(pointSizeRange[1]), 0, 0, 0, 64.0f - limits->pointSizeGranularity , LIMIT_FORMAT_F… in validateFeatureLimits()
249 …{ LIMIT(lineWidthRange[1]), 0, 0, 0, 8.0f - limits->lineWidthGranularity, LIMIT_FORMAT_FLO… in validateFeatureLimits()
[all …]
/external/deqp/external/vulkancts/modules/vulkan/
DvktInfoTests.cpp219 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/python/cpython3/Modules/
Dresource.c129 py2rlimit(PyObject *limits, struct rlimit *rl_out) in py2rlimit() argument
132 limits = PySequence_Tuple(limits); in py2rlimit()
133 if (!limits) in py2rlimit()
134 /* Here limits is a borrowed reference */ in py2rlimit()
137 if (PyTuple_GET_SIZE(limits) != 2) { in py2rlimit()
142 curobj = PyTuple_GET_ITEM(limits, 0); in py2rlimit()
143 maxobj = PyTuple_GET_ITEM(limits, 1); in py2rlimit()
152 /* The limits are probably bigger than a long */ in py2rlimit()
161 Py_DECREF(limits); in py2rlimit()
167 Py_DECREF(limits); in py2rlimit()
[all …]
/external/tensorflow/tensorflow/core/kernels/
Dragged_range_op_test.cc40 .Input(FakeInput(dtype)) // limits in BuildRaggedRangeGraph()
51 AddInputFromArray<int>(TensorShape({4}), {8, 7, 8, 1}); // limits in TEST_F()
66 AddInputFromArray<float>(TensorShape({4}), {8, 7, 8, 1}); // limits in TEST_F()
81 AddInputFromArray<int>(TensorShape({3}), {8, 7, 8}); // limits in TEST_F()
96 AddInputFromArray<int>(TensorShape({3}), {3, 0, 2}); // limits in TEST_F()
110 AddInputFromArray<int>(TensorShape({}), {12}); // limits in TEST_F()
125 AddInputFromArray<int>(TensorShape({}), {5}); // limits in TEST_F()
139 AddInputFromArray<int>(TensorShape({4}), {8, 7, 8, 1}); // limits in TEST_F()
147 AddInputFromArray<int>(TensorShape({4, 1}), {8, 7, 8, 1}); // limits in TEST_F()
149 EXPECT_EQ("limits must be a scalar or vector", RunOpKernel().error_message()); in TEST_F()
[all …]
/external/tensorflow/tensorflow/python/kernel_tests/
Dmatrix_band_part_op_test.py114 for limits in (-1, -1), (-1, 0), (0, -1), (2, 2):
119 band = array_ops.matrix_band_part(matrix, limits[0], limits[1])
125 name="matrix_band_part_cpu_{shape}_{limits}".format(
126 shape=shape_, limits=limits))
133 band = array_ops.matrix_band_part(matrix, limits[0], limits[1])
139 name="matrix_band_part_gpu_{shape}_{limits}".format(
140 shape=shape_, limits=limits))
/external/icu/icu4c/source/test/intltest/
Dcallimts.cpp115 // This test used to test the algorithmic limits of the dates that in TestCalendarExtremeLimit()
117 // been rewritten completely since then and the prior limits no in TestCalendarExtremeLimit()
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()
[all …]
/external/deqp-deps/glslang/StandAlone/
DCMakeLists.txt1 add_library(glslang-default-resource-limits
3 set_property(TARGET glslang-default-resource-limits PROPERTY FOLDER glslang)
4 set_property(TARGET glslang-default-resource-limits PROPERTY POSITION_INDEPENDENT_CODE ON)
6 target_include_directories(glslang-default-resource-limits
24 glslang-default-resource-limits)
50 install(TARGETS glslang-default-resource-limits
/external/mesa3d/src/compiler/glsl/
Dopt_minmax.cpp260 /* Returns a range so that lower limit is the larger of the two lower limits,
261 * and higher limit is the smaller of the two higher limits.
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()
[all …]
/external/mesa3d/src/mesa/vbo/
Dvbo_split.c41 * For instance, if a driver has no hardware limits on vertex buffer
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/python/google-api-python-client/docs/dyn/
Dcalendar_v3.acl.html127 # - "user" - Limits the scope to a single user.
128 # - "group" - Limits the scope to a group.
129 …# - "domain" - Limits the scope to a domain. Note: The permissions granted to the "default", or p…
157 # - "user" - Limits the scope to a single user.
158 # - "group" - Limits the scope to a group.
159 …# - "domain" - Limits the scope to a domain. Note: The permissions granted to the "default", or p…
181 # - "user" - Limits the scope to a single user.
182 # - "group" - Limits the scope to a group.
183 …# - "domain" - Limits the scope to a domain. Note: The permissions granted to the "default", or p…
222 # - "user" - Limits the scope to a single user.
[all …]
/external/deqp/framework/platform/null/
DtcuNullPlatform.cpp89 void Platform::getMemoryLimits (vk::PlatformMemoryLimits& limits) const in getMemoryLimits()
91 limits.totalSystemMemory = 256*1024*1024; in getMemoryLimits()
92 limits.totalDeviceLocalMemory = 0; in getMemoryLimits()
93 limits.deviceMemoryAllocationGranularity = 4096; in getMemoryLimits()
94 limits.devicePageSize = 4096; in getMemoryLimits()
95 limits.devicePageTableEntrySize = 8; in getMemoryLimits()
96 limits.devicePageTableHierarchyLevels = 3; in getMemoryLimits()
/external/python/cpython2/Modules/
Dresource.c148 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()
161 /* Here limits is a borrowed reference */ 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()
180 /* The limits are probably bigger than a long */ in resource_setrlimit()
204 Py_DECREF(limits); in resource_setrlimit()
[all …]
/external/v8/src/compiler/
Dtypes.cc20 bool RangeType::Limits::IsEmpty() { return this->min > this->max; } in IsEmpty()
22 RangeType::Limits RangeType::Limits::Intersect(Limits lhs, Limits rhs) { in Intersect()
24 Limits result(lhs); in Intersect()
30 RangeType::Limits RangeType::Limits::Union(Limits lhs, Limits rhs) { in Union()
34 Limits result(lhs); in Union()
42 return !RangeType::Limits::Intersect(RangeType::Limits(lhs), in Overlap()
43 RangeType::Limits(rhs)) in Overlap()
665 RangeType::Limits lims = RangeType::Limits::Empty(); in Intersect()
701 RangeType::Limits Type::ToLimits(bitset bits, Zone* zone) { in ToLimits()
705 return RangeType::Limits::Empty(); in ToLimits()
[all …]
/external/mesa3d/src/mesa/main/
Darbprogram.c660 const struct gl_program_constants *limits; in _mesa_GetProgramivARB() local
667 limits = &ctx->Const.Program[MESA_SHADER_VERTEX]; in _mesa_GetProgramivARB()
672 limits = &ctx->Const.Program[MESA_SHADER_FRAGMENT]; in _mesa_GetProgramivARB()
680 assert(limits); in _mesa_GetProgramivARB()
698 *params = limits->MaxInstructions; in _mesa_GetProgramivARB()
704 *params = limits->MaxNativeInstructions; in _mesa_GetProgramivARB()
710 *params = limits->MaxTemps; in _mesa_GetProgramivARB()
716 *params = limits->MaxNativeTemps; in _mesa_GetProgramivARB()
722 *params = limits->MaxParameters; in _mesa_GetProgramivARB()
728 *params = limits->MaxNativeParameters; in _mesa_GetProgramivARB()
[all …]
/external/nanopb-c/tests/alltypes_proto3_callback/
Dencode_alltypes_callback.c145 Limits limits = {0}; in write_limits() local
146 limits.int32_min = INT32_MIN; in write_limits()
147 limits.int32_max = INT32_MAX; in write_limits()
148 limits.uint32_min = 0; in write_limits()
149 limits.uint32_max = UINT32_MAX; in write_limits()
150 limits.int64_min = INT64_MIN; in write_limits()
151 limits.int64_max = INT64_MAX; in write_limits()
152 limits.uint64_min = 0; in write_limits()
153 limits.uint64_max = UINT64_MAX; in write_limits()
154 limits.enum_min = HugeEnum_Negative; in write_limits()
[all …]

12345678910>>...188