Home
last modified time | relevance | path

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

12345

/external/chromium_org/mojo/public/cpp/bindings/tests/
Dconnector_unittest.cc122 MessageAccumulator accumulator; in TEST_F() local
123 connector1.set_incoming_receiver(&accumulator); in TEST_F()
127 ASSERT_FALSE(accumulator.IsEmpty()); in TEST_F()
130 accumulator.Pop(&message_received); in TEST_F()
148 MessageAccumulator accumulator; in TEST_F() local
149 connector1.set_incoming_receiver(&accumulator); in TEST_F()
153 ASSERT_FALSE(accumulator.IsEmpty()); in TEST_F()
156 accumulator.Pop(&message_received); in TEST_F()
167 MessageAccumulator accumulator; in TEST_F() local
168 connector1.set_incoming_receiver(&accumulator); in TEST_F()
[all …]
/external/chromium_org/sandbox/linux/seccomp-bpf/
Dverifier.cc27 : program(p), data(d), ip(0), accumulator(0), acc_is_valid(false) {} in State()
31 uint32_t accumulator; member
178 memcpy(&state->accumulator, in Ld()
206 if (state->accumulator == insn.k) { in Jmp()
213 if (state->accumulator > insn.k) { in Jmp()
220 if (state->accumulator >= insn.k) { in Jmp()
227 if (state->accumulator & insn.k) { in Jmp()
249 state->accumulator = -state->accumulator; in Alu()
258 state->accumulator += insn.k; in Alu()
261 state->accumulator -= insn.k; in Alu()
[all …]
/external/chromium_org/chrome/common/extensions/docs/examples/apps/calculator/app/
Dcontroller.js71 var values, accumulator, operator, operand;
74 accumulator = values.accumulator;
80 this.view.addResults({accumulator: accumulator, operand: accumulator}); property
82 this.updateValues_({accumulator: accumulator}); property
95 var after = !before.accumulator ? values : {};
97 accumulator: this.getUpdatedValue_(before, after, 'accumulator'), property
101 return !before.accumulator;
Dmodel.js29 return this.reset_({accumulator: result, operator: input}); property
40 return this.reset_({accumulator: result, defaults: defaults}); property
73 this.accumulator = this.operand = this.operator = null;
87 this.accumulator = ifDefined(state && state.accumulator, this.accumulator);
102 var x = Number(this.accumulator) || 0;
104 this.set_({accumulator: String(x), operator: operator, operand: String(y)}); property
/external/chromium_org/third_party/WebKit/Source/wtf/dtoa/
Dfixed-dtoa.cc47 uint64_t accumulator; in Multiply() local
49 accumulator = (low_bits_ & kMask32) * multiplicand; in Multiply()
50 uint32_t part = static_cast<uint32_t>(accumulator & kMask32); in Multiply()
51 accumulator >>= 32; in Multiply()
52 accumulator = accumulator + (low_bits_ >> 32) * multiplicand; in Multiply()
53 low_bits_ = (accumulator << 32) + part; in Multiply()
54 accumulator >>= 32; in Multiply()
55 accumulator = accumulator + (high_bits_ & kMask32) * multiplicand; in Multiply()
56 part = static_cast<uint32_t>(accumulator & kMask32); in Multiply()
57 accumulator >>= 32; in Multiply()
[all …]
/external/chromium_org/v8/src/
Dfixed-dtoa.cc25 uint64_t accumulator; in Multiply() local
27 accumulator = (low_bits_ & kMask32) * multiplicand; in Multiply()
28 uint32_t part = static_cast<uint32_t>(accumulator & kMask32); in Multiply()
29 accumulator >>= 32; in Multiply()
30 accumulator = accumulator + (low_bits_ >> 32) * multiplicand; in Multiply()
31 low_bits_ = (accumulator << 32) + part; in Multiply()
32 accumulator >>= 32; in Multiply()
33 accumulator = accumulator + (high_bits_ & kMask32) * multiplicand; in Multiply()
34 part = static_cast<uint32_t>(accumulator & kMask32); in Multiply()
35 accumulator >>= 32; in Multiply()
[all …]
Dframes.cc1152 void StackFrame::PrintIndex(StringStream* accumulator, in PrintIndex() argument
1155 accumulator->Add((mode == OVERVIEW) ? "%5d: " : "[%d]: ", index); in PrintIndex()
1159 void JavaScriptFrame::Print(StringStream* accumulator, in Print() argument
1166 accumulator->PrintSecurityTokenIfChanged(function); in Print()
1167 PrintIndex(accumulator, mode, index); in Print()
1169 if (IsConstructor()) accumulator->Add("new "); in Print()
1170 accumulator->PrintFunction(function, receiver, &code); in Print()
1181 accumulator->Add(" ["); in Print()
1182 accumulator->PrintName(script->name()); in Print()
1189 accumulator->Add(":%d", line); in Print()
[all …]
/external/chromium_org/v8/test/mjsunit/regress/
Dregress-2326.js34 var accumulator = 0;
36 while (--iterations > 0) accumulator = Math.ceil(accumulator);
39 while (--iterations > 0) accumulator = Math.floor(accumulator);
/external/chromium_org/third_party/WebKit/Source/platform/transforms/
DTransformationMatrix.cpp1177 __m128d accumulator = _mm_mul_pd(matrixBlockA, otherMatrixFirstParam); in multiply()
1187 accumulator = _mm_add_pd(accumulator, temp1); in multiply()
1188 accumulator = _mm_add_pd(accumulator, temp2); in multiply()
1189 accumulator = _mm_add_pd(accumulator, temp3); in multiply()
1190 _mm_store_pd(&m_matrix[0][0], accumulator); in multiply()
1193 accumulator = _mm_mul_pd(matrixBlockB, otherMatrixFirstParam); in multiply()
1198 accumulator = _mm_add_pd(accumulator, temp1); in multiply()
1199 accumulator = _mm_add_pd(accumulator, temp2); in multiply()
1200 accumulator = _mm_add_pd(accumulator, temp3); in multiply()
1201 _mm_store_pd(&m_matrix[0][2], accumulator); in multiply()
[all …]
/external/chromium_org/storage/browser/quota/
Dusage_tracker.cc27 void DidGetOriginUsage(const OriginUsageAccumulator& accumulator, in DidGetOriginUsage() argument
30 accumulator.Run(origin, usage); in DidGetOriginUsage()
121 UsageCallback accumulator = base::Bind( in GetGlobalLimitedUsage() local
128 iter->second->GetGlobalLimitedUsage(accumulator); in GetGlobalLimitedUsage()
131 accumulator.Run(0); in GetGlobalLimitedUsage()
147 GlobalUsageCallback accumulator = base::Bind( in GetGlobalUsage() local
154 iter->second->GetGlobalUsage(accumulator); in GetGlobalUsage()
157 accumulator.Run(0, 0); in GetGlobalUsage()
174 UsageCallback accumulator = base::Bind( in GetHostUsage() local
181 iter->second->GetHostUsage(host, accumulator); in GetHostUsage()
[all …]
/external/chromium_org/extensions/renderer/
Dextension_helper.cc100 ViewAccumulator accumulator(extension_id, browser_window_id, view_type); in GetExtensionViews() local
101 content::RenderView::ForEach(&accumulator); in GetExtensionViews()
102 return accumulator.views(); in GetExtensionViews()
108 ViewAccumulator accumulator(extension_id, extension_misc::kUnknownWindowId, in GetBackgroundPage() local
110 content::RenderView::ForEach(&accumulator); in GetBackgroundPage()
111 CHECK_LE(accumulator.views().size(), 1u); in GetBackgroundPage()
112 if (accumulator.views().size() == 0) in GetBackgroundPage()
114 return accumulator.views()[0]; in GetBackgroundPage()
/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/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/skia/gm/
Ddisplay_json_results.py99 for label, accumulator in results_map.iteritems():
103 accumulator.AddResult(result)
104 print accumulator.GetSummaryLine()
105 if accumulator.ShouldSignalFailure():
/external/chromium_org/third_party/skia/gm/
Ddisplay_json_results.py99 for label, accumulator in results_map.iteritems():
103 accumulator.AddResult(result)
104 print accumulator.GetSummaryLine()
105 if accumulator.ShouldSignalFailure():
/external/chromium_org/third_party/libvpx/source/libvpx/vp8/encoder/
Dtemporal_filter.c94 unsigned int *accumulator, in vp8_temporal_filter_apply_c() argument
128 accumulator[k] += modifier * pixel_value; in vp8_temporal_filter_apply_c()
239 DECLARE_ALIGNED_ARRAY(16, unsigned int, accumulator, 16*16 + 8*8 + 8*8); in vp8_temporal_filter_iterate_c()
275 vpx_memset(accumulator, 0, 384*sizeof(unsigned int)); in vp8_temporal_filter_iterate_c()
339 accumulator, in vp8_temporal_filter_iterate_c()
349 accumulator + 256, in vp8_temporal_filter_iterate_c()
359 accumulator + 320, in vp8_temporal_filter_iterate_c()
372 unsigned int pval = accumulator[k] + (count[k] >> 1); in vp8_temporal_filter_iterate_c()
396 unsigned int pval = accumulator[k] + (count[k] >> 1); in vp8_temporal_filter_iterate_c()
402 pval = accumulator[m] + (count[m] >> 1); in vp8_temporal_filter_iterate_c()
/external/libvpx/libvpx/vp8/encoder/
Dtemporal_filter.c94 unsigned int *accumulator, in vp8_temporal_filter_apply_c() argument
127 accumulator[k] += modifier * pixel_value; in vp8_temporal_filter_apply_c()
238 DECLARE_ALIGNED_ARRAY(16, unsigned int, accumulator, 16*16 + 8*8 + 8*8); in vp8_temporal_filter_iterate_c()
274 vpx_memset(accumulator, 0, 384*sizeof(unsigned int)); in vp8_temporal_filter_iterate_c()
338 accumulator, in vp8_temporal_filter_iterate_c()
348 accumulator + 256, in vp8_temporal_filter_iterate_c()
358 accumulator + 320, in vp8_temporal_filter_iterate_c()
371 unsigned int pval = accumulator[k] + (count[k] >> 1); in vp8_temporal_filter_iterate_c()
395 unsigned int pval = accumulator[k] + (count[k] >> 1); in vp8_temporal_filter_iterate_c()
401 pval = accumulator[m] + (count[m] >> 1); in vp8_temporal_filter_iterate_c()
/external/chromium_org/third_party/WebKit/Source/core/dom/
DChildListMutationScope.cpp77 RefPtrWillBeRawPtr<ChildListMutationAccumulator> accumulator; in getOrCreate() local
79 accumulator = result.storedValue->value; in getOrCreate()
81accumulator = adoptRefWillBeNoop(new ChildListMutationAccumulator(PassRefPtrWillBeRawPtr<Node>(tar… in getOrCreate()
82 result.storedValue->value = accumulator.get(); in getOrCreate()
84 return accumulator.release(); in getOrCreate()
/external/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
/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/libvpx/libvpx/vp9/encoder/
Dvp9_temporal_filter.c89 unsigned int *accumulator, in vp9_temporal_filter_apply_c() argument
116 accumulator[k] += modifier * pixel_value; in vp9_temporal_filter_apply_c()
203 DECLARE_ALIGNED_ARRAY(16, unsigned int, accumulator, 16 * 16 * 3); in temporal_filter_iterate_c()
243 vpx_memset(accumulator, 0, 16 * 16 * 3 * sizeof(accumulator[0])); in temporal_filter_iterate_c()
298 accumulator, count); in temporal_filter_iterate_c()
302 filter_weight, accumulator + 256, in temporal_filter_iterate_c()
307 filter_weight, accumulator + 512, in temporal_filter_iterate_c()
318 unsigned int pval = accumulator[k] + (count[k] >> 1); in temporal_filter_iterate_c()
340 unsigned int pval = accumulator[k] + (count[k] >> 1); in temporal_filter_iterate_c()
346 pval = accumulator[m] + (count[m] >> 1); in temporal_filter_iterate_c()
/external/chromium_org/third_party/libvpx/source/libvpx/vp9/encoder/
Dvp9_temporal_filter.c99 unsigned int *accumulator, in vp9_temporal_filter_apply_c() argument
127 accumulator[k] += modifier * pixel_value; in vp9_temporal_filter_apply_c()
207 DECLARE_ALIGNED_ARRAY(16, unsigned int, accumulator, 16 * 16 * 3); in temporal_filter_iterate_c()
243 vpx_memset(accumulator, 0, 16 * 16 * 3 * sizeof(accumulator[0])); in temporal_filter_iterate_c()
293 accumulator, count); in temporal_filter_iterate_c()
297 filter_weight, accumulator + 256, in temporal_filter_iterate_c()
302 filter_weight, accumulator + 512, in temporal_filter_iterate_c()
313 unsigned int pval = accumulator[k] + (count[k] >> 1); in temporal_filter_iterate_c()
334 unsigned int pval = accumulator[k] + (count[k] >> 1); in temporal_filter_iterate_c()
340 pval = accumulator[m] + (count[m] >> 1); in temporal_filter_iterate_c()
/external/llvm/examples/OCaml-Kaleidoscope/Chapter5/
Dparser.ml29 let rec parse_args accumulator = parser
32 | [< 'Token.Kwd ','; e=parse_args (e :: accumulator) >] -> e
33 | [< >] -> e :: accumulator
35 | [< >] -> accumulator
129 let rec parse_args accumulator = parser
130 | [< 'Token.Ident id; e=parse_args (id::accumulator) >] -> e
131 | [< >] -> accumulator
/external/chromium_org/v8/test/webkit/
Darray-every.js96 var accumulator = new Array(); variable
98 accumulator.push(element);
103 accumulator.length = 0;

12345