/external/chromium/net/websockets/ |
websocket_frame_handler_unittest.cc | 47 std::vector<WebSocketFrameHandler::FrameInfo> frames; local 54 kInputData, kInputDataLen, &frames)); 55 EXPECT_EQ(2UL, frames.size()); 57 EXPECT_EQ(kInputData, frames[0].frame_start); 58 EXPECT_EQ(kHelloWorldFrameLen, frames[0].frame_length); 59 EXPECT_EQ(kInputData + 1, frames[0].message_start); 60 EXPECT_EQ(kHelloWorldFrameLen - 2, frames[0].message_length); 62 EXPECT_EQ(kInputData + kHelloWorldFrameLen, frames[1].frame_start); 63 EXPECT_EQ(2, frames[1].frame_length); 64 EXPECT_EQ(0, frames[1].message_length) 68 std::vector<WebSocketFrameHandler::FrameInfo> frames; local 106 std::vector<WebSocketFrameHandler::FrameInfo> frames; local [all...] |
/bionic/libc/bionic/ |
debug_stacktrace.cpp | 73 uintptr_t* frames; member in struct:stack_crawl_state_t 78 stack_crawl_state_t(uintptr_t* frames, size_t max_depth) 79 : frames(frames), frame_count(0), max_depth(max_depth), have_skipped_self(false) { 112 state->frames[state->frame_count++] = ip; 116 __LIBC_HIDDEN__ int get_backtrace(uintptr_t* frames, size_t max_depth) { 117 stack_crawl_state_t state(frames, max_depth); 122 __LIBC_HIDDEN__ void log_backtrace(uintptr_t* frames, size_t frame_count) { 124 if (frames == NULL) { 126 frames = self_bt [all...] |
/external/replicaisland/src/com/replica/replicaisland/ |
SpriteAnimation.java | 45 final FixedSizeArray<AnimationFrame> frames = mFrames; local 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/webkit/Source/WebCore/inspector/ |
ScriptCallStack.cpp | 38 PassRefPtr<ScriptCallStack> ScriptCallStack::create(Vector<ScriptCallFrame>& frames) 40 return adoptRef(new ScriptCallStack(frames)); 43 ScriptCallStack::ScriptCallStack(Vector<ScriptCallFrame>& frames) 45 m_frames.swap(frames); 83 RefPtr<InspectorArray> frames = InspectorArray::create(); local 85 frames->pushObject(m_frames.at(i).buildInspectorObject()); 86 return frames;
|
/external/webkit/Source/WebCore/storage/ |
StorageEventDispatcher.cpp | 51 // We need to copy all relevant frames from every page to a vector since sending the event to one frame might mutate the frame tree 53 Vector<RefPtr<Frame> > frames; 58 frames.append(frame); 61 for (unsigned i = 0; i < frames.size(); ++i) { 63 Storage* storage = frames[i]->domWindow()->sessionStorage(ec); 65 frames[i]->document()->enqueueWindowEvent(StorageEvent::create(eventNames().storageEvent, key, oldValue, newValue, sourceFrame->document()->url(), storage)); 74 frames.append(frame); 78 for (unsigned i = 0; i < frames.size(); ++i) { 80 Storage* storage = frames[i]->domWindow()->localStorage(ec); 82 frames[i]->document()->enqueueWindowEvent(StorageEvent::create(eventNames().storageEvent, key, oldValue, (…) [all...] |
/external/srec/srec/ca/ |
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/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/ |
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;
|
/frameworks/base/tests/TileBenchmark/src/com/test/tilebenchmark/ |
RunData.java | 23 public TileData[][] frames; field in class:RunData 26 public RunData(int frames) { 27 this.frames = new TileData[frames][];
|
/external/qemu/distrib/sdl-1.2.15/test/ |
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, frames, seconds, (float)frames / seconds) [all...] |
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/dictionarypack/ |
Utils.java | 46 StackTraceElement[] frames = e.getStackTrace(); local 48 for (int j = 1; j < frames.length; ++j) { 49 sb.append(frames[j].toString() + "\n"); 62 final StackTraceElement[] frames = e.getStackTrace(); local 63 for (int j = 0; j < frames.length; ++j) { 64 sb.append(frames[j].toString() + "\n");
|
/system/core/libcorkscrew/ |
test.c | 8 backtrace_frame_t* frames = (backtrace_frame_t*) malloc(sizeof(backtrace_frame_t) * MAX_DEPTH); local 9 ssize_t frame_count = unwind_backtrace(frames, 0, MAX_DEPTH); 13 get_backtrace_symbols(frames, frame_count, backtrace_symbols); 17 format_backtrace_line(i, &frames[i], &backtrace_symbols[i], 31 symbol = find_symbol(symbols, frames[i].absolute_pc); 34 uintptr_t offset = frames[i].absolute_pc - symbol->start; 45 free(frames);
|
/external/jmonkeyengine/engine/src/core/com/jme3/animation/ |
PoseTrack.java | 50 private PoseFrame[] frames; field in class:PoseTrack 97 public PoseTrack(int targetMeshIndex, float[] times, PoseFrame[] frames){ 100 this.frames = frames; 104 PoseFrame frame = frames[frameIndex]; 159 if (this.frames != null) { 160 result.frames = new PoseFrame[this.frames.length]; 161 for (int i = 0; i < this.frames.length; ++i) { 162 result.frames[i] = this.frames[i].clone() [all...] |
/packages/apps/Camera/jni/feature_mos/src/mosaic/ |
Mosaic.cpp | 44 if (frames[i]) 45 delete frames[i]; 47 delete frames; 79 frames = new MosaicFrame *[max_frames]; 86 frames[i] = new MosaicFrame(this->width,this->height,false); // Do no allocate memory for YUV data 93 frames[i] = NULL; 102 LOGV("Max num frames %d", max_frames); 144 if(frames[frames_size]==NULL) 145 frames[frames_size] = new MosaicFrame(this->width,this->height,false); 147 MosaicFrame *frame = frames[frames_size] [all...] |
Blend.h | 37 // of the input image frames for them to be accepted for blending in the 76 int runBlend(MosaicFrame **frames, MosaicFrame **rframes, int frames_size, ImageType &imageMosaicYVU, 94 // Height and width of individual frames 105 void AlignToMiddleFrame(MosaicFrame **frames, int frames_size); 107 int DoMergeAndBlend(MosaicFrame **frames, int nsite, int width, int height, YUVinfo &imgMos, MosaicRect &rect, MosaicRect &cropping_rect, float &progress, bool &cancelComputation); 114 void ComputeBlendParameters(MosaicFrame **frames, int frames_size, int is360); 115 void SelectRelevantFrames(MosaicFrame **frames, int frames_size,
|
/packages/apps/Gallery2/jni_mosaic/feature_mos/src/mosaic/ |
Mosaic.cpp | 44 if (frames[i]) 45 delete frames[i]; 47 delete frames; 79 frames = new MosaicFrame *[max_frames]; 86 frames[i] = new MosaicFrame(this->width,this->height,false); // Do no allocate memory for YUV data 93 frames[i] = NULL; 102 LOGV("Max num frames %d", max_frames); 144 if(frames[frames_size]==NULL) 145 frames[frames_size] = new MosaicFrame(this->width,this->height,false); 147 MosaicFrame *frame = frames[frames_size] [all...] |
Blend.h | 37 // of the input image frames for them to be accepted for blending in the 76 int runBlend(MosaicFrame **frames, MosaicFrame **rframes, int frames_size, ImageType &imageMosaicYVU, 94 // Height and width of individual frames 105 void AlignToMiddleFrame(MosaicFrame **frames, int frames_size); 107 int DoMergeAndBlend(MosaicFrame **frames, int nsite, int width, int height, YUVinfo &imgMos, MosaicRect &rect, MosaicRect &cropping_rect, float &progress, bool &cancelComputation); 114 void ComputeBlendParameters(MosaicFrame **frames, int frames_size, int is360); 115 void SelectRelevantFrames(MosaicFrame **frames, int frames_size,
|
/packages/apps/LegacyCamera/jni/feature_mos/src/mosaic/ |
Mosaic.cpp | 44 if (frames[i]) 45 delete frames[i]; 47 delete frames; 75 frames = new MosaicFrame *[max_frames]; 82 frames[i] = new MosaicFrame(this->width,this->height,false); // Do no allocate memory for YUV data 89 frames[i] = NULL; 97 LOGV("Max num frames %d", max_frames); 131 if(frames[frames_size]==NULL) 132 frames[frames_size] = new MosaicFrame(this->width,this->height,false); 134 MosaicFrame *frame = frames[frames_size] [all...] |
/external/webkit/Source/WebCore/bindings/js/ |
ScriptCallStackFactory.cpp | 58 Vector<ScriptCallFrame> frames; local 72 // Caller is unknown, but if frames is empty we should still add the frame, because 74 if (!frames.isEmpty()) 78 frames.append(ScriptCallFrame(ustringToString(functionName), ustringToString(urlString), lineNumber)); 79 if (!function || frames.size() == maxStackSize) 83 return ScriptCallStack::create(frames);
|
/external/webkit/Source/WebKit/chromium/src/ |
StorageEventDispatcherImpl.cpp | 61 // We need to copy all relevant frames from every page to a vector since sending the event to one frame might mutate the frame tree 63 Vector<RefPtr<Frame> > frames; 70 frames.append(frame); 74 for (unsigned i = 0; i < frames.size(); ++i) { 76 Storage* storage = frames[i]->domWindow()->localStorage(ec); 78 frames[i]->document()->dispatchWindowEvent(StorageEvent::create(eventNames().storageEvent, key, oldValue, newValue, url, storage));
|
/dalvik/hit/src/com/android/hit/ |
StackTrace.java | 25 * For subsets of the stack frame we'll reference the parent list of frames 37 public StackTrace(int serial, int thread, StackFrame[] frames) { 40 mFrames = frames;
|
/external/webkit/Source/WebKit/chromium/tests/ |
WebPageSerializerTest.cpp | 124 WebVector<WebURL> frames; local 127 m_webView, m_supportedSchemes, &resources, &frames)); 130 EXPECT_EQ(1, frames.size()); // There should be no duplicates. 131 EXPECT_TRUE(webVectorContains(frames, "http://www.test.com")); 152 // Register the mocked frames. 170 WebVector<WebURL> frames; local 173 m_webView, m_supportedSchemes, &resources, &frames)); 176 EXPECT_EQ(4, frames.size()); // There should be no duplicates. 177 EXPECT_TRUE(webVectorContains(frames, "http://www.test.com")); 178 EXPECT_TRUE(webVectorContains(frames, "http://www.test.com/simple_iframe.html")) [all...] |
/external/chromium/chrome/browser/ |
session_history_uitest.cc | 34 // Simulate clicking a link. Only works on the frames.html testserver page. 40 // Simulate filling in form data. Only works on the frames.html page with 50 // Simulate submitting a form. Only works on the frames.html page with 164 GURL frames(test_server_.GetURL("files/session_history/frames.html")); 165 ASSERT_TRUE(tab_->NavigateToURL(frames)); 167 EXPECT_EQ(frames, GetTabURL()); 171 EXPECT_EQ(frames, GetTabURL()); 175 EXPECT_EQ(frames, GetTabURL()); 181 EXPECT_EQ(frames, GetTabURL()) [all...] |
/external/antlr/antlr-3.4/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime.JavaExtensions/ |
ExceptionExtensions.cs | 49 StackFrame[] frames = trace.GetFrames(); 50 if (frames == null) { 53 Array.Copy(stackTrace, 1, frames, 0, stackTrace.Length); 55 return frames;
|
/external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime.JavaExtensions/ |
ExceptionExtensions.cs | 54 StackFrame[] frames = trace.GetFrames(); 55 if ( frames == null ) 58 frames = new StackTrace( true ).GetFrames().Skip( 1 ).ToArray(); 60 return frames;
|
/external/chromium/chrome/common/extensions/docs/examples/extensions/wave/ |
prettyload.js | 27 frames, 39 this.frames = frames !== undefined ? frames : ELLIPSIS; 72 const FRAMES = this.frames; 74 const FRAME_COUNT = FRAMES.length; 78 BROWSER_ACTION.setBadgeText({text: FRAMES[i]}); 82 BROWSER_ACTION.setBadgeText({text: FRAMES[++i % FRAME_COUNT]});
|