/external/chromium_org/content/browser/indexed_db/leveldb/ |
leveldb_transaction.cc | 43 std::string* value, 55 node->value.swap(*value); 62 void LevelDBTransaction::Put(const StringPiece& key, std::string* value) { 63 Set(key, value, false); 72 std::string* value, 82 *value = node->value; 87 bool ok = db_->Get(key, value, found, &snapshot_); 111 write_batch->Put(node->key, node->value); [all...] |
/external/chromium_org/third_party/leveldatabase/src/db/ |
corruption_test.cc | 79 batch.Put(key, Value(i, &value_space)); 103 if (iter->value() != Value(key, &value_space)) { 187 // Return the value to associate with the specified key 188 Slice Value(int k, std::string* storage) { 219 batch.Put("a", Value(100, &value_storage)); 334 s = db_->Put(WriteOptions(), Key(i, &tmp1), Value(i, &tmp2)); 346 ASSERT_OK(db_->Put(WriteOptions(), Key(1000, &tmp1), Value(1000, &tmp2))); 349 ASSERT_EQ(Value(1000, &tmp2).ToString(), v); 352 ASSERT_EQ(Value(1000, &tmp2).ToString(), v) [all...] |
/external/chromium_org/third_party/leveldatabase/src/util/ |
cache.cc | 26 void* value; member in struct:leveldb::__anon13680::LRUHandle 27 void (*deleter)(const Slice&, void* value); 39 // to store a pointer to a key in "value". 41 return *(reinterpret_cast<Slice*>(value)); 145 void* value, size_t charge, 146 void (*deleter)(const Slice& key, void* value)); 191 (*e->deleter)(e->key(), e->value); 226 const Slice& key, uint32_t hash, void* value, size_t charge, 227 void (*deleter)(const Slice& key, void* value)) { 232 e->value = value [all...] |
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/r300/compiler/ |
radeon_emulate_loops.c | 45 float Value; 91 struct const_value * value = data; local 92 if(value->Src->File != file || 93 value->Src->Index != index || 94 !(1 << GET_SWZ(value->Src->Swizzle, 0) & mask)){ 99 if(!rc_src_reg_is_immediate(value->C, inst->U.I.SrcReg[0].File, 103 value->HasValue = 1; 104 value->Value = 105 rc_get_constant_value(value->C [all...] |
/external/chromium_org/ui/aura/ |
window.h | 320 // Sets the |value| of the given window |property|. Setting to the default 321 // value (e.g., NULL) removes the property. The caller is responsible for the 324 void SetProperty(const WindowProperty<T>* property, T value); 326 // Returns the value of the given window |property|. Returns the 327 // property-specific default value if the property was not previously set. 331 // Sets the |property| to its default value. Useful for avoiding a cast when 339 void SetNativeWindowProperty(const char* key, void* value); 343 typedef void (*PropertyDeallocator)(int64 value); 368 int64 value, 513 // Value struct to keep the name and deallocator for this property 518 int64 value; member in struct:aura::Window::Value [all...] |
/external/chromium_org/v8/src/ |
effects.h | 109 ? locator.value() : Effect::Unknown(Base::isolate()); 122 effect = Effect::Seq(locator.value(), effect, Base::isolate()); 136 effect = Effect::Alt(locator.value(), effect, Base::isolate()); 213 typedef Effect Value; 327 locator->set_value(shadowed.value());
|
/external/chromium_org/v8/tools/ |
stats-viewer.py | 150 value = counter.Value() 152 counter_changed = ui_counter.Set(value) 241 value = Tkinter.Label(self.root, width=15, anchor=Tkinter.W, 243 value.grid(row=index, column=(1 + i), padx=1, pady=1) 253 ui_counter.Set(counter.Value()) 282 def Set(self, value): 286 value: The value to display 289 True if the value had changed, otherwise False. The first cal [all...] |
/external/clang/include/clang/ASTMatchers/Dynamic/ |
Diagnostics.h | 45 ParserValue() : Text(), Range(), Value() {} 48 VariantValue Value;
|
/external/clang/include/clang/Lex/ |
LiteralSupport.h | 38 /// determines the radix of the value and can convert it to a useful value. 86 /// GetIntegerValue - Convert this numeric literal value to an APInt that 88 /// value read is larger than the APInt's bits will hold), set Val to the low 92 /// GetFloatValue - Convert this numeric literal to a floating value, using 94 /// The optional bool isExact (passed-by-reference) has its value 140 uint64_t Value; 157 uint64_t getValue() const { return Value; }
|
/external/clang/lib/Driver/ |
ToolChain.cpp | 296 StringRef Value = A->getValue(); 297 if (Value == "compiler-rt") 299 if (Value == "libgcc") 310 StringRef Value = A->getValue(); 311 if (Value == "libc++") 313 if (Value == "libstdc++")
|
/external/clang/lib/Tooling/ |
JSONCompilationDatabase.cpp | 261 llvm::yaml::Node *Value = (*KVI).getValue(); 262 if (Value == NULL) { 263 ErrorMessage = "Expected value."; 267 dyn_cast<llvm::yaml::ScalarNode>(Value); 269 ErrorMessage = "Expected string as value.";
|
/external/clang/unittests/ASTMatchers/Dynamic/ |
ParserTest.cpp | 73 VariantValue Value; 74 Parser::parseExpression(Code, this, &Value, &Error); 75 Values.push_back(Value); 160 EXPECT_EQ(17U, Bar.Args[0].Value.getUnsigned()); 166 EXPECT_EQ("B A,Z", Baz.Args[0].Value.getString()); 173 Foo.Args[0].Value.getMatchers().matchers()[0]->getID()); 175 Foo.Args[1].Value.getMatchers().matchers()[0]->getID()); 214 VariantValue Value; 215 Parser::parseExpression(Code, &Value, &Error); 237 EXPECT_EQ("Input value is not a matcher expression." [all...] |
/external/compiler-rt/lib/ubsan/ |
ubsan_value.h | 91 /// A value from the \c Kind enumeration, specifying what flavor of type we 95 /// A \c Type-specific value providing information which allows us to 105 /// An integer type. Lowest bit is 1 for a signed value, 0 for an unsigned 106 /// value. Remaining bits are log_2(bit width). The value representation is 110 /// A floating-point type. Low 16 bits are bit width. The value 111 /// representation is that of bitcasting the floating-point value to an 114 /// Any other type. The value representation is unspecified. 143 /// \brief An opaque handle to a value. 147 /// \brief Representation of an operand value provided by the instrumented code [all...] |
/external/jsilver/src/com/google/clearsilver/jsilver/interpreter/ |
ExpressionEvaluator.java | 51 import com.google.clearsilver.jsilver.values.Value; 52 import static com.google.clearsilver.jsilver.values.Value.literalValue; 62 private Value currentValue; 79 * Evaluate an expression into a single value. 81 public Value evaluate(PExpression expression) { 85 Value result = currentValue; 96 setResult(Value.variableValue(variableName, context)); 101 String value = node.getValue().getText(); local 102 value = value.substring(1, value.length() - 1); // Remove enclosing quotes 111 String value = node.getValue().getText(); local 117 String value = node.getValue().getText(); local [all...] |
/external/jsilver/src/com/google/clearsilver/jsilver/values/ |
Value.java | 26 * Dynamic typing system used by JSilver interpreter. A value (e.g. "2") can act as a string, 30 public abstract class Value { 32 private static final Map<EscapeMode, Value> EMPTY_PART_ESCAPED; 33 private static final Map<EscapeMode, Value> EMPTY_UNESCAPED; 34 private static final Map<EscapeMode, Value> ZERO_PART_ESCAPED; 35 private static final Map<EscapeMode, Value> ZERO_UNESCAPED; 36 private static final Map<EscapeMode, Value> ONE_PART_ESCAPED; 37 private static final Map<EscapeMode, Value> ONE_UNESCAPED; 40 // Currently a Value's EscapeMode is either ESCAPE_NONE (no escaping) or 44 EMPTY_PART_ESCAPED = new HashMap<EscapeMode, Value>(2) [all...] |
/external/llvm/bindings/ocaml/executionengine/ |
executionengine_ocaml.c | 34 CAMLprim value llvm_initialize_native_target(value Unit) { 40 static value llvm_ee_error_exn; 42 CAMLprim value llvm_register_ee_exns(value Error) { 48 static void llvm_raise(value Prototype, char *Message) { 67 static void llvm_finalize_generic_value(value GenVal) { 83 static value alloc_generic_value(LLVMGenericValueRef Ref) { 84 value Val = alloc_custom(&generic_value_ops, sizeof(LLVMGenericValueRef), 0, 1); 90 CAMLprim value llvm_genericvalue_of_float(LLVMTypeRef Ty, value N) [all...] |
/external/llvm/include/llvm/IR/ |
Use.h | 11 // instruction or some other User instance which refers to a Value. The Use 12 // class keeps the "use list" of the referenced value up to date. 37 class Value; 58 /// Use is here to make keeping the "use" list of a Value up-to-date really 89 /// Normally Use will just implicitly convert to a Value* that it holds. 90 operator Value*() const { return Val; } 92 /// If implicit conversion to Value* doesn't work, the get() method returns 93 /// the Value*. 94 Value *get() const { return Val; } 100 inline void set(Value *Val) [all...] |
/external/llvm/include/llvm/Support/ |
Endian.h | 30 /// \brief ::value is either alignment, or alignof(T) if alignment is 0. 33 enum {value = alignment == 0 ? AlignOf<T>::Alignment : alignment}; enumerator in enum:llvm::support::detail::PickAlignment::__anon23389 39 inline value_type byte_swap(value_type value) { 41 return sys::SwapByteOrder(value); 42 return value; 53 (detail::PickAlignment<value_type, alignment>::value)), 61 inline void write(void *memory, value_type value) { 62 value = byte_swap<value_type, endian>(value); 64 (detail::PickAlignment<value_type, alignment>::value)), 65 &value, local [all...] |
ValueHandle.h | 1 //===- llvm/Support/ValueHandle.h - Value Smart Pointer classes -*- C++ -*-===// 19 #include "llvm/IR/Value.h" 36 /// ValueHandleBase - This is the common base class of value handles. 37 /// ValueHandle's are smart pointers to Value's that have special behavior when 38 /// the value is deleted or ReplaceAllUsesWith'd. See the specific handles 42 friend class Value; 58 // A subclass may want to store some information along with the value 59 // pointer. Allow them to do this by making the value pointer a pointer-int 62 PointerIntPair<Value*, 2> VP; 68 ValueHandleBase(HandleBaseKind Kind, Value *V 259 static const bool value = true; member in struct:llvm::isPodLike [all...] |
/external/llvm/lib/ExecutionEngine/RuntimeDyld/ |
RuntimeDyldMachO.cpp | 88 uint64_t Value) { 90 return resolveRelocation(Section, RE.Offset, Value, RE.RelType, RE.Addend, 96 uint64_t Value, 109 << " Value: " << format("%p", Value) 122 (uintptr_t)Value, 131 (uintptr_t)Value, 141 (uintptr_t)Value, 152 uint64_t Value, 158 Value -= FinalAddress + 4; // see resolveX86_64Relocatio [all...] |
/external/llvm/lib/MC/ |
MCELFStreamer.cpp | 127 const MCExpr *Value = MCSymbolRefExpr::Create(Symbol, getContext()); 128 Alias->setVariableValue(Value); 284 void MCELFStreamer::EmitELFSize(MCSymbol *Symbol, const MCExpr *Value) { 286 SD.setSize(Value); 299 void MCELFStreamer::EmitValueImpl(const MCExpr *Value, unsigned Size) { 302 fixSymbolsInTLSFixups(Value); 303 MCObjectStreamer::EmitValueImpl(Value, Size); 307 int64_t Value, 312 MCObjectStreamer::EmitValueToAlignment(ByteAlignment, Value,
|
MCExpr.cpp | 152 const MCConstantExpr *MCConstantExpr::Create(int64_t Value, MCContext &Ctx) { 153 return new (Ctx) MCConstantExpr(Value); 443 MCValue Value; 455 EvaluateAsRelocatableImpl(Value, Asm, Layout, Addrs, /*InSet*/ Addrs); 457 // Record the current value. 458 Res = Value.getConstant(); 460 return IsRelocatable && Value.isAbsolute(); 646 MCValue Value; 648 if (!AUE->getSubExpr()->EvaluateAsRelocatableImpl(Value, Asm, Layout, 654 if (!Value.isAbsolute() [all...] |
/external/llvm/lib/MC/MCParser/ |
ELFAsmParser.cpp | 579 const MCExpr *Value = MCSymbolRefExpr::Create(Sym, getContext()); 581 getStreamer().EmitAssignment(Alias, Value);
|
/external/llvm/lib/Target/R600/ |
SIInsertWaits.cpp | 56 /// \brief Constant zero value 168 // For stores the stored value is also relevant 273 unsigned Value = LastIssued.Array[i] - Required.Array[i]; 275 // adjust the value to the real hardware posibilities 276 Counts.Array[i] = std::min(Value, WaitCounts.Array[i]);
|
/external/llvm/lib/Target/X86/ |
X86JITInfo.cpp | 355 // The call instruction should have pushed the return value onto the stack... 513 // This used to use 0xCD, but that value is used by JITMemoryManager to 520 /// getPICJumpTableEntry - Returns the value of the jumptable entry for the 531 T Value; 532 std::memcpy(reinterpret_cast<char*>(&Value), reinterpret_cast<char*>(Pos), 534 Value += Delta; 535 std::memcpy(reinterpret_cast<char*>(Pos), reinterpret_cast<char*>(&Value), 549 // PC relative relocation, add the relocated value to the value already in 556 // PIC base relative relocation, add the relocated value to the valu [all...] |