Home
last modified time | relevance | path

Searched refs:p_int (Results 1 – 13 of 13) sorted by relevance

/external/rust/crates/rand/src/distributions/
Dbernoulli.rs40 p_int: u64, field
101 return Ok(Bernoulli { p_int: ALWAYS_TRUE }); in new()
106 p_int: (p * SCALE) as u64, in new()
124 return Ok(Bernoulli { p_int: ALWAYS_TRUE }); in from_ratio()
126 let p_int = ((f64::from(numerator) / f64::from(denominator)) * SCALE) as u64; in from_ratio() localVariable
127 Ok(Bernoulli { p_int }) in from_ratio()
135 if self.p_int == ALWAYS_TRUE { in sample()
139 v < self.p_int in sample()
155 assert_eq!(coin_flip.p_int, de_coin_flip.p_int); in test_serializing_deserializing_bernoulli()
/external/mesa3d/src/compiler/glsl/
Ds_expression.h158 s_pattern(s_int *&s) : p_int(&s), type(INT) { } in s_pattern()
169 s_int **p_int; member
Ds_expression.cpp187 case INT: if (expr->is_int()) *p_int = (s_int *) expr; break; in match()
/external/llvm-project/lldb/test/Shell/SymbolFile/PDB/Inputs/
DPointerTypeTest.cpp14 int *p_int = &s.a; in main() local
/external/strace/tests-m32/
Dioctl_v4l2.c618 int *const p_int = page_end - sizeof(int); in main() local
619 ioctl(-1, VIDIOC_STREAMON, p_int); in main()
621 " = -1 EBADF (%m)\n", *p_int); in main()
627 ioctl(-1, VIDIOC_STREAMOFF, p_int); in main()
629 " = -1 EBADF (%m)\n", *p_int); in main()
797 ioctl(-1, VIDIOC_S_INPUT, p_int); in main()
798 printf("ioctl(-1, VIDIOC_S_INPUT, [%u]) = -1 EBADF (%m)\n", *p_int); in main()
/external/strace/tests/
Dioctl_v4l2.c618 int *const p_int = page_end - sizeof(int); in main() local
619 ioctl(-1, VIDIOC_STREAMON, p_int); in main()
621 " = -1 EBADF (%m)\n", *p_int); in main()
627 ioctl(-1, VIDIOC_STREAMOFF, p_int); in main()
629 " = -1 EBADF (%m)\n", *p_int); in main()
797 ioctl(-1, VIDIOC_S_INPUT, p_int); in main()
798 printf("ioctl(-1, VIDIOC_S_INPUT, [%u]) = -1 EBADF (%m)\n", *p_int); in main()
/external/strace/tests-mx32/
Dioctl_v4l2.c618 int *const p_int = page_end - sizeof(int); in main() local
619 ioctl(-1, VIDIOC_STREAMON, p_int); in main()
621 " = -1 EBADF (%m)\n", *p_int); in main()
627 ioctl(-1, VIDIOC_STREAMOFF, p_int); in main()
629 " = -1 EBADF (%m)\n", *p_int); in main()
797 ioctl(-1, VIDIOC_S_INPUT, p_int); in main()
798 printf("ioctl(-1, VIDIOC_S_INPUT, [%u]) = -1 EBADF (%m)\n", *p_int); in main()
/external/tensorflow/tensorflow/core/common_runtime/
Dbfc_allocator.h326 std::uintptr_t p_int = reinterpret_cast<std::uintptr_t>(p); in IndexFor() local
328 DCHECK_GE(p_int, base_int); in IndexFor()
329 DCHECK_LT(p_int, base_int + memory_size_); in IndexFor()
330 return static_cast<size_t>(((p_int - base_int) >> kMinAllocationBits)); in IndexFor()
/external/angle/third_party/vulkan-deps/spirv-tools/src/test/fuzz/
Dtransformation_replace_add_sub_mul_with_carrying_extended_test.cpp311 OpName %71 "p_int" in TEST()
515 OpName %71 "p_int" in TEST()
/external/swiftshader/third_party/SPIRV-Tools/test/fuzz/
Dtransformation_replace_add_sub_mul_with_carrying_extended_test.cpp311 OpName %71 "p_int" in TEST()
515 OpName %71 "p_int" in TEST()
/external/deqp-deps/SPIRV-Tools/test/fuzz/
Dtransformation_replace_add_sub_mul_with_carrying_extended_test.cpp311 OpName %71 "p_int" in TEST()
515 OpName %71 "p_int" in TEST()
/external/llvm-project/lldb/test/Shell/SymbolFile/PDB/
Dpointers.test26 MAIN: Variable{{.*}}, name = "p_int"
/external/libchrome/mojo/public/tools/bindings/pylib/mojom/parse/
Dparser.py403 def p_int(self, p): member in Parser