Home
last modified time | relevance | path

Searched refs:val_ (Results 1 – 25 of 36) sorted by relevance

12

/external/brotli/c/dec/
Dbit_reader.h45 brotli_reg_t val_; /* pre-fetched bits */ member
52 brotli_reg_t val_; member
70 to->val_ = from->val_; in BrotliBitReaderSaveState()
78 to->val_ = from->val_; in BrotliBitReaderRestoreState()
111 br->val_ >>= 56; in BrotliFillBitWindow()
113 br->val_ |= BROTLI_UNALIGNED_LOAD64LE(br->next_in) << 8; in BrotliFillBitWindow()
120 br->val_ >>= 48; in BrotliFillBitWindow()
122 br->val_ |= BROTLI_UNALIGNED_LOAD64LE(br->next_in) << 16; in BrotliFillBitWindow()
128 br->val_ >>= 32; in BrotliFillBitWindow()
130 br->val_ |= ((uint64_t)BROTLI_UNALIGNED_LOAD32LE(br->next_in)) << 32; in BrotliFillBitWindow()
[all …]
Dbit_reader.c19 br->val_ = 0; in BrotliInitBitReader()
20 br->bit_pos_ = sizeof(br->val_) << 3; in BrotliInitBitReader()
24 size_t aligned_read_mask = (sizeof(br->val_) >> 1) - 1; in BrotliWarmupBitReader()
/external/lua/src/
Dlobject.h123 #define val_(o) ((o)->value_) macro
163 #define ivalue(o) check_exp(ttisinteger(o), val_(o).i)
164 #define fltvalue(o) check_exp(ttisfloat(o), val_(o).n)
167 #define gcvalue(o) check_exp(iscollectable(o), val_(o).gc)
168 #define pvalue(o) check_exp(ttislightuserdata(o), val_(o).p)
169 #define tsvalue(o) check_exp(ttisstring(o), gco2ts(val_(o).gc))
170 #define uvalue(o) check_exp(ttisfulluserdata(o), gco2u(val_(o).gc))
171 #define clvalue(o) check_exp(ttisclosure(o), gco2cl(val_(o).gc))
172 #define clLvalue(o) check_exp(ttisLclosure(o), gco2lcl(val_(o).gc))
173 #define clCvalue(o) check_exp(ttisCclosure(o), gco2ccl(val_(o).gc))
[all …]
/external/vixl/test/
Dtest-invalset.cc43 Obj(KeyType key, ValType val) : key_(key), val_(val) {} in Obj()
45 ValType val_; member in vixl::Obj
48 return (key_ == other.key_) && (val_ == other.val_); in operator ==()
51 return (key_ < other.key_) || ((key_ == other.key_) && (val_ < other.val_)); in operator <()
55 ((key_ == other.key_) && (val_ <= other.val_)); in operator <=()
58 return (key_ > other.key_) || ((key_ == other.key_) && (val_ > other.val_)); in operator >()
229 total += it->val_; in TEST()
245 total += it->val_; in TEST()
266 expected_total -= to_erase.back().val_; in TEST()
274 total += it->val_; in TEST()
[all …]
/external/compiler-rt/test/asan/TestCases/
Duse-after-scope-dtor-order.cc7 explicit IntHolder(int *val = 0) : val_(val) { } in IntHolder()
9 printf("Value: %d\n", *val_); // BOOM in ~IntHolder()
13 void set(int *val) { val_ = val; } in set()
14 int *get() { return val_; } in get()
16 int *val_; member
/external/v8/src/wasm/
Dvalue-type.h58 : val_(val) {} in LoadType()
60 constexpr LoadTypeValue value() const { return val_; } in value()
61 constexpr unsigned size_log_2() const { return kLoadSizeLog2[val_]; } in size_log_2()
63 constexpr ValueType value_type() const { return kValueType[val_]; } in value_type()
64 constexpr MachineType mem_type() const { return kMemType[val_]; } in mem_type()
82 const LoadTypeValue val_;
125 : val_(val) {} in StoreType()
127 constexpr StoreTypeValue value() const { return val_; } in value()
128 constexpr unsigned size_log_2() const { return kStoreSizeLog2[val_]; } in size_log_2()
130 constexpr ValueType value_type() const { return kValueType[val_]; } in value_type()
[all …]
Dwasm-value.h32 Simd128() : val_() { in FOREACH_SIMD_TYPE()
34 val_[i] = 0; in FOREACH_SIMD_TYPE()
39 WriteUnalignedValue<sType>(reinterpret_cast<Address>(val_), val); \ in FOREACH_SIMD_TYPE()
42 return ReadUnalignedValue<sType>(reinterpret_cast<Address>(val_)); \ in FOREACH_SIMD_TYPE()
48 uint8_t val_[16]; in FOREACH_SIMD_TYPE()
/external/eigen/unsupported/test/
Dcxx11_eventcount.cpp42 std::atomic<int> val_; member
45 TestQueue() : val_() {} in TestQueue()
47 ~TestQueue() { VERIFY_IS_EQUAL(val_.load(), 0); } in ~TestQueue()
50 int val = val_.load(std::memory_order_relaxed); in Push()
55 if (val_.compare_exchange_weak(val, val + 1, std::memory_order_relaxed)) in Push()
61 int val = val_.load(std::memory_order_relaxed); in Pop()
66 if (val_.compare_exchange_weak(val, val - 1, std::memory_order_relaxed)) in Pop()
71 bool Empty() { return val_.load(std::memory_order_relaxed) == 0; } in Empty()
/external/protobuf/src/google/protobuf/
Dmap.h107 delete val_.string_value_; in ~MapKey()
123 val_.int64_value_ = value; in SetInt64Value()
127 val_.uint64_value_ = value; in SetUInt64Value()
131 val_.int32_value_ = value; in SetInt32Value()
135 val_.uint32_value_ = value; in SetUInt32Value()
139 val_.bool_value_ = value; in SetBoolValue()
143 *val_.string_value_ = val; in SetStringValue()
149 return val_.int64_value_; in GetInt64Value()
154 return val_.uint64_value_; in GetUInt64Value()
159 return val_.int32_value_; in GetInt32Value()
[all …]
/external/webp/src/utils/
Dbit_reader_utils.c148 br->val_ = 0; in VP8LInitBitReader()
152 if (length > sizeof(br->val_)) { in VP8LInitBitReader()
153 length = sizeof(br->val_); in VP8LInitBitReader()
158 br->val_ = value; in VP8LInitBitReader()
182 br->val_ >>= 8; in ShiftBytes()
183 br->val_ |= ((vp8l_val_t)br->buf_[br->pos_]) << (VP8L_LBITS - 8); in ShiftBytes()
195 if (br->pos_ + sizeof(br->val_) < br->len_) { in VP8LDoFillBitWindow()
196 br->val_ >>= VP8L_WBITS; in VP8LDoFillBitWindow()
198 br->val_ |= (vp8l_val_t)HToLE32(WebPMemToUint32(br->buf_ + br->pos_)) << in VP8LDoFillBitWindow()
Dbit_reader_utils.h122 vp8l_val_t val_; // pre-fetched bits member
146 return (uint32_t)(br->val_ >> (br->bit_pos_ & (VP8L_LBITS - 1))); in VP8LPrefetchBits()
/external/libcxx/test/std/utilities/smartptr/unique.ptr/unique.ptr.create/
Dmake_unique.array.pass.cpp19 foo () : val_(3) {} in foo()
20 int get () const { return val_; } in get()
22 int val_; member in foo
/external/libchrome/base/threading/
Dthread_local_unittest.cc33 : ThreadLocalTesterBase(tlp, done), val_(nullptr) {} in SetThreadLocal()
36 void set_value(char* val) { val_ = val; } in set_value()
40 tlp_->Set(val_); in Run()
45 char* val_; member in base::__anon24756df90111::SetThreadLocal
Dsimple_thread_unittest.cc21 SetIntRunner(int* ptr, int val) : ptr_(ptr), val_(val) { } in SetIntRunner()
25 void Run() override { *ptr_ = val_; } in Run()
28 int val_; member in base::__anonb9a48e580111::SetIntRunner
/external/strace/
Ddefs.h687 #define printxvals(val_, dflt_, ...) \ argument
688 printxvals_ex((val_), (dflt_), XLAT_STYLE_DEFAULT, __VA_ARGS__)
777 #define print_xlat(val_) \ argument
778 print_xlat_ex((val_), #val_, XLAT_STYLE_DEFAULT)
779 #define print_xlat32(val_) \ argument
780 print_xlat_ex((uint32_t) (val_), #val_, XLAT_STYLE_DEFAULT)
781 #define print_xlat_u(val_) \ argument
782 print_xlat_ex((val_), #val_, XLAT_STYLE_FMT_U)
783 #define print_xlat_d(val_) \ argument
784 print_xlat_ex((val_), #val_, XLAT_STYLE_FMT_D)
Dmacros.h52 # define ROUNDUP(val_, div_) ((((val_) + (div_) - 1) / (div_)) * (div_)) argument
/external/v8/include/
Dv8-util.h304 V* v = persistent->val_;
305 persistent->val_ = 0;
310 return reinterpret_cast<PersistentContainerValue>(persistent->val_);
320 p.val_ = FromVal(v);
330 p.val_ = FromVal(Traits::Remove(&impl_, key));
620 p.val_ = FromVal(Traits::Get(&impl_, i));
635 V* v = persistent->val_;
636 persistent->val_ = 0;
Dv8.h305 V8_INLINE Local() : val_(0) {}
308 : val_(reinterpret_cast<T*>(*that)) {
320 V8_INLINE bool IsEmpty() const { return val_ == 0; }
325 V8_INLINE void Clear() { val_ = 0; }
327 V8_INLINE T* operator->() const { return val_; }
329 V8_INLINE T* operator*() const { return val_; }
339 internal::Object** a = reinterpret_cast<internal::Object**>(this->val_);
340 internal::Object** b = reinterpret_cast<internal::Object**>(that.val_);
348 internal::Object** a = reinterpret_cast<internal::Object**>(this->val_);
349 internal::Object** b = reinterpret_cast<internal::Object**>(that.val_);
[all …]
/external/squashfs-tools/squashfs-tools/
Dunsquashfs_xattr.c31 #define lsetxattr(path_, name_, val_, sz_, flags_) \ argument
32 setxattr(path_, name_, val_, sz_, 0, flags_ | XATTR_NOFOLLOW)
/external/bcc/src/cc/frontends/b/
Dnode.h266 string val_; in DECLARE()
267 explicit StringExprNode(string *val) : val_(move(*val)) {
270 explicit StringExprNode(const string &val) : val_(val) {} in StringExprNode()
278 string val_;
280 : bits_(strtoul(bits->c_str(), NULL, 0)), val_(move(*val)) { in IntegerExprNode()
285 : bits_(0), val_(move(*val)) { in IntegerExprNode()
288 explicit IntegerExprNode(const string& val) : bits_(0), val_(val) {} in IntegerExprNode()
289 explicit IntegerExprNode(const string& val, size_t bits) : bits_(bits), val_(val) {} in IntegerExprNode()
Dprinter.cc112 fprintf(out_, "%s:%zu", n->val_.c_str(), n->bits_); in visit_integer_expr_node()
117 fprintf(out_, "%s", n->val_.c_str()); in visit_string_expr_node()
/external/libjpeg-turbo/
Dwrppm.c50 register int val_ = v; \
51 *ptr++ = (char)((val_ >> 8) & 0xFF); \
52 *ptr++ = (char)(val_ & 0xFF); \
/external/libevent/test/
Dtinytest.c476 tinytest_format_hex_(const void *val_, unsigned long len) argument
478 const unsigned char *val = val_;
/external/tensorflow/tensorflow/compiler/xla/service/
Dpattern_matcher.h1714 : val_(absl::nullopt), match_effective_scalar_(match_effective_scalar) {}
1717 : val_(val), match_effective_scalar_(match_effective_scalar) {}
1730 if (val_.has_value()) {
1731 *os << " with value " << *val_;
1752 if (!val_.has_value()) {
1759 auto val_literal = LiteralUtil::CreateR0(*val_);
1777 << " did not match expected value " << *val_;
1782 absl::optional<ScalarTy> val_;
/external/swiftshader/third_party/LLVM/examples/OCaml-Kaleidoscope/Chapter7/
Dcodegen.ml50 let val_ = codegen_expr rhs in
56 ignore(build_store val_ variable builder);
57 val_

12