Home
last modified time | relevance | path

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

12345678910>>...19

/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 …]
Dstack-traces-custom.js10 Error.prepareStackTrace = function(e, frames) { return frames; } argument
15 var frames = e.stack; variable
16 assertEquals("f", frames[0].getMethodName());
17 assertEquals(null, frames[1].getMethodName());
18 assertEquals("h", frames[2].getMethodName());
19 assertEquals(null, frames[3].getMethodName());
/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/elfutils/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/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 …]
/external/webrtc/webrtc/common_audio/
Daudio_ring_buffer.cc32 size_t frames) { in Write() argument
35 const size_t written = WebRtc_WriteBuffer(buffers_[i], data[i], frames); in Write()
36 RTC_CHECK_EQ(written, frames); in Write()
40 void AudioRingBuffer::Read(float* const* data, size_t channels, size_t frames) { in Read() argument
44 WebRtc_ReadBuffer(buffers_[i], nullptr, data[i], frames); in Read()
45 RTC_CHECK_EQ(read, frames); in Read()
59 void AudioRingBuffer::MoveReadPositionForward(size_t frames) { in MoveReadPositionForward() argument
62 static_cast<size_t>(WebRtc_MoveReadPtr(buf, static_cast<int>(frames))); in MoveReadPositionForward()
63 RTC_CHECK_EQ(moved, frames); in MoveReadPositionForward()
67 void AudioRingBuffer::MoveReadPositionBackward(size_t frames) { in MoveReadPositionBackward() argument
[all …]
/external/libvpx/libvpx/vp9/encoder/
Dvp9_temporal_filter.c274 YV12_BUFFER_CONFIG **frames, in temporal_filter_iterate_c() argument
283 int mb_cols = (frames[alt_ref_index]->y_crop_width + 15) >> 4; in temporal_filter_iterate_c()
284 int mb_rows = (frames[alt_ref_index]->y_crop_height + 15) >> 4; in temporal_filter_iterate_c()
290 YV12_BUFFER_CONFIG *f = frames[alt_ref_index]; in temporal_filter_iterate_c()
347 if (frames[frame] == NULL) in temporal_filter_iterate_c()
358 frames[alt_ref_index]->y_buffer + mb_y_offset, in temporal_filter_iterate_c()
359 frames[frame]->y_buffer + mb_y_offset, in temporal_filter_iterate_c()
360 frames[frame]->y_stride); in temporal_filter_iterate_c()
372 frames[frame]->y_buffer + mb_y_offset, in temporal_filter_iterate_c()
373 frames[frame]->u_buffer + mb_uv_offset, in temporal_filter_iterate_c()
[all …]
/external/libchrome/base/trace_event/
Dheap_profiler_allocation_context.cc22 for (size_t i = 0; i < arraysize(ctx.backtrace.frames); i++) in Empty()
23 ctx.backtrace.frames[i] = nullptr; in Empty()
33 return std::memcmp(lhs.frames, rhs.frames, sizeof(lhs.frames)) == 0; in operator ==()
49 std::string(reinterpret_cast<const char*>(backtrace.frames), in operator ()()
50 sizeof(backtrace.frames))); in operator ()()
/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.c324 unsigned int pcm_frames_to_bytes(struct pcm *pcm, unsigned int frames) in pcm_frames_to_bytes() argument
326 return frames * pcm->config.channels * in pcm_frames_to_bytes()
402 unsigned int frames) in pcm_areas_copy() argument
404 int size_bytes = pcm_frames_to_bytes(pcm, frames); in pcm_areas_copy()
425 unsigned int pcm_offset, frames, count = 0; in pcm_mmap_transfer_areas() local
428 frames = size; in pcm_mmap_transfer_areas()
429 pcm_mmap_begin(pcm, &pcm_areas, &pcm_offset, &frames); in pcm_mmap_transfer_areas()
430 pcm_areas_copy(pcm, pcm_offset, buf, offset, frames); in pcm_mmap_transfer_areas()
431 commit = pcm_mmap_commit(pcm, pcm_offset, frames); in pcm_mmap_transfer_areas()
433 oops(pcm, commit, "failed to commit %d frames\n", frames); in pcm_mmap_transfer_areas()
[all …]
/external/opencv3/3rdparty/jinja2/
Ddebug.py83 def __init__(self, exc_type, exc_value, frames): argument
84 assert frames, 'no frames for this traceback?'
87 self.frames = frames
91 for tb in self.frames:
100 self.frames[0], limit=limit)
119 return self.exc_type, self.exc_value, self.frames[0]
124 tb = self.frames[0]
159 frames = []
186 frames.append(make_frame_proxy(tb))
192 if not frames:
[all …]
/external/webrtc/webrtc/sound/
Dalsasoundsystem.cc97 snd_pcm_sframes_t frames; in Wait() local
102 frames = symbol_table()->snd_pcm_avail_update()(handle_); in Wait()
103 if (frames < 0) { in Wait()
104 LOG(LS_ERROR) << "snd_pcm_avail_update(): " << GetError(frames); in Wait()
105 Recover(frames); in Wait()
107 } else if (frames > 0) { in Wait()
109 return frames; in Wait()
125 frames = symbol_table()->snd_pcm_avail_update()(handle_); in Wait()
126 if (frames < 0) { in Wait()
127 LOG(LS_ERROR) << "snd_pcm_avail_update(): " << GetError(frames); in Wait()
[all …]
/external/webrtc/webrtc/common_audio/resampler/
Dpush_sinc_resampler.cc81 void PushSincResampler::Run(size_t frames, float* destination) { in Run() argument
84 RTC_CHECK_EQ(source_available_, frames); in Run()
89 std::memset(destination, 0, frames * sizeof(*destination)); in Run()
95 std::memcpy(destination, source_ptr_, frames * sizeof(*destination)); in Run()
97 for (size_t i = 0; i < frames; ++i) in Run()
100 source_available_ -= frames; in Run()

12345678910>>...19