Searched refs:max (Results 226 - 250 of 1932) sorted by relevance

1234567891011>>

/openbsd-current/gnu/llvm/compiler-rt/lib/xray/
H A Dxray_utils.h75 template <class T> constexpr T &max(T &A, T &B) { return A > B ? A : B; } function in namespace:__xray
80 return max(A, B) - min(A, B);
/openbsd-current/gnu/llvm/llvm/lib/Support/
H A DAddressRanges.cpp25 Range = {Range.start(), std::max(Range.end(), std::prev(It2)->end())};
30 *It = {It->start(), std::max(It->end(), Range.end())};
/openbsd-current/sys/dev/pci/drm/i915/gvt/
H A Daperture_gm.c246 unsigned long request, avail, max, taken; local
255 max = gvt_aperture_sz(gvt) - HOST_LOW_GM_SIZE;
257 avail = max - taken;
266 max = gvt_hidden_sz(gvt) - HOST_HIGH_GM_SIZE;
268 avail = max - taken;
277 max = gvt_fence_sz(gvt) - HOST_FENCE;
279 avail = max - taken;
294 gvt_err("request %luMB avail %luMB max %luMB taken %luMB\n",
296 BYTES_TO_MB(max), BYTES_TO_MB(taken));
/openbsd-current/sys/dev/usb/
H A Duoak_subr.c290 s->max.type = type;
293 s->max.flags |= SENSOR_FINVALID;
298 (void)snprintf(s->max.desc, sizeof(s->max.desc),
299 "max(#%s)", sc->sc_udi.udi_serial);
304 sensor_attach(sc->sc_sensordev, &s->max);
315 sensor_attach(sc->sc_sensordev, &s->max);
332 /* update min/max */
351 s->max.value = s->vmax * mag + offset;
356 s->max
[all...]
/openbsd-current/sys/dev/pci/drm/amd/pm/swsmu/smu13/
H A Dsmu_v13_0_6_ppt.c387 uint32_t *min, uint32_t *max)
430 if (max)
431 *max = clock_limit;
446 if (max) {
449 smu, SMU_MSG_GetMaxGfxclkFrequency, max);
452 smu, SMU_MSG_GetMaxDpmFreq, param, max);
516 * Get min/max values from FW.
529 dpm_table->max = dpm_table->dpm_levels[1].value;
535 dpm_table->max = dpm_table->dpm_levels[0].value;
555 dpm_table->max
385 smu_v13_0_6_get_dpm_ultimate_freq(struct smu_context *smu, enum smu_clk_type clk_type, uint32_t *min, uint32_t *max) argument
1006 smu_v13_0_6_upload_dpm_level(struct smu_context *smu, bool max, uint32_t feature_mask, uint32_t level) argument
1416 smu_v13_0_6_set_gfx_soft_freq_limited_range(struct smu_context *smu, uint32_t min, uint32_t max) argument
1476 smu_v13_0_6_set_soft_freq_limited_range(struct smu_context *smu, enum smu_clk_type clk_type, uint32_t min, uint32_t max) argument
[all...]
/openbsd-current/gnu/usr.bin/binutils/opcodes/
H A Dcgen-asm.c330 cgen_validate_signed_integer (long value, long min, long max)
332 if (value < min || value > max)
338 value, min, max);
347 cases where min != 0 (and max > LONG_MAX). */
352 unsigned long max)
354 if (value < min || value > max)
360 value, min, max);
328 cgen_validate_signed_integer(long value, long min, long max) argument
348 cgen_validate_unsigned_integer(unsigned long value, unsigned long min, unsigned long max) argument
H A Dd10v-dis.c156 long max; local
158 max = (1 << (oper->bits - 1));
159 if (num & max)
179 int max = (1 << (oper->bits - 1)); local
180 if (num & max)
/openbsd-current/gnu/usr.bin/binutils-2.17/opcodes/
H A Dcgen-asm.c331 cgen_validate_signed_integer (long value, long min, long max)
333 if (value < min || value > max)
339 value, min, max);
348 cases where min != 0 (and max > LONG_MAX). */
353 unsigned long max)
355 if (value < min || value > max)
361 value, min, max);
329 cgen_validate_signed_integer(long value, long min, long max) argument
349 cgen_validate_unsigned_integer(unsigned long value, unsigned long min, unsigned long max) argument
H A Dd10v-dis.c113 long max; local
116 max = (1 << (oper->bits - 1));
117 if (num & max)
137 int max = (1 << (oper->bits - 1)); local
138 if (num & max)
/openbsd-current/gnu/usr.bin/perl/cpan/Scalar-List-Utils/t/
H A Dsum.t107 my $max = 9223372036854775807; # (1<<63)-1, but Perl 5.6 does not compute constant correctly
109 $t = sum($min, $max);
110 is($t, -1, 'min + max');
111 $t = sum($max, $min);
112 is($t, -1, 'max + min');
/openbsd-current/gnu/llvm/lldb/source/Core/
H A DValueObjectRegister.cpp77 size_t ValueObjectRegisterSet::CalculateNumChildren(uint32_t max) { argument
81 return reg_count <= max ? reg_count : max;
226 size_t ValueObjectRegister::CalculateNumChildren(uint32_t max) { argument
229 return children_count <= max ? children_count : max;
/openbsd-current/gnu/llvm/llvm/tools/llvm-cov/
H A DCoverageSummaryInfo.h45 Covered = std::max(Covered, RHS.Covered);
46 NumRegions = std::max(NumRegions, RHS.NumRegions);
86 Covered = std::max(Covered, RHS.Covered);
87 NumLines = std::max(NumLines, RHS.NumLines);
127 Covered = std::max(Covered, RHS.Covered);
128 NumBranches = std::max(NumBranches, RHS.NumBranches);
/openbsd-current/gnu/gcc/gcc/config/c4x/
H A Dc4x.c862 error ("ISR %s requires %d words of local vars, max is 32767",
4227 int max = 0;
4234 max = SET_USE_COST > max ? SET_USE_COST : max;
4236 max = READ_USE_COST > max ? READ_USE_COST : max;
4246 max = SET_USE_COST > max
4225 int max = 0; local
[all...]
/openbsd-current/gnu/usr.bin/gcc/gcc/config/c4x/
H A Dc4x.c855 error ("ISR %s requires %d words of local vars, max is 32767",
4802 int max = 0;
4809 max = SET_USE_COST > max ? SET_USE_COST : max;
4811 max = READ_USE_COST > max ? READ_USE_COST : max;
4821 max = SET_USE_COST > max
4800 int max = 0; local
[all...]
/openbsd-current/sys/dev/pci/drm/i915/display/
H A Dintel_bw.c124 unsigned int num_psf_gv_points = i915->display.bw.max[0].num_psf_gv_points;
125 unsigned int num_qgv_points = i915->display.bw.max[0].num_qgv_points;
333 dclk = max(dclk, qi->points[i].dclk);
393 int num_groups = ARRAY_SIZE(dev_priv->display.bw.max);
409 struct intel_bw_info *bi = &dev_priv->display.bw.max[i];
464 int num_groups = ARRAY_SIZE(dev_priv->display.bw.max);
481 qi.deinterleave = max(DIV_ROUND_UP(qi.deinterleave, 2), 1);
484 drm_warn(&dev_priv->drm, "Number of channels exceeds max number of channels.");
501 struct intel_bw_info *bi = &dev_priv->display.bw.max[i];
509 bi_next = &dev_priv->display.bw.max[
[all...]
/openbsd-current/gnu/usr.bin/perl/cpan/Sys-Syslog/win32/
H A Dcompile.pl48 my $max = 0;
54 $max = $2 if $max < $2;
81 $max = sprintf "0x%08x", $max;
82 $template =~ s/__MAX__/'$max'/g;
/openbsd-current/gnu/llvm/llvm/lib/DebugInfo/CodeView/
H A DCodeViewRecordIO.cpp65 // The max length of the next field is the minimum of all lengths that would
289 Value <= std::numeric_limits<int8_t>::max()) {
295 Value <= std::numeric_limits<int16_t>::max()) {
301 Value <= std::numeric_limits<int32_t>::max()) {
320 } else if (Value <= std::numeric_limits<uint16_t>::max()) {
325 } else if (Value <= std::numeric_limits<uint32_t>::max()) {
344 Value <= std::numeric_limits<int8_t>::max()) {
350 Value <= std::numeric_limits<int16_t>::max()) {
356 Value <= std::numeric_limits<int32_t>::max()) {
374 } else if (Value <= std::numeric_limits<uint16_t>::max()) {
[all...]
/openbsd-current/lib/libutil/
H A Dimsg-buffer.c55 buf->size = buf->max = len;
62 ibuf_dynamic(size_t len, size_t max) argument
66 if (max == 0 || max < len) {
80 buf->max = max;
91 /* on static buffers max is eq size and so the following fails */
92 if (len > SIZE_MAX - buf->wpos || buf->wpos + len > buf->max) {
111 if (len > SIZE_MAX - buf->wpos || buf->max == 0) {
357 if (buf->max
[all...]
/openbsd-current/gnu/usr.bin/binutils-2.17/binutils/
H A Dsysdump.c60 getCHARS (unsigned char *ptr, int *idx, int size, int max) argument
66 if (b >= max)
141 int max ATTRIBUTE_UNUSED)
158 getINT (unsigned char *ptr, int *idx, int size, int max) argument
163 if (byte >= max)
194 getBITS (unsigned char *ptr, int *idx, int size, int max) argument
199 if (byte >= max)
/openbsd-current/usr.bin/rs/
H A Drs.c246 int max = 0; local
283 max = 0;
286 if (ep->w > max)
287 max = ep->w;
290 if (ep[j].w > max)
291 max = ep[j].w;
293 colwidths[i] = max + gutter;
/openbsd-current/gnu/usr.bin/gcc/gcc/
H A Dcfgbuild.c283 make_edges (label_value_list, min, max, update_p)
285 basic_block min, max;
303 FOR_BB_BETWEEN (bb, min, max->next_bb, next_bb)
319 FOR_BB_BETWEEN (bb, min, max->next_bb, next_bb)
783 basic_block bb, min, max;
797 min = max = bb;
800 max = bb;
804 make_edges (NULL, min, max, 1);
808 FOR_BB_BETWEEN (bb, min, max->next_bb, next_bb)
838 basic_block min, max,
778 basic_block bb, min, max; local
833 basic_block min, max, b; local
[all...]
/openbsd-current/usr.sbin/sasyncd/
H A Dpfkey.c170 u_int8_t *max; local
214 max = (u_int8_t *)msg + msg->sadb_msg_len * CHUNK;
215 if (src && ((u_int8_t *)src + src->sa_len) > max)
217 if (dst && ((u_int8_t *)dst + dst->sa_len) > max)
457 u_int8_t *sadb, *spd, *max, *next, *sendbuf; local
475 max = sadb + sadbsz;
476 for (next = sadb; next < max;
505 max = spd + spdsz;
506 for (next = spd; next < max; next += m->sadb_msg_len * CHUNK) {
/openbsd-current/lib/libossaudio/
H A Dossaudio.c61 int max; member in struct:control
152 i->max = d->maxval;
296 v = (c->value * 100 + c->max / 2) / c->max;
319 v = (v * c->max + 50) / 100;
/openbsd-current/usr.bin/yacc/
H A Doutput.c278 int max, min; local
310 max = 0;
315 if (max < symbol_value[j])
316 max = symbol_value[j];
321 width[i] = max - min + 1;
327 max = 0;
332 if (max < symbol_value[j])
333 max = symbol_value[j];
338 width[nstates+i] = max - min + 1;
385 int max; local
873 int i, j, k, max; local
[all...]
/openbsd-current/sys/arch/i386/pci/
H A Dvia8231.c231 int reg, clink, max, pciirq; local
236 max = ph->flags & VT8237? VIA8237_LINK_MAX : VIA8231_LINK_MAX;
237 for (clink = 0; clink <= max; clink++) {
256 int reg, clink, max, pciirq; local
266 max = ph->flags & VT8237? VIA8237_LINK_MAX : VIA8231_LINK_MAX;

Completed in 655 milliseconds

1234567891011>>