Home
last modified time | relevance | path

Searched refs:ValueRef (Results 1 – 25 of 42) sorted by relevance

12

/external/rust/crates/rusqlite/src/types/
Dvalue_ref.rs9 pub enum ValueRef<'a> { enum
22 impl ValueRef<'_> { implementation
26 ValueRef::Null => Type::Null, in data_type()
27 ValueRef::Integer(_) => Type::Integer, in data_type()
28 ValueRef::Real(_) => Type::Real, in data_type()
29 ValueRef::Text(_) => Type::Text, in data_type()
30 ValueRef::Blob(_) => Type::Blob, in data_type()
35 impl<'a> ValueRef<'a> { implementation
40 ValueRef::Integer(i) => Ok(i), in as_i64()
49 ValueRef::Real(f) => Ok(f), in as_f64()
[all …]
Dfrom_sql.rs1 use super::{Value, ValueRef};
90 fn column_result(value: ValueRef<'_>) -> FromSqlResult<Self>; in column_result()
94 fn column_result(value: ValueRef<'_>) -> FromSqlResult<Self> { in column_result()
108 fn column_result(value: ValueRef<'_>) -> FromSqlResult<Self> {
129 fn column_result(value: ValueRef<'_>) -> FromSqlResult<Self> { in column_result()
135 fn column_result(value: ValueRef<'_>) -> FromSqlResult<Self> { in column_result()
137 ValueRef::Integer(i) => Ok(i as f64), in column_result()
138 ValueRef::Real(f) => Ok(f), in column_result()
145 fn column_result(value: ValueRef<'_>) -> FromSqlResult<Self> { in column_result()
151 fn column_result(value: ValueRef<'_>) -> FromSqlResult<Self> { in column_result()
[all …]
Dserde_json.rs5 use crate::types::{FromSql, FromSqlError, FromSqlResult, ToSql, ToSqlOutput, ValueRef};
17 fn column_result(value: ValueRef<'_>) -> FromSqlResult<Self> { in column_result()
19 ValueRef::Text(s) => serde_json::from_slice(s), in column_result()
20 ValueRef::Blob(b) => serde_json::from_slice(b), in column_result()
Durl.rs2 use crate::types::{FromSql, FromSqlError, FromSqlResult, ToSql, ToSqlOutput, ValueRef};
15 fn column_result(value: ValueRef<'_>) -> FromSqlResult<Self> { in column_result()
17 ValueRef::Text(s) => { in column_result()
Dchrono.rs7 use crate::types::{FromSql, FromSqlError, FromSqlResult, ToSql, ToSqlOutput, ValueRef};
20 fn column_result(value: ValueRef<'_>) -> FromSqlResult<Self> { in column_result()
40 fn column_result(value: ValueRef<'_>) -> FromSqlResult<Self> { in column_result()
68 fn column_result(value: ValueRef<'_>) -> FromSqlResult<Self> { in column_result()
94 fn column_result(value: ValueRef<'_>) -> FromSqlResult<Self> { in column_result()
123 fn column_result(value: ValueRef<'_>) -> FromSqlResult<Self> { in column_result()
Dtime.rs2 use crate::types::{FromSql, FromSqlError, FromSqlResult, ToSql, ToSqlOutput, ValueRef};
18 fn column_result(value: ValueRef<'_>) -> FromSqlResult<Self> { in column_result()
Dto_sql.rs1 use super::{Null, Value, ValueRef};
13 Borrowed(ValueRef<'a>),
32 &'a T: Into<ValueRef<'a>>,
78 ToSqlOutput::Owned(ref v) => ToSqlOutput::Borrowed(ValueRef::from(v)), in to_sql()
/external/llvm/utils/
Dllvm.grm341 ValueRef ::= SymbolicValueRef | ConstValueRef;
343 ResolvedVal ::= Types ValueRef ;
358 | br label ValueRef
359 | br INTTYPE ValueRef ^ "," label ValueRef ^ "," label ValueRef
360 | switch IntType ValueRef ^ "," label ValueRef "[" JumpTable "]"
361 | switch IntType ValueRef ^ "," label ValueRef "[" ^ "]"
362 | invoke OptCallingConv ResultTypes ValueRef ^ "(" ^ ParamList ^ ")"
364 to label ValueRef unwind label ValueRef
368 JumpTable ::= JumpTable IntType ConstValueRef ^ "," label ValueRef
369 | IntType ConstValueRef ^ "," label ValueRef ;
[all …]
/external/llvm-project/llvm/utils/
Dllvm.grm342 ValueRef ::= SymbolicValueRef | ConstValueRef;
344 ResolvedVal ::= Types ValueRef ;
359 | br label ValueRef
360 | br INTTYPE ValueRef ^ "," label ValueRef ^ "," label ValueRef
361 | switch IntType ValueRef ^ "," label ValueRef "[" JumpTable "]"
362 | switch IntType ValueRef ^ "," label ValueRef "[" ^ "]"
363 | invoke OptCallingConv ResultTypes ValueRef ^ "(" ^ ParamList ^ ")"
365 to label ValueRef unwind label ValueRef
369 JumpTable ::= JumpTable IntType ConstValueRef ^ "," label ValueRef
370 | IntType ConstValueRef ^ "," label ValueRef ;
[all …]
/external/rust/crates/rusqlite/src/
Dcontext.rs11 use crate::types::{ToSqlOutput, ValueRef};
18 ToSqlOutput::Owned(ref v) => ValueRef::from(v), in set_result()
36 ValueRef::Null => ffi::sqlite3_result_null(ctx), in set_result()
37 ValueRef::Integer(i) => ffi::sqlite3_result_int64(ctx, i), in set_result()
38 ValueRef::Real(r) => ffi::sqlite3_result_double(ctx, r), in set_result()
39 ValueRef::Text(s) => { in set_result()
52 ValueRef::Blob(b) => { in set_result()
Dstatement.rs11 AndThenRows, Connection, Error, MappedRows, RawStatement, Result, Row, Rows, ValueRef,
567 ToSqlOutput::Owned(ref v) => ValueRef::from(v), in bind_parameter()
589 ValueRef::Null => unsafe { ffi::sqlite3_bind_null(ptr, col as c_int) }, in bind_parameter()
590 ValueRef::Integer(i) => unsafe { ffi::sqlite3_bind_int64(ptr, col as c_int, i) }, in bind_parameter()
591 ValueRef::Real(r) => unsafe { ffi::sqlite3_bind_double(ptr, col as c_int, r) }, in bind_parameter()
592 ValueRef::Text(s) => unsafe { in bind_parameter()
596 ValueRef::Blob(b) => unsafe { in bind_parameter()
743 pub(super) fn value_ref(&self, col: usize) -> ValueRef<'_> { in value_ref()
747 ffi::SQLITE_NULL => ValueRef::Null, in value_ref()
749 ValueRef::Integer(unsafe { ffi::sqlite3_column_int64(raw, col as c_int) }) in value_ref()
[all …]
Dpragma.rs7 use crate::types::{ToSql, ToSqlOutput, ValueRef};
65 ToSqlOutput::Owned(ref v) => ValueRef::from(v), in push_value()
82 ValueRef::Integer(i) => { in push_value()
85 ValueRef::Real(r) => { in push_value()
88 ValueRef::Text(s) => { in push_value()
Dsession.rs17 use crate::types::ValueRef;
400 pub fn conflict(&self, col: usize) -> Result<ValueRef<'_>> { in conflict()
408 Ok(ValueRef::from_value(p_value)) in conflict()
428 pub fn new_value(&self, col: usize) -> Result<ValueRef<'_>> { in new_value()
432 Ok(ValueRef::from_value(p_value)) in new_value()
440 pub fn old_value(&self, col: usize) -> Result<ValueRef<'_>> { in old_value()
444 Ok(ValueRef::from_value(p_value)) in old_value()
Drow.rs6 use crate::types::{FromSql, FromSqlError, ValueRef};
320 pub fn get_raw_checked<I: RowIndex>(&self, idx: I) -> Result<ValueRef<'_>> { in get_raw_checked()
344 pub fn get_raw<I: RowIndex>(&self, idx: I) -> ValueRef<'_> { in get_raw()
/external/mesa3d/src/gallium/drivers/nouveau/codegen/
Dnv50_ir.h628 class ValueRef
631 ValueRef(Value * = NULL);
632 ValueRef(const ValueRef&);
633 ~ValueRef();
638 void set(const ValueRef&);
646 inline const ValueRef *getIndirect(int dim) const;
677 bool mayReplace(const ValueRef &);
678 void replace(const ValueRef &, bool doSet); // replace all uses of the old value
726 unordered_set<ValueRef *> uses;
728 typedef unordered_set<ValueRef *>::iterator UseIterator;
[all …]
Dnv50_ir_emit_gv100.h99 inline void emitNOT(int pos, const ValueRef &ref) { in emitNOT()
227 inline void emitSYS(int pos, const ValueRef &ref) { in emitSYS()
244 inline void emitGPR(int pos, const ValueRef &ref) { in emitGPR()
248 inline void emitGPR(int pos, const ValueRef *ref) { in emitGPR()
268 inline void emitPRED(int pos, const ValueRef &ref) { in emitPRED()
277 const ValueRef &ref) { in emitCBUF()
289 inline void emitIMMD(int pos, int len, const ValueRef &ref) { in emitIMMD()
302 const ValueRef &ref) { in emitADDR()
Dnv50_ir.cpp61 ValueRef::ValueRef(Value *v) : value(NULL), insn(NULL) in ValueRef() function in nv50_ir::ValueRef
69 ValueRef::ValueRef(const ValueRef& ref) : value(NULL), insn(ref.insn) in ValueRef() function in nv50_ir::ValueRef
75 ValueRef::~ValueRef() in ~ValueRef()
80 bool ValueRef::getImmediate(ImmediateValue &imm) const in getImmediate()
82 const ValueRef *src = this; in getImmediate()
130 ValueRef::set(const ValueRef &ref) in set()
139 ValueRef::set(Value *refVal) in set()
168 ValueDef::mayReplace(const ValueRef &rep) in mayReplace()
201 ValueDef::replace(const ValueRef &repVal, bool doSet) in replace()
209 ValueRef *ref = *value->uses.begin(); in replace()
[all …]
Dnv50_ir_inlines.h160 const ValueRef *ValueRef::getIndirect(int dim) const in getIndirect()
165 DataFile ValueRef::getFile() const in getFile()
170 unsigned int ValueRef::getSize() const in getSize()
175 Value *ValueRef::rep() const in rep()
Dnv50_ir_emit_gm107.cpp65 inline void emitGPR(int pos, const ValueRef &ref) { in emitGPR()
68 inline void emitGPR(int pos, const ValueRef *ref) { in emitGPR()
75 inline void emitSYS(int pos, const ValueRef &ref) { in emitSYS()
82 inline void emitPRED(int pos, const ValueRef &ref) { in emitPRED()
88 inline void emitADDR(int, int, int, int, const ValueRef &);
89 inline void emitCBUF(int, int, int, int, int, const ValueRef &);
90 inline bool longIMMD(const ValueRef &);
91 inline void emitIMMD(int, int, const ValueRef &);
101 inline void emitABS(int, const ValueRef &);
102 inline void emitNEG(int, const ValueRef &);
[all …]
Dnv50_ir_emit_nvc0.cpp54 void setAddress16(const ValueRef&);
55 void setAddress24(const ValueRef&);
56 void setAddressByFile(const ValueRef&);
58 void setImmediateS8(const ValueRef&);
71 void emitShortSrc2(const ValueRef&);
73 inline uint8_t getSRegEncoding(const ValueRef&);
159 inline void srcId(const ValueRef&, const int pos);
160 inline void srcId(const ValueRef *, const int pos);
162 inline void srcAddr32(const ValueRef&, int pos, int shr);
164 inline bool isLIMM(const ValueRef&, DataType ty);
[all …]
/external/pdfium/xfa/fxfa/parser/
Dcxfa_binditems.cpp18 {XFA_Attribute::ValueRef, XFA_AttributeType::CData, nullptr},
40 return JSObject()->GetCData(XFA_Attribute::ValueRef); in GetValueRef()
/external/tensorflow/tensorflow/lite/delegates/gpu/
Dgl_delegate.cc78 struct ValueRef { struct in tflite::gpu::gl::__anon640f09d20111::Delegate
99 ValueRef ref; in CopyFromBufferHandle()
112 ValueRef ref; in CopyToBufferHandle()
289 const ValueRef& ref = tensors_[id]; in Invoke()
313 const ValueRef& ref = tensors_[id]; in Invoke()
342 absl::Status FindObject(ValueId id, ValueRef* ref) const { in FindObject()
362 std::vector<ValueRef> tensors_; // indexed by ValueId
/external/openscreen/cast/common/public/testing/
Ddiscovery_utils.cc35 ErrorOr<discovery::DnsSdTxtRecord::ValueRef> value = txt.GetValue(key); in CompareTxtString()
48 ErrorOr<discovery::DnsSdTxtRecord::ValueRef> value = txt.GetValue(key); in CompareTxtInt()
/external/openscreen/discovery/dnssd/public/
Ddns_sd_txt_record.h21 using ValueRef = std::reference_wrapper<const std::vector<uint8_t>>;
45 ErrorOr<ValueRef> GetValue(const std::string& key) const;
/external/llvm-project/lldb/source/Plugins/SymbolFile/DWARF/
DDWARFAbbreviationDeclaration.h37 m_attributes[idx].get(attr, form_value.FormRef(), form_value.ValueRef()); in GetAttrAndFormValueByIndex()

12