/external/swiftshader/third_party/llvm-subzero/include/llvm/ADT/ |
StringSwitch.h | 27 /// literals. The template type parameter \p T is the type of the value that 74 StringSwitch& Case(const char (&S)[N], const T& Value) { 78 Result = &Value; 85 StringSwitch& EndsWith(const char (&S)[N], const T &Value) { 89 Result = &Value; 96 StringSwitch& StartsWith(const char (&S)[N], const T &Value) { 100 Result = &Value; 108 const T& Value) { 109 return Case(S0, Value).Case(S1, Value); [all...] |
/external/webrtc/webrtc/base/ |
json.cc | 21 bool GetStringFromJson(const Json::Value& in, std::string* out) { 42 bool GetIntFromJson(const Json::Value& in, int* out) { 62 bool GetUIntFromJson(const Json::Value& in, unsigned int* out) { 82 bool GetBoolFromJson(const Json::Value& in, bool* out) { 103 bool GetDoubleFromJson(const Json::Value& in, double* out) { 124 bool JsonArrayToVector(const Json::Value& value, 125 bool (*getter)(const Json::Value& in, T* out), 128 if (!value.isArray()) { 132 for (Json::Value::ArrayIndex i = 0; i < value.size(); ++i) 296 std::string value = w.write(json); local [all...] |
/external/swiftshader/third_party/LLVM/include/llvm/ |
InstrTypes.h | 80 static inline bool classof(const Value *V) { 94 UnaryInstruction(Type *Ty, unsigned iType, Value *V, 99 UnaryInstruction(Type *Ty, unsigned iType, Value *V, BasicBlock *IAE) 113 DECLARE_TRANSPARENT_OPERAND_ACCESSORS(Value); 124 static inline bool classof(const Value *V) { 134 DEFINE_TRANSPARENT_OPERAND_ACCESSORS(UnaryInstruction, Value) 144 BinaryOperator(BinaryOps iType, Value *S1, Value *S2, Type *Ty, 146 BinaryOperator(BinaryOps iType, Value *S1, Value *S2, Type *Ty [all...] |
Instructions.h | 61 explicit AllocaInst(Type *Ty, Value *ArraySize = 0, 63 AllocaInst(Type *Ty, Value *ArraySize, 69 AllocaInst(Type *Ty, Value *ArraySize, unsigned Align, 71 AllocaInst(Type *Ty, Value *ArraySize, unsigned Align, 83 /// allocation of a single element, this will return a constant 1 value. 85 const Value *getArraySize() const { return getOperand(0); } 86 Value *getArraySize() { return getOperand(0); } 117 static inline bool classof(const Value *V) { 134 /// SubclassData field in Value to store whether or not the load is volatile. 141 LoadInst(Value *Ptr, const Twine &NameStr, Instruction *InsertBefore) [all...] |
/device/linaro/bootloader/edk2/MdeModulePkg/Core/RuntimeDxe/ |
Crc32.c | 67 @param Value The data to be reversed.
74 UINT32 Value
82 if ((Value & (1 << Index)) != 0) {
101 UINT32 Value;
104 Value = ReverseBits ((UINT32) TableEntry);
106 if ((Value & 0x80000000) != 0) {
107 Value = (Value << 1) ^ 0x04c11db7;
109 Value = Value << 1; [all...] |
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/ClassType/ |
NewInstanceStringTest.java | 23 import org.apache.harmony.jpda.tests.framework.jdwp.Value; 53 public void provideConstructorArguments(List<Value> constructorArguments) { 56 Value byteArrayValue = getStaticFieldValue(debuggeeClassId, "BYTE_ARRAY"); 69 public void provideConstructorArguments(List<Value> constructorArguments) { 72 Value byteArrayValue = getStaticFieldValue(debuggeeClassId, "BYTE_ARRAY"); 74 constructorArguments.add(Value.createInt(0)); 75 constructorArguments.add(Value.createInt(1)); 88 public void provideConstructorArguments(List<Value> constructorArguments) { 92 Value byteArrayValue = getStaticFieldValue(debuggeeClassId, "BYTE_ARRAY"); 93 Value stringCharsetValue = getStaticFieldValue(debuggeeClassId, "STRING_CHARSET") [all...] |
/external/caliper/caliper/src/main/java/com/google/caliper/model/ |
Value.java | 30 public class Value implements Serializable { 33 static final Value DEFAULT = new Value(); 35 public static Value create(double value, String unit) { 36 return new Value(value, checkNotNull(unit)); 44 private Value() { 49 private Value(double value, String unit) [all...] |
/external/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ |
APSIntType.h | 28 /* implicit */ APSIntType(const llvm::APSInt &Value) 29 : BitWidth(Value.getBitWidth()), IsUnsigned(Value.isUnsigned()) {} 38 void apply(llvm::APSInt &Value) const { 39 // Note the order here. We extend first to preserve the sign, if this value 41 Value = Value.extOrTrunc(BitWidth); 42 Value.setIsUnsigned(IsUnsigned); 45 /// Convert and return a new APSInt with the given value, but this 49 llvm::APSInt convert(const llvm::APSInt &Value) const LLVM_READONLY [all...] |
/external/llvm/include/llvm/Analysis/ |
PHITransAddr.h | 26 /// PHITransAddr - An address value which tracks and handles phi translation. 38 Value *Addr; 53 PHITransAddr(Value *addr, const DataLayout &DL, AssumptionCache *AC) 60 Value *getAddr() const { return Addr; } 80 /// 'MustDominate' is true, the translated value must dominate 85 /// PHITranslateWithInsertion - PHI translate this value into the specified 86 /// predecessor block, inserting a computation of the value if it is 92 Value *PHITranslateWithInsertion(BasicBlock *CurBB, BasicBlock *PredBB, 104 Value *PHITranslateSubExpr(Value *V, BasicBlock *CurBB, BasicBlock *PredBB [all...] |
ScalarEvolutionExpander.h | 37 class SCEVExpander : public SCEVVisitor<SCEVExpander, Value*> { 45 std::map<std::pair<const SCEV *, Instruction *>, TrackingVH<Value> > 48 std::set<AssertingVH<Value> > InsertedValues; 49 std::set<AssertingVH<Value> > InsertedPostIncValues; 130 friend struct SCEVVisitor<SCEVExpander, Value*>; 197 Value *expandCodeFor(const SCEV *SH, Type *Ty, Instruction *I); 201 /// The result will be of type i1 and will have a value of 0 when the 203 Value *expandCodeForPredicate(const SCEVPredicate *Pred, Instruction *Loc); 207 Value *expandEqualPredicate(const SCEVEqualPredicate *Pred, 212 Value *generateOverflowCheck(const SCEVAddRecExpr *AR, Instruction *Loc [all...] |
/external/skia/src/sksl/ |
SkSLInterpreter.h | 33 union Value { 34 Value(float f) 37 Value(int i) 40 Value(bool b) 54 Interpreter(std::unique_ptr<Program> program, SkRasterPipeline* pipeline, std::vector<Value>* stack) 63 void push(Value value); 65 Value pop(); 73 Value call(const FunctionCall& c); 77 Value evaluate(const Expression& expr) [all...] |
/external/skqp/src/sksl/ |
SkSLInterpreter.h | 33 union Value { 34 Value(float f) 37 Value(int i) 40 Value(bool b) 54 Interpreter(std::unique_ptr<Program> program, SkRasterPipeline* pipeline, std::vector<Value>* stack) 63 void push(Value value); 65 Value pop(); 73 Value call(const FunctionCall& c); 77 Value evaluate(const Expression& expr) [all...] |
/external/swiftshader/third_party/LLVM/include/llvm/Analysis/ |
PHITransAddr.h | 24 /// PHITransAddr - An address value which tracks and handles phi translation. 36 Value *Addr; 44 PHITransAddr(Value *addr, const TargetData *td) : Addr(addr), TD(td) { 50 Value *getAddr() const { return Addr; } 70 /// dominator tree DT is non-null, the translated value must dominate 75 /// PHITranslateWithInsertion - PHI translate this value into the specified 76 /// predecessor block, inserting a computation of the value if it is 82 Value *PHITranslateWithInsertion(BasicBlock *CurBB, BasicBlock *PredBB, 93 Value *PHITranslateSubExpr(Value *V, BasicBlock *CurBB, BasicBlock *PredBB [all...] |
/external/swiftshader/third_party/LLVM/lib/MC/ |
MCObjectWriter.cpp | 20 /// Utility function to encode a SLEB128 value. 21 void MCObjectWriter::EncodeSLEB128(int64_t Value, raw_ostream &OS) { 24 uint8_t Byte = Value & 0x7f; 26 Value >>= 7; 27 More = !((((Value == 0 ) && ((Byte & 0x40) == 0)) || 28 ((Value == -1) && ((Byte & 0x40) != 0)))); 35 /// Utility function to encode a ULEB128 value. 36 void MCObjectWriter::EncodeULEB128(uint64_t Value, raw_ostream &OS) { 38 uint8_t Byte = Value & 0x7f; 39 Value >>= 7 [all...] |
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Analysis/ |
PHITransAddr.h | 26 /// PHITransAddr - An address value which tracks and handles phi translation. 38 Value *Addr; 53 PHITransAddr(Value *addr, const DataLayout &DL, AssumptionCache *AC) 60 Value *getAddr() const { return Addr; } 80 /// 'MustDominate' is true, the translated value must dominate 85 /// PHITranslateWithInsertion - PHI translate this value into the specified 86 /// predecessor block, inserting a computation of the value if it is 92 Value *PHITranslateWithInsertion(BasicBlock *CurBB, BasicBlock *PredBB, 104 Value *PHITranslateSubExpr(Value *V, BasicBlock *CurBB, BasicBlock *PredBB [all...] |
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/FuzzMutate/ |
RandomIRBuilder.h | 37 /// returns some new arbitrary Value. 38 Value *findOrCreateSource(BasicBlock &BB, ArrayRef<Instruction *> Insts); 41 /// matches \c Pred, or returns some new Value that matches \c Pred. The 44 Value *findOrCreateSource(BasicBlock &BB, ArrayRef<Instruction *> Insts, 45 ArrayRef<Value *> Srcs, fuzzerop::SourcePred Pred); 46 /// Create some Value suitable as a source for some operation. 47 Value *newSource(BasicBlock &BB, ArrayRef<Instruction *> Insts, 48 ArrayRef<Value *> Srcs, fuzzerop::SourcePred Pred); 51 void connectToSink(BasicBlock &BB, ArrayRef<Instruction *> Insts, Value *V); 53 void newSink(BasicBlock &BB, ArrayRef<Instruction *> Insts, Value *V) [all...] |
/build/blueprint/parser/ |
parser_test.go | 72 Value: &String{ 74 Value: "abc", 101 Value: &Bool{ 103 Value: true, 131 Value: &Int64{ 133 Value: 4, 162 Value: &List{ 168 Value: "asdf", 172 Value: "jkl;", 176 Value: "qwert" [all...] |
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/RISCV/MCTargetDesc/ |
RISCVAsmBackend.cpp | 47 uint64_t Value, bool IsResolved, 61 bool fixupNeedsRelaxation(const MCFixup &Fixup, uint64_t Value, 68 uint64_t Value, 121 uint64_t Value, 132 int64_t Offset = int64_t(Value); 226 static uint64_t adjustFixupValue(const MCFixup &Fixup, uint64_t Value, 236 return Value; 239 return Value & 0xfff; 242 return (((Value >> 5) & 0x7f) << 25) | ((Value & 0x1f) << 7) [all...] |
/external/jsoncpp/src/lib_json/ |
json_value.cpp | 8 #include <json/value.h> 28 // This is a walkaround to avoid the static initialization of Value::null. 36 static const unsigned char ALIGNAS(8) kNull[sizeof(Value)] = { 0 }; 38 const Value& Value::null = reinterpret_cast<const Value&>(kNullRef); 40 const Int Value::minInt = Int(~(UInt(-1) / 2)); 41 const Int Value::maxInt = Int(UInt(-1) / 2); 42 const UInt Value::maxUInt = UInt(-1); 44 const Int64 Value::minInt64 = Int64(~(UInt64(-1) / 2)) 922 Value& value = (*it).second; local 930 const Value* value = &((*this)[index]); local 979 const Value* value = &((*this)[key]); local 1024 const Value* value = &((*this)[key]); local [all...] |
/external/swiftshader/third_party/LLVM/include/llvm/ADT/ |
PointerIntPair.h | 42 intptr_t Value; 59 PointerIntPair() : Value(0) {} 60 PointerIntPair(PointerTy Ptr, IntType Int) : Value(0) { 69 reinterpret_cast<void*>(Value & PointerBitMask)); 73 return (IntType)((Value >> IntShift) & IntMask); 82 Value = PtrVal | (Value & ~PointerBitMask); 90 Value &= ~ShiftedIntMask; // Remove integer field. 91 Value |= IntVal << IntShift; // Set new integer. 95 assert(Value == reinterpret_cast<intptr_t>(getPointer()) & [all...] |
/external/llvm/tools/llvm-pdbdump/ |
PdbYaml.cpp | 44 uint8_t Value = (llvm::hexDigitValue(*Iter) << 4); 46 Value |= llvm::hexDigitValue(*Iter); 48 *OutBuffer++ = Value; 58 static void enumeration(IO &io, llvm::pdb::PDB_Machine &Value) { 59 io.enumCase(Value, "Invalid", PDB_Machine::Invalid); 60 io.enumCase(Value, "Am33", PDB_Machine::Am33); 61 io.enumCase(Value, "Amd64", PDB_Machine::Amd64); 62 io.enumCase(Value, "Arm", PDB_Machine::Arm); 63 io.enumCase(Value, "ArmNT", PDB_Machine::ArmNT); 64 io.enumCase(Value, "Ebc", PDB_Machine::Ebc) [all...] |
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/ADT/ |
Any.h | 12 // It can hold a value of any copy-constructible copy-assignable type 37 explicit StorageImpl(const T &Value) : Value(Value) {} 39 explicit StorageImpl(T &&Value) : Value(std::move(Value)) {} 42 return llvm::make_unique<StorageImpl<T>>(Value); 47 T Value; 68 std::is_copy_constructible<typename std::decay<T>::type>>::value, [all...] |
/art/libartbase/base/ |
histogram-inl.h | 35 template <class Value> inline void Histogram<Value>::AddValue(Value value) { 36 CHECK_GE(value, static_cast<Value>(0)); 37 if (value >= max_) { 38 Value new_max = ((value + 1) / bucket_width_ + 1) * bucket_width_; 42 BucketiseValue(value); 265 double value = lower_value + (upper_value - lower_value) * local [all...] |
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/BaseIoLibIntrinsic/ |
IoLibGcc.c | 28 Reads the 8-bit MMIO register specified by Address. The 8-bit read value is
36 @return The value read.
51 Writes the 8-bit MMIO register specified by Address with the value specified
52 by Value and returns Value. This function must guarantee that all MMIO read
58 @param Value The value to write to the MMIO register.
65 IN UINT8 Value
68 return *(volatile UINT8*)Address = Value;
74 Reads the 16-bit MMIO register specified by Address. The 16-bit read value is [all...] |
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/IR/ |
ValueHandle.h | 1 //===- ValueHandle.h - Value Smart Pointer classes --------------*- C++ -*-===// 19 #include "llvm/IR/Value.h" 25 /// This is the common base class of value handles. 27 /// ValueHandle's are smart pointers to Value's that have special behavior when 28 /// the value is deleted or ReplaceAllUsesWith'd. See the specific handles 31 friend class Value; 52 Value *Val = nullptr; 54 void setValPtr(Value *V) { Val = V; } 59 ValueHandleBase(HandleBaseKind Kind, Value *V) 70 Value *operator=(Value *RHS) 315 static const bool value = true; member in struct:llvm::isPodLike 554 static const bool value = true; member in struct:llvm::isPodLike [all...] |