/external/u-boot/include/linux/ |
bitfield.h | 51 #define __BF_FIELD_CHECK(_mask, _reg, _val, _pfx) \ 56 BUILD_BUG_ON_MSG(__builtin_constant_p(_val) ? \ 57 ~((_mask) >> __bf_shf(_mask)) & (_val) : 0, \ 68 * @_val: value to test against the field 70 * Return: true if @_val can fit inside @_mask, false if @_val is too big. 72 #define FIELD_FIT(_mask, _val) \ 74 __BF_FIELD_CHECK(_mask, 0ULL, _val, "FIELD_FIT: "); \ 75 !((((typeof(_mask))_val) << __bf_shf(_mask)) & ~(_mask)); \ 81 * @_val: value to put in the fiel [all...] |
/external/grpc-grpc/src/core/lib/debug/ |
stats_data.cc | 362 } _val, _bkt; local 363 _val.dbl = value; 364 if (_val.uint < 4651092515166879744ull) { 366 grpc_stats_table_1[((_val.uint - 4618441417868443648ull) >> 49)] + 6; 368 bucket -= (_val.uint < _bkt.uint); 385 } _val, _bkt; local 386 _val.dbl = value; 387 if (_val.uint < 4642789003353915392ull) { 389 grpc_stats_table_3[((_val.uint - 4628855992006737920ull) >> 47)] + 29; 391 bucket -= (_val.uint < _bkt.uint) 408 } _val, _bkt; local 431 } _val, _bkt; local 454 } _val, _bkt; local 477 } _val, _bkt; local 501 } _val, _bkt; local 526 } _val, _bkt; local 551 } _val, _bkt; local 576 } _val, _bkt; local 601 } _val, _bkt; local 626 } _val, _bkt; local 650 } _val, _bkt; local [all...] |
/device/linaro/bootloader/arm-trusted-firmware/include/common/aarch32/ |
asm_macros.S | 86 .macro mov_imm _reg, _val 87 .if ((\_val) & 0xffff0000) == 0 88 mov \_reg, #(\_val) 90 movw \_reg, #((\_val) & 0xffff) 91 movt \_reg, #((\_val) >> 16) 127 * Helper macro to OR the bottom 32 bits of `_val` into `_reg_l` 128 * and the top 32 bits of `_val` into `_reg_h`. If either the bottom 129 * or top word of `_val` is zero, the corresponding OR operation 132 .macro orr64_imm _reg_l, _reg_h, _val 133 .if (\_val >> 32 [all...] |
/external/chromium-trace/catapult/devil/devil/utils/lazy/ |
weak_constant.py | 22 self._val = None 27 return self._val 39 self._val = initializer_thread.GetReturnValue() 42 return self._val
|
weak_constant_test.py | 48 test_constant._val = 'initializer not called'
|
/device/linaro/bootloader/arm-trusted-firmware/include/common/aarch64/ |
asm_macros.S | 137 .macro _mov_imm16 _reg, _val, _shift 138 .if (\_val >> \_shift) & 0xffff 139 .if (\_val & (1 << \_shift - 1)) 140 movk \_reg, (\_val >> \_shift) & 0xffff, LSL \_shift 142 mov \_reg, \_val & (0xffff << \_shift) 153 .macro mov_imm _reg, _val 154 .if (\_val) == 0 157 _mov_imm16 \_reg, (\_val), 0 158 _mov_imm16 \_reg, (\_val), 16 159 _mov_imm16 \_reg, (\_val), 3 [all...] |
/device/google/contexthub/firmware/os/inc/ |
syscall.h | 45 #define SYSCALL_CUT_SCALE_SHIFT(_val, _cut, _shift) ((((uint32_t)(_val)) & ((1UL << (_cut)) - 1)) << (_shift))
|
/external/libopus/celt/ |
entenc.h | 56 void ec_enc_bit_logp(ec_enc *_this,int _val,unsigned _logp); 89 _val: The bits to encode (in the least _nbits significant bits). 93 void ec_enc_patch_initial_bits(ec_enc *_this,unsigned _val,unsigned _nbits);
|
mathops.c | 40 /*Compute floor(sqrt(_val)) with exact arithmetic. 41 _val must be greater than 0. 43 unsigned isqrt32(opus_uint32 _val){ 50 (g+b)*(g+b) <= _val, and add it to the solution g.*/ 52 bshift=(EC_ILOG(_val)-1)>>1; 57 if(t<=_val){ 59 _val-=t;
|
entenc.c | 151 void ec_enc_bit_logp(ec_enc *_this,int _val,unsigned _logp){ 159 if(_val)_this->val=l+r; 160 _this->rng=_val?s:r; 214 void ec_enc_patch_initial_bits(ec_enc *_this,unsigned _val,unsigned _nbits){ 222 _this->buf[0]=(unsigned char)((_this->buf[0]&~mask)|_val<<shift); 226 _this->rem=(_this->rem&~mask)|_val<<shift; 231 (opus_uint32)_val<<(EC_CODE_SHIFT+shift);
|
/external/u-boot/tools/ |
mips-relocs.c | 23 uint64_t _val; \ 27 _val = pfx##hdr64[idx].field; \ 30 _val = pfx##hdr32[idx].field; \ 38 _val = is_be ? be16toh(_val) : le16toh(_val); \ 41 _val = is_be ? be32toh(_val) : le32toh(_val); \ 44 _val = is_be ? be64toh(_val) : le64toh(_val); [all...] |
/device/linaro/bootloader/arm-trusted-firmware/plat/arm/board/juno/aarch64/ |
juno_helpers.S | 243 * 16 bits of `_val` into r0. 245 .macro emit_movw _reg_d, _val 247 ((\_val & 0xfff) | \ 248 ((\_val & 0xf000) << 4))) 253 * 16 bits of `_val` into r0. 255 .macro emit_movt _reg_d, _val 257 (((\_val & 0x0fff0000) >> 16) | \ 258 ((\_val & 0xf0000000) >> 12)))
|
/external/ipsec-tools/src/libipsec/ |
policy_parse.h | 87 struct _val { struct in union:YYSTYPE
|
/external/strace/tests/ |
quotactl.h | 51 # define QCMD_CMD(_val) ((unsigned) (_val) >> SUBCMDSHIFT) 55 # define QCMD_TYPE(_val) ((unsigned) (_val) & SUBCMDMASK)
|
/external/strace/tests-m32/ |
quotactl.h | 51 # define QCMD_CMD(_val) ((unsigned) (_val) >> SUBCMDSHIFT) 55 # define QCMD_TYPE(_val) ((unsigned) (_val) & SUBCMDMASK)
|
/external/strace/tests-mx32/ |
quotactl.h | 51 # define QCMD_CMD(_val) ((unsigned) (_val) >> SUBCMDSHIFT) 55 # define QCMD_TYPE(_val) ((unsigned) (_val) & SUBCMDMASK)
|
/external/u-boot/arch/sh/include/asm/ |
cpu_sh7757.h | 180 #define prr_mask(_val) ((_val >> 4) & 0xff) 184 #define is_sh7757_b0(_val) \
|
/external/u-boot/arch/riscv/include/asm/ |
encoding.h | 155 #define write_csr(reg, _val) ({ \ 156 typeof(_val) (val) = (_val); \ 162 #define swap_csr(reg, _val) ({ unsigned long __tmp; \ 163 typeof(_val) (val) = (_val); \
|
/external/vulkan-validation-layers/layers/ |
vk_layer_config.cpp | 47 void setOption(const std::string &_option, const std::string &_val); 137 VK_LAYER_EXPORT void setLayerOption(const char *_option, const char *_val) { g_configFileObj.setOption(_option, _val); } 190 void ConfigFile::setOption(const std::string &_option, const std::string &_val) { 196 m_valueMap[_option] = _val;
|
vk_layer_config.h | 65 VK_LAYER_EXPORT void setLayerOption(const char *_option, const char *_val);
|
/external/protobuf/src/google/protobuf/stubs/ |
port.h | 236 #define GOOGLE_UNALIGNED_STORE16(_p, _val) (*reinterpret_cast<uint16 *>(_p) = (_val)) 237 #define GOOGLE_UNALIGNED_STORE32(_p, _val) (*reinterpret_cast<uint32 *>(_p) = (_val)) 238 #define GOOGLE_UNALIGNED_STORE64(_p, _val) (*reinterpret_cast<uint64 *>(_p) = (_val))
|
/external/libunwind/include/ |
libunwind-dynamic.h | 176 #define _U_dyn_op(_tag, _qp, _when, _reg, _val) \ 177 ((unw_dyn_op_t) { (_tag), (_qp), (_reg), (_when), (_val) })
|
/external/swiftshader/third_party/LLVM/include/llvm/Support/ |
system_error.h | 683 error_condition(int _val, const error_category& _cat) 684 : _val_(_val), _cat_(&_cat) {} 692 void assign(int _val, const error_category& _cat) { 693 _val_ = _val; 741 error_code(int _val, const error_category& _cat) 742 : _val_(_val), _cat_(&_cat) {} 751 void assign(int _val, const error_category& _cat) { 752 _val_ = _val;
|
/external/tensorflow/tensorflow/core/util/ |
saved_tensor_slice_util.h | 84 return reinterpret_cast<const STYPE*>(t.FIELD##_val().data()); \ 92 t->mutable_##FIELD##_val()); \ 100 t->mutable_##FIELD##_val()->Swap(©); \ 110 t->mutable_##FIELD##_val()->Swap(©); \
|
/external/tensorflow/tensorflow/core/framework/ |
tensor_util.h | 76 std::declval<TensorProto>().FIELDNAME##_val(0)) FieldType; \ 78 std::declval<TensorProto>().FIELDNAME##_val()) RepeatedFieldType; \ 79 typedef decltype(std::declval<TensorProto>().mutable_##FIELDNAME##_val()) \ 82 return proto->mutable_##FIELDNAME##_val(); \ 85 return proto.FIELDNAME##_val(); \ 90 // mapping from C++ type ($1) to repeated field name "$2_val" used for storing
|