/external/chromium_org/v8/test/mjsunit/ |
H A D | eval-stack-trace.js | 28 // 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 D | debug-backtrace.js | 109 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/chromium_org/media/base/ |
H A D | audio_block_fifo_unittest.cc | 47 EXPECT_GT(bus->channel(i)[bus->frames() - 1], 0.0f); 58 const int frames = 128; local 60 AudioBlockFifo fifo(channels, frames, blocks); 62 EXPECT_EQ(frames * blocks, fifo.GetUnfilledFrames()); 68 const int frames = 128; local 70 AudioBlockFifo fifo(channels, frames, blocks); 72 // Push frames / 2 of data until FIFO is full. 73 PushAndVerify(&fifo, frames / 2, channels, frames, frames * block 89 const int frames = 441; local 153 static const int frames = 441; local 172 const int frames = 441; local [all...] |
H A D | audio_pull_fifo.cc | 14 AudioPullFifo::AudioPullFifo(int channels, int frames, const ReadCB& read_cb) argument 16 fifo_(AudioBus::Create(channels, frames)), 17 fifo_index_(frames) {} 22 DCHECK_LE(frames_to_consume, destination->frames()); 31 // Get the remaining audio frames from the producer using the callback. 33 DCHECK_EQ(fifo_index_, fifo_->frames()); 47 void AudioPullFifo::Clear() { fifo_index_ = fifo_->frames(); } 52 int frames = std::min(frames_to_provide, fifo_->frames() - fifo_index_); local 53 if (frames < [all...] |
H A D | audio_buffer_queue.h | 36 // Reads a maximum of |frames| frames into |dest| from the current position. 37 // Returns the number of frames read. The current position will advance by the 38 // amount of frames read. |dest_frame_offset| specifies a starting offset into 39 // |dest|. On each call, the frames are converted from their source format 41 int ReadFrames(int frames, int dest_frame_offset, AudioBus* dest); 43 // Copies up to |frames| frames from current position to |dest|. Returns 44 // number of frames copied. Doesn't advance current position. Starts at 46 // a starting offset into |dest|. On each call, the frames ar 58 int frames() const { return frames_; } function in class:media::AudioBufferQueue [all...] |
H A D | audio_fifo_unittest.cc | 31 EXPECT_EQ(fifo.frames(), 0); 42 EXPECT_EQ(fifo.frames(), 0); 44 EXPECT_EQ(fifo.frames(), bus->frames()); 50 EXPECT_EQ(fifo.frames(), 0); 52 EXPECT_EQ(fifo.frames(), bus->frames()); 65 EXPECT_EQ(fifo.frames(), kMaxFrameCount); 70 fifo.Consume(bus.get(), 0, bus->frames()); 71 EXPECT_TRUE(fifo.frames() [all...] |
H A D | audio_buffer_queue_unittest.cc | 22 int frames, 28 for (int i = offset; i < offset + frames; ++i) { 40 int frames) { 47 frames, 54 EXPECT_EQ(0, buffer.frames()); 57 EXPECT_EQ(8, buffer.frames()); 59 EXPECT_EQ(0, buffer.frames()); 62 EXPECT_EQ(8, buffer.frames()); 70 EXPECT_EQ(8, buffer.frames()); 73 EXPECT_EQ(16, buffer.frames()); 20 VerifyBus(AudioBus* bus, int offset, int frames, int buffer_size, float start, float increment) argument 36 MakeTestBuffer(SampleFormat format, ChannelLayout channel_layout, T start, T step, int frames) argument 189 const int frames = 4; local 216 const int frames = 6; local 318 const int frames = 60; local [all...] |
H A D | audio_bus.h | 29 // Creates a new AudioBus and allocates |channels| of length |frames|. Uses 31 static scoped_ptr<AudioBus> Create(int channels, int frames); 43 int frames, const std::vector<float*>& channel_data); 48 static scoped_ptr<AudioBus> WrapMemory(int channels, int frames, void* data); 54 // and frames. 55 static int CalculateMemorySize(int channels, int frames); 62 // any unfilled frames when |frames| is less than frames(). 63 void FromInterleaved(const void* source, int frames, in 96 int frames() const { return frames_; } function in class:media::AudioBus [all...] |
H A D | audio_bus.cc | 24 static int CalculateMemorySizeInternal(int channels, int frames, argument 29 ((frames * sizeof(float) + AudioBus::kChannelAlignment - 1) & 43 int frames, AudioBus* dest, 51 for (int i = start_frame, offset = ch; i < start_frame + frames; 64 int frames, void* dst, Fixed min, Fixed max) { 71 for (int i = start_frame, offset = ch; i < start_frame + frames; 86 static void ValidateConfig(int channels, int frames) { argument 87 CHECK_GT(frames, 0); 92 static void CheckOverflow(int start_frame, int frames, int total_frames) { argument 94 CHECK_GE(frames, 42 FromInterleavedInternal(const void* src, int start_frame, int frames, AudioBus* dest, float min, float max) argument 63 ToInterleavedInternal(const AudioBus* source, int start_frame, int frames, void* dst, Fixed min, Fixed max) argument 101 AudioBus(int channels, int frames) argument 115 AudioBus(int channels, int frames, float* data) argument 128 AudioBus(int frames, const std::vector<float*>& channel_data) argument 151 Create(int channels, int frames) argument 164 WrapVector( int frames, const std::vector<float*>& channel_data) argument 169 WrapMemory(int channels, int frames, void* data) argument 195 set_frames(int frames) argument 197 ValidateConfig(static_cast<int>(channel_data_.size()), frames); local 201 ZeroFramesPartial(int start_frame, int frames) argument 213 ZeroFrames(int frames) argument 226 CalculateMemorySize(int channels, int frames) argument 240 FromInterleavedPartial(const void* source, int start_frame, int frames, int bytes_per_sample) argument 272 FromInterleaved(const void* source, int frames, int bytes_per_sample) argument 277 ToInterleaved(int frames, int bytes_per_sample, void* dest) const argument 283 ToInterleavedPartial(int start_frame, int frames, int bytes_per_sample, void* dest) const argument 343 Create( int channels, int frames) argument 349 AudioBusRefCounted(int channels, int frames) argument [all...] |
H A D | audio_buffer_queue.cc | 31 // Update the |frames_| counter since we have added frames. 36 int AudioBufferQueue::ReadFrames(int frames, argument 39 DCHECK_GE(dest->frames(), frames + dest_frame_offset); 40 return InternalRead(frames, true, 0, dest_frame_offset, dest); 43 int AudioBufferQueue::PeekFrames(int frames, argument 47 DCHECK_GE(dest->frames(), frames); 49 frames, false, source_frame_offset, dest_frame_offset, dest); 52 void AudioBufferQueue::SeekFrames(int frames) { argument 59 InternalRead(int frames, bool advance_position, int source_frame_offset, int dest_frame_offset, AudioBus* dest) argument [all...] |
H A D | audio_buffer_unittest.cc | 16 int frames, 21 const float v = start_offset + start + ch * bus->frames() * increment; 22 for (int i = offset; i < offset + frames; ++i) { 29 static void VerifyBus(AudioBus* bus, int frames, float start, float increment) { argument 30 VerifyBusWithOffset(bus, 0, frames, start, 0, increment); 36 const int frames = kSampleRate / 10; local 45 frames, 47 EXPECT_EQ(frames, buffer->frame_count()); 51 scoped_ptr<AudioBus> bus = AudioBus::Create(channels, frames); 53 // Verify all frames befor 14 VerifyBusWithOffset(AudioBus* bus, int offset, int frames, float start, float start_offset, float increment) argument 218 const int frames = 10; local 242 const int frames = 10; local 266 const int frames = 20; local 289 const int frames = 20; local 312 const int frames = 20; local 346 const int frames = 100; local 374 const int frames = kSampleRate / 100; local 392 const int frames = kSampleRate / 10; local [all...] |
H A D | audio_hash_unittest.cc | 31 wrapped_bus->set_frames(audio_bus->frames()); 54 hash_one.Update(bus_one_.get(), bus_one_->frames()); 57 hash_two.Update(bus_one_.get(), bus_one_->frames()); 65 original_hash.Update(bus_one_.get(), bus_one_->frames()); 71 swapped_hash.Update(bus_one_.get(), bus_one_->frames()); 79 original_hash.Update(bus_one_.get(), bus_one_->frames()); 84 swapped_ch_bus->set_frames(bus_one_->frames()); 89 swapped_hash.Update(swapped_ch_bus.get(), swapped_ch_bus->frames()); 97 original_hash.Update(bus_one_.get(), bus_one_->frames()); 98 original_hash.Update(bus_two_.get(), bus_two_->frames()); [all...] |
H A D | audio_block_fifo.h | 22 // of memory can store |channels| of length |frames| data. 23 AudioBlockFifo(int channels, int frames, int blocks); 29 void Push(const void* source, int frames, int bytes_per_sample); 42 // Number of available frames of data in the FIFO. 45 // Number of unfilled frames in the whole FIFO. 58 // Maximum number of frames of data one block of memory can contain. 59 // This value is set by |frames| in the constructor.
|
/external/chromium_org/v8/test/mjsunit/regress/ |
H A D | regress-2564.js | 33 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/chromium_org/net/websockets/ |
H A D | websocket_deflate_predictor_impl_test.cc | 20 ScopedVector<WebSocketFrame> frames; local 21 frames.push_back(new WebSocketFrame(WebSocketFrameHeader::kOpCodeText)); 22 Result result = predictor.Predict(frames, 0);
|
H A D | websocket_deflate_stream_test.cc | 75 void AppendTo(ScopedVector<WebSocketFrame>* frames, argument 84 frames->push_back(frame.release()); 87 void AppendTo(ScopedVector<WebSocketFrame>* frames, argument 93 frames->push_back(frame.release()); 117 ADD_FAILURE() << "There are missing frames to be input."; 121 ADD_FAILURE() << "There are extra written frames."; 127 virtual Result Predict(const ScopedVector<WebSocketFrame>& frames, 133 ADD_FAILURE() << "Control frames should not be recorded."; 152 ADD_FAILURE() << "Control frames should not be recorded."; 172 ADD_FAILURE() << "There are missing frames t 181 AddFramesToBeInput(const ScopedVector<WebSocketFrame>& frames) argument 185 VerifySentFrames(const ScopedVector<WebSocketFrame>& frames) argument 294 Call(ScopedVector<WebSocketFrame>* frames, const CompletionCallback& callback) argument 325 Call(ScopedVector<WebSocketFrame>* frames, const CompletionCallback& callback) argument 336 ScopedVector<WebSocketFrame>* frames() { return &frames_; } function in class:net::__anon9823::WriteFramesStub 346 ScopedVector<WebSocketFrame> frames; local 363 ScopedVector<WebSocketFrame> frames; local 381 ScopedVector<WebSocketFrame> frames; local 412 ScopedVector<WebSocketFrame> frames; local 445 ScopedVector<WebSocketFrame> frames; local 464 ScopedVector<WebSocketFrame> frames; local 502 ScopedVector<WebSocketFrame> frames; local 539 ScopedVector<WebSocketFrame> frames; local 565 ScopedVector<WebSocketFrame> frames; local 590 ScopedVector<WebSocketFrame> frames; local 621 ScopedVector<WebSocketFrame> frames; local 649 ScopedVector<WebSocketFrame> frames; local 676 ScopedVector<WebSocketFrame> frames; local 710 ScopedVector<WebSocketFrame> frames; local 756 ScopedVector<WebSocketFrame> frames; local 793 ScopedVector<WebSocketFrame> frames; local 817 ScopedVector<WebSocketFrame> frames; local 841 ScopedVector<WebSocketFrame> frames; local 872 ScopedVector<WebSocketFrame> frames; local 905 ScopedVector<WebSocketFrame> frames; local 938 ScopedVector<WebSocketFrame> frames; local 965 ScopedVector<WebSocketFrame> frames; local 995 ScopedVector<WebSocketFrame> frames; local 1005 ScopedVector<WebSocketFrame> frames; local 1020 ScopedVector<WebSocketFrame> frames; local 1045 ScopedVector<WebSocketFrame> frames; local 1070 ScopedVector<WebSocketFrame> frames; local 1097 ScopedVector<WebSocketFrame> frames; local 1118 ScopedVector<WebSocketFrame> frames; local 1163 ScopedVector<WebSocketFrame> frames; local 1202 ScopedVector<WebSocketFrame> frames; local 1230 ScopedVector<WebSocketFrame> frames; local 1261 ScopedVector<WebSocketFrame> frames; local [all...] |
H A D | websocket_deflate_stream.cc | 58 int WebSocketDeflateStream::ReadFrames(ScopedVector<WebSocketFrame>* frames, argument 61 frames, 64 base::Unretained(frames), 69 DCHECK(!frames->empty()); 71 return InflateAndReadIfNecessary(frames, callback); 74 int WebSocketDeflateStream::WriteFrames(ScopedVector<WebSocketFrame>* frames, argument 76 int result = Deflate(frames); 79 if (frames->empty()) 81 return stream_->WriteFrames(frames, callback); 95 ScopedVector<WebSocketFrame>* frames, 94 OnReadComplete( ScopedVector<WebSocketFrame>* frames, const CompletionCallback& callback, int result) argument 109 Deflate(ScopedVector<WebSocketFrame>* frames) argument 177 OnMessageStart( const ScopedVector<WebSocketFrame>& frames, size_t index) argument 226 AppendPossiblyCompressedMessage( ScopedVector<WebSocketFrame>* frames, ScopedVector<WebSocketFrame>* frames_to_write) argument 276 Inflate(ScopedVector<WebSocketFrame>* frames) argument 367 InflateAndReadIfNecessary( ScopedVector<WebSocketFrame>* frames, const CompletionCallback& callback) argument [all...] |
/external/chromium_org/media/filters/ |
H A D | audio_clock.cc | 41 // Move frames from |buffered_| into the computed timestamp based on 70 scaled_frames += (buffered_[i].frames * buffered_[i].playback_rate); 103 frames_until_timestamp += buffered_[i].frames; 107 // Calculate upper bound on media time for current block of buffered frames. 108 double delta_us = buffered_[i].frames * buffered_[i].playback_rate * 112 // Determine amount of media time to convert to frames for current block. If 113 // target timestamp falls within current block, scale the amount of frames 117 buffered_[i].frames * (timestamp_us - media_time_us) / delta_us; 122 frames_until_timestamp += buffered_[i].frames; 129 AudioClock::AudioData::AudioData(int64_t frames, floa argument 133 PushBufferedAudioData(int64_t frames, float playback_rate) argument 148 PopBufferedAudioData(int64_t frames) argument [all...] |
/external/chromium_org/media/audio/ |
H A D | virtual_audio_output_stream.cc | 80 const int frames = callback_->OnMoreData(audio_bus, AudioBuffersState()); local 81 if (frames < audio_bus->frames()) 82 audio_bus->ZeroFramesPartial(frames, audio_bus->frames() - frames); 84 return frames > 0 ? volume_ : 0;
|
/external/chromium_org/third_party/WebKit/Source/core/inspector/ |
H A D | ScriptCallStack.cpp | 40 PassRefPtrWillBeRawPtr<ScriptCallStack> ScriptCallStack::create(Vector<ScriptCallFrame>& frames) argument 42 return adoptRefWillBeNoop(new ScriptCallStack(frames)); 45 ScriptCallStack::ScriptCallStack(Vector<ScriptCallFrame>& frames) argument 47 m_frames.swap(frames); 73 RefPtr<TypeBuilder::Array<TypeBuilder::Console::CallFrame> > frames = TypeBuilder::Array<TypeBuilder::Console::CallFrame>::create(); local 75 frames->addItem(m_frames.at(i).buildInspectorObject()); 76 return frames;
|
/external/replicaisland/src/com/replica/replicaisland/ |
H A D | SpriteAnimation.java | 45 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/srec/srec/ca/ |
H A D | utt_proc.c | 40 int ii, frames = 0; local 42 frames = get_background_statistics(hUtt->data.gen_utt.frame, 47 /* log_report ("UTT (%d): ", frames); */ 54 return (frames);
|
/external/chromium_org/native_client_sdk/src/gonacl_appengine/static/bullet/ |
H A D | NaClAM.js | 7 this.frames = new Array(); 12 this.frames = new Array(); 58 if (typeof(header['frames']) != "number") { 59 console.log('Header message frames is not a number.'); 62 this.framesLeft = header['frames']; 67 this.message.frames.push(event.data); 85 if (header['frames'] == undefined) { 86 console.log('NaClAM: Message header does not contain frames.'); 89 if (typeof(header['frames']) != "number") { 90 console.log('NaClAm: Message frames i [all...] |
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/ |
H A D | ShadowAnimationDrawable.java | 14 private List<Drawable> frames = new ArrayList<Drawable>(); field in class:ShadowAnimationDrawable 19 frames.add(frame); 24 return frames.size(); 37 return frames;
|
/external/qemu/distrib/sdl-1.2.15/test/ |
H A D | testvidinfo.c | 80 Uint32 frames; local 95 frames = 0; 102 ++frames; 110 ++frames; 118 ++frames; 123 printf("%d fills and flips in %2.2f seconds, %2.2f FPS\n", frames, seconds, (float)frames / seconds); 125 printf("%d fills and flips in zero seconds!n", frames); 148 frames = RunBlitTests(screen, bmp, NUM_BLITS); 152 printf("%d blits / %d updates in %2.2f seconds, %2.2f FPS\n", NUM_BLITS*frames, frame [all...] |