Home
last modified time | relevance | path

Searched refs:mask_t (Results 1 – 5 of 5) sorted by relevance

/external/harfbuzz_ng/src/
Dhb-set-digest.hh48 template <typename mask_t, unsigned int shift>
51 static constexpr unsigned mask_bytes = sizeof (mask_t);
52 static constexpr unsigned mask_bits = sizeof (mask_t) * 8;
71 mask = (mask_t) -1; in add_range()
73 mask_t ma = mask_for (a); in add_range()
74 mask_t mb = mask_for (b); in add_range()
105 static mask_t mask_for (hb_codepoint_t g) in mask_for()
106 { return ((mask_t) 1) << ((g >> shift) & (mask_bits - 1)); } in mask_for()
107 mask_t mask;
/external/llvm-project/openmp/runtime/src/
Dkmp_affinity.h244 typedef unsigned char mask_t; typedef
245 static const int BITS_PER_MASK_T = sizeof(mask_t) * CHAR_BIT;
248 mask_t *mask;
249 Mask() { mask = (mask_t *)__kmp_allocate(__kmp_affin_mask_size); } in Mask()
255 mask[i / BITS_PER_MASK_T] |= ((mask_t)1 << (i % BITS_PER_MASK_T)); in set()
258 return (mask[i / BITS_PER_MASK_T] & ((mask_t)1 << (i % BITS_PER_MASK_T))); in is_set()
261 mask[i / BITS_PER_MASK_T] &= ~((mask_t)1 << (i % BITS_PER_MASK_T)); in clear()
372 typedef ULONG_PTR mask_t; typedef
373 static const int BITS_PER_MASK_T = sizeof(mask_t) * CHAR_BIT;
374 mask_t *mask;
[all …]
/external/tensorflow/tensorflow/core/kernels/
Deigen_convolution_helpers.h56 PacketT>::mask_t>()))>::value>::
74 typename unpacket_traits<Packet>::mask_t>::type
79 using Mask = typename internal::unpacket_traits<Packet>::mask_t; in mask()
/external/linux-kselftest/tools/testing/selftests/kvm/lib/
Dsparsebit.c165 typedef uint32_t mask_t; typedef
166 #define MASK_BITS (sizeof(mask_t) * CHAR_BIT)
174 mask_t mask;
543 nodep2->mask = ~(mask_t) 0; in node_split()
760 next->mask == ~(mask_t) 0) { in node_reduce()
903 mask_t leading = (mask_t)1 << start; in node_first_set()
911 mask_t leading = (mask_t)1 << start; in node_first_clear()
1068 s->root->mask == ~(mask_t) 0)); in sparsebit_any_set()
1114 if (nodep1->mask != ~(mask_t) 0) in sparsebit_first_clear()
1128 assert(nodep1->mask == ~(mask_t) 0); in sparsebit_first_clear()
[all …]
/external/tensorflow/tensorflow/python/keras/
Dbackend.py4349 def _expand_mask(mask_t, input_t, fixed_dim=1): argument
4350 if nest.is_nested(mask_t):
4351 raise ValueError('mask_t is expected to be tensor, but got %s' % mask_t)
4354 rank_diff = len(input_t.shape) - len(mask_t.shape)
4356 mask_t = array_ops.expand_dims(mask_t, -1)
4358 return array_ops.tile(mask_t, multiples)
4394 mask_t = mask_list[i]
4397 tiled_mask_t = _expand_mask(mask_t, output)
4408 tiled_mask_t = tuple(_expand_mask(mask_t, s) for s in flat_states)
4501 def compute_masked_output(mask_t, flat_out, flat_mask): argument
[all …]