Home
last modified time | relevance | path

Searched refs:vals (Results 1 – 25 of 421) sorted by relevance

12345678910>>...17

/external/clang/test/Analysis/
Darray-struct-region.c98 int vals[10]; in testSymbolicInvalidation() local
100 vals[0] = 42; in testSymbolicInvalidation()
101 clang_analyzer_eval(vals[0] == 42); // expected-warning{{TRUE}} in testSymbolicInvalidation()
103 vals[index] = randomInt(); in testSymbolicInvalidation()
104 clang_analyzer_eval(vals[0] == 42); // expected-warning{{UNKNOWN}} in testSymbolicInvalidation()
106 return vals[index]; // no-warning in testSymbolicInvalidation()
110 int vals[10]; in testConcreteInvalidation() local
112 vals[index] = 42; in testConcreteInvalidation()
113 clang_analyzer_eval(vals[index] == 42); // expected-warning{{TRUE}} in testConcreteInvalidation()
114 vals[0] = randomInt(); in testConcreteInvalidation()
[all …]
/external/llvm-project/clang/test/Analysis/
Darray-struct-region.c98 int vals[10]; in testSymbolicInvalidation() local
100 vals[0] = 42; in testSymbolicInvalidation()
101 clang_analyzer_eval(vals[0] == 42); // expected-warning{{TRUE}} in testSymbolicInvalidation()
103 vals[index] = randomInt(); in testSymbolicInvalidation()
104 clang_analyzer_eval(vals[0] == 42); // expected-warning{{UNKNOWN}} in testSymbolicInvalidation()
106 return vals[index]; // no-warning in testSymbolicInvalidation()
110 int vals[10]; in testConcreteInvalidation() local
112 vals[index] = 42; in testConcreteInvalidation()
113 clang_analyzer_eval(vals[index] == 42); // expected-warning{{TRUE}} in testConcreteInvalidation()
114 vals[0] = randomInt(); in testConcreteInvalidation()
[all …]
/external/llvm-project/llvm/test/TableGen/
Dcond-list.td5 class A<list<list<int>> vals> {
6 list<int> first = vals[0];
7 list<int> rest = !cond(!empty(!tail(vals)): vals[0],
8 1 : vals[1]);
25 list<int> vals = v;
27 class BB<list<list<int>> vals> : B<!cond(!empty(!tail(vals)): vals[0], 1 : vals[1])>;
28 class BBB<list<list<int>> vals> : BB<vals>;
32 // CHECK-NEXT: list<int> vals = [1, 2, 3];
37 // CHECK-NEXT: list<int> vals = [4, 5, 6];
/external/eigen/bench/
Dsparse_setter.cpp47 EIGEN_DONT_INLINE Scalar* setinnerrand_eigen(const Coordinates& coords, const Values& vals);
48 EIGEN_DONT_INLINE Scalar* setrand_eigen_dynamic(const Coordinates& coords, const Values& vals);
49 EIGEN_DONT_INLINE Scalar* setrand_eigen_compact(const Coordinates& coords, const Values& vals);
50 EIGEN_DONT_INLINE Scalar* setrand_eigen_sumeq(const Coordinates& coords, const Values& vals);
51 EIGEN_DONT_INLINE Scalar* setrand_eigen_gnu_hash(const Coordinates& coords, const Values& vals);
52 EIGEN_DONT_INLINE Scalar* setrand_eigen_google_dense(const Coordinates& coords, const Values& vals);
53 EIGEN_DONT_INLINE Scalar* setrand_eigen_google_sparse(const Coordinates& coords, const Values& vals
54 EIGEN_DONT_INLINE Scalar* setrand_scipy(const Coordinates& coords, const Values& vals);
55 EIGEN_DONT_INLINE Scalar* setrand_ublas_mapped(const Coordinates& coords, const Values& vals);
56 EIGEN_DONT_INLINE Scalar* setrand_ublas_coord(const Coordinates& coords, const Values& vals);
[all …]
/external/tensorflow/tensorflow/core/framework/
Dtensor_testutil.h39 Tensor AsTensor(gtl::ArraySlice<T> vals) { in AsTensor() argument
40 Tensor ret(DataTypeToEnum<T>::value, {static_cast<int64>(vals.size())}); in AsTensor()
41 std::copy_n(vals.data(), vals.size(), ret.flat<T>().data()); in AsTensor()
47 Tensor AsTensor(gtl::ArraySlice<T> vals, const TensorShape& shape) { in AsTensor() argument
49 CHECK(ret.CopyFrom(AsTensor(vals), shape)); in AsTensor()
57 void FillValues(Tensor* tensor, gtl::ArraySlice<T> vals) { in FillValues() argument
59 CHECK_EQ(flat.size(), vals.size()); in FillValues()
61 std::copy_n(vals.data(), vals.size(), flat.data()); in FillValues()
67 void FillValues(Tensor* tensor, std::initializer_list<SrcType> vals) { in FillValues() argument
69 CHECK_EQ(flat.size(), vals.size()); in FillValues()
[all …]
Dtensor_shape.cc39 gtl::InlinedVector<int64, 8>* vals) { in AppendTo() argument
41 vals->push_back(dim.size); in AppendTo()
455 gtl::InlinedVector<int64, 8> vals; in UnsafeAddDim() local
456 AppendTo(*this, &vals); in UnsafeAddDim()
457 vals.push_back(size); in UnsafeAddDim()
461 bool can_be_rep32 = (vals.size() <= 3); in UnsafeAddDim()
463 for (size_t i = 0; i < vals.size(); i++) { in UnsafeAddDim()
464 if (vals[i] >= kMaxRep32) { in UnsafeAddDim()
472 for (size_t d = 0; d < vals.size(); d++) { in UnsafeAddDim()
473 as32()->dims_[d] = kIsPartial && vals[d] < 0 in UnsafeAddDim()
[all …]
/external/tensorflow/tensorflow/core/util/sparse/
Dsparse_tensor_test.cc96 Tensor vals(DT_STRING, TensorShape({N})); in TEST() local
99 EXPECT_EQ(SparseTensor::Create(ix, vals, TensorShape({10, 10, 10}), {0, 1, 2}, in TEST()
109 Tensor vals(DT_STRING, TensorShape({N})); in TEST() local
112 EXPECT_EQ(SparseTensor::Create(ix, vals, TensorShape({10, 10, 10}), {0, 1, 2}, in TEST()
122 Tensor vals(DT_STRING, TensorShape({N, 1})); in TEST() local
125 EXPECT_EQ(SparseTensor::Create(ix, vals, TensorShape({10, 10, 10}), {0, 1, 2}, in TEST()
135 Tensor vals(DT_STRING, TensorShape({N - 1})); in TEST() local
138 EXPECT_EQ(SparseTensor::Create(ix, vals, TensorShape({10, 10, 10}), {0, 1, 2}, in TEST()
148 Tensor vals(DT_STRING, TensorShape({N})); in TEST() local
152 SparseTensor::Create(ix, vals, TensorShape({10, 10, 10}), {0, 1}, &result) in TEST()
[all …]
/external/iproute2/misc/
Difstat.c322 unsigned long long *vals = n->val; in dump_raw_db() local
332 vals = h1->val; in dump_raw_db()
345 jsonw_uint_field(jw, stats[i], vals[i]); in dump_raw_db()
350 fprintf(fp, "%llu %u ", vals[i], in dump_raw_db()
368 static void format_rate(FILE *fp, const unsigned long long *vals, in format_rate() argument
373 if (vals[i] > giga) in format_rate()
374 fprintf(fp, "%7lluM ", vals[i]/mega); in format_rate()
375 else if (vals[i] > mega) in format_rate()
376 fprintf(fp, "%7lluK ", vals[i]/kilo); in format_rate()
378 fprintf(fp, "%8llu ", vals[i]); in format_rate()
[all …]
/external/rust/crates/itertools/src/
Dpermutations.rs14 vals: LazyBuffer<I>, field
22 clone_fields!(vals, state);
59 debug_fmt_fields!(Permutations, vals, state);
63 let mut vals = LazyBuffer::new(iter); in permutations() localVariable
70 vals, in permutations()
77 while vals.len() < k { in permutations()
78 if !vals.get_next() { in permutations()
91 vals, in permutations()
106 let &mut Permutations { ref vals, ref state } = self; in next()
114 Some(indices.map(|i| vals[i].clone()).collect()) in next()
[all …]
/external/llvm-project/libcxx/test/libcxx/fuzzing/
Drandom.pass.cpp96 auto vals = GetValues<double>(data, size); in Create() local
97 if (vals.empty() || std::isnan(vals[0]) || std::isnan(std::abs(vals[0])) || vals[0] < 0) in Create()
100 return ParamT{vals[0]}; in Create()
112 auto vals = GetValues<double>(data, size); in Create() local
113 if (vals.empty() || std::isnan(vals[0]) || vals[0] < 0 ) in Create()
116 return ParamT{vals[0]}; in Create()
128 auto vals = GetValues<ResultT>(data, size); in Create() local
129 if (vals.size() < 2 ) in Create()
132 return ParamT{vals[0], vals[1]}; in Create()
144 auto vals = GetValues<double>(data, size); in Create() local
[all …]
/external/zstd/tests/
Dparamgrill.c115 U32 vals[NUM_PARAMS]; member
322 if (params.vals[strt_ind] == ZSTD_fast) in sanitizeParams()
323 params.vals[clog_ind] = 0, params.vals[slog_ind] = 0; in sanitizeParams()
324 if (params.vals[strt_ind] == ZSTD_dfast) in sanitizeParams()
325 params.vals[slog_ind] = 0; in sanitizeParams()
326 if ( (params.vals[strt_ind] < ZSTD_btopt) && (params.vals[strt_ind] != ZSTD_fast) ) in sanitizeParams()
327 params.vals[tlen_ind] = 0; in sanitizeParams()
336 c.windowLog = p.vals[wlog_ind]; in pvalsToCParams()
337 c.chainLog = p.vals[clog_ind]; in pvalsToCParams()
338 c.hashLog = p.vals[hlog_ind]; in pvalsToCParams()
[all …]
/external/fonttools/Lib/fontTools/ttLib/tables/
DgrUtils.py40 vals = []
43 if len(vals) and (k != ak + 1 or (sameval and v != lastv)) :
44 yield (ak - len(vals) + 1, len(vals), vals)
45 vals = []
47 vals.append(v)
49 yield (ak - len(vals) + 1, len(vals), vals)
/external/llvm-project/llvm/test/CodeGen/AArch64/
Dsve-masked-gather-64b-unscaled.ll11 …%vals = call <vscale x 2 x i8> @llvm.masked.gather.nxv2i8(<vscale x 2 x i8*> %ptrs, i32 1, <vscale…
12 %vals.zext = zext <vscale x 2 x i8> %vals to <vscale x 2 x i64>
13 ret <vscale x 2 x i64> %vals.zext
23 …%vals = call <vscale x 2 x i16> @llvm.masked.gather.nxv2i16(<vscale x 2 x i16*> %ptrs, i32 2, <vsc…
24 %vals.zext = zext <vscale x 2 x i16> %vals to <vscale x 2 x i64>
25 ret <vscale x 2 x i64> %vals.zext
35 …%vals = call <vscale x 2 x i32> @llvm.masked.gather.nxv2i32(<vscale x 2 x i32*> %ptrs, i32 4, <vsc…
36 %vals.zext = zext <vscale x 2 x i32> %vals to <vscale x 2 x i64>
37 ret <vscale x 2 x i64> %vals.zext
47 …%vals = call <vscale x 2 x i64> @llvm.masked.gather.nxv2i64(<vscale x 2 x i64*> %ptrs, i32 8, <vsc…
[all …]
Dsve-masked-gather-32b-signed-unscaled.ll15 …%vals = call <vscale x 2 x i8> @llvm.masked.gather.nxv2i8(<vscale x 2 x i8*> %ptrs, i32 1, <vscale…
16 %vals.zext = zext <vscale x 2 x i8> %vals to <vscale x 2 x i64>
17 ret <vscale x 2 x i64> %vals.zext
27 …%vals = call <vscale x 2 x i16> @llvm.masked.gather.nxv2i16(<vscale x 2 x i16*> %ptrs, i32 2, <vsc…
28 %vals.zext = zext <vscale x 2 x i16> %vals to <vscale x 2 x i64>
29 ret <vscale x 2 x i64> %vals.zext
39 …%vals = call <vscale x 2 x i32> @llvm.masked.gather.nxv2i32(<vscale x 2 x i32*> %ptrs, i32 4, <vsc…
40 %vals.zext = zext <vscale x 2 x i32> %vals to <vscale x 2 x i64>
41 ret <vscale x 2 x i64> %vals.zext
51 …%vals = call <vscale x 2 x i64> @llvm.masked.gather.nxv2i64(<vscale x 2 x i64*> %ptrs, i32 8, <vsc…
[all …]
Dsve-masked-gather-32b-signed-scaled.ll15 …%vals = call <vscale x 2 x i16> @llvm.masked.gather.nxv2i16(<vscale x 2 x i16*> %ptrs, i32 2, <vsc…
16 %vals.zext = zext <vscale x 2 x i16> %vals to <vscale x 2 x i64>
17 ret <vscale x 2 x i64> %vals.zext
26 …%vals = call <vscale x 2 x i32> @llvm.masked.gather.nxv2i32(<vscale x 2 x i32*> %ptrs, i32 4, <vsc…
27 %vals.zext = zext <vscale x 2 x i32> %vals to <vscale x 2 x i64>
28 ret <vscale x 2 x i64> %vals.zext
37 …%vals = call <vscale x 2 x i64> @llvm.masked.gather.nxv2i64(<vscale x 2 x i64*> %ptrs, i32 8, <vsc…
38 ret <vscale x 2 x i64> %vals
47 …%vals = call <vscale x 2 x half> @llvm.masked.gather.nxv2f16(<vscale x 2 x half*> %ptrs, i32 2, <v…
48 ret <vscale x 2 x half> %vals
[all …]
Dsve-masked-gather-32b-unsigned-unscaled.ll16 …%vals = call <vscale x 2 x i8> @llvm.masked.gather.nxv2i8(<vscale x 2 x i8*> %ptrs, i32 1, <vscale…
17 %vals.zext = zext <vscale x 2 x i8> %vals to <vscale x 2 x i64>
18 ret <vscale x 2 x i64> %vals.zext
29 …%vals = call <vscale x 2 x i16> @llvm.masked.gather.nxv2i16(<vscale x 2 x i16*> %ptrs, i32 2, <vsc…
30 %vals.zext = zext <vscale x 2 x i16> %vals to <vscale x 2 x i64>
31 ret <vscale x 2 x i64> %vals.zext
42 …%vals = call <vscale x 2 x i32> @llvm.masked.gather.nxv2i32(<vscale x 2 x i32*> %ptrs, i32 4, <vsc…
43 %vals.zext = zext <vscale x 2 x i32> %vals to <vscale x 2 x i64>
44 ret <vscale x 2 x i64> %vals.zext
55 …%vals = call <vscale x 2 x i64> @llvm.masked.gather.nxv2i64(<vscale x 2 x i64*> %ptrs, i32 8, <vsc…
[all …]
/external/tensorflow/tensorflow/go/
Dtensor_handle_test.go26 vals := [][]float32{{1.0, 2.0}, {3.0, 4.0}}
27 tensor, err := NewTensor(vals)
37 vals := [][]float32{{1.0, 2.0}, {3.0, 4.0}}
38 tensor, err := NewTensor(vals)
53 vals := [][]float32{{1.0, 2.0, 3.0}, {4.0, 5.0, 6.0}}
54 tensor, err := NewTensor(vals)
73 vals := [][]float32{{1.0, 2.0}, {3.0, 4.0}}
74 tensor, err := NewTensor(vals)
93 vals := [][]float32{{1.0, 2.0}, {3.0, 4.0}}
94 tensor, err := NewTensor(vals)
/external/llvm-project/clang/lib/Analysis/
DUninitializedValues.cpp121 SmallVector<ValueVector, 8> vals; member in __anon2861600d0211::CFGBlockValues
133 return vals[block->getBlockID()]; in getValueVector()
158 CFGBlockValues::CFGBlockValues(const CFG &c) : cfg(c), vals(0) {} in CFGBlockValues()
167 vals.resize(n); in computeSetOfDeclarations()
168 for (auto &val : vals) in computeSetOfDeclarations()
466 CFGBlockValues &vals; member in __anon2861600d0511::TransferFunctions
475 TransferFunctions(CFGBlockValues &vals, const CFG &cfg, in TransferFunctions() argument
479 : vals(vals), cfg(cfg), block(block), ac(ac), in TransferFunctions()
577 Value AtPredExit = vals.getValue(Pred, B, vd); in getUninitUse()
582 vals.getValue(B, nullptr, vd) == Uninitialized) { in getUninitUse()
[all …]
/external/tensorflow/tensorflow/python/kernel_tests/
Ddense_update_ops_no_tsan_test.py61 vals = self.evaluate(p)
63 self.assertTrue((vals >= ones).all())
64 self.assertTrue((vals <= ones * 20).all())
91 vals = self.evaluate(p)
94 self.assertTrue((vals > 0).all())
95 self.assertTrue((vals <= 20).all())
127 vals = self.evaluate(p)
129 self.assertAllEqual(vals, ones * 20)
158 vals = self.evaluate(p)
161 self.assertTrue(vals[0, 0] > 0)
[all …]
/external/libgav1/libgav1/src/dsp/x86/
Dintrapred_directional_sse4.cc188 __m128i vals = _mm_shuffle_epi8(top_vals, sampler); in DirectionalZone1_Large() local
189 vals = _mm_maddubs_epi16(vals, shifts); in DirectionalZone1_Large()
190 vals = RightShiftWithRounding_U16(vals, rounding_bits); in DirectionalZone1_Large()
191 StoreLo8(dest + x, _mm_packus_epi16(vals, vals)); in DirectionalZone1_Large()
230 __m128i vals = _mm_shuffle_epi8(top_vals, sampler); in DirectionalZone1_Large() local
231 vals = _mm_maddubs_epi16(vals, shifts); in DirectionalZone1_Large()
232 vals = RightShiftWithRounding_U16(vals, rounding_bits); in DirectionalZone1_Large()
233 vals = _mm_blendv_epi8(vals, final_top_val, past_max); in DirectionalZone1_Large()
234 StoreLo8(dest + x, _mm_packus_epi16(vals, vals)); in DirectionalZone1_Large()
291 __m128i vals = _mm_shuffle_epi8(top_vals, sampler); in DirectionalZone1_SSE4_1() local
[all …]
/external/tensorflow/tensorflow/python/keras/engine/
Dtraining_utils_v1_test.py54 vals = model_inputs.get_symbolic_inputs()
55 self.assertTrue(tensor_util.is_tf_type(vals))
56 vals = model_inputs.get_symbolic_inputs(return_single_as_list=True)
57 self.assertEqual(1, len(vals))
58 self.assertTrue(tensor_util.is_tf_type(vals[0]))
59 self.assertEqual(backend.floatx(), vals[0].dtype)
70 vals = model_inputs.get_symbolic_inputs(return_single_as_list=True)
71 self.assertEqual(1, len(vals))
72 self.assertTrue(tf_utils.is_symbolic_tensor(vals[0]))
73 self.assertEqual(dtypes.int32, vals[0].dtype)
[all …]
/external/linux-kselftest/tools/testing/selftests/bpf/prog_tests/
Dqueue_stack_map.c12 __u32 vals[MAP_SIZE], duration, retval, size, val; in test_queue_stack_map_by_type() local
20 vals[i] = rand(); in test_queue_stack_map_by_type()
43 err = bpf_map_update_elem(map_in_fd, NULL, &vals[i], 0); in test_queue_stack_map_by_type()
53 val = vals[i]; in test_queue_stack_map_by_type()
54 pkt_v4.iph.saddr = vals[i] * 5; in test_queue_stack_map_by_type()
56 val = vals[MAP_SIZE - 1 - i]; in test_queue_stack_map_by_type()
57 pkt_v4.iph.saddr = vals[MAP_SIZE - 1 - i] * 5; in test_queue_stack_map_by_type()
83 if (err || val != vals[i] * 5) in test_queue_stack_map_by_type()
87 CHECK(i != MAP_SIZE && (err || val != vals[i] * 5), in test_queue_stack_map_by_type()
/external/clang/lib/Analysis/
DUninitializedValues.cpp109 SmallVector<ValueVector, 8> vals; member in __anonfea579df0211::CFGBlockValues
119 return vals[block->getBlockID()]; in getValueVector()
143 CFGBlockValues::CFGBlockValues(const CFG &c) : cfg(c), vals(0) {} in CFGBlockValues()
152 vals.resize(n); in computeSetOfDeclarations()
154 vals[i].resize(decls); in computeSetOfDeclarations()
491 CFGBlockValues &vals; member in __anonfea579df0511::TransferFunctions
500 TransferFunctions(CFGBlockValues &vals, const CFG &cfg, in TransferFunctions() argument
504 : vals(vals), cfg(cfg), block(block), ac(ac), in TransferFunctions()
599 Value AtPredExit = vals.getValue(Pred, B, vd); in getUninitUse()
604 vals.getValue(B, nullptr, vd) == Uninitialized) { in getUninitUse()
[all …]
/external/skia/samplecode/
DSampleCusp.cpp130 SkScalar vals[9]; in onDrawContent() local
131 vals[0] = linearToLoop(3000, 0, 1); in onDrawContent()
132 vals[1] = linearToLoop(4000, .25, 1.25); in onDrawContent()
133 vals[2] = 200; in onDrawContent()
134 vals[3] = linearToLoop(5000, .5, 1.5); in onDrawContent()
135 vals[4] = linearToLoop(7000, .75, 1.75); in onDrawContent()
136 vals[5] = 300; in onDrawContent()
137 vals[6] = 0; in onDrawContent()
138 vals[7] = 0; in onDrawContent()
139 vals[8] = 1; in onDrawContent()
[all …]
/external/skqp/samplecode/
DSampleCusp.cpp136 SkScalar vals[9]; in onDrawContent() local
137 vals[0] = linearToLoop(3000, 0, 1); in onDrawContent()
138 vals[1] = linearToLoop(4000, .25, 1.25); in onDrawContent()
139 vals[2] = 200; in onDrawContent()
140 vals[3] = linearToLoop(5000, .5, 1.5); in onDrawContent()
141 vals[4] = linearToLoop(7000, .75, 1.75); in onDrawContent()
142 vals[5] = 300; in onDrawContent()
143 vals[6] = 0; in onDrawContent()
144 vals[7] = 0; in onDrawContent()
145 vals[8] = 1; in onDrawContent()
[all …]

12345678910>>...17