/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/internal/framed/ |
H A D | MockSpdyPeer.java | 69 /** Maximum length of an outbound data frame. */ 85 * Sends a manually-constructed frame. This is useful to test frames that 88 public void sendFrame(byte[] frame) throws IOException { argument 90 bytesOut.write(frame); 94 * Shortens the last frame from its original length to {@code length}. This 95 * will cause the peer to close the socket as soon as this frame has been 172 // Write a frame. 176 // If the last frame was truncated, immediately close the connection. 181 // read a frame
|
H A D | Spdy3ConnectionTest.java | 281 peer.takeFrame(); // Guarantees that the peer Settings frame has been processed. 307 peer.takeFrame(); // Guarantees that the Settings frame has been processed. 334 peer.takeFrame(); // Guarantees that the Settings frame has been processed. 336 // fake a settings frame with clear flag set. 1043 // verify the peer received one incoming frame 1262 // This specially-formatted frame has trailing deflated bytes after the name value block. 1263 String frame = "gAMAAgAAAgkAAAABeLvjxqfCYgAAAAD//2IAAAAA//9iAAAAAP//YgQAAAD//2IAAAAA//9iAAAAAP/" 1272 headerBlockHasTrailingCompressedBytes(frame, 60); 1276 // This specially-formatted frame has trailing deflated bytes after the name value block. 1277 String frame 1312 headerBlockHasTrailingCompressedBytes(String frame, int length) argument [all...] |
/external/perfetto/src/ipc/ |
H A D | client_impl_unittest.cc | 137 while (std::unique_ptr<Frame> frame = frame_deserializer.PopNextFrame()) 138 OnFrameReceived(*frame); variable 182 void Reply(const Frame& frame) { argument 183 auto buf = BufferedFrameDeserializer::Serialize(frame);
|
/external/python/cpython2/Modules/ |
H A D | cdmodule.c | 101 status.track, status.min, status.sec, status.frame, 135 int min, sec, frame; local 137 if (!PyArg_ParseTuple(args, "iii:msftoblock", &min, &sec, &frame)) 141 min, sec, frame)); 169 int min, sec, frame, play; local 172 if (!PyArg_ParseTuple(args, "iiii:playabs", &min, &sec, &frame, &play)) 175 if (!CDplayabs(self->ob_cdplayer, min, sec, frame, play)) { 213 int track, min, sec, frame, play; local 217 &frame, &play)) 220 if (!CDplaytrackabs(self->ob_cdplayer, track, min, sec, frame, pla 262 int min, sec, frame; local 734 int min, sec, frame; local [all...] |
/external/python/cpython3/Include/ |
H A D | pystate.h | 81 struct _frame *frame; member in struct:_ts 287 thread id to that thread's current frame.
|
/external/python/cpython3/Lib/test/ |
H A D | test_tracemalloc.py | 25 frame = sys._getframe(1) 27 code = frame.f_code 28 lineno = frame.f_lineno + lineno_delta 31 frame = frame.f_back 32 if frame is None: 76 def frame(filename, lineno): function 546 frame = traceback[0] 547 self.assertEqual(str(frame), 'a.py:2')
|
/external/python/cpython3/Python/ |
H A D | pystate.c | 177 return self->frame; 191 tstate->frame = NULL; 388 if (Py_VerboseFlag && tstate->frame != NULL) 390 "PyThreadState_Clear: warning: thread still has a frame\n"); 392 Py_CLEAR(tstate->frame); 658 * if t's frame isn't NULL, map t's id to its frame 668 struct _frame *frame = t->frame; local 669 if (frame [all...] |
/external/skia/experimental/skottie/ |
H A D | SkottieAnimator.cpp | 86 const KeyframeRec& frame(float t) { function in class:skottie::__anon20474::KeyframeAnimatorBase 122 LOG("!! Ignoring out-of-order key frame (t:%f < t:%f)\n", t0, fRecs.back().t1); 139 // Regular frame, requires an end value. 163 // If we couldn't determine a valid t1 for the last frame, discard it. 231 this->eval(this->frame(t), t, &val);
|
/external/skia/src/codec/ |
H A D | SkGifCodec.cpp | 80 auto* frame = reader->frameContext(0); local 81 if (!frame || !frame->isHeaderDefined()) { 171 // This is possible for an empty frame. Create a dummy with one value (transparent). 195 // - If there is a transparent pixel, and this frame draws on top of another frame 196 // (if the frame is independent with a transparent pixel, we should not decode to 205 return gif_error("Cannot decode multiframe gif (except frame 0) as 565.\n", 209 const auto* frame = fReader->frameContext(frameIndex); local 210 SkASSERT(frame); 242 const SkGIFFrameContext* frame = fReader->frameContext(frameIndex); local [all...] |
/external/skia/third_party/gif/ |
H A D | SkGifImageReader.cpp | 373 // Perform decoding for this frame. frameComplete will be true if the entire frame is decoded. 409 // If this frame is data complete then the previous loop must have completely decoded all LZW blocks. 410 // There will be no more decoding for this frame so it's time to cleanup. 418 // Decode a frame. 419 // This method uses SkGIFFrameContext:decode() to decode the frame; decoding error is reported to client as a critical failure. 444 // We have already parsed this frame. 457 auto* frame = m_frames.back().get(); local 458 frame->addLzwBlock(m_streamBuffer.markPosition(), m_bytesToConsume); 492 // This is the height and width of the "screen" or frame int 874 independent(const SkFrame& frame) argument 878 restore_bg(const SkFrame& frame) argument 890 setAlphaAndRequiredFrame(SkFrame* frame) argument [all...] |
/external/skqp/experimental/skottie/ |
H A D | SkottieAnimator.cpp | 86 const KeyframeRec& frame(float t) { function in class:skottie::__anon21144::KeyframeAnimatorBase 122 LOG("!! Ignoring out-of-order key frame (t:%f < t:%f)\n", t0, fRecs.back().t1); 139 // Regular frame, requires an end value. 163 // If we couldn't determine a valid t1 for the last frame, discard it. 231 this->eval(this->frame(t), t, &val);
|
/external/skqp/src/codec/ |
H A D | SkGifCodec.cpp | 80 auto* frame = reader->frameContext(0); local 81 if (!frame || !frame->isHeaderDefined()) { 171 // This is possible for an empty frame. Create a dummy with one value (transparent). 195 // - If there is a transparent pixel, and this frame draws on top of another frame 196 // (if the frame is independent with a transparent pixel, we should not decode to 205 return gif_error("Cannot decode multiframe gif (except frame 0) as 565.\n", 209 const auto* frame = fReader->frameContext(frameIndex); local 210 SkASSERT(frame); 242 const SkGIFFrameContext* frame = fReader->frameContext(frameIndex); local [all...] |
/external/skqp/third_party/gif/ |
H A D | SkGifImageReader.cpp | 373 // Perform decoding for this frame. frameComplete will be true if the entire frame is decoded. 409 // If this frame is data complete then the previous loop must have completely decoded all LZW blocks. 410 // There will be no more decoding for this frame so it's time to cleanup. 418 // Decode a frame. 419 // This method uses SkGIFFrameContext:decode() to decode the frame; decoding error is reported to client as a critical failure. 444 // We have already parsed this frame. 457 auto* frame = m_frames.back().get(); local 458 frame->addLzwBlock(m_streamBuffer.markPosition(), m_bytesToConsume); 492 // This is the height and width of the "screen" or frame int 874 independent(const SkFrame& frame) argument 878 restore_bg(const SkFrame& frame) argument 890 setAlphaAndRequiredFrame(SkFrame* frame) argument [all...] |
/external/v8/src/compiler/ |
H A D | code-generator-impl.h | 166 const Frame* frame() const { return gen_->frame(); } function in class:v8::internal::compiler::InstructionOperandConverter 204 const Frame* frame() const { return frame_; } function in class:v8::internal::compiler::OutOfLineCode
|
H A D | code-generator.h | 55 explicit CodeGenerator(Frame* frame, Linkage* linkage, 63 const Frame* frame() const { return frame_access_state_->frame(); } function in class:v8::internal::compiler::final 85 void CreateFrameAccessState(Frame* frame); 87 // Architecture - specific frame finalization. 88 void FinishFrame(Frame* frame); 131 // to set up a stack frame. 135 // to tear down a stack frame. 143 // Generates code to pop current frame if it is an arguments adaptor frame [all...] |
/external/v8/src/ |
H A D | frames-inl.h | 107 // The receiver is the first argument on the frame. 294 inline JavaScriptFrame* JavaScriptFrameIterator::frame() const { function in class:v8::internal::JavaScriptFrameIterator 295 // TODO(1233797): The frame hierarchy needs to change. It's 297 // the JavaScript frame type, because we may encounter arguments 299 StackFrame* frame = iterator_.frame(); local 300 DCHECK(frame->is_java_script() || frame->is_arguments_adaptor()); 301 return static_cast<JavaScriptFrame*>(frame); 304 inline StandardFrame* StackTraceFrameIterator::frame() cons function in class:v8::internal::StackTraceFrameIterator 305 StackFrame* frame = iterator_.frame(); local 321 inline StackFrame* SafeStackFrameIterator::frame() const { function in class:v8::internal::SafeStackFrameIterator [all...] |
/external/v8/src/profiler/ |
H A D | allocation-tracker.cc | 233 JavaScriptFrame* frame = it.frame(); local 234 SharedFunctionInfo* shared = frame->function()->shared();
|
H A D | cpu-profiler.cc | 83 StackFrame* frame = it.frame(); local 84 regs.sp = frame->sp(); 85 regs.fp = frame->fp(); 86 regs.pc = frame->pc();
|
/external/v8/src/runtime/ |
H A D | runtime-test.cc | 109 if (!it.done()) function = Handle<JSFunction>(it.frame()->function()); 246 // The optional parameter determines the frame being targeted. 252 if (!it.done()) function = Handle<JSFunction>(it.frame()->function()); 259 if (it.frame()->type() == StackFrame::JAVA_SCRIPT || 260 it.frame()->type() == StackFrame::INTERPRETED) { 262 it.frame(), AbstractCode::kMaxLoopNestingMarker); 532 JavaScriptFrame* frame = it.frame(); local 533 os << "fp = " << static_cast<void*>(frame->fp()) 534 << ", sp = " << static_cast<void*>(frame [all...] |
/external/v8/src/wasm/ |
H A D | wasm-debug.cc | 185 WasmInterpreterEntryFrame* frame = local 186 WasmInterpreterEntryFrame::cast(it.frame()); 187 Handle<WasmInstanceObject> instance_obj(frame->wasm_instance(), isolate_); 245 wasm::InterpretedFrame frame = local 247 return compiled_module->GetFunctionOffset(frame.function()->func_index) + 248 frame.pc(); 260 wasm::InterpretedFrame frame = thread->GetFrame(i); local 261 stack[i] = {frame.function()->func_index, frame.pc()};
|
/external/webp/src/mux/ |
H A D | muxedit.c | 96 // Create data for frame given image data, offsets and duration. 99 WebPData* const frame) { 120 frame->bytes = frame_bytes; 121 frame->size = frame_size; 285 return WEBP_MUX_INVALID_ARGUMENT; // Conflicting frame types. 295 WebPData frame; local 307 err = CreateFrameData(wpi.width_, wpi.height_, &tmp, &frame); 309 // Add frame chunk (with copy_data = 1). 310 err = AddDataToChunkList(&frame, 1, tag, &wpi.header_); 311 WebPDataClear(&frame); // fram 97 CreateFrameData( int width, int height, const WebPMuxFrameInfo* const info, WebPData* const frame) argument 557 WebPMuxImage* frame = NULL; local [all...] |
H A D | muxread.c | 330 // single image and not forced canvas size => use dimension of first frame 440 WebPMuxFrameInfo* const frame) { 445 // Get frame chunk. 449 frame->x_offset = 2 * GetLE24(frame_data->bytes + 0); 450 frame->y_offset = 2 * GetLE24(frame_data->bytes + 3); 453 frame->duration = GetLE24(frame_data->bytes + 12); 454 frame->dispose_method = 456 frame->blend_method = (bits & 2) ? WEBP_MUX_NO_BLEND : WEBP_MUX_BLEND; 458 frame->id = ChunkGetIdFromTag(wpi->header_->tag_); 459 return SynthesizeBitstream(wpi, &frame 439 MuxGetFrameInternal(const WebPMuxImage* const wpi, WebPMuxFrameInfo* const frame) argument 462 WebPMuxGetFrame( const WebPMux* mux, uint32_t nth, WebPMuxFrameInfo* frame) argument [all...] |
/external/webrtc/talk/app/webrtc/androidtests/src/org/webrtc/ |
H A D | VideoCapturerAndroidTestFixtures.java | 50 public void renderFrame(I420Frame frame) { argument 53 width = frame.rotatedWidth(); 54 height = frame.rotatedHeight(); 57 VideoRenderer.renderFrameDone(frame); 84 public void renderFrame(I420Frame frame) { argument 86 pendingFrames.add(frame); 91 // Wait until at least one frame have been received, before returning them. 122 public void onByteBufferFrameCaptured(byte[] frame, int width, int height, int rotation, argument 126 frameSize = frame.length; 310 // Make sure camera is started and first frame i [all...] |
/external/webrtc/talk/app/webrtc/java/android/org/webrtc/ |
H A D | SurfaceViewRenderer.java | 71 // Texture ids for YUV frames. Allocated on first arrival of a YUV frame. 74 // Pending frame to render. Serves as a queue with size 1. Synchronized on |frameLock|. 82 // internally when the incoming frame size changes. requestLayout() can also be triggered 98 // Last rendered frame dimensions, or 0 if no frame has been rendered yet. 113 // Number of video frames dropped by renderFrame() because previous frame has not been rendered 118 // Time in ns when the first video frame was rendered. 205 * Block until any pending frame is returned and all GL resources released, even if an interrupt 263 * RendererEvents.onFirstFrameRendered() will be called for the next frame. 295 public void renderFrame(VideoRenderer.I420Frame frame) { argument 546 updateFrameDimensionsAndReportEvents(VideoRenderer.I420Frame frame) argument [all...] |
H A D | VideoRendererGui.java | 102 // Resources for making a deep copy of incoming OES texture frame. 105 // Pending frame to render. Serves as a queue with size 1. |pendingFrame| is accessed by two 107 // renderFrame() if the previous frame has not been rendered yet. 110 // Type of video frame used for recent frame rendering. 121 // frame has not been rendered yet. 125 // Time in ns when the first video frame was rendered. 129 // Time in ns spent in draw() copying resources from |pendingFrame| - including uploading frame 153 // This is the degree that the frame should be rotated clockwisely to have 233 // No frame receive 369 renderFrame(I420Frame frame) argument [all...] |