Home
last modified time | relevance | path

Searched full:frames (Results 1 – 25 of 3073) sorted by relevance

12345678910>>...123

/external/llvm/test/DebugInfo/
Ddwarfdump-debug-frame-simple.test1 …arfdump %p/Inputs/dwarfdump-test-32bit.elf.o -debug-dump=frames | FileCheck %s -check-prefix FRAMES
4 ; FRAMES: .debug_frame
5 ; FRAMES-NOT: .eh_frame
7 ; FRAMES: 00000000 00000010 ffffffff CIE
8 ; FRAMES: Version: 1
9 ; FRAMES: DW_CFA_def_cfa: reg4 +4
10 ; FRAMES-NEXT: DW_CFA_offset: reg8 -4
11 ; FRAMES-NEXT: DW_CFA_nop:
12 ; FRAMES-NEXT: DW_CFA_nop:
14 ; FRAMES: 00000014 00000010 00000000 FDE cie=00000000 pc=00000000...00000022
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/test/DebugInfo/
Ddwarfdump-debug-frame-simple.test1 …vm-dwarfdump %p/Inputs/dwarfdump-test-32bit.elf.o --debug-frame | FileCheck %s -check-prefix FRAMES
4 ; FRAMES: .debug_frame
6 ; FRAMES: 00000000 00000010 ffffffff CIE
7 ; FRAMES: Version: 1
8 ; FRAMES: DW_CFA_def_cfa: reg4 +4
9 ; FRAMES-NEXT: DW_CFA_offset: reg8 -4
10 ; FRAMES-NEXT: DW_CFA_nop:
11 ; FRAMES-NEXT: DW_CFA_nop:
13 ; FRAMES: 00000014 00000010 00000000 FDE cie=00000000 pc=00000000...00000022
14 ; FRAMES: DW_CFA_advance_loc: 3
[all …]
/external/tensorflow/tensorflow/core/grappler/optimizers/
Dloop_optimizer_test.cc108 FrameView frames; in TEST_F() local
109 TF_EXPECT_OK(frames.InferFromGraphView(view)); in TEST_F()
111 EXPECT_EQ(frames.num_frames(), 1); in TEST_F()
112 ASSERT_EQ(frames.Frames(*view.GetNode("InvariantAdd")).size(), 1); in TEST_F()
113 EXPECT_EQ(frames.Frames(*view.GetNode("InvariantAdd")).back(), 0); in TEST_F()
114 ASSERT_EQ(frames.Frames(*view.GetNode("VariantAdd")).size(), 1); in TEST_F()
115 EXPECT_EQ(frames.Frames(*view.GetNode("VariantAdd")).back(), 0); in TEST_F()
120 FrameView frames; in TEST_F() local
121 TF_EXPECT_OK(frames.InferFromGraphView(view)); in TEST_F()
123 EXPECT_EQ(frames.num_frames(), 1); in TEST_F()
[all …]
/external/elfutils/src/
Dstack.c1 /* Unwinding of frames like gstack/pstack.
63 struct frames struct
65 int frames; member
96 /* Whether any frames have been shown at all. Determines exit status. */
99 /* Program exit codes. All frames shown without any errors is GOOD.
100 Some frames shown with some non-fatal errors is an ERROR. A fatal
101 error or no frames shown at all is BAD. A command line USAGE exit
175 struct frames *frames = (struct frames *) arg; in frame_callback() local
176 int nr = frames->frames; in frame_callback()
177 if (! dwfl_frame_pc (state, &frames->frame[nr].pc, in frame_callback()
[all …]
/external/adhd/cras/src/dsp/
Ddsp_util.c33 float *output2, int frames) in deinterleave_stereo() argument
35 int chunk = frames >> 3; in deinterleave_stereo()
36 frames &= 7; in deinterleave_stereo()
37 /* Process 8 frames (16 samples) each loop. */ in deinterleave_stereo()
67 while (frames--) { in deinterleave_stereo()
87 int16_t *output, int frames) in interleave_stereo() argument
89 /* Process 4 frames (8 samples) each loop. */ in interleave_stereo()
91 int chunk = frames >> 2; in interleave_stereo()
92 frames &= 3; in interleave_stereo()
122 while (frames--) { in interleave_stereo()
[all …]
/external/adhd/cras/src/dsp/tests/
Dcrossover_test.c40 size_t frames; in main() local
55 data0 = read_raw(argv[1], &frames); in main()
56 data1 = (float *)malloc(sizeof(float) * frames * 2); in main()
57 data2 = (float *)malloc(sizeof(float) * frames * 2); in main()
61 process(&xo, frames, data0, data1, data2); in main()
64 tp_diff(&tp2, &tp1), frames); in main()
68 process(&xo, frames, data0 + frames, data1 + frames, in main()
69 data2 + frames); in main()
72 tp_diff(&tp2, &tp1), frames); in main()
75 write_raw(argv[3], data0, frames); in main()
[all …]
Dcrossover2_test.c42 size_t frames; in main() local
57 data0 = read_raw(argv[1], &frames); in main()
58 data1 = (float *)malloc(sizeof(float) * frames * 2); in main()
59 data2 = (float *)malloc(sizeof(float) * frames * 2); in main()
63 process(&xo2, frames, data0, data0 + frames, data1, data1 + frames, in main()
64 data2, data2 + frames); in main()
67 tp_diff(&tp2, &tp1), frames * 2); in main()
70 write_raw(argv[3], data0, frames); in main()
71 write_raw(argv[4], data1, frames); in main()
72 write_raw(argv[5], data2, frames); in main()
[all …]
/external/google-breakpad/src/processor/
Dstackwalker_address_list_unittest.cc107 const std::vector<StackFrame*>* frames = call_stack.frames(); in CheckCallStack() local
108 ASSERT_EQ(arraysize(kDummyFrames), frames->size()); in CheckCallStack()
110 ASSERT_EQ(kDummyFrames[i], frames->at(i)->instruction); in CheckCallStack()
111 ASSERT_EQ(StackFrame::FRAME_TRUST_PREWALKED, frames->at(i)->trust); in CheckCallStack()
113 ASSERT_EQ(static_cast<const CodeModule*>(&module2), frames->at(0)->module); in CheckCallStack()
114 ASSERT_EQ(static_cast<const CodeModule*>(&module2), frames->at(1)->module); in CheckCallStack()
115 ASSERT_EQ(static_cast<const CodeModule*>(&module2), frames->at(2)->module); in CheckCallStack()
116 ASSERT_EQ(static_cast<const CodeModule*>(&module1), frames->at(3)->module); in CheckCallStack()
117 ASSERT_EQ(static_cast<const CodeModule*>(&module1), frames->at(4)->module); in CheckCallStack()
177 const std::vector<StackFrame*>* frames = call_stack.frames(); in TEST_F() local
[all …]
Dstackwalker_mips_unittest.cc142 const vector<StackFrame*>* frames; member in StackwalkerMIPSFixture
165 frames = call_stack.frames(); in TEST_F()
166 ASSERT_EQ(1U, frames->size()); in TEST_F()
167 StackFrameMIPS* frame = static_cast<StackFrameMIPS*>(frames->at(0)); in TEST_F()
192 frames = call_stack.frames(); in TEST_F()
193 StackFrameMIPS* frame = static_cast<StackFrameMIPS*>(frames->at(0)); in TEST_F()
215 frames = call_stack.frames(); in TEST_F()
216 StackFrameMIPS* frame = static_cast<StackFrameMIPS*>(frames->at(0)); in TEST_F()
228 // Force scanning through three frames to ensure that the in TEST_F()
229 // stack pointer is set properly in scan-recovered frames. in TEST_F()
[all …]
Dstackwalker_arm_unittest.cc142 const vector<StackFrame *> *frames; member in StackwalkerARMFixture
161 frames = call_stack.frames(); in TEST_F()
162 ASSERT_EQ(1U, frames->size()); in TEST_F()
163 StackFrameARM *frame = static_cast<StackFrameARM *>(frames->at(0)); in TEST_F()
184 frames = call_stack.frames(); in TEST_F()
185 ASSERT_EQ(1U, frames->size()); in TEST_F()
186 StackFrameARM *frame = static_cast<StackFrameARM *>(frames->at(0)); in TEST_F()
204 frames = call_stack.frames(); in TEST_F()
205 ASSERT_EQ(1U, frames->size()); in TEST_F()
206 StackFrameARM *frame = static_cast<StackFrameARM *>(frames->at(0)); in TEST_F()
[all …]
Dstackwalker_amd64_unittest.cc140 const vector<StackFrame *> *frames; member in StackwalkerAMD64Fixture
166 frames = call_stack.frames(); in TEST_F()
167 ASSERT_GE(1U, frames->size()); in TEST_F()
168 StackFrameAMD64 *frame = static_cast<StackFrameAMD64 *>(frames->at(0)); in TEST_F()
192 frames = call_stack.frames(); in TEST_F()
193 ASSERT_GE(1U, frames->size()); in TEST_F()
194 StackFrameAMD64 *frame = static_cast<StackFrameAMD64 *>(frames->at(0)); in TEST_F()
216 frames = call_stack.frames(); in TEST_F()
217 ASSERT_GE(1U, frames->size()); in TEST_F()
218 StackFrameAMD64 *frame = static_cast<StackFrameAMD64 *>(frames->at(0)); in TEST_F()
[all …]
Dstackwalker_arm64_unittest.cc141 const vector<StackFrame *> *frames; member in StackwalkerARM64Fixture
159 frames = call_stack.frames(); in TEST_F()
160 ASSERT_EQ(1U, frames->size()); in TEST_F()
161 StackFrameARM64 *frame = static_cast<StackFrameARM64 *>(frames->at(0)); in TEST_F()
181 frames = call_stack.frames(); in TEST_F()
182 ASSERT_EQ(1U, frames->size()); in TEST_F()
183 StackFrameARM64 *frame = static_cast<StackFrameARM64 *>(frames->at(0)); in TEST_F()
195 // Force scanning through three frames to ensure that the in TEST_F()
196 // stack pointer is set properly in scan-recovered frames. in TEST_F()
236 frames = call_stack.frames(); in TEST_F()
[all …]
/external/libvpx/libvpx/test/
Dsvc_end_to_end_test.cc47 // Keep track of number of non-reference frames, needed for mismatch check. in FramePktHook()
48 // Non-reference frames are top spatial and temporal layer frames, in FramePktHook()
91 // For this 3 temporal layer case, pattern repeats every 4 frames, so choose in TEST_P()
96 // The non-reference frames are expected to be mismatched frames as the in TEST_P()
97 // encoder will avoid loopfilter on these frames. in TEST_P()
136 // Decoder sets the color_space for Intra-only frames in PreEncodeFrameHook()
163 // Keep track of number of non-reference frames, needed for mismatch check. in FramePktHook()
164 // Non-reference frames are top spatial and temporal layer frames, in FramePktHook()
257 // The non-reference frames are expected to be mismatched frames as the in TEST_P()
258 // encoder will avoid loopfilter on these frames. in TEST_P()
[all …]
Dsvc_datarate_test.cc163 // Decoder sets the color_space for Intra-only frames in PreEncodeFrameHook()
368 const uint32_t frames = (marker & 0x7) + 1; in parse_superframe_index() local
370 const size_t index_sz = 2 + mag * frames; in parse_superframe_index()
384 for (i = 0; i < frames; ++i) { in parse_superframe_index()
390 *count = frames; in parse_superframe_index()
405 // For test that inserts layer sync frames: requesting a layer_sync on in FramePktHook()
448 // Keep track of number of non-reference frames, needed for mismatch check. in FramePktHook()
449 // Non-reference frames are top spatial and temporal layer frames, in FramePktHook()
465 // temporal layer, since there may be key frames there. in FramePktHook()
466 // Fo short key frame spacing, buffer can underrun on individual frames. in FramePktHook()
[all …]
/external/syzkaller/pkg/symbolizer/
Dsymbolizer_test.go19 frames []Frame
156 frames, err := symbolize(input, scanner, []uint64{addr.pc})
160 if !reflect.DeepEqual(addr.frames, frames) {
161 t.Fatalf("want frames:\n%+v\ngot:\n%+v\n", addr.frames, frames)
164 allFrames = append(allFrames, frames...)
169 frames, err := symbolize(input, scanner, allPCs[:i])
177 frames = append(frames, frames2...)
178 if !reflect.DeepEqual(allFrames, frames) {
179 t.Fatalf("want frames:\n%+v\ngot:\n%+v\n", allFrames, frames)
188 frames, err := symbolize(input, scanner, lots)
[all …]
/external/python/cpython3/Lib/test/
Daudiotests.py74 def check_file(self, testfile, nframes, frames): argument
80 self.assertEqual(f.readframes(nframes), frames)
85 f.writeframes(self.frames)
140 f.writeframes(self.frames)
143 self.check_file(TESTFN, self.nframes, self.frames)
148 f.writeframes(bytearray(self.frames))
151 self.check_file(TESTFN, self.nframes, self.frames)
156 f.writeframes(array.array('h', self.frames))
159 self.check_file(TESTFN, self.nframes, self.frames)
164 f.writeframes(memoryview(self.frames))
[all …]
/external/adhd/cras/src/tests/
Da2dp_iodev_unittest.cc188 unsigned frames; in TEST_F() local
196 frames = 256; in TEST_F()
197 iodev->get_buffer(iodev, &area1, &frames); in TEST_F()
198 ASSERT_EQ(256, frames); in TEST_F()
199 ASSERT_EQ(256, area1->frames); in TEST_F()
202 /* Test 100 frames(400 bytes) put and all processed. */ in TEST_F()
210 // Start with 4k frames. in TEST_F()
214 iodev->get_buffer(iodev, &area2, &frames); in TEST_F()
215 ASSERT_EQ(256, frames); in TEST_F()
216 ASSERT_EQ(256, area2->frames); in TEST_F()
[all …]
/external/python/cpython2/Lib/test/
Daudiotests.py79 def check_file(self, testfile, nframes, frames): argument
86 self.assertEqual(f.readframes(nframes), frames)
93 f.writeframes(self.frames)
101 f.writeframes(self.frames)
104 self.check_file(TESTFN, self.nframes, self.frames)
111 f.writeframes(self.frames)
116 self.check_file(testfile, self.nframes, self.frames)
124 f.writeframes(self.frames[:-framesize])
125 f.writeframes(self.frames[-framesize:])
130 self.check_file(testfile, self.nframes, self.frames)
[all …]
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/StackFrame/
DPopFrames002Test.java59 * This testcase exercises StackFrame.PopFrames command to discard several frames at once.
62 * <BR>Then the test performs StackFrame.PopFrame command to discard several frames at once,
63 * prints stack and checks that discarded frames are not returned
64 * by ThreadReference.Frames command.
99 // print stack frames in testPopSeveralFrames()
101 logWriter.println("=> Get frames before PopFrames command, thread = " + breakpointThreadID); in testPopSeveralFrames()
103 logWriter.println("=> Frames before popFrame"); in testPopSeveralFrames()
105 logWriter.println("=> Number of frames before command: " in testPopSeveralFrames()
132 // pop stack frames in testPopSeveralFrames()
133 logWriter.println("=> Pop " + NUMBER_OF_FRAMES_TO_POP + " frames at once"); in testPopSeveralFrames()
[all …]
/external/webrtc/webrtc/common_audio/
Daudio_ring_buffer.cc32 size_t frames) { in Write() argument
35 const size_t written = WebRtc_WriteBuffer(buffers_[i], data[i], frames); in Write()
36 RTC_CHECK_EQ(written, frames); in Write()
40 void AudioRingBuffer::Read(float* const* data, size_t channels, size_t frames) { in Read() argument
44 WebRtc_ReadBuffer(buffers_[i], nullptr, data[i], frames); in Read()
45 RTC_CHECK_EQ(read, frames); in Read()
59 void AudioRingBuffer::MoveReadPositionForward(size_t frames) { in MoveReadPositionForward() argument
62 static_cast<size_t>(WebRtc_MoveReadPtr(buf, static_cast<int>(frames))); in MoveReadPositionForward()
63 RTC_CHECK_EQ(moved, frames); in MoveReadPositionForward()
67 void AudioRingBuffer::MoveReadPositionBackward(size_t frames) { in MoveReadPositionBackward() argument
[all …]
/external/adhd/cras/src/server/
Dcras_empty_iodev.c53 unsigned int frames, frames_since_last; in current_level() local
58 frames = empty_iodev->buffer_level; in current_level()
64 return (frames + frames_since_last) % EMPTY_FRAMES; in current_level()
67 if (frames <= frames_since_last) in current_level()
69 return frames - frames_since_last; in current_level()
118 unsigned *frames) in get_buffer() argument
125 *frames = MIN(*frames, avail); in get_buffer()
128 *frames = MIN(*frames, current); in get_buffer()
131 iodev->area->frames = *frames; in get_buffer()
138 static int put_buffer(struct cras_iodev *iodev, unsigned frames) in put_buffer() argument
[all …]
Dcras_alsa_helpers.h81 * So the amount of frames to forward appl_ptr is
100 * ahead - Number of frames appl_ptr should be ahead of hw_ptr.
126 * buffer_frames - Number of frames in the ALSA buffer.
149 /* Get the number of used frames in the alsa buffer.
156 * buf_size[in] - Number of frames in the ALSA buffer.
157 * severe_underrun_frames[in] - Number of frames as the threshold for severe
160 * avail[out] - Filled with the number of frames available in the buffer.
161 * tstamp[out] - Filled with the hardware timestamp for the available frames.
163 * reading or writing frames.
177 * buf_size - Number of frames in the ALSA buffer.
[all …]
/external/tensorflow/tensorflow/python/ops/signal/
Dreconstruction_ops.py15 """Signal reconstruction via overlapped addition of frames."""
33 Adds potentially overlapping frames of a signal with shape
34 `[..., frames, frame_length]`, offsetting subsequent frames by `frame_step`.
37 output_size = (frames - 1) * frame_step + frame_length
40 signal: A [..., frames, frame_length] `Tensor`. All dimensions may be
48 frames of `signal`'s inner-most two dimensions.
74 frames = signal_shape[-2]
77 output_length = frame_length + frame_step * (frames - 1)
99 # Pad the frames dimension by `segments` so that signal.shape = (6, 6)
118 shape = full_shape([frames + segments, segments, frame_step])
[all …]
/external/libaom/libaom/test/
Derror_resilience_test.cc194 std::cout << " Skipping decoding all invisible frames in " in DoDecodeInvisible()
334 // Error resilient mode ON for certain frames in TEST_P()
353 // frames (i.e., frames that don't update any reference buffers).
360 // Set an arbitrary set of error frames same as droppable frames. in TEST_P()
367 std::cout << " Encoded frames: " << GetEncodedFrames() << "\n"; in TEST_P()
368 std::cout << " Decoded frames: " << GetDecodedFrames() << "\n"; in TEST_P()
369 std::cout << " Mismatch frames: " << GetMismatchFrames() << "\n"; in TEST_P()
375 // subsequent frames from using MFMV. If frames are dropped before the
376 // E frame, all frames starting from the E frame should be parse-able.
394 // Ensure that any invisible frames before the E frame are dropped in TEST_P()
[all …]
/external/python/cpython2/Mac/Demo/sound/
Dplayaiff.py13 frames = af.readframes(nframes) variable
14 print 'len(frames) =', len(frames)
15 print repr(frames[:100])
16 frames = audioop.add(frames, '\x80'*len(frames), 1) variable
17 print repr(frames[:100])
41 buffer = header + frames

12345678910>>...123