Home
last modified time | relevance | path

Searched refs:in_range (Results 1 – 25 of 26) sorted by relevance

12

/external/eigen/unsupported/test/
Dcxx11_tensor_broadcast_sycl.cpp31 array<int, 4> in_range = {{2, 3, 5, 7}}; in test_broadcast_sycl() local
35 out_range[i] = in_range[i] * broadcasts[i]; in test_broadcast_sycl()
37 Tensor<float, 4> input(in_range); in test_broadcast_sycl()
40 for (size_t i = 0; i < in_range.size(); ++i) in test_broadcast_sycl()
50 TensorMap<Tensor<float, 4>> gpu_in(gpu_in_data, in_range); in test_broadcast_sycl()
/external/selinux/libsepol/src/
Dutil.c131 unsigned int in_range = 0; in sepol_extended_perms_to_string() local
150 if (in_range && next_bit_in_range(bit, xperms->perms)) { in sepol_extended_perms_to_string()
156 in_range = 1; in sepol_extended_perms_to_string()
162 if (in_range) { in sepol_extended_perms_to_string()
170 if (in_range) { in sepol_extended_perms_to_string()
184 if (in_range) in sepol_extended_perms_to_string()
185 in_range = 0; in sepol_extended_perms_to_string()
Dkernel_to_cil.c1584 unsigned int in_range = 0; in xperms_to_str() local
1603 if (in_range && next_bit_in_range(bit, xperms->perms)) { in xperms_to_str()
1609 in_range = 1; in xperms_to_str()
1615 if (in_range) { in xperms_to_str()
1618 in_range = 0; in xperms_to_str()
1624 if (in_range) { in xperms_to_str()
1627 in_range = 0; in xperms_to_str()
Dmodule_to_cil.c631 unsigned int in_range = 0; in xperms_to_cil() local
642 if (in_range && next_bit_in_range(bit, xperms->perms)) { in xperms_to_cil()
648 in_range = 1; in xperms_to_cil()
659 if (in_range) { in xperms_to_cil()
662 in_range = 0; in xperms_to_cil()
668 if (in_range) { in xperms_to_cil()
671 in_range = 0; in xperms_to_cil()
/external/libaom/libaom/av1/common/
Dav1_txfm.c119 int in_range = 1; in av1_range_check_buf() local
123 in_range = 0; in av1_range_check_buf()
127 if (!in_range) { in av1_range_check_buf()
153 assert(in_range); in av1_range_check_buf()
/external/harfbuzz_ng/src/
Dhb-ot-var-gvar-table.hh231 in_range (current_tuple) && in is_valid()
243 bool in_range (const void *p, unsigned int l) const in in_range() function
246 template <typename T> bool in_range (const T *p) const { return in_range (p, sizeof (*p)); } in in_range() function
286 if (unlikely (!bytes.in_range (p))) return false; in unpack_points()
291 if (unlikely (!bytes.in_range (p))) return false; in unpack_points()
300 if (unlikely (!bytes.in_range (p))) return false; in unpack_points()
308 if (unlikely (!bytes.in_range ((const HBUINT16 *) p))) in unpack_points()
319 if (unlikely (!bytes.in_range (p))) return false; in unpack_points()
344 if (unlikely (!bytes.in_range (p))) return false; in unpack_deltas()
354 if (unlikely (!bytes.in_range ((const HBUINT16 *) p))) in unpack_deltas()
[all …]
Dhb-ot-glyf-table.hh364 { if (!in_range (current)) current = nullptr; } in composite_iter_t()
375 if (!in_range (possible)) { current = nullptr; return; } in __next__()
381 bool in_range (const CompositeGlyphChain *composite) const in in_range() function
383 return glyph.in_range (composite, CompositeGlyphChain::min_size) in in_range()
384 && glyph.in_range (composite, composite->get_size ()); in in_range()
548 if (unlikely (!bytes.in_range (p))) return false; in read_points()
558 if (unlikely (!bytes.in_range ((const HBUINT16 *) p))) return false; in read_points()
574 if (unlikely (!bytes.in_range (&endPtsOfContours[num_contours + 1]))) return false; in get_contour_points()
594 if (unlikely (!bytes.in_range (p))) return false; in get_contour_points()
599 if (unlikely (!bytes.in_range (p))) return false; in get_contour_points()
Dhb-array.hh202 bool in_range (const T *p, unsigned int size = T::static_size) const in in_range() function
/external/skia/src/shaders/gradients/
DSk4fLinearGradient.cpp81 bool in_range(SkScalar x, SkScalar k1, SkScalar k2) { in in_range() function
106 SkASSERT(in_range(fx, fIntervals->front().fT0, fIntervals->back().fT1)); in findInterval()
113 while (!in_range(fx, fCachedInterval->fT0, fCachedInterval->fT1)) { in findInterval()
129 SkASSERT(in_range(fx, i0->fT0, i1->fT1)); in findInterval()
133 if (in_range(fx, i0->fT0, i->fT1)) { in findInterval()
136 SkASSERT(in_range(fx, i->fT1, i1->fT1)); in findInterval()
141 SkASSERT(in_range(fx, i0->fT0, i0->fT1)); in findInterval()
320 SkASSERT(in_range(t, fInterval->fT0, fInterval->fT1)); in compute_interval_props()
/external/skqp/src/shaders/gradients/
DSk4fLinearGradient.cpp81 bool in_range(SkScalar x, SkScalar k1, SkScalar k2) { in in_range() function
106 SkASSERT(in_range(fx, fIntervals->front().fT0, fIntervals->back().fT1)); in findInterval()
113 while (!in_range(fx, fCachedInterval->fT0, fCachedInterval->fT1)) { in findInterval()
129 SkASSERT(in_range(fx, i0->fT0, i1->fT1)); in findInterval()
133 if (in_range(fx, i0->fT0, i->fT1)) { in findInterval()
136 SkASSERT(in_range(fx, i->fT1, i1->fT1)); in findInterval()
141 SkASSERT(in_range(fx, i0->fT0, i0->fT1)); in findInterval()
320 SkASSERT(in_range(t, fInterval->fT0, fInterval->fT1)); in compute_interval_props()
/external/boringssl/src/crypto/fipsmodule/bn/
Drandom.c322 crypto_word_t in_range = *out_is_uniform; in bn_rand_secret_range() local
323 in_range = 0 - in_range; in bn_rand_secret_range()
326 r->d[0] |= constant_time_select_w(in_range, 0, min_inclusive); in bn_rand_secret_range()
327 r->d[words - 1] &= constant_time_select_w(in_range, BN_MASK2, mask >> 1); in bn_rand_secret_range()
/external/u-boot/drivers/gpio/
Dsh_pfc.c328 int in_range, pos, field, value; in pinmux_config_gpio() local
370 in_range = enum_in_range(enum_id, &gpioc->function); in pinmux_config_gpio()
371 if (!in_range) { in pinmux_config_gpio()
382 in_range = enum_in_range(enum_id, range); in pinmux_config_gpio()
389 if (in_range && enum_id == range->force) in pinmux_config_gpio()
400 in_range = 1; in pinmux_config_gpio()
404 if (!in_range) in pinmux_config_gpio()
/external/v8/src/numbers/
Dbignum-dtoa.cc582 bool in_range; in FixupMultiply10() local
586 in_range = Bignum::PlusCompare(*numerator, *delta_plus, *denominator) >= 0; in FixupMultiply10()
588 in_range = Bignum::PlusCompare(*numerator, *delta_plus, *denominator) > 0; in FixupMultiply10()
590 if (in_range) { in FixupMultiply10()
/external/icu/icu4c/source/i18n/
Ddouble-conversion-bignum-dtoa.cpp630 bool in_range; in FixupMultiply10() local
634 in_range = Bignum::PlusCompare(*numerator, *delta_plus, *denominator) >= 0; in FixupMultiply10()
636 in_range = Bignum::PlusCompare(*numerator, *delta_plus, *denominator) > 0; in FixupMultiply10()
638 if (in_range) { in FixupMultiply10()
/external/tensorflow/tensorflow/tools/tensorflow_builder/compat_checker/
Dcompat_checker.py653 def in_range(self, ver, req): member in ConfigCompatChecker
823 if self.in_range(spec, self.unsupported[config_name]):
833 if not self.in_range(spec, self.required[config_name]):
844 if not self.in_range(spec, self.optional[config_name]):
876 cfg_status = self.in_range(cfg_name, cfg_req)
877 dep_status = self.in_range(dep_name, dep_req)
/external/u-boot/drivers/pinctrl/renesas/
Dpfc.c288 int in_range; in sh_pfc_config_mux() local
302 in_range = sh_pfc_enum_in_range(enum_id, &pfc->info->function); in sh_pfc_config_mux()
303 if (!in_range) { in sh_pfc_config_mux()
308 in_range = 1; in sh_pfc_config_mux()
313 in_range = sh_pfc_enum_in_range(enum_id, range); in sh_pfc_config_mux()
320 if (in_range && enum_id == range->force) in sh_pfc_config_mux()
326 if (!in_range) in sh_pfc_config_mux()
/external/wpa_supplicant_8/src/eap_common/
Deap_pwd_common.c141 unsigned int in_range; in compute_password_element() local
213 in_range = const_time_fill_msb((unsigned int) cmp_prime); in compute_password_element()
250 found |= (res & in_range) * 0xff; in compute_password_element()
/external/vulkan-validation-layers/layers/
Dcore_validation_types.h821 bool in_range = (subres.mipLevel < image_state_.full_range.levelCount) &&
824 return in_range;
828 bool in_range = (range.baseMipLevel < image_state_.full_range.levelCount) &&
833 return in_range;
/external/tensorflow/tensorflow/compiler/xla/service/
Dshape_inference.cc583 auto in_range = [&rank](int64 i) -> bool { return 0 <= i && i < rank; }; in ValidateDotDimensionNumbers() local
584 return absl::c_all_of(contracting_dims, in_range) && in ValidateDotDimensionNumbers()
585 absl::c_all_of(batch_dims, in_range); in ValidateDotDimensionNumbers()
1690 const auto in_range = [num_dims](int64 i) { return 0 <= i && i < num_dims; }; in InferConvolveShape() local
1691 if (!absl::c_all_of(input_dnums, in_range) || in InferConvolveShape()
1692 !absl::c_all_of(window_dnums, in_range) || in InferConvolveShape()
1693 !absl::c_all_of(output_dnums, in_range)) { in InferConvolveShape()
/external/wpa_supplicant_8/src/common/
Dsae.c153 unsigned int in_range; in sae_test_pwd_seed_ecc() local
170 in_range = const_time_fill_msb((unsigned int) cmp_prime); in sae_test_pwd_seed_ecc()
188 return const_time_select_int(in_range, res, 0); in sae_test_pwd_seed_ecc()
/external/v8/src/regexp/
Dregexp-compiler.cc937 Label* in_range, Label* out_of_range) { in EmitDoubleBoundaryTest() argument
938 if (in_range == fall_through) { in EmitDoubleBoundaryTest()
946 masm->CheckCharacter(first, in_range); in EmitDoubleBoundaryTest()
948 masm->CheckCharacterInRange(first, last, in_range); in EmitDoubleBoundaryTest()
/external/tensorflow/tensorflow/compiler/xla/service/gpu/
Dir_emitter_unnested.cc264 bool in_range = true; in GetIndexTypeForKernel() local
268 in_range = false; in GetIndexTypeForKernel()
272 return in_range; in GetIndexTypeForKernel()
/external/v8/src/codegen/mips/
Dassembler-mips.cc1724 bool in_range = ((ipc ^ static_cast<uint32_t>(target)) >> in j() local
1726 DCHECK(in_range && ((target & 3) == 0)); in j()
1747 bool in_range = ((ipc ^ static_cast<uint32_t>(target)) >> in jal() local
1749 DCHECK(in_range && ((target & 3) == 0)); in jal()
/external/v8/src/compiler/
Deffect-control-linearizer.cc3285 Node* in_range = __ Float64LessThanOrEqual( in LowerNumberIsSafeInteger() local
3287 __ Goto(&done, in_range); in LowerNumberIsSafeInteger()
3314 Node* in_range = __ Float64LessThanOrEqual( in LowerObjectIsSafeInteger() local
3316 __ Goto(&done, in_range); in LowerObjectIsSafeInteger()
/external/pcre/dist2/src/
Dpcre2_jit_compile.c6231 BOOL in_range; in fast_forward_first_n_chars() local
6275 in_range = FALSE; in fast_forward_first_n_chars()
6281 if (in_range && (i - from) > range_len && (chars[i - 1].count < 255)) in fast_forward_first_n_chars()
6290 if (!in_range) in fast_forward_first_n_chars()
6292 in_range = TRUE; in fast_forward_first_n_chars()
6297 in_range = FALSE; in fast_forward_first_n_chars()

12