Home
last modified time | relevance | path

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

12345678910>>...80

/external/javassist/src/main/javassist/bytecode/analysis/
DExecutor.java66 …public void execute(MethodInfo method, int pos, CodeIterator iter, Frame frame, Subroutine subrout… in execute() argument
76 frame.push(Type.UNINIT); in execute()
85 frame.push(Type.INTEGER); in execute()
89 frame.push(Type.LONG); in execute()
90 frame.push(Type.TOP); in execute()
95 frame.push(Type.FLOAT); in execute()
99 frame.push(Type.DOUBLE); in execute()
100 frame.push(Type.TOP); in execute()
104 frame.push(Type.INTEGER); in execute()
107 evalLDC(iter.byteAt(pos + 1), frame); in execute()
[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/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 …]
/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 …]
/external/opencv3/modules/cudabgsegm/perf/
Dperf_bgsegm.cpp83 cv::Mat frame; variable
85 cap >> frame;
86 ASSERT_FALSE(frame.empty());
92 cv::cvtColor(frame, temp, cv::COLOR_BGR2GRAY);
94 cv::cvtColor(frame, temp, cv::COLOR_BGR2BGRA);
95 cv::swap(temp, frame);
102 cv::cuda::GpuMat d_frame(frame);
112 cap >> frame;
113 ASSERT_FALSE(frame.empty());
119 cv::cvtColor(frame, temp, cv::COLOR_BGR2GRAY);
[all …]
/external/opencv3/3rdparty/jinja2/
Dcompiler.py430 def buffer(self, frame): argument
432 frame.buffer = self.temporary_identifier()
433 self.writeline('%s = []' % frame.buffer)
435 def return_buffer_contents(self, frame): argument
437 if frame.eval_ctx.volatile:
440 self.writeline('return Markup(concat(%s))' % frame.buffer)
444 self.writeline('return concat(%s)' % frame.buffer)
446 elif frame.eval_ctx.autoescape:
447 self.writeline('return Markup(concat(%s))' % frame.buffer)
449 self.writeline('return concat(%s)' % frame.buffer)
[all …]
/external/valgrind/coregrind/m_sigframe/
Dsigframe-x86-darwin.c147 struct hacky_sigframe* frame; in VG_() local
163 frame = (struct hacky_sigframe *) esp; in VG_()
166 VG_(memset)(&frame->lower_guardzone, 0, sizeof frame->lower_guardzone); in VG_()
167 VG_(memset)(&frame->vex, 0, sizeof(VexGuestX86State)); in VG_()
168 VG_(memset)(&frame->vex_shadow1, 0, sizeof(VexGuestX86State)); in VG_()
169 VG_(memset)(&frame->vex_shadow2, 0, sizeof(VexGuestX86State)); in VG_()
170 VG_(memset)(&frame->fake_siginfo, 0, sizeof(frame->fake_siginfo)); in VG_()
171 VG_(memset)(&frame->fake_ucontext, 0, sizeof(frame->fake_ucontext)); in VG_()
174 frame->vex = tst->arch.vex; in VG_()
175 frame->vex_shadow1 = tst->arch.vex_shadow1; in VG_()
[all …]
Dsigframe-ppc64-linux.c151 struct rt_sigframe* frame; in VG_() local
166 frame = (struct rt_sigframe *) sp; in VG_()
169 VG_(memset)(frame, 0, sizeof(*frame)); in VG_()
172 frame->pinfo = &frame->info; in VG_()
173 frame->puc = &frame->uc; in VG_()
175 frame->uc.uc_flags = 0; in VG_()
176 frame->uc.uc_link = 0; in VG_()
192 VG_(memcpy)(&frame->info, siginfo, sizeof(*siginfo)); in VG_()
194 (Addr)&frame->info, sizeof(frame->info) ); in VG_()
196 frame->uc.uc_flags = 0; in VG_()
[all …]
Dsigframe-amd64-darwin.c159 struct hacky_sigframe* frame; in VG_() local
175 frame = (struct hacky_sigframe *) rsp; in VG_()
178 VG_(memset)(&frame->lower_guardzone, 0, sizeof frame->lower_guardzone); in VG_()
179 VG_(memset)(&frame->vex, 0, sizeof(VexGuestAMD64State)); in VG_()
180 VG_(memset)(&frame->vex_shadow1, 0, sizeof(VexGuestAMD64State)); in VG_()
181 VG_(memset)(&frame->vex_shadow2, 0, sizeof(VexGuestAMD64State)); in VG_()
182 VG_(memset)(&frame->fake_siginfo, 0, sizeof(frame->fake_siginfo)); in VG_()
183 VG_(memset)(&frame->fake_ucontext, 0, sizeof(frame->fake_ucontext)); in VG_()
186 frame->vex = tst->arch.vex; in VG_()
187 frame->vex_shadow1 = tst->arch.vex_shadow1; in VG_()
[all …]
Dsigframe-x86-linux.c397 static void build_vg_sigframe(struct vg_sigframe *frame, in build_vg_sigframe() argument
402 frame->sigNo_private = sigNo; in build_vg_sigframe()
403 frame->magicPI = 0x31415927; in build_vg_sigframe()
404 frame->vex_shadow1 = tst->arch.vex_shadow1; in build_vg_sigframe()
405 frame->vex_shadow2 = tst->arch.vex_shadow2; in build_vg_sigframe()
407 frame->vex = tst->arch.vex; in build_vg_sigframe()
409 frame->mask = tst->sig_mask; in build_vg_sigframe()
410 frame->handlerflags = flags; in build_vg_sigframe()
411 frame->magicE = 0x27182818; in build_vg_sigframe()
423 struct sigframe *frame; in build_sigframe() local
[all …]
Dsigframe-solaris.c65 vki_sigframe_t *frame; in VG_() local
76 frame = (vki_sigframe_t*)esp; in VG_()
81 frame->return_addr = (void*)~0UL; in VG_()
85 VG_(save_context)(tid, &frame->ucontext, Vg_CoreSignal); in VG_()
88 frame->siginfo = *siginfo; in VG_()
123 frame->siginfo.si_code = VKI_SEGV_MAPERR; in VG_()
132 frame->siginfo.si_addr = (void*)VG_(get_IP)(tid); in VG_()
135 frame->siginfo.si_faddr = (void*)VG_(get_IP)(tid); in VG_()
140 VG_TRACK(post_mem_write, Vg_CoreSignal, tid, (Addr)&frame->siginfo, in VG_()
141 sizeof(frame->siginfo)); in VG_()
[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/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/opencv3/modules/cudalegacy/perf/
Dperf_bgsegm.cpp85 cv::Mat frame; variable
86 cap >> frame;
87 ASSERT_FALSE(frame.empty());
91 cv::cuda::GpuMat d_frame(frame), foreground;
101 cap >> frame;
102 ASSERT_FALSE(frame.empty());
104 d_frame.upload(frame);
118 cap >> frame;
119 ASSERT_FALSE(frame.empty());
121 d_frame.upload(frame);
[all …]
/external/v8/test/mjsunit/
Ddebug-evaluate-locals.js44 function checkFrame0(frame) { argument
46 var count = frame.localCount();
49 var name = frame.localName(i);
50 var value = frame.localValue(i).value();
67 function checkFrame1(frame) { argument
69 var count = frame.localCount();
72 var name = frame.localName(i);
73 var value = frame.localValue(i).value();
91 function checkFrame2(frame) { argument
93 var count = frame.localCount();
[all …]
/external/opencv3/samples/cpp/
Dpolar_transforms.cpp46 IplImage* frame = 0; in main() local
48 frame = cvQueryFrame( capture ); in main()
49 if( !frame ) in main()
54 …log_polar_img = cvCreateImage( cvSize(frame->width,frame->height), IPL_DEPTH_8U, frame->nChannels … in main()
55 …lin_polar_img = cvCreateImage( cvSize(frame->width,frame->height), IPL_DEPTH_8U, frame->nChannels … in main()
56 …recovered_img = cvCreateImage( cvSize(frame->width,frame->height), IPL_DEPTH_8U, frame->nChannels … in main()
59 …cvLogPolar(frame,log_polar_img,cvPoint2D32f(frame->width >> 1,frame->height >> 1),70, CV_INTER_LIN… in main()
60 …cvLinearPolar(frame,lin_polar_img,cvPoint2D32f(frame->width >> 1,frame->height >> 1),70, CV_INTER_… in main()
63 …cvLogPolar(log_polar_img,recovered_img,cvPoint2D32f(frame->width >> 1,frame->height >> 1),70, CV_W… in main()
65 …cvLinearPolar(lin_polar_img,recovered_img,cvPoint2D32f(frame->width >> 1,frame->height >> 1),70, C… in main()
/external/opencv3/3rdparty/include/ffmpeg_/libavutil/
Dframe.h446 int64_t av_frame_get_best_effort_timestamp(const AVFrame *frame);
447 void av_frame_set_best_effort_timestamp(AVFrame *frame, int64_t val);
448 int64_t av_frame_get_pkt_duration (const AVFrame *frame);
449 void av_frame_set_pkt_duration (AVFrame *frame, int64_t val);
450 int64_t av_frame_get_pkt_pos (const AVFrame *frame);
451 void av_frame_set_pkt_pos (AVFrame *frame, int64_t val);
452 int64_t av_frame_get_channel_layout (const AVFrame *frame);
453 void av_frame_set_channel_layout (AVFrame *frame, int64_t val);
454 int av_frame_get_channels (const AVFrame *frame);
455 void av_frame_set_channels (AVFrame *frame, int val);
[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/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 …]

12345678910>>...80