Home
last modified time | relevance | path

Searched refs:is_odd (Results 1 – 23 of 23) sorted by relevance

/third_party/rust/crates/minimal-lexical/tests/
Drounding_tests.rs36 rounding::round_nearest_tie_even(f, s, |is_odd, is_halfway, is_above| { in round_test()
37 is_above || (is_odd && is_halfway) in round_test()
49 rounding::round_nearest_tie_even(f, s, |is_odd, is_halfway, is_above| { in round_test()
50 is_above || (is_odd && is_halfway) in round_test()
/third_party/skia/tests/sksl/runtime_errors/
DIllegalRecursionMutual.skvm4 bool is_odd(int n)
6 bool is_odd(int n)
/third_party/skia/resources/sksl/runtime_errors/
DIllegalRecursionMutual.rts5 bool is_odd (int n) { return n == 0 ? false : is_even(n - 1); }
6 bool is_even(int n) { return n == 0 ? true : is_odd (n - 1); }
/third_party/rust/crates/minimal-lexical/src/
Dslow.rs88 round_nearest_tie_even(f, s, |is_odd, is_halfway, is_above| { in positive_digit_comp()
89 is_above || (is_halfway && is_truncated) || (is_odd && is_halfway) in positive_digit_comp()
169 round_nearest_tie_even(f, s, |is_odd, _, _| { in negative_digit_comp()
175 cmp::Ordering::Equal if is_odd => true, in negative_digit_comp()
Drounding.rs114 let is_odd = fp.mant & 1 == 1; in round_nearest_tie_even() localVariable
119 fp.mant += cb(is_odd, is_halfway, is_above) as u64; in round_nearest_tie_even()
Dbellerophon.rs136 round_nearest_tie_even(f, s, |is_odd, is_halfway, is_above| { in bellerophon()
137 is_above || (is_odd && is_halfway) in bellerophon()
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/eap_common/
Deap_pwd_common.c140 u8 found_ctr = 0, is_odd = 0; in compute_password_element() local
197 is_odd = const_time_select_u8( in compute_password_element()
198 found, is_odd, pwe_digest[SHA256_MAC_LEN - 1] & 0x01); in compute_password_element()
284 is_eq = const_time_eq(is_odd, x_y[primebytelen - 1] & 0x01); in compute_password_element()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/eap_common/
Deap_pwd_common.c140 u8 found_ctr = 0, is_odd = 0; in compute_password_element() local
197 is_odd = const_time_select_u8( in compute_password_element()
198 found, is_odd, pwe_digest[SHA256_MAC_LEN - 1] & 0x01); in compute_password_element()
284 is_eq = const_time_eq(is_odd, x_y[primebytelen - 1] & 0x01); in compute_password_element()
/third_party/rust/crates/rust-openssl/openssl/src/
Dbn.rs342 !self.is_odd() in is_even()
348 pub fn is_odd(&self) -> bool { in is_odd() method
1512 assert!(a.is_odd()); in test_odd_even()
1513 assert!(!b.is_odd()); in test_odd_even()
/third_party/skia/src/gpu/d3d/
DGrD3DGpu.cpp1030 static bool is_odd(int x) { in is_odd() function
1156 if (is_odd(width) && is_odd(height)) { in onRegenerateMipMapLevels()
1158 } else if (is_odd(width)) { in onRegenerateMipMapLevels()
1160 } else if (is_odd(height)) { in onRegenerateMipMapLevels()
/third_party/mesa3d/src/gallium/drivers/radeonsi/
Dgfx10_shader_ngg.c1898 LLVMValueRef is_odd = ctx->ac.i1false; in gfx10_ngg_gs_emit_vertex() local
1901 is_odd = LLVMBuildICmp(builder, LLVMIntEQ, tmp, ctx->ac.i32_1, ""); in gfx10_ngg_gs_emit_vertex()
1914 LLVMBuildShl(builder, LLVMBuildZExt(builder, is_odd, ctx->ac.i8, ""), ctx->ac.i8_1, ""), ""); in gfx10_ngg_gs_emit_vertex()
2263 LLVMValueRef is_odd = LLVMBuildLShr(builder, flags, ctx->ac.i8_1, ""); in gfx10_ngg_gs_build_end() local
2264 is_odd = LLVMBuildTrunc(builder, is_odd, ctx->ac.i1, ""); in gfx10_ngg_gs_build_end()
2268 ac_build_triangle_strip_indices_to_triangle(&ctx->ac, is_odd, flatshade_first, prim.index); in gfx10_ngg_gs_build_end()
/third_party/gstreamer/gst_libav/
Dmeson.build18 gst_version_is_dev = gst_version_minor.is_odd() and gst_version_micro < 90
/third_party/mesa3d/src/amd/common/
Dac_nir_lower_ngg.c1862 nir_ssa_def *is_odd = nir_ubfe(b, primflag_0, nir_imm_int(b, 1), nir_imm_int(b, 1)); in ngg_gs_export_primitives() local
1864 vtx_indices[1] = nir_iadd(b, vtx_indices[1], is_odd); in ngg_gs_export_primitives()
1865 vtx_indices[2] = nir_isub(b, vtx_indices[2], is_odd); in ngg_gs_export_primitives()
1867 vtx_indices[0] = nir_iadd(b, vtx_indices[0], is_odd); in ngg_gs_export_primitives()
1868 vtx_indices[1] = nir_isub(b, vtx_indices[1], is_odd); in ngg_gs_export_primitives()
/third_party/mesa3d/src/compiler/nir/
Dnir_lower_int64.c734 nir_ssa_def *is_odd = nir_i2b(b, nir_iand(b, significand, nir_imm_int(b, 1))); in lower_2f() local
736 nir_iand(b, halfway, is_odd)); in lower_2f()
/third_party/mesa3d/src/amd/llvm/
Dac_llvm_build.h598 void ac_build_triangle_strip_indices_to_triangle(struct ac_llvm_context *ctx, LLVMValueRef is_odd,
Dac_llvm_build.c4584 void ac_build_triangle_strip_indices_to_triangle(struct ac_llvm_context *ctx, LLVMValueRef is_odd, in ac_build_triangle_strip_indices_to_triangle() argument
4599 LLVMBuildSelect(builder, is_odd, index[1], index[0], ""), ""); in ac_build_triangle_strip_indices_to_triangle()
4601 LLVMBuildSelect(builder, is_odd, index[2], index[1], ""), in ac_build_triangle_strip_indices_to_triangle()
4602 LLVMBuildSelect(builder, is_odd, index[0], index[1], ""), ""); in ac_build_triangle_strip_indices_to_triangle()
4604 LLVMBuildSelect(builder, is_odd, index[1], index[2], ""), index[2], ""); in ac_build_triangle_strip_indices_to_triangle()
/third_party/gstreamer/gstplugins_good/
Dmeson.build18 gst_version_is_dev = gst_version_minor.is_odd() and gst_version_micro < 90
/third_party/gstreamer/gstplugins_bad/
Dmeson.build18 gst_version_is_dev = gst_version_minor.is_odd() and gst_version_micro < 90
/third_party/rust/crates/rust-openssl/openssl/
DCHANGELOG.md12 * Added `BigNumRef::is_even` and `BigNumRef::is_odd`.
/third_party/node/deps/v8/src/execution/s390/
Dsimulator-s390.cc3348 is_odd) \ argument
3351 if (is_odd) { \
3362 #define VECTOR_MULTIPLY_EVEN_ODD(r1, r2, r3, is_odd, sign) \ argument
3366 is_odd) \
3371 is_odd) \
3376 is_odd) \
/third_party/python/Doc/library/
Ditertools.rst854 # partition(is_odd, range(10)) --> 0 2 4 6 8 and 1 3 5 7 9
/third_party/node/deps/v8/src/execution/ppc/
Dsimulator-ppc.cc4466 #define VECTOR_MULTIPLY_EVEN_ODD(input_type, result_type, is_odd) \ in ExecuteGeneric() argument
4470 if (is_odd) { \ in ExecuteGeneric()
/third_party/rust/crates/memchr/bench/data/code/
Drust-library.rs9263 fn is_odd(n: &usize) -> bool {
9563 v.retain(is_odd);