Home
last modified time | relevance | path

Searched refs:accumulator (Results 1 – 25 of 126) sorted by relevance

123456

/external/libmojo/mojo/public/cpp/bindings/tests/
Dconnector_unittest.cc129 MessageAccumulator accumulator(run_loop.QuitClosure()); in TEST_F() local
130 connector1.set_incoming_receiver(&accumulator); in TEST_F()
134 ASSERT_FALSE(accumulator.IsEmpty()); in TEST_F()
137 accumulator.Pop(&message_received); in TEST_F()
157 MessageAccumulator accumulator; in TEST_F() local
158 connector1.set_incoming_receiver(&accumulator); in TEST_F()
162 ASSERT_FALSE(accumulator.IsEmpty()); in TEST_F()
165 accumulator.Pop(&message_received); in TEST_F()
179 MessageAccumulator accumulator(run_loop.QuitClosure()); in TEST_F() local
180 connector1.set_incoming_receiver(&accumulator); in TEST_F()
[all …]
/external/ImageMagick/MagickCore/
Dsignature.c75 *accumulator, member
132 signature_info->accumulator=(unsigned int *) AcquireQuantumMemory( in AcquireSignatureInfo()
133 SignatureBlocksize,sizeof(*signature_info->accumulator)); in AcquireSignatureInfo()
134 if (signature_info->accumulator == (unsigned int *) NULL) in AcquireSignatureInfo()
173 if (signature_info->accumulator != (unsigned int *) NULL) in DestroySignatureInfo()
174 signature_info->accumulator=(unsigned int *) RelinquishMagickMemory( in DestroySignatureInfo()
175 signature_info->accumulator); in DestroySignatureInfo()
257 p=signature_info->accumulator; in FinalizeSignature()
389 signature_info->accumulator[0]=0x6a09e667U; in InitializeSignature()
390 signature_info->accumulator[1]=0xbb67ae85U; in InitializeSignature()
[all …]
/external/libchrome/sandbox/linux/bpf_dsl/
Dverifier.cc24 : program(p), data(d), ip(0), accumulator(0), acc_is_valid(false) {} in State()
28 uint32_t accumulator; member
43 memcpy(&state->accumulator, in Ld()
70 if (state->accumulator == insn.k) { in Jmp()
77 if (state->accumulator > insn.k) { in Jmp()
84 if (state->accumulator >= insn.k) { in Jmp()
91 if (state->accumulator & insn.k) { in Jmp()
113 state->accumulator = -state->accumulator; in Alu()
122 state->accumulator += insn.k; in Alu()
125 state->accumulator -= insn.k; in Alu()
[all …]
/external/libvpx/libvpx/vp9/encoder/x86/
Dtemporal_filter_sse4.c168 uint16_t *count, uint32_t *accumulator) { in accumulate_and_store_8() argument
184 accum_0_u32 = _mm_loadu_si128((const __m128i *)accumulator); in accumulate_and_store_8()
185 accum_1_u32 = _mm_loadu_si128((const __m128i *)(accumulator + 4)); in accumulate_and_store_8()
190 _mm_storeu_si128((__m128i *)accumulator, accum_0_u32); in accumulate_and_store_8()
191 _mm_storeu_si128((__m128i *)(accumulator + 4), accum_1_u32); in accumulate_and_store_8()
197 uint32_t *accumulator) { in accumulate_and_store_16() argument
221 accum_0_u32 = _mm_loadu_si128((const __m128i *)accumulator); in accumulate_and_store_16()
222 accum_1_u32 = _mm_loadu_si128((const __m128i *)(accumulator + 4)); in accumulate_and_store_16()
223 accum_2_u32 = _mm_loadu_si128((const __m128i *)(accumulator + 8)); in accumulate_and_store_16()
224 accum_3_u32 = _mm_loadu_si128((const __m128i *)(accumulator + 12)); in accumulate_and_store_16()
[all …]
/external/guava/guava/src/com/google/common/math/
DDoubleMath.java411 MeanAccumulator accumulator = new MeanAccumulator(); in mean() local
413 accumulator.add(value); in mean()
415 return accumulator.mean(); in mean()
424 MeanAccumulator accumulator = new MeanAccumulator(); in mean() local
426 accumulator.add(value); in mean()
428 return accumulator.mean(); in mean()
438 MeanAccumulator accumulator = new MeanAccumulator(); in mean() local
440 accumulator.add(value); in mean()
442 return accumulator.mean(); in mean()
452 MeanAccumulator accumulator = new MeanAccumulator(); in mean() local
[all …]
/external/v8/src/
Dfixed-dtoa.cc26 uint64_t accumulator; in Multiply() local
28 accumulator = (low_bits_ & kMask32) * multiplicand; in Multiply()
29 uint32_t part = static_cast<uint32_t>(accumulator & kMask32); in Multiply()
30 accumulator >>= 32; in Multiply()
31 accumulator = accumulator + (low_bits_ >> 32) * multiplicand; in Multiply()
32 low_bits_ = (accumulator << 32) + part; in Multiply()
33 accumulator >>= 32; in Multiply()
34 accumulator = accumulator + (high_bits_ & kMask32) * multiplicand; in Multiply()
35 part = static_cast<uint32_t>(accumulator & kMask32); in Multiply()
36 accumulator >>= 32; in Multiply()
[all …]
Dframes.cc692 void BuiltinExitFrame::Print(StringStream* accumulator, PrintMode mode, in Print() argument
698 accumulator->PrintSecurityTokenIfChanged(function); in Print()
699 PrintIndex(accumulator, mode, index); in Print()
700 accumulator->Add("builtin exit frame: "); in Print()
702 if (IsConstructor()) accumulator->Add("new "); in Print()
703 accumulator->PrintFunction(function, receiver, &code); in Print()
705 accumulator->Add("(this=%o", receiver); in Print()
710 accumulator->Add(",%o", GetParameter(i)); in Print()
713 accumulator->Add(")\n\n"); in Print()
1674 void BuiltinFrame::PrintFrameKind(StringStream* accumulator) const { in PrintFrameKind()
[all …]
Dkeys.cc40 FastKeyAccumulator accumulator(isolate, object, mode, filter); in GetKeys() local
41 accumulator.set_is_for_in(is_for_in); in GetKeys()
42 return accumulator.GetKeys(keys_conversion); in GetKeys()
99 MaybeHandle<FixedArray> FilterProxyKeys(KeyAccumulator* accumulator, in FilterProxyKeys() argument
107 Isolate* isolate = accumulator->isolate(); in FilterProxyKeys()
119 accumulator->AddShadowingKey(key); in FilterProxyKeys()
453 KeyAccumulator accumulator(isolate_, mode_, filter_); in GetKeysSlow() local
454 accumulator.set_is_for_in(is_for_in_); in GetKeysSlow()
455 accumulator.set_last_non_empty_prototype(last_non_empty_prototype_); in GetKeysSlow()
457 MAYBE_RETURN(accumulator.CollectKeys(receiver_, receiver_), in GetKeysSlow()
[all …]
/external/autotest/client/tests/ltp/
Dparse_ltp_out.py98 def _print_summary(filters, accumulator): argument
113 print fmt % (filters[k], accumulator[k])
117 pass_count = sum([accumulator[k] for k in filters if filters[k][0] == '+'])
118 notpass_count = sum([accumulator[k] for k in filters
171 def _print_timings(accumulator): argument
183 for test_limit in sorted(accumulator.keys()):
185 test_limit, len(accumulator[test_limit]),
186 ', '.join(sorted(accumulator[test_limit])))
/external/autotest/client/site_tests/kernel_LTP/
Dparse_ltp_out.py94 def _print_summary(filters, accumulator): argument
108 print fmt % (filters[k], accumulator[k])
112 pass_count = sum([accumulator[k] for k in filters if filters[k][0] == '+'])
113 notpass_count = sum([accumulator[k] for k in filters
165 def _print_timings(accumulator): argument
176 for test_limit in sorted(accumulator.keys()):
178 test_limit, len(accumulator[test_limit]),
179 ', '.join(sorted(accumulator[test_limit])))
/external/eigen/unsupported/Eigen/CXX11/src/Tensor/
DTensorScan.h68 const Op accumulator() const { return m_accumulator; }
109 m_accumulator(op.accumulator()),
143 EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE const Op& accumulator() const {
227 typename Self::CoeffReturnType accum = self.accumulator().initialize();
232 data[curr] = self.accumulator().finalize(accum);
233 self.accumulator().reduce(self.inner().coeff(curr), &accum);
235 self.accumulator().reduce(self.inner().coeff(curr), &accum);
236 data[curr] = self.accumulator().finalize(accum);
258 typename Self::CoeffReturnType accum = self.accumulator().initialize();
262 data[curr] = self.accumulator().finalize(accum);
[all …]
/external/libvpx/libvpx/vp9/encoder/
Dvp9_temporal_filter.c101 int filter_weight, uint32_t *accumulator, in vp9_temporal_filter_apply_c() argument
156 accumulator[k] += modifier * pixel_value; in vp9_temporal_filter_apply_c()
169 int filter_weight, uint32_t *accumulator, uint16_t *count) { in vp9_highbd_temporal_filter_apply_c() argument
215 accumulator[k] += modifier * pixel_value; in vp9_highbd_temporal_filter_apply_c()
299 DECLARE_ALIGNED(16, uint32_t, accumulator[16 * 16 * 3]); in vp9_temporal_filter_iterate_row_c()
346 vp9_zero_array(accumulator, 16 * 16 * 3); in vp9_temporal_filter_iterate_row_c()
392 adj_strength, filter_weight, accumulator, count); in vp9_temporal_filter_iterate_row_c()
396 accumulator + 256, count + 256); in vp9_temporal_filter_iterate_row_c()
400 accumulator + 512, count + 512); in vp9_temporal_filter_iterate_row_c()
405 accumulator, count); in vp9_temporal_filter_iterate_row_c()
[all …]
/external/gemmlowp/internal/
Dkernel_reference.h52 std::int32_t accumulator[Format::kRows * Format::kCols]; in Run() local
53 memset(accumulator, 0, sizeof(accumulator)); in Run()
83 accumulator + (ri + rc * Format::Lhs::Cell::kWidth) + in Run()
100 accumulator[r + c * Format::kRows]; in Run()
109 accumulator[r + c * Format::kRows]; in Run()
/external/brotli/java/org/brotli/dec/
DBitReader.java41 long accumulator; field in BitReader
114 br.accumulator = ((long) br.intBuffer[br.intOffset++] << 32) | (br.accumulator >>> 32); in fillBitWindow()
124 int val = (int) (br.accumulator >>> br.bitOffset) & ((1 << n) - 1); in readBits()
144 br.accumulator = 0; in init()
197 data[offset++] = (byte) (br.accumulator >>> br.bitOffset); in copyBytes()
223 data[offset++] = (byte) (br.accumulator >>> br.bitOffset); in copyBytes()
/external/swiftshader/third_party/LLVM/examples/OCaml-Kaleidoscope/Chapter4/
Dparser.ml27 let rec parse_args accumulator = parser
30 | [< 'Token.Kwd ','; e=parse_args (e :: accumulator) >] -> e
31 | [< >] -> e :: accumulator
33 | [< >] -> accumulator
93 let rec parse_args accumulator = parser
94 | [< 'Token.Ident id; e=parse_args (id::accumulator) >] -> e
95 | [< >] -> accumulator
/external/swiftshader/third_party/LLVM/examples/OCaml-Kaleidoscope/Chapter2/
Dparser.ml27 let rec parse_args accumulator = parser
30 | [< 'Token.Kwd ','; e=parse_args (e :: accumulator) >] -> e
31 | [< >] -> e :: accumulator
33 | [< >] -> accumulator
93 let rec parse_args accumulator = parser
94 | [< 'Token.Ident id; e=parse_args (id::accumulator) >] -> e
95 | [< >] -> accumulator
/external/llvm/examples/OCaml-Kaleidoscope/Chapter4/
Dparser.ml27 let rec parse_args accumulator = parser
30 | [< 'Token.Kwd ','; e=parse_args (e :: accumulator) >] -> e
31 | [< >] -> e :: accumulator
33 | [< >] -> accumulator
93 let rec parse_args accumulator = parser
94 | [< 'Token.Ident id; e=parse_args (id::accumulator) >] -> e
95 | [< >] -> accumulator
/external/llvm/examples/OCaml-Kaleidoscope/Chapter3/
Dparser.ml27 let rec parse_args accumulator = parser
30 | [< 'Token.Kwd ','; e=parse_args (e :: accumulator) >] -> e
31 | [< >] -> e :: accumulator
33 | [< >] -> accumulator
93 let rec parse_args accumulator = parser
94 | [< 'Token.Ident id; e=parse_args (id::accumulator) >] -> e
95 | [< >] -> accumulator
/external/swiftshader/third_party/LLVM/examples/OCaml-Kaleidoscope/Chapter3/
Dparser.ml27 let rec parse_args accumulator = parser
30 | [< 'Token.Kwd ','; e=parse_args (e :: accumulator) >] -> e
31 | [< >] -> e :: accumulator
33 | [< >] -> accumulator
93 let rec parse_args accumulator = parser
94 | [< 'Token.Ident id; e=parse_args (id::accumulator) >] -> e
95 | [< >] -> accumulator
/external/llvm/examples/OCaml-Kaleidoscope/Chapter2/
Dparser.ml27 let rec parse_args accumulator = parser
30 | [< 'Token.Kwd ','; e=parse_args (e :: accumulator) >] -> e
31 | [< >] -> e :: accumulator
33 | [< >] -> accumulator
93 let rec parse_args accumulator = parser
94 | [< 'Token.Ident id; e=parse_args (id::accumulator) >] -> e
95 | [< >] -> accumulator
/external/libvpx/libvpx/vp8/encoder/
Dtemporal_filter.c72 unsigned int *accumulator, in vp8_temporal_filter_apply_c() argument
100 accumulator[k] += modifier * pixel_value; in vp8_temporal_filter_apply_c()
196 DECLARE_ALIGNED(16, unsigned int, accumulator[16 * 16 + 8 * 8 + 8 * 8]); in vp8_temporal_filter_iterate_c()
229 memset(accumulator, 0, 384 * sizeof(unsigned int)); in vp8_temporal_filter_iterate_c()
274 accumulator, count); in vp8_temporal_filter_iterate_c()
278 accumulator + 256, count + 256); in vp8_temporal_filter_iterate_c()
282 accumulator + 320, count + 320); in vp8_temporal_filter_iterate_c()
292 unsigned int pval = accumulator[k] + (count[k] >> 1); in vp8_temporal_filter_iterate_c()
314 unsigned int pval = accumulator[k] + (count[k] >> 1); in vp8_temporal_filter_iterate_c()
320 pval = accumulator[m] + (count[m] >> 1); in vp8_temporal_filter_iterate_c()
/external/llvm/examples/OCaml-Kaleidoscope/Chapter7/
Dparser.ml30 let rec parse_args accumulator = parser
33 | [< 'Token.Kwd ','; e=parse_args (e :: accumulator) >] -> e
34 | [< >] -> e :: accumulator
36 | [< >] -> accumulator
151 and parse_var_names accumulator = parser
155 e=parse_var_names ((id, init) :: accumulator) >] -> e
156 | [< >] -> accumulator
168 let rec parse_args accumulator = parser
169 | [< 'Token.Ident id; e=parse_args (id::accumulator) >] -> e
170 | [< >] -> accumulator
/external/swiftshader/third_party/LLVM/examples/OCaml-Kaleidoscope/Chapter7/
Dparser.ml30 let rec parse_args accumulator = parser
33 | [< 'Token.Kwd ','; e=parse_args (e :: accumulator) >] -> e
34 | [< >] -> e :: accumulator
36 | [< >] -> accumulator
151 and parse_var_names accumulator = parser
155 e=parse_var_names ((id, init) :: accumulator) >] -> e
156 | [< >] -> accumulator
168 let rec parse_args accumulator = parser
169 | [< 'Token.Ident id; e=parse_args (id::accumulator) >] -> e
170 | [< >] -> accumulator
/external/v8/src/runtime/
Druntime-interpreter.cc54 Handle<Object> accumulator) { in PrintRegisters() argument
71 accumulator->ShortPrint(); in PrintRegisters()
116 CONVERT_ARG_HANDLE_CHECKED(Object, accumulator, 2); in RUNTIME_FUNCTION()
132 PrintRegisters(os, true, bytecode_iterator, accumulator); in RUNTIME_FUNCTION()
144 CONVERT_ARG_HANDLE_CHECKED(Object, accumulator, 2); in RUNTIME_FUNCTION()
157 PrintRegisters(os, false, bytecode_iterator, accumulator); in RUNTIME_FUNCTION()
/external/swiftshader/third_party/LLVM/test/CodeGen/X86/
Dphys_subreg_coalesce-2.ll19 %accumulator.01 = phi i32 [ 1, %forcond.preheader ], [ %div, %forbody ] ; <i32> [#uses=1]
22 %mul = mul i32 %n.addr.03, %accumulator.01 ; <i32> [#uses=1]
29 %accumulator.0.lcssa = phi i32 [ 1, %forcond.preheader ], [ %div, %forbody ] ; <i32> [#uses=1]
30 ret i32 %accumulator.0.lcssa

123456