Searched refs:frames (Results 1 - 25 of 308) sorted by relevance

1234567891011>>

/external/v8/test/mjsunit/
H A Deval-stack-trace.js28 // Return the stack frames of an Error object.
30 Error.prepareStackTrace = function(error, frames) {
31 return frames;
35 var frames = this.stack;
36 return frames;
45 Array.prototype.verifyEquals = function(frames, func_name) {
48 var frame = frames[index];
57 Array.prototype.verifyContains = function(frames, func_name) {
60 var frame = frames[index];
69 Array.prototype.verifyUndefined = function(frames, func_nam
[all...]
H A Dregress-crbug-528379.js7 Error.prepareStackTrace = function(e, frames) { return frames; }
H A Dstack-traces-custom.js17 Error.prepareStackTrace = function(e, frames) { return frames; };
18 var frames = e.stack;
20 assertEquals("f", frames[0].getMethodName());
21 assertEquals(null, frames[1].getMethodName());
22 assertEquals("h", frames[2].getMethodName());
23 assertEquals("j", frames[3].getMethodName());
24 assertEquals("k", frames[4].getMethodName());
25 assertEquals(null, frames[5].getMethodName());
H A 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[
[all...]
/external/v8/test/mjsunit/regress/
H A Dregress-596718.js5 Error.prepareStackTrace = function(e, frames) { return frames; }
8 Error.prepareStackTrace = function(e, frames) { return frames.map(frame => new Proxy(frame, {})); }
11 Error.prepareStackTrace = function(e, frames) { return frames; }
H A Dregress-crbug-610207.js5 Error.prepareStackTrace = function(exception, frames) {
6 return frames[0].getEvalOrigin();
H A Dregress-crbug-505370.js16 Error.prepareStackTrace = function(exception, frames) { return frames; };
17 var frames = e.stack;
19 method_name = frames[0].getMethodName();
H A Dregress-2564.js33 Error.prepareStackTrace = function(error, frames) {
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
[all...]
/external/webrtc/webrtc/common_audio/
H A Daudio_ring_buffer.cc32 size_t frames) {
35 const size_t written = WebRtc_WriteBuffer(buffers_[i], data[i], frames);
36 RTC_CHECK_EQ(written, frames);
40 void AudioRingBuffer::Read(float* const* data, size_t channels, size_t frames) { argument
44 WebRtc_ReadBuffer(buffers_[i], nullptr, data[i], frames);
45 RTC_CHECK_EQ(read, frames);
59 void AudioRingBuffer::MoveReadPositionForward(size_t frames) { argument
62 static_cast<size_t>(WebRtc_MoveReadPtr(buf, static_cast<int>(frames)));
63 RTC_CHECK_EQ(moved, frames);
67 void AudioRingBuffer::MoveReadPositionBackward(size_t frames) { argument
31 Write(const float* const* data, size_t channels, size_t frames) argument
[all...]
H A Daudio_ring_buffer.h25 // Specify the number of channels and maximum number of frames the buffer will
32 void Write(const float* const* data, size_t channels, size_t frames);
36 void Read(float* const* data, size_t channels, size_t frames);
45 void MoveReadPositionForward(size_t frames);
46 void MoveReadPositionBackward(size_t frames);
/external/v8/test/mjsunit/wasm/
H A Dstack.js16 function verifyStack(frames, expected) {
17 assertEquals(expected.length, frames.length, "number of frames mismatch");
19 assertEquals(exp[1], frames[i].getFunctionName(),
21 assertEquals(exp[2], frames[i].getLineNumber(), "["+i+"].getLineNumber()");
23 assertEquals(exp[3], frames[i].getPosition(),
25 assertContains(exp[4], frames[i].getFileName(), "["+i+"].getFileName()");
32 assertContains(toString, frames[i].toString(), "["+i+"].toString()");
61 // Call the mem_out_of_bounds function, in order to have two WASM stack frames.
82 Error.prepareStackTrace = function(error, frames) {
[all...]
/external/libchrome/base/trace_event/
H A Dheap_profiler_allocation_context.cc22 for (size_t i = 0; i < arraysize(ctx.backtrace.frames); i++)
23 ctx.backtrace.frames[i] = nullptr;
31 // Pointer equality of the stack frames is assumed, so instead of doing a deep
32 // string comparison on all of the frames, a |memcmp| suffices.
33 return std::memcmp(lhs.frames, rhs.frames, sizeof(lhs.frames)) == 0;
49 std::string(reinterpret_cast<const char*>(backtrace.frames),
50 sizeof(backtrace.frames)));
/external/replicaisland/src/com/replica/replicaisland/
H A DSpriteAnimation.java45 final FixedSizeArray<AnimationFrame> frames = mFrames;
46 assert frames.getCount() == frames.getCapacity();
47 final int frameCount = frames.getCount();
48 result = frames.get(frameCount - 1);
58 // When there are very few frames it's actually slower to do a binary search
66 result = frames.get(index);
69 AnimationFrame frame = frames.get(x);
/external/compiler-rt/test/asan/TestCases/Darwin/
H A Dcrashlog-stacktraces.c18 int i, frames = backtrace(callstack, 128); local
19 char** strs = backtrace_symbols(callstack, frames);
20 for (i = 0; i < frames; ++i) {
/external/google-breakpad/src/processor/
H A Dstackwalker_address_list.cc50 const uint64_t* frames,
55 frames_(frames),
57 assert(frames);
78 size_t frame_index = stack->frames()->size();
80 // There are no more frames to fetch.
84 // All frames have the highest level of trust because they were
49 StackwalkerAddressList( const uint64_t* frames, size_t frame_count, const CodeModules* modules, StackFrameSymbolizer* frame_symbolizer) argument
H A Dstackwalker_address_list_unittest.cc107 const std::vector<StackFrame*>* frames = call_stack.frames(); local
108 ASSERT_EQ(arraysize(kDummyFrames), frames->size());
110 ASSERT_EQ(kDummyFrames[i], frames->at(i)->instruction);
111 ASSERT_EQ(StackFrame::FRAME_TRUST_PREWALKED, frames->at(i)->trust);
113 ASSERT_EQ(static_cast<const CodeModule*>(&module2), frames->at(0)->module);
114 ASSERT_EQ(static_cast<const CodeModule*>(&module2), frames->at(1)->module);
115 ASSERT_EQ(static_cast<const CodeModule*>(&module2), frames->at(2)->module);
116 ASSERT_EQ(static_cast<const CodeModule*>(&module1), frames->at(3)->module);
117 ASSERT_EQ(static_cast<const CodeModule*>(&module1), frames
177 const std::vector<StackFrame*>* frames = call_stack.frames(); local
[all...]
H A Dstackwalker_amd64.h32 // Provides stack frames given amd64 register context and a memory region
76 // the frame that called frames.back(). The caller takes ownership
78 StackFrameAMD64* GetCallerByCFIFrameInfo(const vector<StackFrame*> &frames,
87 const vector<StackFrame*>& frames);
91 StackFrameAMD64* GetCallerByStackScan(const vector<StackFrame*> &frames);
H A Dstackwalker_arm.h34 // Provides stack frames given arm register context and a memory region
76 // the frame that called frames.back(). The caller takes ownership
78 StackFrameARM* GetCallerByCFIFrameInfo(const vector<StackFrame*> &frames,
83 StackFrameARM* GetCallerByFramePointer(const vector<StackFrame*> &frames);
87 StackFrameARM* GetCallerByStackScan(const vector<StackFrame*> &frames);
H A Dstackwalker_arm64.h34 // Provides stack frames given arm64 register context and a memory region
77 // the frame that called frames.back(). The caller takes ownership
79 StackFrameARM64* GetCallerByCFIFrameInfo(const vector<StackFrame*> &frames,
84 StackFrameARM64* GetCallerByFramePointer(const vector<StackFrame*> &frames);
88 StackFrameARM64* GetCallerByStackScan(const vector<StackFrame*> &frames);
H A Dstackwalker_x86.h34 // Provides stack frames given x86 register context and a memory region
81 // to construct the frame that called frames.back(). The caller
84 const vector<StackFrame*> &frames,
89 // the frame that called frames.back(). The caller takes ownership
91 StackFrameX86* GetCallerByCFIFrameInfo(const vector<StackFrame*> &frames,
97 // frames.back(). The caller takes ownership of the returned frame.
99 StackFrameX86* GetCallerByEBPAtBase(const vector<StackFrame*> &frames,
H A Dstackwalker_mips.h32 // Provides stack frames given MIPS register context and a memory region
69 // the frame that called frames.back(). The caller takes ownership
71 StackFrameMIPS* GetCallerByCFIFrameInfo(const vector<StackFrame*>& frames,
76 StackFrameMIPS* GetCallerByStackScan(const vector<StackFrame*>& frames);
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/
H A DShadowAnimationDrawable.java14 private List<Drawable> frames = new ArrayList<Drawable>(); field in class:ShadowAnimationDrawable
19 frames.add(frame);
24 return frames.size();
37 return frames;
/external/e2fsprogs/debian/scripts/
H A Dtest-backtrace15 int frames;
17 frames = backtrace(stack_syms, 32);
18 backtrace_symbols_fd(stack_syms, frames, 0);
/external/webrtc/webrtc/common_audio/resampler/
H A Dpush_sinc_resampler.cc81 void PushSincResampler::Run(size_t frames, float* destination) { argument
84 RTC_CHECK_EQ(source_available_, frames);
89 std::memset(destination, 0, frames * sizeof(*destination));
95 std::memcpy(destination, source_ptr_, frames * sizeof(*destination));
97 for (size_t i = 0; i < frames; ++i)
100 source_available_ -= frames;
/external/elfutils/src/
H A Dstack.c1 /* Unwinding of frames like gstack/pstack.
64 struct frames struct
66 int frames; member in struct:frames
97 /* Whether any frames have been shown at all. Determines exit status. */
100 /* Program exit codes. All frames shown without any errors is GOOD.
101 Some frames shown with some non-fatal errors is an ERROR. A fatal
102 error or no frames shown at all is BAD. A command line USAGE exit
176 struct frames *frames = (struct frames *) ar local
360 print_frames(struct frames *frames, pid_t tid, int dwflerr, const char *what) argument
454 struct frames *frames = (struct frames *) thread_arg; local
703 struct frames frames; local
[all...]

Completed in 649 milliseconds

1234567891011>>