Home
last modified time | relevance | path

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

12345678910>>...215

/external/javassist/src/main/javassist/bytecode/analysis/
DExecutor.java67 …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()
101 frame.push(Type.TOP); in execute()
105 frame.push(Type.INTEGER); in execute()
108 evalLDC(iter.byteAt(pos + 1), frame); in execute()
[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/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()
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()
68 EXPECT_TRUE(dec_state.ContinuousFrame(&frame)); in TEST()
[all …]
Drtp_frame_reference_finder.cc42 std::unique_ptr<RtpFrameObject> frame) { in ManageFrame() argument
45 AheadOf<uint16_t>(cleared_to_seq_num_, frame->first_seq_num())) { in ManageFrame()
49 FrameDecision decision = ManageFrameInternal(frame.get()); in ManageFrame()
55 stashed_frames_.push_front(std::move(frame)); in ManageFrame()
58 HandOffFrame(std::move(frame)); in ManageFrame()
90 std::unique_ptr<RtpFrameObject> frame) { in HandOffFrame() argument
91 frame->id.picture_id += picture_id_offset_; in HandOffFrame()
92 for (size_t i = 0; i < frame->num_references; ++i) { in HandOffFrame()
93 frame->references[i] += picture_id_offset_; in HandOffFrame()
96 frame_callback_->OnCompleteFrame(std::move(frame)); in HandOffFrame()
[all …]
Ddecoding_state.cc57 bool VCMDecodingState::IsOldFrame(const VCMFrameBuffer* frame) const { in IsOldFrame()
58 assert(frame != NULL); in IsOldFrame()
61 return !IsNewerTimestamp(frame->Timestamp(), time_stamp_); in IsOldFrame()
71 void VCMDecodingState::SetState(const VCMFrameBuffer* frame) { in SetState() argument
72 assert(frame != NULL && frame->GetHighSeqNum() >= 0); in SetState()
73 if (!UsingFlexibleMode(frame)) in SetState()
74 UpdateSyncState(frame); in SetState()
75 sequence_num_ = static_cast<uint16_t>(frame->GetHighSeqNum()); in SetState()
76 time_stamp_ = frame->Timestamp(); in SetState()
77 picture_id_ = frame->PictureId(); in SetState()
[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/llvm-project/lldb/scripts/android/
Dhost_art_bt.py24 frame = thread.GetFrameAtIndex(lldb_frame_index)
25 if frame.GetModule() and re.match(r'JIT\(.*?\)',
26 frame.GetModule().GetFileSpec().GetFilename()):
30 symbol = frame.GetSymbol()
32 print('No symbol info for compiled Java frame: ', frame)
34 line_entry = frame.GetLineEntry()
43 art_stack_visitor = frame.EvaluateExpression(
47 art_method = frame.EvaluateExpression(
50 art_method_name = frame.EvaluateExpression(
52 art_method_name_data = frame.EvaluateExpression(
[all …]
/external/llvm-project/lldb/examples/python/
Dpytracer.py31 def __init__(self, frame): argument
32 self.etraceback = frame.f_exc_traceback
33 self.etype = frame.exc_type
34 self.evalue = frame.f_exc_value
77 def __init__(self, frame, arginfo): argument
78 self.f = frame
132 def __init__(self, frame): argument
133 self.f = frame
164 def callEvent(self, frame): argument
167 def lineEvent(self, frame): argument
[all …]
/external/google-breakpad/src/processor/
Dfast_source_line_resolver_unittest.cc161 static bool VerifyEmpty(const StackFrame &frame) { in VerifyEmpty() argument
162 if (frame.function_name.empty() && in VerifyEmpty()
163 frame.source_file_name.empty() && in VerifyEmpty()
164 frame.source_line == 0) in VerifyEmpty()
169 static void ClearSourceLineInfo(StackFrame *frame) { in ClearSourceLineInfo() argument
170 frame->function_name.clear(); in ClearSourceLineInfo()
171 frame->module = NULL; in ClearSourceLineInfo()
172 frame->source_file_name.clear(); in ClearSourceLineInfo()
173 frame->source_line = 0; in ClearSourceLineInfo()
215 StackFrame frame; in TEST_F() local
[all …]
Dstackwalker_arm.cc68 StackFrameARM* frame = new StackFrameARM(); in GetContextFrame() local
72 frame->context = *context_; in GetContextFrame()
73 frame->context_validity = context_frame_validity_; in GetContextFrame()
74 frame->trust = StackFrame::FRAME_TRUST_CONTEXT; in GetContextFrame()
75 frame->instruction = frame->context.iregs[MD_CONTEXT_ARM_REG_PC]; in GetContextFrame()
77 return frame; in GetContextFrame()
106 scoped_ptr<StackFrameARM> frame(new StackFrameARM()); in GetCallerByCFIFrameInfo() local
113 frame->context_validity |= StackFrameARM::RegisterValidFlag(i); in GetCallerByCFIFrameInfo()
114 frame->context.iregs[i] = entry->second; in GetCallerByCFIFrameInfo()
121 frame->context_validity |= StackFrameARM::RegisterValidFlag(i); in GetCallerByCFIFrameInfo()
[all …]
Dstackwalker_arm64.cc87 StackFrameARM64* frame = new StackFrameARM64(); in GetContextFrame() local
91 frame->context = *context_; in GetContextFrame()
92 frame->context_validity = context_frame_validity_; in GetContextFrame()
93 frame->trust = StackFrame::FRAME_TRUST_CONTEXT; in GetContextFrame()
94 frame->instruction = frame->context.iregs[MD_CONTEXT_ARM64_REG_PC]; in GetContextFrame()
95 frame->context.iregs[MD_CONTEXT_ARM64_REG_LR] = in GetContextFrame()
96 PtrauthStrip(frame->context.iregs[MD_CONTEXT_ARM64_REG_LR]); in GetContextFrame()
98 return frame; in GetContextFrame()
128 scoped_ptr<StackFrameARM64> frame(new StackFrameARM64()); in GetCallerByCFIFrameInfo() local
135 frame->context_validity |= StackFrameARM64::RegisterValidFlag(i); in GetCallerByCFIFrameInfo()
[all …]
Dbasic_source_line_resolver_unittest.cc151 static bool VerifyEmpty(const StackFrame &frame) { in VerifyEmpty() argument
152 if (frame.function_name.empty() && in VerifyEmpty()
153 frame.source_file_name.empty() && in VerifyEmpty()
154 frame.source_line == 0) in VerifyEmpty()
159 static void ClearSourceLineInfo(StackFrame *frame) { in ClearSourceLineInfo() argument
160 frame->function_name.clear(); in ClearSourceLineInfo()
161 frame->module = NULL; in ClearSourceLineInfo()
162 frame->source_file_name.clear(); in ClearSourceLineInfo()
163 frame->source_line = 0; in ClearSourceLineInfo()
187 StackFrame frame; in TEST_F() local
[all …]
Dstackwalker_mips.cc85 StackFrameMIPS* frame = new StackFrameMIPS(); in GetContextFrame() local
89 frame->context = *context_; in GetContextFrame()
90 frame->context_validity = StackFrameMIPS::CONTEXT_VALID_ALL; in GetContextFrame()
91 frame->trust = StackFrame::FRAME_TRUST_CONTEXT; in GetContextFrame()
92 frame->instruction = frame->context.epc; in GetContextFrame()
94 return frame; in GetContextFrame()
143 scoped_ptr<StackFrameMIPS> frame(new StackFrameMIPS()); in GetCallerByCFIFrameInfo() local
152 frame->context.iregs[i] = caller_entry->second; in GetCallerByCFIFrameInfo()
153 frame->context_validity |= StackFrameMIPS::RegisterValidFlag(i); in GetCallerByCFIFrameInfo()
163 frame->context.iregs[i] = last_frame->context.iregs[i]; 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/webrtc/modules/audio_processing/include/
Daudio_frame_proxies.cc18 int ProcessAudioFrame(AudioProcessing* ap, AudioFrame* frame) { in ProcessAudioFrame() argument
19 if (!frame || !ap) { in ProcessAudioFrame()
23 StreamConfig input_config(frame->sample_rate_hz_, frame->num_channels_, in ProcessAudioFrame()
25 StreamConfig output_config(frame->sample_rate_hz_, frame->num_channels_, in ProcessAudioFrame()
27 RTC_DCHECK_EQ(frame->samples_per_channel(), input_config.num_frames()); in ProcessAudioFrame()
29 int result = ap->ProcessStream(frame->data(), input_config, output_config, in ProcessAudioFrame()
30 frame->mutable_data()); in ProcessAudioFrame()
35 frame->vad_activity_ = *stats.voice_detected in ProcessAudioFrame()
43 int ProcessReverseAudioFrame(AudioProcessing* ap, AudioFrame* frame) { in ProcessReverseAudioFrame() argument
44 if (!frame || !ap) { in ProcessReverseAudioFrame()
[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/igt-gpu-tools/tools/
Dintel_infoframes.c332 static void load_infoframe(Transcoder transcoder, DipInfoFrame *frame, in load_infoframe() argument
353 frame->data32[i] = INREG(data_reg); in load_infoframe()
357 static int infoframe_valid_checksum(DipInfoFrame *frame) in infoframe_valid_checksum() argument
360 int length = frame->generic.header.length; in infoframe_valid_checksum()
363 csum = frame->generic.header.type + frame->generic.header.version + in infoframe_valid_checksum()
364 frame->generic.header.length; /* no ecc */ in infoframe_valid_checksum()
366 csum += frame->generic.body[i]; in infoframe_valid_checksum()
371 static void infoframe_fix_checksum(DipInfoFrame *frame) in infoframe_fix_checksum() argument
374 int length = frame->generic.header.length; in infoframe_fix_checksum()
377 csum = frame->generic.header.type + frame->generic.header.version + in infoframe_fix_checksum()
[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/python/jinja/src/jinja2/
Dcompiler.py36 def new_func(self, node, frame, **kwargs): argument
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)
290 def buffer(self, frame): argument
292 frame.buffer = self.temporary_identifier()
295 def return_buffer_contents(self, frame, force_unescaped=False): argument
298 if frame.eval_ctx.volatile:
308 elif frame.eval_ctx.autoescape:
[all …]
/external/webrtc/modules/desktop_capture/
Ddesktop_frame_rotation_unittest.cc48 ArrayDesktopFrame frame(DesktopSize(4, 3), frame_pixels); in TEST() local
52 RotateDesktopFrame(frame, DesktopRect::MakeSize(frame.size()), in TEST()
54 ASSERT_TRUE(DesktopFrameDataEquals(frame, target)); in TEST()
68 RotateDesktopFrame(frame, DesktopRect::MakeSize(frame.size()), in TEST()
83 RotateDesktopFrame(frame, DesktopRect::MakeSize(frame.size()), in TEST()
99 RotateDesktopFrame(frame, DesktopRect::MakeSize(frame.size()), in TEST()
112 ArrayDesktopFrame frame(DesktopSize(5, 3), frame_pixels); in TEST() local
116 RotateDesktopFrame(frame, DesktopRect::MakeSize(frame.size()), in TEST()
118 ASSERT_TRUE(DesktopFrameDataEquals(target, frame)); in TEST()
133 RotateDesktopFrame(frame, DesktopRect::MakeSize(frame.size()), 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/llvm-project/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/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/rust/crates/grpcio-sys/grpc/src/core/tsi/
Dfake_transport_security.cc145 static void tsi_fake_frame_reset(tsi_fake_frame* frame, int needs_draining) { in tsi_fake_frame_reset() argument
146 frame->offset = 0; in tsi_fake_frame_reset()
147 frame->needs_draining = needs_draining; in tsi_fake_frame_reset()
148 if (!needs_draining) frame->size = 0; in tsi_fake_frame_reset()
153 static void tsi_fake_frame_ensure_size(tsi_fake_frame* frame) { in tsi_fake_frame_ensure_size() argument
154 if (frame->data == nullptr) { in tsi_fake_frame_ensure_size()
155 frame->allocated_size = frame->size; in tsi_fake_frame_ensure_size()
156 frame->data = in tsi_fake_frame_ensure_size()
157 static_cast<unsigned char*>(gpr_malloc(frame->allocated_size)); in tsi_fake_frame_ensure_size()
158 } else if (frame->size > frame->allocated_size) { in tsi_fake_frame_ensure_size()
[all …]

12345678910>>...215