Home
last modified time | relevance | path

Searched refs:frames (Results 1 – 25 of 317) sorted by relevance

12345678910>>...13

/external/v8/test/mjsunit/
Deval-stack-trace.js30 Error.prepareStackTrace = function(error, frames) { argument
31 return frames;
35 var frames = this.stack;
36 return frames;
45 Array.prototype.verifyEquals = function(frames, func_name) { argument
48 var frame = frames[index];
57 Array.prototype.verifyContains = function(frames, func_name) { argument
60 var frame = frames[index];
69 Array.prototype.verifyUndefined = function(frames, func_name) { argument
72 var frame = frames[index];
[all …]
Ddebug-backtrace.js109 var frames = backtrace.frames;
110 assertEquals(4, frames.length);
111 for (var i = 0; i < frames.length; i++) {
112 assertEquals('frame', frames[i].type);
114 assertEquals(0, frames[0].index);
115 assertEquals("f", response.lookup(frames[0].func.ref).name);
116 assertEquals(1, frames[1].index);
117 assertEquals("", response.lookup(frames[1].func.ref).name);
118 assertEquals("m", response.lookup(frames[1].func.ref).inferredName);
119 assertEquals(2, frames[2].index);
[all …]
/external/v8/test/mjsunit/regress/
Dregress-2564.js33 Error.prepareStackTrace = function(error, frames) { argument
36 assertEquals(5, frames.length);
38 for (var i = 0; i < frames.length - 1; i++) {
39 assertEquals(o[i], frames[i].getFunction());
40 assertEquals(o, frames[i].getThis());
42 assertEquals(undefined, frames[i].receiver);
43 assertEquals(undefined, frames[i].fun);
44 assertEquals(undefined, frames[i].pos);
64 Error.prepareStackTrace = function(error, frames) {
67 assertEquals(5, frames.length);
[all …]
/external/google-breakpad/src/processor/
Dstackwalker_address_list_unittest.cc107 const std::vector<StackFrame*>* frames = call_stack.frames(); in CheckCallStack() local
108 ASSERT_EQ(arraysize(kDummyFrames), frames->size()); in CheckCallStack()
110 ASSERT_EQ(kDummyFrames[i], frames->at(i)->instruction); in CheckCallStack()
111 ASSERT_EQ(StackFrame::FRAME_TRUST_PREWALKED, frames->at(i)->trust); in CheckCallStack()
113 ASSERT_EQ(static_cast<const CodeModule*>(&module2), frames->at(0)->module); in CheckCallStack()
114 ASSERT_EQ(static_cast<const CodeModule*>(&module2), frames->at(1)->module); in CheckCallStack()
115 ASSERT_EQ(static_cast<const CodeModule*>(&module2), frames->at(2)->module); in CheckCallStack()
116 ASSERT_EQ(static_cast<const CodeModule*>(&module1), frames->at(3)->module); in CheckCallStack()
117 ASSERT_EQ(static_cast<const CodeModule*>(&module1), frames->at(4)->module); in CheckCallStack()
177 const std::vector<StackFrame*>* frames = call_stack.frames(); in TEST_F() local
[all …]
Dstackwalker_mips_unittest.cc142 const vector<StackFrame*>* frames; member in StackwalkerMIPSFixture
165 frames = call_stack.frames(); in TEST_F()
166 ASSERT_EQ(1U, frames->size()); in TEST_F()
167 StackFrameMIPS* frame = static_cast<StackFrameMIPS*>(frames->at(0)); in TEST_F()
192 frames = call_stack.frames(); in TEST_F()
193 StackFrameMIPS* frame = static_cast<StackFrameMIPS*>(frames->at(0)); in TEST_F()
215 frames = call_stack.frames(); in TEST_F()
216 StackFrameMIPS* frame = static_cast<StackFrameMIPS*>(frames->at(0)); in TEST_F()
271 frames = call_stack.frames(); in TEST_F()
272 ASSERT_EQ(3U, frames->size()); in TEST_F()
[all …]
Dstackwalker_arm_unittest.cc142 const vector<StackFrame *> *frames; member in StackwalkerARMFixture
161 frames = call_stack.frames(); in TEST_F()
162 ASSERT_EQ(1U, frames->size()); in TEST_F()
163 StackFrameARM *frame = static_cast<StackFrameARM *>(frames->at(0)); in TEST_F()
184 frames = call_stack.frames(); in TEST_F()
185 ASSERT_EQ(1U, frames->size()); in TEST_F()
186 StackFrameARM *frame = static_cast<StackFrameARM *>(frames->at(0)); in TEST_F()
204 frames = call_stack.frames(); in TEST_F()
205 ASSERT_EQ(1U, frames->size()); in TEST_F()
206 StackFrameARM *frame = static_cast<StackFrameARM *>(frames->at(0)); in TEST_F()
[all …]
Dstackwalker_amd64_unittest.cc140 const vector<StackFrame *> *frames; member in StackwalkerAMD64Fixture
166 frames = call_stack.frames(); in TEST_F()
167 ASSERT_GE(1U, frames->size()); in TEST_F()
168 StackFrameAMD64 *frame = static_cast<StackFrameAMD64 *>(frames->at(0)); in TEST_F()
192 frames = call_stack.frames(); in TEST_F()
193 ASSERT_GE(1U, frames->size()); in TEST_F()
194 StackFrameAMD64 *frame = static_cast<StackFrameAMD64 *>(frames->at(0)); in TEST_F()
216 frames = call_stack.frames(); in TEST_F()
217 ASSERT_GE(1U, frames->size()); in TEST_F()
218 StackFrameAMD64 *frame = static_cast<StackFrameAMD64 *>(frames->at(0)); in TEST_F()
[all …]
Dstackwalker_arm64_unittest.cc141 const vector<StackFrame *> *frames; member in StackwalkerARM64Fixture
159 frames = call_stack.frames(); in TEST_F()
160 ASSERT_EQ(1U, frames->size()); in TEST_F()
161 StackFrameARM64 *frame = static_cast<StackFrameARM64 *>(frames->at(0)); in TEST_F()
181 frames = call_stack.frames(); in TEST_F()
182 ASSERT_EQ(1U, frames->size()); in TEST_F()
183 StackFrameARM64 *frame = static_cast<StackFrameARM64 *>(frames->at(0)); in TEST_F()
236 frames = call_stack.frames(); in TEST_F()
237 ASSERT_EQ(3U, frames->size()); in TEST_F()
239 StackFrameARM64 *frame0 = static_cast<StackFrameARM64 *>(frames->at(0)); in TEST_F()
[all …]
Dstackwalker_x86_unittest.cc153 const vector<StackFrame *> *frames; member in StackwalkerX86Fixture
176 frames = call_stack.frames(); in TEST_F()
177 StackFrameX86 *frame = static_cast<StackFrameX86 *>(frames->at(0)); in TEST_F()
202 frames = call_stack.frames(); in TEST_F()
203 StackFrameX86 *frame = static_cast<StackFrameX86 *>(frames->at(0)); in TEST_F()
225 frames = call_stack.frames(); in TEST_F()
226 StackFrameX86 *frame = static_cast<StackFrameX86 *>(frames->at(0)); in TEST_F()
267 frames = call_stack.frames(); in TEST_F()
268 ASSERT_EQ(2U, frames->size()); in TEST_F()
271 StackFrameX86 *frame0 = static_cast<StackFrameX86 *>(frames->at(0)); in TEST_F()
[all …]
Dmicrodump_processor_unittest.cc134 ASSERT_EQ(12U, state.threads()->at(0)->frames()->size()); in TEST_F()
137 state.threads()->at(0)->frames()->at(0)->function_name); in TEST_F()
139 state.threads()->at(0)->frames()->at(3)->function_name); in TEST_F()
163 ASSERT_EQ(8U, state.threads()->at(0)->frames()->size()); in TEST_F()
165 state.threads()->at(0)->frames()->at(0)->function_name); in TEST_F()
167 state.threads()->at(0)->frames()->at(1)->function_name); in TEST_F()
169 state.threads()->at(0)->frames()->at(6)->function_name); in TEST_F()
171 state.threads()->at(0)->frames()->at(6)->module->code_file()); in TEST_F()
181 ASSERT_EQ(9U, state.threads()->at(0)->frames()->size()); in TEST_F()
183 state.threads()->at(0)->frames()->at(0)->function_name); in TEST_F()
[all …]
Dstackwalker_arm64.cc79 const vector<StackFrame*> &frames, in GetCallerByCFIFrameInfo() argument
81 StackFrameARM64* last_frame = static_cast<StackFrameARM64*>(frames.back()); in GetCallerByCFIFrameInfo()
155 const vector<StackFrame*> &frames) { in GetCallerByStackScan() argument
156 StackFrameARM64* last_frame = static_cast<StackFrameARM64*>(frames.back()); in GetCallerByStackScan()
161 frames.size() == 1 /* is_context_frame */)) { in GetCallerByStackScan()
186 const vector<StackFrame*> &frames) { in GetCallerByFramePointer() argument
187 StackFrameARM64* last_frame = static_cast<StackFrameARM64*>(frames.back()); in GetCallerByFramePointer()
233 const vector<StackFrame*> &frames = *stack->frames(); in GetCallerFrame() local
234 StackFrameARM64* last_frame = static_cast<StackFrameARM64*>(frames.back()); in GetCallerFrame()
241 frame.reset(GetCallerByCFIFrameInfo(frames, cfi_frame_info.get())); in GetCallerFrame()
[all …]
Dminidump_processor_unittest.cc423 ASSERT_EQ(stack->frames()->size(), 4U); in TEST_F()
425 ASSERT_TRUE(stack->frames()->at(0)->module); in TEST_F()
426 ASSERT_EQ(stack->frames()->at(0)->module->base_address(), 0x400000U); in TEST_F()
427 ASSERT_EQ(stack->frames()->at(0)->module->code_file(), "c:\\test_app.exe"); in TEST_F()
428 ASSERT_EQ(stack->frames()->at(0)->function_name, in TEST_F()
430 ASSERT_EQ(stack->frames()->at(0)->source_file_name, "c:\\test_app.cc"); in TEST_F()
431 ASSERT_EQ(stack->frames()->at(0)->source_line, 58); in TEST_F()
433 ASSERT_TRUE(stack->frames()->at(1)->module); in TEST_F()
434 ASSERT_EQ(stack->frames()->at(1)->module->base_address(), 0x400000U); in TEST_F()
435 ASSERT_EQ(stack->frames()->at(1)->module->code_file(), "c:\\test_app.exe"); in TEST_F()
[all …]
Dstackwalker_amd64.cc129 const vector<StackFrame*> &frames, in GetCallerByCFIFrameInfo() argument
131 StackFrameAMD64* last_frame = static_cast<StackFrameAMD64*>(frames.back()); in GetCallerByCFIFrameInfo()
151 const vector<StackFrame*>& frames) { in GetCallerByFramePointerRecovery() argument
152 StackFrameAMD64* last_frame = static_cast<StackFrameAMD64*>(frames.back()); in GetCallerByFramePointerRecovery()
197 const vector<StackFrame*> &frames) { in GetCallerByStackScan() argument
198 StackFrameAMD64* last_frame = static_cast<StackFrameAMD64*>(frames.back()); in GetCallerByStackScan()
203 frames.size() == 1 /* is_context_frame */)) { in GetCallerByStackScan()
253 const vector<StackFrame*> &frames = *stack->frames(); in GetCallerFrame() local
254 StackFrameAMD64* last_frame = static_cast<StackFrameAMD64*>(frames.back()); in GetCallerFrame()
261 new_frame.reset(GetCallerByCFIFrameInfo(frames, cfi_frame_info.get())); in GetCallerFrame()
[all …]
Dstackwalker_x86.cc139 const vector<StackFrame*> &frames, in GetCallerByWindowsFrameInfo() argument
144 StackFrameX86* last_frame = static_cast<StackFrameX86*>(frames.back()); in GetCallerByWindowsFrameInfo()
189 int frames_already_walked = frames.size(); in GetCallerByWindowsFrameInfo()
192 = static_cast<StackFrameX86*>(frames[frames_already_walked - 2]); in GetCallerByWindowsFrameInfo()
380 frames.size() == 1 /* is_context_frame */)) { in GetCallerByWindowsFrameInfo()
424 frames.size() == 1 /* is_context_frame */)) { in GetCallerByWindowsFrameInfo()
507 const vector<StackFrame*> &frames, in GetCallerByCFIFrameInfo() argument
509 StackFrameX86* last_frame = static_cast<StackFrameX86*>(frames.back()); in GetCallerByCFIFrameInfo()
532 const vector<StackFrame*> &frames, in GetCallerByEBPAtBase() argument
535 StackFrameX86* last_frame = static_cast<StackFrameX86*>(frames.back()); in GetCallerByEBPAtBase()
[all …]
Dstackwalker_arm.cc80 const vector<StackFrame*> &frames, in GetCallerByCFIFrameInfo() argument
82 StackFrameARM* last_frame = static_cast<StackFrameARM*>(frames.back()); in GetCallerByCFIFrameInfo()
164 const vector<StackFrame*> &frames) { in GetCallerByStackScan() argument
165 StackFrameARM* last_frame = static_cast<StackFrameARM*>(frames.back()); in GetCallerByStackScan()
170 frames.size() == 1 /* is_context_frame */)) { in GetCallerByStackScan()
195 const vector<StackFrame*> &frames) { in GetCallerByFramePointer() argument
196 StackFrameARM* last_frame = static_cast<StackFrameARM*>(frames.back()); in GetCallerByFramePointer()
247 const vector<StackFrame*> &frames = *stack->frames(); in GetCallerFrame() local
248 StackFrameARM* last_frame = static_cast<StackFrameARM*>(frames.back()); in GetCallerFrame()
255 frame.reset(GetCallerByCFIFrameInfo(frames, cfi_frame_info.get())); in GetCallerFrame()
[all …]
Dstackwalker_mips.cc95 const vector<StackFrame*>& frames, in GetCallerByCFIFrameInfo() argument
97 StackFrameMIPS* last_frame = static_cast<StackFrameMIPS*>(frames.back()); in GetCallerByCFIFrameInfo()
175 const vector<StackFrame*>& frames = *stack->frames(); in GetCallerFrame() local
176 StackFrameMIPS* last_frame = static_cast<StackFrameMIPS*>(frames.back()); in GetCallerFrame()
183 new_frame.reset(GetCallerByCFIFrameInfo(frames, cfi_frame_info.get())); in GetCallerFrame()
187 new_frame.reset(GetCallerByStackScan(frames)); in GetCallerFrame()
212 const vector<StackFrame*>& frames) { in GetCallerByStackScan() argument
216 StackFrameMIPS* last_frame = static_cast<StackFrameMIPS*>(frames.back()); in GetCallerByStackScan()
230 if (frames.size() > 1) { in GetCallerByStackScan()
/external/elfutils/src/src/
Dstack.c64 struct frames struct
66 int frames; argument
176 struct frames *frames = (struct frames *) arg; in frame_callback() local
177 int nr = frames->frames; in frame_callback()
178 if (! dwfl_frame_pc (state, &frames->frame[nr].pc, in frame_callback()
179 &frames->frame[nr].isactivation)) in frame_callback()
182 frames->frames++; in frame_callback()
183 if (frames->frames == maxframes) in frame_callback()
186 if (frames->frames == frames->allocated) in frame_callback()
188 frames->allocated *= 2; in frame_callback()
[all …]
/external/jmonkeyengine/engine/src/core/com/jme3/animation/
DPoseTrack.java50 private PoseFrame[] frames; field in PoseTrack
97 public PoseTrack(int targetMeshIndex, float[] times, PoseFrame[] frames){ in PoseTrack() argument
100 this.frames = frames; in PoseTrack()
104 PoseFrame frame = frames[frameIndex]; in applyFrame()
159 if (this.frames != null) { in clone()
160 result.frames = new PoseFrame[this.frames.length]; in clone()
161 for (int i = 0; i < this.frames.length; ++i) { in clone()
162 result.frames[i] = this.frames[i].clone(); in clone()
175 out.write(frames, "frames", null); in write()
183 frames = (PoseFrame[]) in.readSavableArray("frames", null); in read()
/external/replicaisland/src/com/replica/replicaisland/
DSpriteAnimation.java45 final FixedSizeArray<AnimationFrame> frames = mFrames; in getFrame() local
46 assert frames.getCount() == frames.getCapacity(); in getFrame()
47 final int frameCount = frames.getCount(); in getFrame()
48 result = frames.get(frameCount - 1); in getFrame()
66 result = frames.get(index); in getFrame()
69 AnimationFrame frame = frames.get(x); in getFrame()
/external/tinyalsa/
Dpcm.c325 unsigned int pcm_frames_to_bytes(struct pcm *pcm, unsigned int frames) in pcm_frames_to_bytes() argument
327 return frames * pcm->config.channels * in pcm_frames_to_bytes()
403 unsigned int frames) in pcm_areas_copy() argument
405 int size_bytes = pcm_frames_to_bytes(pcm, frames); in pcm_areas_copy()
426 unsigned int pcm_offset, frames, count = 0; in pcm_mmap_transfer_areas() local
429 frames = size; in pcm_mmap_transfer_areas()
430 pcm_mmap_begin(pcm, &pcm_areas, &pcm_offset, &frames); in pcm_mmap_transfer_areas()
431 pcm_areas_copy(pcm, pcm_offset, buf, offset, frames); in pcm_mmap_transfer_areas()
432 commit = pcm_mmap_commit(pcm, pcm_offset, frames); in pcm_mmap_transfer_areas()
434 oops(pcm, commit, "failed to commit %d frames\n", frames); in pcm_mmap_transfer_areas()
[all …]
/external/webrtc/test/testsupport/metrics/
Dvideo_metrics.cc50 result->frames.push_back(frame_result); in CalculateFrame()
55 if (result == NULL || result->frames.size() == 0) { in CalculateStats()
61 for (iter = result->frames.begin(); iter != result->frames.end(); ++iter) { in CalculateStats()
64 result->average = metrics_values_sum / result->frames.size(); in CalculateStats()
67 iter = min_element(result->frames.begin(), result->frames.end(), in CalculateStats()
71 iter = max_element(result->frames.begin(), result->frames.end(), in CalculateStats()
/external/libvpx/libvpx/test/
Dencode_perf_test.cc32 frames(frames_) {} in EncodePerfTestVideo()
37 int frames; member
134 const unsigned frames = kVP9EncodePerfTestVectors[i].frames; in TEST_P() local
141 kVP9EncodePerfTestVectors[i].frames); in TEST_P()
151 const double fps = frames / elapsed_secs; in TEST_P()
159 printf("\t\"totalFrames\" : %u,\n", frames); in TEST_P()
/external/libvpx/libvpx/examples/
Dresize_util.c47 int f, frames; in main() local
82 frames = atoi(argv[5]); in main()
84 frames = INT_MAX; in main()
90 if (frames == INT_MAX) in main()
93 printf("%d\n", frames); in main()
102 while (f < frames) { in main()
/external/libunwind/src/x86_64/
DGtrace.c40 unw_tdep_frame_t *frames; member
71 munmap (cache->frames, (1u << cache->log_size) * sizeof(unw_tdep_frame_t)); in trace_cache_free()
88 unw_tdep_frame_t *frames; in trace_cache_buckets() local
91 GET_MEMORY(frames, n * sizeof (unw_tdep_frame_t)); in trace_cache_buckets()
92 if (likely(frames != NULL)) in trace_cache_buckets()
94 frames[i] = empty_frame; in trace_cache_buckets()
96 return frames; in trace_cache_buckets()
122 if (! (cache->frames = trace_cache_buckets(1u << HASH_MIN_BITS))) in trace_cache_create()
153 munmap(cache->frames, old_size * sizeof(unw_tdep_frame_t)); in trace_cache_expand()
154 cache->frames = new_frames; in trace_cache_expand()
[all …]
/external/libvpx/libvpx/vp9/encoder/
Dvp9_temporal_filter.c206 YV12_BUFFER_CONFIG *f = cpi->frames[alt_ref_index]; in temporal_filter_iterate_c()
250 if (cpi->frames[frame] == NULL) in temporal_filter_iterate_c()
261 cpi->frames[alt_ref_index]->y_buffer + mb_y_offset, in temporal_filter_iterate_c()
262 cpi->frames[frame]->y_buffer + mb_y_offset, in temporal_filter_iterate_c()
263 cpi->frames[frame]->y_stride); in temporal_filter_iterate_c()
275 cpi->frames[frame]->y_buffer + mb_y_offset, in temporal_filter_iterate_c()
276 cpi->frames[frame]->u_buffer + mb_uv_offset, in temporal_filter_iterate_c()
277 cpi->frames[frame]->v_buffer + mb_uv_offset, in temporal_filter_iterate_c()
278 cpi->frames[frame]->y_stride, in temporal_filter_iterate_c()
436 vp9_zero(cpi->frames); in vp9_temporal_filter()
[all …]

12345678910>>...13