Searched refs:constant (Results 226 - 250 of 437) sorted by relevance

1234567891011>>

/external/v8/src/x64/
H A Dmacro-assembler-x64.cc10 #include "src/base/division-by-constant.h"
642 // constant, we check that the actual number of arguments match the
647 // arguments passed in because it is constant. At some point we
678 // arguments passed in because it is constant. At some point we
1187 int constant) {
1189 addl(dst, Immediate(constant));
1191 leal(dst, Operand(src, constant));
1557 Smi* constant,
1560 SmiCompare(src, constant);
1583 void MacroAssembler::SmiAddConstant(Register dst, Register src, Smi* constant) {
[all...]
/external/clang/test/SemaCXX/
H A Dcxx11-user-defined-literals.cpp123 template<typename T, T v> struct constant { constexpr static T value = v; }; struct
125 return constant<unsigned, hash<Cs...>(0)>::value;
H A Dconstant-expression-cxx11.cpp6 static_assert(++x, "test"); // expected-error {{not an integral constant expression}}
104 case __builtin_constant_p(true) ? (__SIZE_TYPE__)&x : 0:; // expected-error {{constant}}
112 constexpr int &Recurse3 = Recurse2; // expected-error {{must be initialized by a constant expression}} expected-note {{initializer of 'Recurse2' is not a constant expression}}
117 constexpr int RecurseC = RecurseB; // expected-error {{must be initialized by a constant expression}} expected-note {{initializer of 'RecurseB' is not a constant expression}}
153 static_assert(F(4, k) == 3, ""); // expected-error {{constant expression}} expected-note {{read of non-const variable 'k'}}
205 constexpr int a = MaybeReturnJunk(true, 0); // expected-error {{constant expression}} expected-note {{read of variable whose lifetime has ended}}
216 constexpr int n3 = InternalReturnJunk(0); // expected-error {{must be initialized by a constant expression}} expected-note {{in call to 'InternalReturnJunk(0)'}}
256 constexpr int Invalid = Apply(Select(0), 0); // expected-error {{must be initialized by a constant expressio
[all...]
H A Dconstexpr-printing.cpp12 constexpr int extract(const S &s) { return s.n; } // expected-note {{read of object outside its lifetime is not allowed in a constant expression}}
16 constexpr S s1; // expected-error {{constant expression}} expected-note {{in call to 'S()'}}
40 expected-error {{constant expression}} \
53 static_assert(passLargeArray(v) == 0, ""); // expected-error {{constant expression}} expected-note {{in call to 'passLargeArray({{0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...}})'}}
63 static_assert(badness(myUnion), ""); // expected-error {{constant expression}} \
74 static_assert(MemPtr(&MemPtrTest::n, &MemPtrTest::f, mpt.*&MemPtrTest::n), ""); // expected-error {{constant expression}} \
96 static_assert(mulBy3((LabelDiffTy)&&a-(LabelDiffTy)&&b) == 3, ""); // expected-error {{constant expression}} expected-note {{call to 'mulBy3(&&a - &&b)'}}
101 constexpr bool test_bool_0 = test_bool_printing(false); // expected-error {{constant expr}} expected-note {{in call to 'test_bool_printing(false)'}}
102 constexpr bool test_bool_1 = test_bool_printing(true); // expected-error {{constant expr}} expected-note {{in call to 'test_bool_printing(true)'}}
/external/dexmaker/src/main/java/com/google/dexmaker/
H A DTypeId.java88 final CstType constant; field in class:TypeId
100 this.constant = CstType.intern(ropType);
/external/emma/tools/java/com/vladium/tools/
H A DClassDep.java28 import com.vladium.jcd.cls.constant.CONSTANT_Class_info;
29 import com.vladium.jcd.cls.constant.CONSTANT_info;
/external/guava/guava-tests/test/com/google/common/base/
H A DEnumsTest.java130 for (TestEnum constant : TestEnum.values()) {
131 Optional<TestEnum> result = Enums.getIfPresent(shadowTestEnum, constant.name());
/external/libunwind/doc/
H A D_U_dyn_cancel.tex25 constant time (in the absence of contention from concurrent calls to
H A D_U_dyn_register.tex26 constant time (in the absence of contention from concurrent calls to
/external/proguard/src/proguard/evaluation/
H A DBasicInvocationUnit.java25 import proguard.classfile.constant.*;
26 import proguard.classfile.constant.visitor.ConstantVisitor;
H A DProcessor.java99 stack.push(valueFactory.createIntegerValue(simpleInstruction.constant));
104 stack.push(valueFactory.createLongValue(simpleInstruction.constant));
110 stack.push(valueFactory.createFloatValue((float)simpleInstruction.constant));
115 stack.push(valueFactory.createDoubleValue((double)simpleInstruction.constant));
542 stack.push(valueFactory.createArrayReferenceValue(String.valueOf(InstructionUtil.internalTypeFromArrayType((byte)simpleInstruction.constant)),
634 int dimensionCount = constantInstruction.constant;
646 throw new IllegalArgumentException("Unknown constant pool instruction ["+constantInstruction.opcode+"]");
743 valueFactory.createIntegerValue(variableInstruction.constant)));
/external/proguard/src/proguard/optimize/
H A DTailRecursionSimplifier.java26 import proguard.classfile.constant.*;
27 import proguard.classfile.constant.visitor.ConstantVisitor;
111 // The code may expand, due to expanding constant and variable
/external/proguard/src/proguard/optimize/info/
H A DSideEffectInstructionChecker.java25 import proguard.classfile.constant.*;
26 import proguard.classfile.constant.visitor.ConstantVisitor;
/external/emma/core/java12/com/vladium/jcd/cls/
H A DClassDef.java21 import com.vladium.jcd.cls.constant.CONSTANT_Class_info;
22 import com.vladium.jcd.cls.constant.CONSTANT_Fieldref_info;
23 import com.vladium.jcd.cls.constant.CONSTANT_NameAndType_info;
24 import com.vladium.jcd.cls.constant.CONSTANT_String_info;
25 import com.vladium.jcd.cls.constant.CONSTANT_Utf8_info;
601 * @return constant pool index of the reference
616 * @return constant pool index of the reference
/external/skia/src/gpu/effects/
H A DGrPorterDuffXferProcessor.cpp38 GrColor constant, const GrDeviceCoordTexture* dstCopy,
40 return SkNEW_ARGS(PorterDuffXferProcessor, (srcBlend, dstBlend, constant, dstCopy,
91 PorterDuffXferProcessor(GrBlendCoeff srcBlend, GrBlendCoeff dstBlend, GrColor constant,
279 GrColor constant,
285 , fBlendConstant(constant)
580 // value of the blend the constant. We should already have valid blend coeff's if we are at
37 Create(GrBlendCoeff srcBlend, GrBlendCoeff dstBlend, GrColor constant, const GrDeviceCoordTexture* dstCopy, bool willReadDstColor) argument
277 PorterDuffXferProcessor(GrBlendCoeff srcBlend, GrBlendCoeff dstBlend, GrColor constant, const GrDeviceCoordTexture* dstCopy, bool willReadDstColor) argument
/external/antlr/antlr-3.4/runtime/Ruby/lib/antlr3/
H A Dtoken.rb108 # @example Match against an integer token type constant
422 2. add a new constant, TOKEN_NAMES, which is a hash that maps types to names
432 <tt>TokenScheme#define_token(name_symbol, int_value)</tt> adds a constant
434 essentially like <tt>Module#const_set</tt>, except it forbids constant
461 # ruby lexically-scopes constant names instead of
479 and assigned it to the constant name +Token+. This token class will both include
487 the token types as named constants, a type-to-name map constant +TOKEN_NAMES+,
488 and a grammar-specific subclass of ANTLR3::CommonToken assigned to the constant
581 constant = "T__#{ value }"
582 const_set( constant,
[all...]
/external/v8/src/compiler/arm64/
H A Dcode-generator-arm64.cc86 Constant constant = ToConstant(operand); local
87 switch (constant.type()) {
89 return Operand(constant.ToInt32());
91 return Operand(constant.ToInt64());
94 isolate()->factory()->NewNumber(constant.ToFloat64(), TENURED));
96 return Operand(constant.ToExternalReference());
98 return Operand(constant.ToHeapObject());
/external/v8/src/compiler/x64/
H A Dcode-generator-x64.cc69 Constant constant = ToConstant(operand); local
73 switch (constant.type()) {
76 immediate.value = constant.ToInt64();
81 isolate()->factory()->NewNumber(constant.ToFloat64(), TENURED);
85 immediate.reference = constant.ToExternalReference();
89 immediate.handle = constant.ToHeapObject();
97 Constant constant = ToConstant(operand); local
98 switch (constant.type()) {
100 return Immediate(constant.ToInt32());
/external/antlr/antlr-3.4/runtime/Ruby/lib/
H A Dantlr3.rb48 immediately. The rest are configured to autoload when any of the constant names
72 just a module used as a namespace for the named constant values used
77 when any constant defined in the script is referenced. contents are autoloaded
/external/clang/lib/CodeGen/
H A DCGDecl.cpp133 // some variables even if we can constant-evaluate them because
134 // we can't guarantee every translation unit will constant-evaluate them.
281 // If constant emission failed, then this should be a C++ static
285 CGM.ErrorUnsupported(D.getInit(), "constant l-value expression");
288 // be constant.
327 // We have a constant initializer, but a nontrivial destructor. We still
376 // We may have to cast the constant because of the initializer
380 // RAUW's the GV uses of this constant will be invalid.
825 /// from a constant global. It is beneficial to use memset if the global is all
891 // constant initialize
1127 llvm::Constant *constant = nullptr; local
[all...]
/external/proguard/src/proguard/classfile/editor/
H A DClassReferenceFixer.java28 import proguard.classfile.constant.*;
29 import proguard.classfile.constant.visitor.ConstantVisitor;
34 * This ClassVisitor fixes references of constant pool entries, fields,
73 // Fix the constant pool.
186 public void visitAnyConstant(Clazz clazz, Constant constant) {} argument
/external/proguard/src/proguard/classfile/util/
H A DClassReferenceInitializer.java28 import proguard.classfile.constant.*;
29 import proguard.classfile.constant.visitor.ConstantVisitor;
37 * All class constant pool entries get direct references to the corresponding
41 * All field and method reference constant pool entries get direct references
44 * All name and type constant pool entries get a list of direct references to
99 // Initialize the constant pool entries.
161 public void visitAnyConstant(Clazz clazz, Constant constant) {} argument
/external/proguard/src/proguard/optimize/evaluation/
H A DSimpleEnumDescriptorSimplifier.java26 import proguard.classfile.constant.*;
27 import proguard.classfile.constant.visitor.ConstantVisitor;
81 public void visitAnyConstant(Clazz clazz, Constant constant) {} argument
86 // Does the constant refer to a simple enum type?
135 // Does the constant refer to a simple enum type?
/external/proguard/src/proguard/optimize/peephole/
H A DBranchTargetFinder.java26 import proguard.classfile.constant.*;
27 import proguard.classfile.constant.visitor.ConstantVisitor;
615 public void visitAnyConstant(Clazz clazz, Constant constant) {} argument
/external/emma/lib/
H A Demma.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/vladium/ com/vladium/app/ com/vladium/app/IAppVersion ...

Completed in 1164 milliseconds

1234567891011>>