| /openbsd-src/gnu/usr.bin/perl/ext/POSIX/t/ |
| H A D | sysconf.t | 57 my ($sub, $constant, $description) = @_; 59 my $return_val = eval {$sub->(eval "$constant()")}; 89 for my $constant (@path_consts) { 91 … skip "pathconf($constant) hangs on Android", 2 if $constant eq '_PC_LINK_MAX' && $^O =~ /android/; 92 _check_and_report(sub { fpathconf($fd, shift) }, $constant, 93 "calling fpathconf($fd, $constant)"); 101 for my $constant (@path_consts) { 103 … skip "pathconf($constant) hangs on Android", 2 if $constant eq '_PC_LINK_MAX' && $^O =~ /android/; 104 _check_and_report(sub { pathconf($testdir, shift) }, $constant, 105 "calling pathconf('$testdir', $constant)"); [all …]
|
| /openbsd-src/gnu/usr.bin/perl/dist/constant/t/ |
| H A D | constant.t | 17 use constant PI => 4 * atan2 1, 1; 28 use constant UNDEF1 => undef; # the right way 29 use constant UNDEF2 => ; # the weird way 30 use constant 'UNDEF3' ; # the 'short' way 31 use constant EMPTY => ( ) ; # the right way for lists 49 use constant COUNTDOWN => scalar reverse 1, 2, 3, 4, 5; 50 use constant COUNTLIST => reverse 1, 2, 3, 4, 5; 51 use constant COUNTLAST => (COUNTLIST)[-1]; 60 use constant ABC => 'ABC'; 63 use constant DEF => 'D', 'E', chr ord 'F'; [all …]
|
| /openbsd-src/gnu/usr.bin/gcc/gcc/f/ |
| H A D | bld.c | 2970 ffetargetOffset offset, ffebldConstantUnion *constant, in ffebld_constantarray_prepare() argument 3272 *cptr = &constant->integer1; in ffebld_constantarray_prepare() 3273 *size = sizeof (constant->integer1); in ffebld_constantarray_prepare() 3279 *cptr = &constant->integer2; in ffebld_constantarray_prepare() 3280 *size = sizeof (constant->integer2); in ffebld_constantarray_prepare() 3286 *cptr = &constant->integer3; in ffebld_constantarray_prepare() 3287 *size = sizeof (constant->integer3); in ffebld_constantarray_prepare() 3293 *cptr = &constant->integer4; in ffebld_constantarray_prepare() 3294 *size = sizeof (constant->integer4); in ffebld_constantarray_prepare() 3300 *cptr = &constant->integer5; in ffebld_constantarray_prepare() [all …]
|
| /openbsd-src/gnu/usr.bin/perl/ext/B/t/ |
| H A D | concise-xs.t | 21 ( constant => qr{ (?-x: is a constant sub, optimized to a \w+) 29 use constant a_constant => 3; 30 use constant a_list_constant => 4,5,6; 35 'a constant Perl sub' => constant => sub () { 3 }, 36 'a constant constant' => constant => \&a_constant, 37 'a list constant' => constant => \&a_list_constant,
|
| /openbsd-src/gnu/gcc/gcc/config/sh/ |
| H A D | divtab.c | 88 calc_defect (double x, int constant, int factor) in calc_defect() argument 90 double y0 = (constant - (int) floor ((x * factor * 64.))) / 16384.; in calc_defect() 149 int factor, constant; in main() local 165 constant = (med_defect + max_defect) * 0.5 * 16384. + 0.5; in main() 166 if (constant < -32768 || constant > 32767) in main() 168 constants[i] = constant; in main() 169 calc_defect (x_low, constant, factor); in main() 170 calc_defect (x_med, constant, factor); in main() 171 calc_defect (x_high, constant, factor); in main()
|
| /openbsd-src/gnu/usr.bin/perl/dist/constant/ |
| H A D | Changes | 1 Revision history for constant 6 - Allow package name in ‘use constant’ constants 7 - Remove bug-inducing compile-time checking of constant values 35 - [perl #68640] Wrong error for undef constant name (Zefram). 42 [CODE] Optimisation: Use the internal constant _CAN_PCS to optimise 54 [TESTS] Moved the TRAILING test from t/constant.t to t/more-tests.t 64 [TEST] Adjusted t/constant.t to how empty prototypes are reported 90 blead@30561: Inform constant.pm about UNITCHECK (Joshua ben Jore). 98 blead@26487: Rework constant.pm to take advantage of the space 99 savings of proxy constant subroutines whenever it can (Nicholas Clark). [all …]
|
| /openbsd-src/gnu/usr.bin/binutils-2.17/opcodes/ |
| H A D | crx-dis.c | 431 a->constant = p.val; in make_argument() 448 a->constant = p.val; in make_argument() 483 a->constant = p.val; in make_argument() 489 a->constant = p.val; in make_argument() 529 func (stream, "%s", gettrapstring (a->constant)); in print_arg() 532 func (stream, "%s", getcinvstring (a->constant)); in print_arg() 546 getregliststring (a->constant, string, reg_arg_type); in print_arg() 550 func (stream, "$0x%lx", a->constant); in print_arg() 554 getregliststring (a->constant, string, reg_arg_type); in print_arg() 559 func (stream, "$0x%lx", a->constant); in print_arg() [all …]
|
| /openbsd-src/gnu/gcc/gcc/config/mips/ |
| H A D | constraints.md | 84 "A signed 16-bit constant (for arithmetic instructions)." 94 "An unsigned 16-bit constant (for logic instructions)." 99 "A signed 32-bit constant in which the lower 16 bits are zero. 105 "A constant that cannot be loaded using @code{lui}, @code{addiu} 113 "A constant in the range -65535 to -1 (inclusive)." 118 "A signed 15-bit constant." 123 "A constant in the range 1 to 65535 (inclusive)." 147 A constant call address." 153 A constant @code{move_operand} that cannot be safely loaded into @code{$25} 161 A constant @code{move_operand} that can be safely loaded into @code{$25} [all …]
|
| /openbsd-src/gnu/usr.bin/gcc/gcc/testsuite/gcc.c-torture/execute/ |
| H A D | 941015-1.c | 5 register const long long constant = 0xc000000080000000LL; local 7 if (value < constant) 17 register const unsigned long long constant = 0xc000000080000000LL; local 19 if (value < constant)
|
| /openbsd-src/gnu/usr.bin/gcc/gcc/ |
| H A D | calls.c | 1169 args_size->constant = 0; 1388 args[i].size.constant -= ((args[i].partial * UNITS_PER_WORD) 1394 args_size->constant += args[i].size.constant; 1405 args[i].slot_offset.constant = -args_size->constant; 1431 int unadjusted_args_size = args_size->constant; 1446 args_size->constant = 0; 1479 args_size->constant = (((args_size->constant 1486 args_size->constant = MAX (args_size->constant, 1491 args_size->constant = 0; 1495 args_size->constant -= reg_parm_stack_space; [all …]
|
| /openbsd-src/gnu/gcc/gcc/config/arm/ |
| H A D | constraints.md | 73 "In ARM state a constant that can be used as an immediate value in a Data 74 Processing instruction. In Thumb state a constant in the range 0-255." 80 "In ARM state a constant in the range @minus{}4095-4095. In Thumb state 81 a constant in the range @minus{}255-@minus{}1." 87 "In ARM state a constant that satisfies the @code{I} constraint if inverted. 88 In Thumb state a constant that satisfies the @code{I} constraint multiplied 95 "In ARM state a constant that satisfies the @code{I} constraint if negated. 96 In Thumb state a constant in the range @minus{}7-7." 102 ;; @internal In ARM state a constant in the range 0-32 or any power of 2. 104 "In Thumb state a constant that is a multiple of 4 in the range 0-1020." [all …]
|
| /openbsd-src/gnu/gcc/gcc/ |
| H A D | calls.c | 940 args_size->constant = 0; in initialize_argument_information() 1137 args_size->constant += args[i].locate.size.constant; in initialize_argument_information() 1160 int unadjusted_args_size = args_size->constant; in compute_argument_block_size() 1175 args_size->constant = 0; in compute_argument_block_size() 1207 args_size->constant = (((args_size->constant in compute_argument_block_size() 1214 args_size->constant = MAX (args_size->constant, in compute_argument_block_size() 1218 args_size->constant -= reg_parm_stack_space; in compute_argument_block_size() 1338 if (copy_to_evaluate_size * 2 >= args_size->constant in finalize_must_preallocate() 1339 && args_size->constant > 0) in finalize_must_preallocate() 1390 units_on_stack = args[i].locate.size.constant; in compute_argument_addresses() [all …]
|
| /openbsd-src/gnu/gcc/gcc/config/i386/ |
| H A D | constraints.md | 89 ;; Integer constant constraints. 91 "Integer constant in the range 0 @dots{} 31, for 32-bit shifts." 96 "Integer constant in the range 0 @dots{} 63, for 64-bit shifts." 101 "Signed 8-bit integer constant." 116 "Unsigned 8-bit integer constant (for @code{in} and @code{out} 122 "@internal Integer constant in the range 0 @dots{} 127, for 128-bit shifts." 126 ;; Floating-point constant constraints. 131 "Standard 80387 floating point constant." 137 "Standard SSE floating point constant." 143 "32-bit signed integer constant, or a symbolic reference known [all …]
|
| /openbsd-src/gnu/gcc/gcc/config/rs6000/ |
| H A D | constraints.md | 57 "A signed 16-bit constant" 72 "signed 16-bit constant shifted left 16 bits" 78 "constant greater than 31" 83 "positive constant that is an exact power of two" 88 "constant zero" 93 "constant whose negation is signed 16-bit constant" 107 "DF/DI constant that takes three insns." 161 "vector constant that does not require memory"
|
| /openbsd-src/gnu/usr.bin/perl/dist/constant/lib/ |
| H A D | constant.pm | 35 $constant::{_CAN_PCS} = \$const; 36 $constant::{_DOWNGRADE} = \$downgrade; 37 $constant::{_CAN_PCS_FOR_ARRAY} = \$constarray; 170 local $constant::{_dummy} = \$scalar; 186 local $constant::{_dummy} = \@list;
|
| /openbsd-src/gnu/usr.bin/gcc/gcc/config/mips/ |
| H A D | iris3.h | 51 SIZE.constant += 4; \ 52 if (SIZE.constant < 32) \ 53 SIZE.constant = 32; \
|
| /openbsd-src/gnu/llvm/clang/include/clang/Basic/ |
| H A D | DiagnosticASTKinds.td | 16 " is not allowed in a constant expression" 29 "be used in a constant expression">; 32 "constant expression; derived class cannot be implicitly initialized">; 36 "cannot evaluate call to virtual function in a constant expression " 43 "whose dynamic type is not constant">; 52 "in a constant expression">; 54 "non-literal type %0 cannot be used in a constant expression">; 57 "%select{temporary|%3}2 is not a constant expression">; 60 "of the enclosing function; add 'static' to give it a constant address">; 63 "heap-allocated object is not a constant expression">; [all …]
|
| /openbsd-src/gnu/llvm/clang/lib/CodeGen/ |
| H A D | CGDecl.cpp | 1038 llvm::Constant *constant); 1044 llvm::Constant *constant) { in constStructWithPadding() argument 1059 if (constant->isZeroValue()) in constStructWithPadding() 1062 CurOp = cast<llvm::Constant>(constant->getAggregateElement(i)); in constStructWithPadding() 1075 return constant; in constStructWithPadding() 1082 llvm::Constant *constant) { in constWithPadding() argument 1083 llvm::Type *OrigTy = constant->getType(); in constWithPadding() 1085 return constStructWithPadding(CGM, isPattern, STy, constant); in constWithPadding() 1090 return constant; in constWithPadding() 1092 bool ZeroInitializer = constant->isNullValue(); in constWithPadding() [all …]
|
| H A D | ConstantInitBuilder.cpp | 70 bool constant, in createGlobal() argument 75 constant, in createGlobal() 273 auto constant = llvm::ConstantArray::get(type, elts); in finishArray() local 275 return constant; in finishArray() 288 llvm::Constant *constant; in finishStruct() local 291 constant = llvm::ConstantStruct::get(ty, elts); in finishStruct() 293 constant = llvm::ConstantStruct::getAnon(elts, Packed); in finishStruct() 297 return constant; in finishStruct()
|
| /openbsd-src/gnu/llvm/llvm/lib/Target/Lanai/ |
| H A D | LanaiInstrFormats.td | 34 // opcode Rd Rs1 constant (16) 37 // Rd <- Rs1 op constant 39 // Except for shift instructions, `H' determines whether the constant 42 // halfword is 0xFFFF, and shifts (`AAA' = 111), for which the constant is 52 // sign extended constant interpreted as a two's complement number. The 175 // opcode Rd Rs1 constant (16) 189 // 01 ea = Rs1, Rs1 <- Rs1 + constant 190 // 10 ea = Rs1 + constant 191 // 11 ea = Rs1 + constant, Rs1 <- Rs1 + constant 193 // The constant is sign-extended for this instruction. [all …]
|
| /openbsd-src/gnu/usr.bin/perl/t/lib/croak/ |
| H A D | toke | 204 # NAME Integer constant overloading returning undef 206 BEGIN { overload::constant integer => sub {}; undef *^H } 212 # NAME Float constant overloading returning undef 214 BEGIN { overload::constant float => sub {}; undef *^H } 220 # NAME Binary constant overloading returning undef 222 BEGIN { overload::constant binary => sub {}; undef *^H } 228 # NAME String constant overloading returning undef 230 BEGIN { overload::constant q => sub {}; undef *^H } 239 # NAME Regexp constant overloading when *^H is undefined 241 BEGIN { overload::constant q [all...] |
| /openbsd-src/gnu/usr.bin/perl/cpan/Scalar-List-Utils/t/ |
| H A D | dualvar.t | 76 require constant; import constant HAVE_THREADS => 1; 79 require constant; import constant HAVE_THREADS => 0;
|
| /openbsd-src/gnu/gcc/gcc/config/sparc/ |
| H A D | predicates.md | 23 ;; Return true if OP is the zero constant for MODE. 28 ;; Return true if OP is the one constant for MODE. 33 ;; Return true if OP is the integer constant 4096. 38 ;; Return true if OP is a constant that is representable by a 13-bit 45 ;; Return true if OP is a constant operand for the umul instruction. That 64 ;; Return true if OP is a constant that can be loaded by the sethi instruction. 71 ;; Return true if OP is a constant whose 1's complement can be loaded by the 78 ;; Return true if OP is a FP constant that needs to be loaded by the sethi/losum 91 ;; reference and a constant. 173 /* Assume canonical format of symbol + constant. [all …]
|
| /openbsd-src/gnu/llvm/lldb/source/Expression/ |
| H A D | IRInterpreter.cpp | 167 const Constant *constant = dyn_cast<Constant>(value); in EvaluateValue() local 169 if (constant) { in EvaluateValue() 170 if (constant->getValueID() == Value::ConstantFPVal) { in EvaluateValue() 171 if (auto *cfp = dyn_cast<ConstantFP>(constant)) { in EvaluateValue() 184 if (!ResolveConstantValue(value_apint, constant)) in EvaluateValue() 257 bool ResolveConstantValue(APInt &value, const Constant *constant) { in ResolveConstantValue() argument 258 switch (constant->getValueID()) { in ResolveConstantValue() 262 if (const Function *constant_func = dyn_cast<Function>(constant)) { in ResolveConstantValue() 273 if (const ConstantInt *constant_int = dyn_cast<ConstantInt>(constant)) { in ResolveConstantValue() 279 if (const ConstantFP *constant_fp = dyn_cast<ConstantFP>(constant)) { in ResolveConstantValue() [all …]
|
| /openbsd-src/gnu/usr.bin/perl/ext/XS-APItest/t/ |
| H A D | svpeek.t | 40 is (DPeek (1), 'IV(1)', 'constant 1'); 41 is (DPeek (""), 'PV(""\0)', 'constant ""'); 42 is (DPeek (1.), 'NV(1)', 'constant 1.'); 43 is (DPeek (\1), '\IV(1)', 'constant \1'); 44 is (DPeek (\\1), '\\\IV(1)', 'constant \\\1');
|