Home
last modified time | relevance | path

Searched full:frame (Results 1 – 25 of 8174) sorted by relevance

12345678910>>...327

/external/cronet/net/third_party/quiche/src/quiche/quic/core/frames/
Dquic_frame.cc32 QuicFrame::QuicFrame(QuicAckFrame* frame) : type(ACK_FRAME), ack_frame(frame) {} in QuicFrame() argument
34 QuicFrame::QuicFrame(QuicMtuDiscoveryFrame frame) in QuicFrame() argument
35 : mtu_discovery_frame(frame) {} in QuicFrame()
37 QuicFrame::QuicFrame(QuicStopWaitingFrame frame) : stop_waiting_frame(frame) {} in QuicFrame() argument
39 QuicFrame::QuicFrame(QuicPingFrame frame) : ping_frame(frame) {} in QuicFrame() argument
41 QuicFrame::QuicFrame(QuicRstStreamFrame* frame) in QuicFrame() argument
42 : type(RST_STREAM_FRAME), rst_stream_frame(frame) {} in QuicFrame()
44 QuicFrame::QuicFrame(QuicConnectionCloseFrame* frame) in QuicFrame() argument
45 : type(CONNECTION_CLOSE_FRAME), connection_close_frame(frame) {} in QuicFrame()
47 QuicFrame::QuicFrame(QuicGoAwayFrame* frame) in QuicFrame() argument
[all …]
/external/javassist/src/main/javassist/bytecode/analysis/
DExecutor.java29 * Executor is responsible for modeling the effects of a JVM instruction on a frame.
56 * Execute the instruction, modeling the effects on the specified frame and subroutine.
63 * @param frame the frame to modify to represent the result of the instruction
67 …public void execute(MethodInfo method, int pos, CodeIterator iter, Frame frame, Subroutine subrout… in execute() argument
77 frame.push(Type.UNINIT); in execute()
86 frame.push(Type.INTEGER); in execute()
90 frame.push(Type.LONG); in execute()
91 frame.push(Type.TOP); in execute()
96 frame.push(Type.FLOAT); in execute()
100 frame.push(Type.DOUBLE); in execute()
[all …]
/external/webrtc/modules/video_coding/
Ddecoding_state_unittest.cc35 VCMFrameBuffer frame; in TEST() local
49 EXPECT_LE(0, frame.InsertPacket(packet, 0, frame_data)); in TEST()
50 // Always start with a key frame. in TEST()
52 EXPECT_FALSE(dec_state.ContinuousFrame(&frame)); in TEST()
56 dec_state.SetState(&frame); in TEST()
57 frame.Reset(); in TEST()
62 EXPECT_LE(0, frame.InsertPacket(packet, 0, frame_data)); in TEST()
63 EXPECT_FALSE(dec_state.ContinuousFrame(&frame)); in TEST()
64 frame.Reset(); in TEST()
67 EXPECT_LE(0, frame.InsertPacket(packet, 0, frame_data)); in TEST()
[all …]
Drtp_vp8_ref_finder.cc20 std::unique_ptr<RtpFrameObject> frame) { in ManageFrame() argument
22 frame->GetRtpVideoHeader().video_type_header); in ManageFrame()
25 frame->SetTemporalIndex(codec_header.temporalIdx); in ManageFrame()
29 ManageFrameInternal(frame.get(), codec_header, unwrapped_tl0); in ManageFrame()
38 {.unwrapped_tl0 = unwrapped_tl0, .frame = std::move(frame)}); in ManageFrame()
41 res.push_back(std::move(frame)); in ManageFrame()
52 RtpFrameObject* frame, in ManageFrameInternal() argument
59 frame->SetSpatialIndex(0); in ManageFrameInternal()
60 frame->SetId(codec_header.pictureId & 0x7FFF); in ManageFrameInternal()
63 last_picture_id_ = frame->Id(); in ManageFrameInternal()
[all …]
Dframe_buffer2.cc48 // Max number of decoded frame info that will be saved.
51 // The time it's allowed for a frame to be late to its rendering prediction and
112 // while waiting. Continue with frame delivery. in StartWaitForNextFrameOnQueue()
113 std::unique_ptr<EncodedFrame> frame; in StartWaitForNextFrameOnQueue() local
119 frame = GetNextFrame(); in StartWaitForNextFrameOnQueue()
123 // means that the frame buffer was cleared between creation and in StartWaitForNextFrameOnQueue()
131 // Deliver frame, if any. Otherwise signal timeout. in StartWaitForNextFrameOnQueue()
132 frame_handler(std::move(frame)); in StartWaitForNextFrameOnQueue()
152 EncodedFrame* frame = frame_it->second.frame.get(); in FindNextFrame() local
154 if (keyframe_required_ && !frame->is_keyframe()) in FindNextFrame()
[all …]
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/internal/framed/
DHttp2Test.java43 final Buffer frame = new Buffer(); field in Http2Test
44 final FrameReader fr = new Http2.Reader(frame, 4096, false);
48 writeMedium(frame, 4); // has a 4-byte field in unknownFrameTypeSkipped()
49 frame.writeByte(99); // type 99 in unknownFrameTypeSkipped()
50 frame.writeByte(Http2.FLAG_NONE); in unknownFrameTypeSkipped()
51 frame.writeInt(expectedStreamId); in unknownFrameTypeSkipped()
52 frame.writeInt(111111111); // custom data in unknownFrameTypeSkipped()
61 writeMedium(frame, (int) headerBytes.size()); in onlyOneLiteralHeadersFrame()
62 frame.writeByte(Http2.TYPE_HEADERS); in onlyOneLiteralHeadersFrame()
63 frame.writeByte(FLAG_END_HEADERS | FLAG_END_STREAM); in onlyOneLiteralHeadersFrame()
[all …]
/external/openthread/tests/scripts/thread-cert/
Dtest_mac802154.py45 frame = mac802154.MacFrame()
46 frame.parse(io.BytesIO(bytearray([0x12, 0x00, 0x12, 0x34, 0x56])))
48 self.assertEqual(mac802154.MacHeader.FrameType.ACK, frame.header.frame_type)
49 self.assertEqual(True, frame.header.frame_pending)
50 self.assertEqual(False, frame.header.ack_request)
51 self.assertEqual(0, frame.header.frame_version)
52 self.assertEqual(0x12, frame.header.seq)
53 self.assertEqual(bytearray([0x34, 0x56]), frame.header.fcs)
54 self.assertEqual(None, frame.payload)
57 frame = mac802154.MacFrame()
[all …]
/external/openthread/src/lib/spinel/
Dspinel_encoder.hpp69 * Begins a new frame to be added/written to the frame buffer.
71 …* If there is a previous frame being written (for which `EndFrame()` has not yet been called), cal…
72 * `BeginFrame()` will discard and clear the previous unfinished frame.
74 * @param[in] aPriority Priority level of the new input frame.
76 * @retval OT_ERROR_NONE Successfully started a new frame.
77 * @retval OT_ERROR_NO_BUFS Insufficient buffer space available to start a new frame.
83 * Begins a new spinel command frame to be added/written to the frame buffer.
85 …* If there is a previous frame being written (for which `EndFrame()` has not yet been called), cal…
86 * `BeginFrame()` will discard and clear the previous unfinished frame.
89 …* frame. Non-zero TID value indicates that the frame is a response and therefore it uses higher pr…
[all …]
Dspinel_buffer.hpp30 * This file contains definitions for the NCP frame buffer class.
46 …* A frame can consist of a sequence of data bytes and/or the content of an `otMessage` or a combin…
58 …* Defines the priority of a frame. High priority frames are read before low priority frames. Withi…
64 kPriorityLow = 0, ///< Indicates low/normal priority for a frame.
65 kPriorityHigh = 1, ///< Indicates high priority for a frame.
69 …* Defines the (abstract) frame tag type. The tag is a unique value (within currently queued frames…
70 … * with a frame in the `Buffer`. Frame tags can be compared with one another using operator `==`.
76 * Defines the tag value indicating an invalid tag (e.g., when there is no frame).
82 * Defines the structure to hold a write position for an input frame (frame being written).
109 * frame is added/written to `Buffer` or when a frame is removed from `Buffer`.
[all …]
/external/rust/crates/quiche/src/
Dframe.rs58 pub enum Frame { enum
182 impl Frame { impl
185 ) -> Result<Frame> { in from_bytes() argument
188 let frame = match frame_type { in from_bytes() localVariable
198 Frame::Padding { len } in from_bytes()
201 0x01 => Frame::Ping, in from_bytes()
205 0x04 => Frame::ResetStream { in from_bytes()
211 0x05 => Frame::StopSending { in from_bytes()
221 Frame::Crypto { data } in from_bytes()
224 0x07 => Frame::NewToken { in from_bytes()
[all …]
/external/webrtc/audio/utility/
Daudio_frame_operations.cc75 int AudioFrameOperations::MonoToStereo(AudioFrame* frame) { in MonoToStereo() argument
76 if (frame->num_channels_ != 1) { in MonoToStereo()
79 UpmixChannels(2, frame); in MonoToStereo()
83 int AudioFrameOperations::StereoToMono(AudioFrame* frame) { in StereoToMono() argument
84 if (frame->num_channels_ != 2) { in StereoToMono()
87 DownmixChannels(1, frame); in StereoToMono()
88 return frame->num_channels_ == 1 ? 0 : -1; in StereoToMono()
103 int AudioFrameOperations::QuadToStereo(AudioFrame* frame) { in QuadToStereo() argument
104 if (frame->num_channels_ != 4) { in QuadToStereo()
108 RTC_DCHECK_LE(frame->samples_per_channel_ * 4, in QuadToStereo()
[all …]
/external/python/cpython3/Python/
Dframe.c10 _PyFrame_Traverse(_PyInterpreterFrame *frame, visitproc visit, void *arg) in _PyFrame_Traverse() argument
12 Py_VISIT(frame->frame_obj); in _PyFrame_Traverse()
13 Py_VISIT(frame->f_locals); in _PyFrame_Traverse()
14 Py_VISIT(frame->f_func); in _PyFrame_Traverse()
15 Py_VISIT(frame->f_code); in _PyFrame_Traverse()
17 PyObject **locals = _PyFrame_GetLocalsArray(frame); in _PyFrame_Traverse()
20 for (; i <frame->stacktop; i++) { in _PyFrame_Traverse()
27 _PyFrame_MakeAndSetFrameObject(_PyInterpreterFrame *frame) in _PyFrame_MakeAndSetFrameObject() argument
29 assert(frame->frame_obj == NULL); in _PyFrame_MakeAndSetFrameObject()
33 PyFrameObject *f = _PyFrame_New_NoTrack(frame->f_code); in _PyFrame_MakeAndSetFrameObject()
[all …]
/external/google-breakpad/src/processor/
Dstackwalker_riscv64.cc65 BPLOG(ERROR) << "Can't get context frame without context"; in GetContextFrame()
69 StackFrameRISCV64* frame = new StackFrameRISCV64(); in GetContextFrame() local
71 frame->context = *context_; in GetContextFrame()
72 frame->context_validity = context_frame_validity_; in GetContextFrame()
73 frame->trust = StackFrame::FRAME_TRUST_CONTEXT; in GetContextFrame()
74 frame->instruction = frame->context.pc; in GetContextFrame()
76 return frame; in GetContextFrame()
159 // Construct a new stack frame given the values the CFI recovered. in GetCallerByCFIFrameInfo()
161 scoped_ptr<StackFrameRISCV64> frame(new StackFrameRISCV64()); in GetCallerByCFIFrameInfo() local
164 frame->context_validity |= StackFrameRISCV64::CONTEXT_VALID_PC; in GetCallerByCFIFrameInfo()
[all …]
Dstackwalker_riscv.cc65 BPLOG(ERROR) << "Can't get context frame without context"; in GetContextFrame()
69 StackFrameRISCV* frame = new StackFrameRISCV(); in GetContextFrame() local
71 frame->context = *context_; in GetContextFrame()
72 frame->context_validity = context_frame_validity_; in GetContextFrame()
73 frame->trust = StackFrame::FRAME_TRUST_CONTEXT; in GetContextFrame()
74 frame->instruction = frame->context.pc; in GetContextFrame()
76 return frame; in GetContextFrame()
159 // Construct a new stack frame given the values the CFI recovered. in GetCallerByCFIFrameInfo()
161 scoped_ptr<StackFrameRISCV> frame(new StackFrameRISCV()); in GetCallerByCFIFrameInfo() local
164 frame->context_validity |= StackFrameRISCV::CONTEXT_VALID_PC; in GetCallerByCFIFrameInfo()
[all …]
Dfast_source_line_resolver_unittest.cc163 static bool VerifyEmpty(const StackFrame& frame) { in VerifyEmpty() argument
164 if (frame.function_name.empty() && in VerifyEmpty()
165 frame.source_file_name.empty() && in VerifyEmpty()
166 frame.source_line == 0) in VerifyEmpty()
171 static void ClearSourceLineInfo(StackFrame* frame) { in ClearSourceLineInfo() argument
172 frame->function_name.clear(); in ClearSourceLineInfo()
173 frame->module = NULL; in ClearSourceLineInfo()
174 frame->source_file_name.clear(); in ClearSourceLineInfo()
175 frame->source_line = 0; in ClearSourceLineInfo()
217 StackFrame frame; in TEST_F() local
[all …]
/external/python/cpython3/Include/internal/
Dpycore_frame.h10 /* See Objects/frame_layout.md for an explanation of the frame stack
17 PyFrameObject *f_back; /* previous frame, or NULL */
18 struct _PyInterpreterFrame *f_frame; /* points to the frame data */
23 char f_fast_as_locals; /* Have the fast locals of this frame been converted to a dict? */
24 /* The frame data, if this frame object owns the frame */
58 // frame. Rather, it is the code unit *prior to* the *next* instruction. For
60 // over, or (in the case of a newly-created frame) a totally invalid value:
63 bool is_entry; // Whether this is the "root" frame for the current _PyCFrame.
98 Does not initialize frame->previous, which happens
99 when frame is linked into the frame stack.
[all …]
/external/trusty/lk/arch/x86/
Dfaults.c53 static bool check_fault_handler_table(x86_iframe_t *frame) in check_fault_handler_table() argument
65 if (addr == frame->ip) { in check_fault_handler_table()
75 frame->ip = addr; in check_fault_handler_table()
82 extern enum handler_return platform_irq(x86_iframe_t *frame);
84 static void dump_fault_frame(x86_iframe_t *frame) in dump_fault_frame() argument
88 frame->cs, frame->ip, frame->flags, x86_get_cr2()); in dump_fault_frame()
90 frame->ax, frame->cx, frame->dx, frame->bx); in dump_fault_frame()
92 frame->sp, frame->bp, frame->si, frame->di); in dump_fault_frame()
94 frame->ds, frame->es, frame->fs, frame->gs); in dump_fault_frame()
97 frame->cs, frame->ip, frame->flags, x86_get_cr2()); in dump_fault_frame()
[all …]
/external/cronet/net/third_party/quiche/src/quiche/quic/core/http/
Dhttp_decoder.h39 // On*FrameStart() methods are called after the frame header is completely
42 // Called when a MAX_PUSH_ID frame has been successfully parsed.
45 // Called when a GOAWAY frame has been successfully parsed.
46 virtual bool OnGoAwayFrame(const GoAwayFrame& frame) = 0;
48 // Called when a SETTINGS frame has been received.
51 // Called when a SETTINGS frame has been successfully parsed.
52 virtual bool OnSettingsFrame(const SettingsFrame& frame) = 0;
54 // Called when a DATA frame has been received.
55 // |header_length| and |payload_length| are the length of DATA frame header
59 // Called when part of the payload of a DATA frame has been read. May be
[all …]
/external/python/jinja/src/jinja2/
Dcompiler.py36 def new_func(self, node, frame, **kwargs): argument
37 # Only optimize if the frame is not volatile
38 if self.optimized and not frame.eval_ctx.volatile:
39 new_node = self.optimizer.visit(node, frame.eval_ctx)
41 return self.visit(new_node, frame)
42 return f(self, node, frame, **kwargs)
99 class Frame: class
106 # a toplevel frame is the root + soft frames such as if conditions.
109 # the root frame is basically just the outermost frame, so no if
119 # this for example affects {% filter %} or {% macro %}. If a frame
[all …]
/external/libchrome/third_party/jinja2/
Dcompiler.py64 def new_func(self, node, frame, **kwargs): argument
65 # Only optimize if the frame is not volatile
66 if self.optimized and not frame.eval_ctx.volatile:
67 new_node = self.optimizer.visit(node, frame.eval_ctx)
69 return self.visit(new_node, frame)
70 return f(self, node, frame, **kwargs)
130 class Frame(object): class
138 # a toplevel frame is the root + soft frames such as if conditions.
141 # the root frame is basically just the outermost frame, so no if
151 # this for example affects {% filter %} or {% macro %}. If a frame
[all …]
/external/pigweed/pw_hdlc/py/pw_hdlc/
Ddecode.py36 FCS_MISMATCH = 'frame check sequence failure'
41 class Frame: class
42 """Represents an HDLC frame."""
50 """Parses fields from an HDLC frame.
53 raw_encoded: The complete HDLC-encoded frame, including any HDLC
56 raw_decoded: The complete decoded frame (address, control,
58 status: Whether parsing the frame succeeded.
79 """``True`` if this represents a valid frame.
83 from the frame (including bytes parsed as address or control bytes).
104 FRAME = 1 variable in _State
[all …]
/external/rust/crates/h2/src/frame/
Dmod.rs80 pub enum Frame<T = Bytes> { enum
92 impl<T> Frame<T> { impl
93 pub fn map<F, U>(self, f: F) -> Frame<U> in map()
97 use self::Frame::*; in map()
100 Data(frame) => frame.map(f).into(), in map()
101 Headers(frame) => frame.into(), in map()
102 Priority(frame) => frame.into(), in map()
103 PushPromise(frame) => frame.into(), in map()
104 Settings(frame) => frame.into(), in map()
105 Ping(frame) => frame.into(), in map()
[all …]
/external/cronet/net/quic/
Dquic_event_logger.cc115 const quic::QuicStreamFrame& frame) { in NetLogQuicStreamFrameParams() argument
117 .Set("stream_id", static_cast<int>(frame.stream_id)) in NetLogQuicStreamFrameParams()
118 .Set("fin", frame.fin) in NetLogQuicStreamFrameParams()
119 .Set("offset", NetLogNumberValue(frame.offset)) in NetLogQuicStreamFrameParams()
120 .Set("length", frame.data_length); in NetLogQuicStreamFrameParams()
123 base::Value::Dict NetLogQuicAckFrameParams(const quic::QuicAckFrame* frame) { in NetLogQuicAckFrameParams() argument
126 if (!frame->packets.Empty()) { in NetLogQuicAckFrameParams()
129 smallest_observed = frame->packets.Min(); in NetLogQuicAckFrameParams()
131 packet < frame->largest_acked; ++packet) { in NetLogQuicAckFrameParams()
132 if (!frame->packets.Contains(packet)) { in NetLogQuicAckFrameParams()
[all …]
/external/libese/libese-teq1/tests/
Dteq1_unittests.cpp219 // Ensure the next call will use the original TX frame. in TEST_F()
253 // Check that the tx_buf was drained already for the next frame. in RunRules()
367 EXPECT_STREQ("Invalid frame received", state_.last_error_message); in TEST_F()
516 struct Teq1Frame frame; in TEST_F() local
518 frame.header.NAD = kTeq1Options.node_address; in TEST_F()
519 frame.header.PCB = TEQ1_I(0, 0); in TEST_F()
520 frame.header.LEN = 4; in TEST_F()
521 frame.INF[0] = 'A'; in TEST_F()
522 frame.INF[1] = 'B'; in TEST_F()
523 frame.INF[2] = 'C'; in TEST_F()
[all …]
/external/python/cpython2/Tools/webchecker/
Dtktools.py66 """Subroutine to create a frame with scrollbars.
73 Return a tuple containing the hbar, the vbar, and the frame, where
78 if name: frame = Frame(parent, class_=class_, name=name)
79 else: frame = Frame(parent, class_=class_)
81 if name: frame = Frame(parent, name=name)
82 else: frame = Frame(parent)
85 frame.pack(fill=BOTH, expand=1)
90 vbar = Scrollbar(frame, takefocus=takefocus)
93 vbarframe = Frame(frame, borderwidth=0)
95 vbar = Scrollbar(frame, name="vbar", takefocus=takefocus)
[all …]

12345678910>>...327