/external/libchrome/base/process/ |
process_metrics_posix.cc | 7 #include <limits.h> 63 struct rlimit limits; local 64 if (getrlimit(RLIMIT_NOFILE, &limits) == 0) { 66 if (limits.rlim_max > 0 && limits.rlim_max < max_descriptors) { 67 new_limit = limits.rlim_max; 69 limits.rlim_cur = new_limit; 70 if (setrlimit(RLIMIT_NOFILE, &limits) != 0) {
|
/external/libvpx/libvpx/vp9/common/ |
vp9_postproc.h | 32 uint8_t *limits; member in struct:postproc_state 44 uint8_t *limits); 47 uint8_t *limits);
|
/external/mesa3d/src/gallium/state_trackers/clover/util/ |
factor.hpp | 58 /// \p limits. 62 next_grid_factor(const std::pair<T, std::vector<T>> &limits, 73 return next_grid_factor(limits, grid, factors, 83 if (block.first <= limits.first && 84 block.second[d] <= limits.second[d] && 97 return next_grid_factor(limits, grid, factors, 116 const auto limits = std::make_pair(product_limit, coord_limit); local 121 block = detail::next_grid_factor(limits, grid, factors, block)) {
|
/external/tensorflow/tensorflow/compiler/tf2xla/kernels/ |
slice_op.cc | 89 std::vector<int64> limits; variable 90 limits.reserve(begin.size()); 92 limits.push_back(begin[i] + size[i]); 96 0, ctx->builder()->Slice(ctx->Input(0), begin, limits, strides));
|
cross_op.cc | 50 std::vector<int64> limits; variable 52 limits.push_back(dim_size); 60 limits.back() = 1; 61 auto u1 = b->Slice(in0, starts, limits, strides); 62 auto v1 = b->Slice(in1, starts, limits, strides); 64 limits.back() = 2; 65 auto u2 = b->Slice(in0, starts, limits, strides); 66 auto v2 = b->Slice(in1, starts, limits, strides); 68 limits.back() = 3; 69 auto u3 = b->Slice(in0, starts, limits, strides) [all...] |
/libcore/luni/src/test/java/libcore/java/text/ |
ChoiceFormatTest.java | 11 * Limits for {@link ChoiceFormat}, will be modified by some tests to ensure that ChoiceFormat 14 private final double[] limits = new double[] { 0, 1, 2, 3, 4 }; field in class:ChoiceFormatTest 23 ChoiceFormat format = new ChoiceFormat(limits, formats); 32 // Change the limits. 33 format.setChoices(limits, formats); 46 // Change the limits array and make sure that it doesn't affect the ChoiceFormat. 47 limits[2] = 1.2; 48 assertEquals("ChoiceFormat doesn't make defensive copies of limits array", 53 ChoiceFormat format = new ChoiceFormat(limits, formats); 56 // Get the limits array, change the contents and make sure it doesn't affect the behavio [all...] |
/external/mesa3d/src/mesa/drivers/dri/i965/ |
brw_urb.c | 91 } limits[CS+1] = { variable in typeref:struct:__anon30505 121 if (csize < limits[CS].min_entry_size) 122 csize = limits[CS].min_entry_size; 124 if (vsize < limits[VS].min_entry_size) 125 vsize = limits[VS].min_entry_size; 127 if (sfsize < limits[SF].min_entry_size) 128 sfsize = limits[SF].min_entry_size; 142 brw->urb.nr_vs_entries = limits[VS].preferred_nr_entries; 143 brw->urb.nr_gs_entries = limits[GS].preferred_nr_entries; 144 brw->urb.nr_clip_entries = limits[CLP].preferred_nr_entries [all...] |
/external/deqp/external/vulkancts/framework/vulkan/ |
vkPlatform.hpp | 145 virtual void getMemoryLimits (PlatformMemoryLimits& limits) const = 0; 151 PlatformMemoryLimits limits; local 152 platform.getMemoryLimits(limits); 153 return limits;
|
/external/deqp/external/vulkancts/modules/vulkan/ |
vktInfoTests.cpp | 219 vk::PlatformMemoryLimits limits; local 221 context.getTestContext().getPlatform().getVulkanPlatform().getMemoryLimits(limits); 223 log << TestLog::Message << "totalSystemMemory = " << prettySize(limits.totalSystemMemory) << " (" << limits.totalSystemMemory << ")\n" 224 << "totalDeviceLocalMemory = " << prettySize(limits.totalDeviceLocalMemory) << " (" << limits.totalDeviceLocalMemory << ")\n" 225 << "deviceMemoryAllocationGranularity = " << limits.deviceMemoryAllocationGranularity << "\n" 226 << "devicePageSize = " << limits.devicePageSize << "\n" 227 << "devicePageTableEntrySize = " << limits.devicePageTableEntrySize << "\n" 228 << "devicePageTableHierarchyLevels = " << limits.devicePageTableHierarchyLevels << "\n [all...] |
/external/deqp/modules/gles31/functional/ |
es31fAndroidExtensionPackES31ATests.cpp | 178 // .limits 185 } limits[] = local 209 tcu::TestCaseGroup* const group = new tcu::TestCaseGroup(m_testCtx, "limits", "Implementation limits"); 212 for (int ndx = 0; ndx < DE_LENGTH_OF_ARRAY(limits); ++ndx) 214 limits[ndx].name, 215 (std::string() + "Check " + limits[ndx].name + " is at least " + de::toString(limits[ndx].limit)).c_str(), 216 limits[ndx].target, 217 limits[ndx].limit)) [all...] |
/external/icu/icu4c/source/layoutex/ |
RunArrays.cpp | 69 le_int32 *limits = (le_int32 *) fLimits; local 71 limits[index] = limit;
|
/external/jacoco/org.jacoco.report/src/org/jacoco/report/check/ |
Rule.java | 21 * A rule applies for a certain element type and can define any number of limits 29 private List<Limit> limits; field in class:Rule 35 * Creates a new Rule without limits. 39 this.limits = new ArrayList<Limit>(); 96 return limits; 100 * @param limits 103 public void setLimits(final List<Limit> limits) { 104 this.limits = limits; 114 this.limits.add(limit) [all...] |
/external/python/cpython2/Modules/ |
resource.c | 148 PyObject *limits, *curobj, *maxobj; local 150 if (!PyArg_ParseTuple(args, "iO:setrlimit", &resource, &limits)) 159 limits = PySequence_Tuple(limits); 160 if (!limits) 161 /* Here limits is a borrowed reference */ 164 if (PyTuple_GET_SIZE(limits) != 2) { 169 curobj = PyTuple_GET_ITEM(limits, 0); 170 maxobj = PyTuple_GET_ITEM(limits, 1); 180 /* The limits are probably bigger than a long * [all...] |
/external/libvpx/libvpx/vp8/common/ |
postproc.c | 23 #include <limits.h> 127 unsigned char *limits = cm->pp_limits_buffer; local 132 memset(limits, (unsigned char)ppl, 16 * mb_cols); 139 source->y_stride, source->y_width, limits, 16); 144 source->uv_stride, source->uv_width, limits, 8); 148 source->uv_stride, source->uv_width, limits, 8);
|
/external/mesa3d/src/mesa/main/ |
arbprogram.c | 645 const struct gl_program_constants *limits; local 652 limits = &ctx->Const.Program[MESA_SHADER_VERTEX]; 657 limits = &ctx->Const.Program[MESA_SHADER_FRAGMENT]; 665 assert(limits); 683 *params = limits->MaxInstructions; 689 *params = limits->MaxNativeInstructions; 695 *params = limits->MaxTemps; 701 *params = limits->MaxNativeTemps; 707 *params = limits->MaxParameters; 713 *params = limits->MaxNativeParameters [all...] |
/external/mesa3d/src/mesa/tnl/ |
t_draw.c | 474 struct split_limits limits; local 475 limits.max_verts = max; 476 limits.max_vb_size = ~0; 477 limits.max_indices = ~0; 485 &limits );
|
/external/mesa3d/src/mesa/vbo/ |
vbo_split_inplace.c | 53 const struct split_limits *limits; member in struct:split_context 244 split->limits); 256 split->limits); 272 const struct split_limits *limits ) 289 split.limits = limits; 290 split.limit = ib ? limits->max_indices : limits->max_verts;
|
/external/python/cpython3/Modules/ |
resource.c | 110 py2rlimit(PyObject *limits, struct rlimit *rl_out) 113 limits = PySequence_Tuple(limits); 114 if (!limits) 115 /* Here limits is a borrowed reference */ 118 if (PyTuple_GET_SIZE(limits) != 2) { 123 curobj = PyTuple_GET_ITEM(limits, 0); 124 maxobj = PyTuple_GET_ITEM(limits, 1); 133 /* The limits are probably bigger than a long */ 142 Py_DECREF(limits); 190 PyObject *limits; local 226 PyObject *limits = NULL; local [all...] |
/libcore/ojluni/src/test/java/util/stream/test/org/openjdk/tests/java/util/stream/ |
IntSliceOpTest.java | 154 List<Integer> limits = skips; local 158 for (int limit : limits) { 171 List<Integer> limits = sizes(data.size()); local 173 for (int limit : limits) {
|
/cts/tests/tests/graphics/src/android/graphics/cts/ |
VulkanFeaturesTest.java | 262 JSONObject limits = device.getJSONObject("properties").getJSONObject("limits"); local 263 int maxPerStageDescriptorStorageBuffers = limits.getInt("maxPerStageDescriptorStorageBuffers");
|
/external/google-breakpad/src/common/linux/tests/ |
crash_generator.cc | 163 struct rlimit limits = { limit, limit }; local 164 if (setrlimit(RLIMIT_CORE, &limits) == -1) {
|
/external/mesa3d/src/compiler/glsl/ |
opt_minmax.cpp | 260 /* 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]; local 337 limits[i] = get_range(expr->operands[i]); 347 if (limits[i].low && limits[1 - i].high) { 348 cr = compare_components(limits[i].low, limits[1 - i].high); 356 if (!is_redundant && limits[i].low && baserange.high) { 357 cr = compare_components(limits[i].low, baserange.high) [all...] |
/external/mesa3d/src/gallium/drivers/nouveau/nv50/ |
nv50_vbo.c | 215 uint64_t addrs[], uint32_t limits[]) 229 limits[b] = base + size - 1; 298 uint32_t limits[PIPE_MAX_ATTRIBS]; local 368 nv50_upload_user_buffers(nv50, addrs, limits); 387 limit = addrs[b] + limits[b];
|
/external/mesa3d/src/mesa/drivers/dri/nouveau/ |
nouveau_vbo_t.c | 252 struct split_limits limits = { local 259 max_index, TAG(vbo_render_prims), &limits);
|
/external/nanopb-c/tests/alltypes_callback/ |
encode_alltypes_callback.c | 145 Limits limits = {0}; local 146 limits.int32_min = INT32_MIN; 147 limits.int32_max = INT32_MAX; 148 limits.uint32_min = 0; 149 limits.uint32_max = UINT32_MAX; 150 limits.int64_min = INT64_MIN; 151 limits.int64_max = INT64_MAX; 152 limits.uint64_min = 0; 153 limits.uint64_max = UINT64_MAX [all...] |