Home
last modified time | relevance | path

Searched refs:frame (Results 1 – 25 of 3559) sorted by relevance

12345678910>>...143

/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/webrtc/webrtc/modules/video_coding/
Ddecoding_state_unittest.cc32 VCMFrameBuffer frame; in TEST() local
44 EXPECT_LE(0, frame.InsertPacket(packet, 0, kNoErrors, frame_data)); in TEST()
47 EXPECT_FALSE(dec_state.ContinuousFrame(&frame)); in TEST()
51 dec_state.SetState(&frame); in TEST()
52 frame.Reset(); in TEST()
57 EXPECT_LE(0, frame.InsertPacket(packet, 0, kNoErrors, frame_data)); in TEST()
58 EXPECT_FALSE(dec_state.ContinuousFrame(&frame)); in TEST()
59 frame.Reset(); in TEST()
62 EXPECT_LE(0, frame.InsertPacket(packet, 0, kNoErrors, frame_data)); in TEST()
63 EXPECT_TRUE(dec_state.ContinuousFrame(&frame)); in TEST()
[all …]
Ddecoding_state.cc53 bool VCMDecodingState::IsOldFrame(const VCMFrameBuffer* frame) const { in IsOldFrame()
54 assert(frame != NULL); in IsOldFrame()
57 return !IsNewerTimestamp(frame->TimeStamp(), time_stamp_); in IsOldFrame()
67 void VCMDecodingState::SetState(const VCMFrameBuffer* frame) { in SetState() argument
68 assert(frame != NULL && frame->GetHighSeqNum() >= 0); in SetState()
69 if (!UsingFlexibleMode(frame)) in SetState()
70 UpdateSyncState(frame); in SetState()
71 sequence_num_ = static_cast<uint16_t>(frame->GetHighSeqNum()); in SetState()
72 time_stamp_ = frame->TimeStamp(); in SetState()
73 picture_id_ = frame->PictureId(); in SetState()
[all …]
Djitter_buffer.cc55 void FrameList::InsertFrame(VCMFrameBuffer* frame) { in InsertFrame() argument
56 insert(rbegin().base(), FrameListPair(frame->TimeStamp(), frame)); in InsertFrame()
63 VCMFrameBuffer* frame = it->second; in PopFrame() local
65 return frame; in PopFrame()
567 VCMFrameBuffer* frame = decodable_frames_.PopFrame(timestamp); in ExtractAndSetDecode() local
569 if (!frame) { in ExtractAndSetDecode()
570 frame = incomplete_frames_.PopFrame(timestamp); in ExtractAndSetDecode()
571 if (frame) in ExtractAndSetDecode()
572 continuous = last_decoded_state_.ContinuousFrame(frame); in ExtractAndSetDecode()
578 const bool retransmitted = (frame->GetNackCount() > 0); in ExtractAndSetDecode()
[all …]
/external/webrtc/webrtc/modules/utility/source/
Daudio_frame_operations.cc25 int AudioFrameOperations::MonoToStereo(AudioFrame* frame) { in MonoToStereo() argument
26 if (frame->num_channels_ != 1) { in MonoToStereo()
29 if ((frame->samples_per_channel_ * 2) >= AudioFrame::kMaxDataSizeSamples) { in MonoToStereo()
35 memcpy(data_copy, frame->data_, in MonoToStereo()
36 sizeof(int16_t) * frame->samples_per_channel_); in MonoToStereo()
37 MonoToStereo(data_copy, frame->samples_per_channel_, frame->data_); in MonoToStereo()
38 frame->num_channels_ = 2; in MonoToStereo()
51 int AudioFrameOperations::StereoToMono(AudioFrame* frame) { in StereoToMono() argument
52 if (frame->num_channels_ != 2) { in StereoToMono()
56 StereoToMono(frame->data_, frame->samples_per_channel_, frame->data_); in StereoToMono()
[all …]
/external/google-breakpad/src/processor/
Dfast_source_line_resolver_unittest.cc158 static bool VerifyEmpty(const StackFrame &frame) { in VerifyEmpty() argument
159 if (frame.function_name.empty() && in VerifyEmpty()
160 frame.source_file_name.empty() && in VerifyEmpty()
161 frame.source_line == 0) in VerifyEmpty()
166 static void ClearSourceLineInfo(StackFrame *frame) { in ClearSourceLineInfo() argument
167 frame->function_name.clear(); in ClearSourceLineInfo()
168 frame->module = NULL; in ClearSourceLineInfo()
169 frame->source_file_name.clear(); in ClearSourceLineInfo()
170 frame->source_line = 0; in ClearSourceLineInfo()
212 StackFrame frame; in TEST_F() local
[all …]
Dstackwalker_arm64.cc66 StackFrameARM64* frame = new StackFrameARM64(); in GetContextFrame() local
70 frame->context = *context_; in GetContextFrame()
71 frame->context_validity = context_frame_validity_; in GetContextFrame()
72 frame->trust = StackFrame::FRAME_TRUST_CONTEXT; in GetContextFrame()
73 frame->instruction = frame->context.iregs[MD_CONTEXT_ARM64_REG_PC]; in GetContextFrame()
75 return frame; in GetContextFrame()
105 scoped_ptr<StackFrameARM64> frame(new StackFrameARM64()); in GetCallerByCFIFrameInfo() local
112 frame->context_validity |= StackFrameARM64::RegisterValidFlag(i); in GetCallerByCFIFrameInfo()
113 frame->context.iregs[i] = entry->second; in GetCallerByCFIFrameInfo()
121 frame->context_validity |= StackFrameARM64::RegisterValidFlag(i); in GetCallerByCFIFrameInfo()
[all …]
Dstackwalker_arm.cc67 StackFrameARM* frame = new StackFrameARM(); 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.iregs[MD_CONTEXT_ARM_REG_PC]; in GetContextFrame()
76 return frame; in GetContextFrame()
105 scoped_ptr<StackFrameARM> frame(new StackFrameARM()); in GetCallerByCFIFrameInfo() local
112 frame->context_validity |= StackFrameARM::RegisterValidFlag(i); in GetCallerByCFIFrameInfo()
113 frame->context.iregs[i] = entry->second; in GetCallerByCFIFrameInfo()
120 frame->context_validity |= StackFrameARM::RegisterValidFlag(i); in GetCallerByCFIFrameInfo()
[all …]
Dbasic_source_line_resolver_unittest.cc148 static bool VerifyEmpty(const StackFrame &frame) { in VerifyEmpty() argument
149 if (frame.function_name.empty() && in VerifyEmpty()
150 frame.source_file_name.empty() && in VerifyEmpty()
151 frame.source_line == 0) in VerifyEmpty()
156 static void ClearSourceLineInfo(StackFrame *frame) { in ClearSourceLineInfo() argument
157 frame->function_name.clear(); in ClearSourceLineInfo()
158 frame->module = NULL; in ClearSourceLineInfo()
159 frame->source_file_name.clear(); in ClearSourceLineInfo()
160 frame->source_line = 0; in ClearSourceLineInfo()
184 StackFrame frame; in TEST_F() local
[all …]
Dstackwalker_mips.cc73 StackFrameMIPS* frame = new StackFrameMIPS(); in GetContextFrame() local
77 frame->context = *context_; in GetContextFrame()
78 frame->context_validity = StackFrameMIPS::CONTEXT_VALID_ALL; in GetContextFrame()
79 frame->trust = StackFrame::FRAME_TRUST_CONTEXT; in GetContextFrame()
80 frame->instruction = frame->context.epc; in GetContextFrame()
82 return frame; in GetContextFrame()
131 scoped_ptr<StackFrameMIPS> frame(new StackFrameMIPS()); in GetCallerByCFIFrameInfo() local
140 frame->context.iregs[i] = caller_entry->second; in GetCallerByCFIFrameInfo()
141 frame->context_validity |= StackFrameMIPS::RegisterValidFlag(i); in GetCallerByCFIFrameInfo()
151 frame->context.iregs[i] = last_frame->context.iregs[i]; in GetCallerByCFIFrameInfo()
[all …]
Dstackwalker_amd64.cc116 StackFrameAMD64* frame = new StackFrameAMD64(); in GetContextFrame() local
120 frame->context = *context_; in GetContextFrame()
121 frame->context_validity = StackFrameAMD64::CONTEXT_VALID_ALL; in GetContextFrame()
122 frame->trust = StackFrame::FRAME_TRUST_CONTEXT; in GetContextFrame()
123 frame->instruction = frame->context.rip; in GetContextFrame()
125 return frame; in GetContextFrame()
133 scoped_ptr<StackFrameAMD64> frame(new StackFrameAMD64()); in GetCallerByCFIFrameInfo() local
137 &frame->context, &frame->context_validity)) in GetCallerByCFIFrameInfo()
143 if ((frame->context_validity & essentials) != essentials) in GetCallerByCFIFrameInfo()
146 frame->trust = StackFrame::FRAME_TRUST_CFI; in GetCallerByCFIFrameInfo()
[all …]
/external/libese/libese-teq1/tests/
Dteq1_unittests.cpp516 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()
524 frame.INF[3] = 'D'; in TEST_F()
525 frame.INF[frame.header.LEN] = teq1_compute_LRC(&frame); in TEST_F()
526 frame_size = sizeof(frame.header) + frame.header.LEN + 1; in TEST_F()
[all …]
/external/python/cpython2/Lib/
Dbdb.py45 def trace_dispatch(self, frame, event, arg): argument
49 return self.dispatch_line(frame)
51 return self.dispatch_call(frame, arg)
53 return self.dispatch_return(frame, arg)
55 return self.dispatch_exception(frame, arg)
65 def dispatch_line(self, frame): argument
66 if self.stop_here(frame) or self.break_here(frame):
67 self.user_line(frame)
71 def dispatch_call(self, frame, arg): argument
75 self.botframe = frame.f_back # (CT) Note that this may also be None!
[all …]
/external/python/cpython3/Lib/
Dbdb.py61 def trace_dispatch(self, frame, event, arg): argument
88 return self.dispatch_line(frame)
90 return self.dispatch_call(frame, arg)
92 return self.dispatch_return(frame, arg)
94 return self.dispatch_exception(frame, arg)
104 def dispatch_line(self, frame): argument
111 if self.stop_here(frame) or self.break_here(frame):
112 self.user_line(frame)
116 def dispatch_call(self, frame, arg): argument
126 self.botframe = frame.f_back # (CT) Note that this may also be None!
[all …]
/external/libchrome/third_party/jinja2/
Dcompiler.py64 def new_func(self, node, frame, **kwargs): argument
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)
322 def buffer(self, frame): argument
324 frame.buffer = self.temporary_identifier()
325 self.writeline('%s = []' % frame.buffer)
327 def return_buffer_contents(self, frame, force_unescaped=False): argument
330 if frame.eval_ctx.volatile:
[all …]
/external/webrtc/webrtc/common_video/
Di420_video_frame_unittest.cc30 VideoFrame frame; in TEST() local
31 EXPECT_TRUE(frame.IsZeroSize()); in TEST()
32 EXPECT_EQ(kVideoRotation_0, frame.rotation()); in TEST()
36 VideoFrame frame; in TEST() local
38 frame2.CopyFrame(frame); in TEST()
42 VideoFrame frame; in TEST() local
44 EXPECT_EQ(0, frame.CreateEmptyFrame(10, 10, 10, 14, 90)); in TEST()
45 EXPECT_EQ(valid_value, frame.width()); in TEST()
46 EXPECT_EQ(valid_value, frame.height()); in TEST()
47 frame.set_timestamp(123u); in TEST()
[all …]
/external/grpc-grpc/src/core/tsi/
Dfake_transport_security.cc149 static void tsi_fake_frame_reset(tsi_fake_frame* frame, int needs_draining) { in tsi_fake_frame_reset() argument
150 frame->offset = 0; in tsi_fake_frame_reset()
151 frame->needs_draining = needs_draining; in tsi_fake_frame_reset()
152 if (!needs_draining) frame->size = 0; in tsi_fake_frame_reset()
157 static void tsi_fake_frame_ensure_size(tsi_fake_frame* frame) { in tsi_fake_frame_ensure_size() argument
158 if (frame->data == nullptr) { in tsi_fake_frame_ensure_size()
159 frame->allocated_size = frame->size; in tsi_fake_frame_ensure_size()
160 frame->data = in tsi_fake_frame_ensure_size()
161 static_cast<unsigned char*>(gpr_malloc(frame->allocated_size)); in tsi_fake_frame_ensure_size()
162 } else if (frame->size > frame->allocated_size) { in tsi_fake_frame_ensure_size()
[all …]
/external/zxing/qr_scanner/src/com/google/zxing/client/android/
DViewfinderView.java83 Rect frame = cameraManager.getFramingRect(); in onDraw() local
84 if (frame == null) { in onDraw()
92 canvas.drawRect(0, 0, width, frame.top, paint); in onDraw()
93 canvas.drawRect(0, frame.top, frame.left, frame.bottom + 1, paint); in onDraw()
94 canvas.drawRect(frame.right + 1, frame.top, width, frame.bottom + 1, paint); in onDraw()
95 canvas.drawRect(0, frame.bottom + 1, width, height, paint); in onDraw()
100 canvas.drawBitmap(resultBitmap, null, frame, paint); in onDraw()
105 canvas.drawRect(frame.left, frame.top, frame.right + 1, frame.top + 2, paint); in onDraw()
106 canvas.drawRect(frame.left, frame.top + 2, frame.left + 2, frame.bottom - 1, paint); in onDraw()
107 canvas.drawRect(frame.right - 1, frame.top, frame.right + 1, frame.bottom - 1, paint); in onDraw()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/test/CodeGen/AArch64/
Dldst-miflags.mir9 frame-setup STRWui $w1, $x0, 1 :: (store 4)
10 $w1 = frame-destroy LDRWui $x0, 1 :: (load 4)
12 ; CHECK: frame-setup STRWui
13 ; CHECK-NOT: frame-setup
14 ; CHECK-NEXT: frame-destroy ORRWrs
25 frame-setup STRWui $w1, $x0, 1 :: (store 4)
26 $w2 = frame-destroy LDRHHui $x0, 2 :: (load 2)
28 ; CHECK: frame-setup STRWui
29 ; CHECK-NOT: frame-setup
30 ; CHECK-NEXT: frame-destroy ANDWri
[all …]
/external/webp/src/demux/
Ddemux.c185 static int AddFrame(WebPDemuxer* const dmux, Frame* const frame) { in AddFrame() argument
189 *dmux->frames_tail_ = frame; in AddFrame()
190 frame->next_ = NULL; in AddFrame()
191 dmux->frames_tail_ = &frame->next_; in AddFrame()
198 Frame* const frame) { in SetFrameInfo() argument
199 frame->img_components_[0].offset_ = start_offset; in SetFrameInfo()
200 frame->img_components_[0].size_ = size; in SetFrameInfo()
201 frame->width_ = features->width; in SetFrameInfo()
202 frame->height_ = features->height; in SetFrameInfo()
203 frame->has_alpha_ |= features->has_alpha; in SetFrameInfo()
[all …]
/external/libvpx/libvpx/test/
Dresize_test.cc73 pts = pkt->data.frame.pts; in write_ivf_frame_header()
74 mem_put_le32(header, static_cast<unsigned int>(pkt->data.frame.sz)); in write_ivf_frame_header()
94 void ScaleForFrameNumber(unsigned int frame, unsigned int initial_w, in ScaleForFrameNumber() argument
97 if (frame < 10) { in ScaleForFrameNumber()
102 if (frame < 20) { in ScaleForFrameNumber()
107 if (frame < 30) { in ScaleForFrameNumber()
112 if (frame < 40) { in ScaleForFrameNumber()
117 if (frame < 50) { in ScaleForFrameNumber()
122 if (frame < 60) { in ScaleForFrameNumber()
127 if (frame < 70) { in ScaleForFrameNumber()
[all …]
/external/webrtc/webrtc/modules/video_coding/codecs/test/
Dstats.cc94 FrameStatisticsIterator frame; in PrintSummary() local
98 frame = std::min_element(stats_.begin(), stats_.end(), LessForEncodeTime); in PrintSummary()
99 printf(" Min : %7d us (frame %d)\n", frame->encode_time_in_us, in PrintSummary()
100 frame->frame_number); in PrintSummary()
102 frame = std::max_element(stats_.begin(), stats_.end(), LessForEncodeTime); in PrintSummary()
103 printf(" Max : %7d us (frame %d)\n", frame->encode_time_in_us, in PrintSummary()
104 frame->frame_number); in PrintSummary()
123 frame = std::min_element(decoded_frames.begin(), decoded_frames.end(), in PrintSummary()
125 printf(" Min : %7d us (frame %d)\n", frame->decode_time_in_us, in PrintSummary()
126 frame->frame_number); in PrintSummary()
[all …]
/external/boringssl/src/crypto/fipsmodule/bn/asm/
Dx86-mont.pl67 $frame=32; # size of above frame rounded up to 16n
78 &lea ("ebp",&DWP(-$frame,"esp","edi",4)); # future alloca($frame+4*(num+2))
197 &movd (&DWP($frame-4,"esp",$j,4),$car1); # tp[j-1]=
212 &movd (&DWP($frame-4,"esp",$j,4),$car1); # tp[num-2]=
218 &movq (&QWP($frame,"esp",$num,4),$car1); # tp[num].tp[num-1]
226 &movd ($temp,&DWP($frame,"esp")); # tp[0]
240 &movd ($temp,&DWP($frame+4,"esp")); # tp[1]
257 &movd ($temp,&DWP($frame+4,"esp",$j,4));# tp[j+1]
263 &movd (&DWP($frame-4,"esp",$j,4),$car1);# tp[j-1]=
280 &movd (&DWP($frame-4,"esp",$j,4),$car1); # tp[num-2]=
[all …]
/external/apache-xml/src/main/java/org/apache/xml/serializer/
DElemContext.java167 ElemContext frame = this.m_next; in push() local
168 if (frame == null) in push()
173 frame = new ElemContext(this); in push()
174 this.m_next = frame; in push()
182 frame.m_startTagOpen = true; in push()
183 return frame; in push()
201 ElemContext frame = this.m_next; in push() local
202 if (frame == null) in push()
207 frame = new ElemContext(this); in push()
208 this.m_next = frame; in push()
[all …]
/external/python/cpython2/Tools/webchecker/
Dtktools.py78 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)
105 hbar = Scrollbar(frame, orient=HORIZONTAL, name="hbar",
111 return hbar, vbar, frame
[all …]

12345678910>>...143