Home
last modified time | relevance | path

Searched refs:src_ (Results 1 – 25 of 38) sorted by relevance

12

/external/webrtc/webrtc/base/
Dsocketaddresspair.cc17 : src_(src), dest_(dest) { in SocketAddressPair()
22 return (src_ == p.src_) && (dest_ == p.dest_); in operator ==()
26 if (src_ < p.src_) in operator <()
28 if (p.src_ < src_) in operator <()
38 return src_.Hash() ^ dest_.Hash(); in Hash()
Dsocketaddresspair.h26 const SocketAddress& source() const { return src_; } in source()
35 SocketAddress src_;
/external/libvpx/libvpx/test/
Dpp_filter_test.cc225 src_(Buffer<uint8_t>(rows_, cols_, 8, 8, 17, 8)) {} in VpxMbPostProcAcrossIpTest()
261 Buffer<uint8_t> src_; member in __anon53922e890111::VpxMbPostProcAcrossIpTest
265 mb_post_proc_across_ip_(src_.TopLeftPixel(), src_.stride(), rows_, cols_, in Run()
270 ASSERT_TRUE(src_.Init()); in TEST_P()
271 src_.SetPadding(10); in TEST_P()
272 SetCols(src_.TopLeftPixel(), rows_, cols_, src_.stride()); in TEST_P()
279 RunFilterLevel(src_.TopLeftPixel(), rows_, cols_, src_.stride(), q2mbl(0), in TEST_P()
284 ASSERT_TRUE(src_.Init()); in TEST_P()
285 src_.SetPadding(10); in TEST_P()
286 SetCols(src_.TopLeftPixel(), rows_, cols_, src_.stride()); in TEST_P()
[all …]
Dvp9_subtract_test.cc38 GetParam()(block_height_, block_width_, diff_, block_width_, src_, in Run()
49 src_ = reinterpret_cast<uint8_t *>( in SetupBlocks()
57 uint8_t *src_; member in vp9::VP9SubtractBlockTest
79 vpx_free(src_); in TEST_P()
93 src_[r * block_width_ * 2 + c] = rnd.Rand8(); in TEST_P()
98 GetParam()(block_height_, block_width_, diff_, block_width_, src_, in TEST_P()
104 (src_[r * block_width_ + c] - pred_[r * block_width_ + c])) in TEST_P()
110 GetParam()(block_height_, block_width_, diff_, block_width_ * 2, src_, in TEST_P()
116 (src_[r * block_width_ * 2 + c] - in TEST_P()
125 vpx_free(src_); in TEST_P()
Dvariance_test.cc298 src_ = reinterpret_cast<uint8_t *>(vpx_memalign(16, block_size() * unit)); in SetUp()
300 ASSERT_TRUE(src_ != NULL); in SetUp()
305 src_ = CONVERT_TO_BYTEPTR(src_); in SetUp()
315 src_ = reinterpret_cast<uint8_t *>(CONVERT_TO_SHORTPTR(src_)); in TearDown()
320 vpx_free(src_); in TearDown()
322 src_ = NULL; in TearDown()
348 uint8_t *src_; member in __anon1951444d0111::MainTestClass
368 memset(src_, i, block_size()); in ZeroTest()
370 uint16_t *const src16 = CONVERT_TO_SHORTPTR(src_); in ZeroTest()
382 var = params_.func(src_, width(), ref_, width(), &sse)); in ZeroTest()
[all …]
Dpredict_test.cc44 src_(NULL), padded_dst_(NULL), dst_(NULL), dst_c_(NULL) {} in PredictTestBase()
47 src_ = new uint8_t[kSrcSize]; in SetUp()
48 ASSERT_TRUE(src_ != NULL); in SetUp()
62 memset(src_, 0, kSrcSize); in SetUp()
68 delete[] src_; in TearDown()
69 src_ = NULL; in TearDown()
88 uint8_t *src_; member in __anonfb96adaf0111::PredictTestBase
165 src_[i] = rnd.Rand8(); in TestWithRandomData()
167 reference(&src_[kSrcStride * 2 + 2], kSrcStride, xoffset, yoffset, in TestWithRandomData()
170 ASM_REGISTER_STATE_CHECK(predict_(&src_[kSrcStride * 2 + 2], kSrcStride, in TestWithRandomData()
[all …]
Ddct_test.cc161 src_ = reinterpret_cast<uint8_t *>( in SetUp()
163 ASSERT_TRUE(src_ != NULL); in SetUp()
170 vpx_free(src_); in TearDown()
171 src_ = NULL; in TearDown()
181 src_[j] = rnd_.Rand16() & max_pixel_value_; in InitMem()
188 uint16_t *const src = reinterpret_cast<uint16_t *>(src_); in InitMem()
227 src_[h * stride_ + w] - dst_[h * stride_ + w]; in RunAccuracyCheck()
230 const uint16_t *const src = reinterpret_cast<uint16_t *>(src_); in RunAccuracyCheck()
245 diff = dst_[h * stride_ + w] - src_[h * stride_ + w]; in RunAccuracyCheck()
248 const uint16_t *const src = reinterpret_cast<uint16_t *>(src_); in RunAccuracyCheck()
[all …]
Davg_test.cc240 src_ = reinterpret_cast<tran_low_t *>( in SetUp()
241 vpx_memalign(16, sizeof(*src_) * satd_size_)); in SetUp()
242 ASSERT_TRUE(src_ != NULL); in SetUp()
247 vpx_free(src_); in TearDown()
251 for (int i = 0; i < satd_size_; ++i) src_[i] = val; in FillConstant()
258 ASM_REGISTER_STATE_CHECK(total = satd_func_(src_, satd_size_)); in Check()
262 tran_low_t *GetCoeff() const { return src_; } in GetCoeff()
266 tran_low_t *src_; member in __anon097273a20111::SatdTest
277 src_[i] = (tran_low_t)tmp; in FillRandom()
461 src_[i] = rnd_.Rand20Signed(); in FillRandom()
/external/libaom/libaom/test/
Dsum_squares_test.cc50 src_ = reinterpret_cast<int16_t *>(aom_memalign(16, 256 * 256 * 2)); in SetUp()
51 ASSERT_TRUE(src_ != NULL); in SetUp()
56 aom_free(src_); in TearDown()
66 src_[ii * stride + jj] = rnd_(2) ? rnd_(limit) : -rnd_(limit); in GenRandomData()
77 src_[ii * stride + jj] = val; in GenExtremeData()
84 int16_t *src_; member in __anon6906355a0111::SumSquaresTest
102 const uint64_t res_ref = params_.ref_func(src_, stride, width, height); in RunTest()
105 params_.tst_func(src_, stride, width, height)); in RunTest()
130 params_.ref_func(src_, stride, width, height); in RunSpeedTest()
140 params_.tst_func(src_, stride, width, height); in RunSpeedTest()
[all …]
Dpickrst_test.cc47 src_ = (uint8_t *)(aom_malloc(MAX_DATA_BLOCK * MAX_DATA_BLOCK * in SetUp()
48 sizeof(*src_))); in SetUp()
49 ASSERT_NE(src_, nullptr); in SetUp()
61 aom_free(src_); in TearDown()
72 uint8_t *src_; member in pickrst_test_lowbd::PixelProjErrorTest
92 src_[i] = rng_.Rand8(); in RunPixelProjErrorTest()
103 uint8_t *src = src_; in RunPixelProjErrorTest()
146 src_[i] = 255; in RunPixelProjErrorTest_ExtremeValues()
157 uint8_t *src = src_; in RunPixelProjErrorTest_ExtremeValues()
212 src_ = in SetUp()
[all …]
Dvariance_test.cc418 src_ = reinterpret_cast<uint8_t *>(aom_memalign(16, block_size() * unit)); in SetUp()
420 ASSERT_TRUE(src_ != NULL); in SetUp()
424 src_ = CONVERT_TO_BYTEPTR(src_); in SetUp()
432 src_ = reinterpret_cast<uint8_t *>(CONVERT_TO_SHORTPTR(src_)); in TearDown()
436 aom_free(src_); in TearDown()
438 src_ = NULL; in TearDown()
464 uint8_t *src_; member in __anondaf906eb0111::MainTestClass
484 memset(src_, i, block_size()); in ZeroTest()
486 uint16_t *const src16 = CONVERT_TO_SHORTPTR(src_); in ZeroTest()
498 var = params_.func(src_, width(), ref_, width(), &sse)); in ZeroTest()
[all …]
Dconvolve_round_test.cc71 src_ = reinterpret_cast<int32_t *>( in SetUp()
72 aom_memalign(16, block_size * sizeof(*src_))); in SetUp()
80 aom_free(src_); in TearDown()
113 GenerateBufferWithRandom(src_, src_stride, bits, w, h); in ConvolveRoundingRun()
115 func_ref_(src_, src_stride, dst_ref, dst_stride, w, h, bits); in ConvolveRoundingRun()
117 func_(src_, src_stride, dst, dst_stride, w, h, bits)); in ConvolveRoundingRun()
154 int32_t *src_; member in __anona5c46dd50111::ConvolveRoundTest
Dsubtract_test.cc131 src_ = CONVERT_TO_BYTEPTR(reinterpret_cast<uint16_t *>( in SetUp()
140 aom_free(CONVERT_TO_SHORTPTR(src_)); in TearDown()
155 uint8_t *src_; member in __anon7abe950a0111::AV1HBDSubtractBlockTest
169 CONVERT_TO_SHORTPTR(src_)[j] = rnd_.Rand16() & mask; in CheckResult() local
173 func_(block_height_, block_width_, diff_, block_width_, src_, block_width_, in CheckResult()
179 (CONVERT_TO_SHORTPTR(src_)[r * block_width_ + c] - in CheckResult()
197 CONVERT_TO_SHORTPTR(src_)[j] = rnd_.Rand16() & mask; in RunForSpeed() local
202 func_(block_height_, block_width_, diff_, block_width_, src_, block_width_, in RunForSpeed()
/external/tensorflow/tensorflow/core/common_runtime/eager/
Dcopy_to_device_node.h30 src_(src), in CopyToDeviceNode()
34 src_->Ref(); in CopyToDeviceNode()
39 src_->Unref(); in ~CopyToDeviceNode()
45 TF_RETURN_IF_ERROR(src_->CopyToDevice(ctx_, dstd_, &temp)); in Run()
59 TensorHandle* src_;
/external/icu/icu4c/source/test/perf/ustrperf/
Dstringperf.h116 (*fn1_)(src_,srcLen_,*ubulk_); in call()
122 (*fn1_)(src_,-1,*ubulk_); in call()
148 src_ = NULL; in StringPerfFunction()
172 src_ = NULL; in StringPerfFunction()
195 src_ = new UChar[sourceLen]; in StringPerfFunction()
196 memcpy(src_, source, sourceLen * U_SIZEOF_UCHAR); in StringPerfFunction()
204 ubulk_=new UnicodeString(src_,srcLen_); in StringPerfFunction()
217 src_ = new UChar[sourceLen]; in StringPerfFunction()
218 memcpy(src_, source, sourceLen * U_SIZEOF_UCHAR); in StringPerfFunction()
235 delete[] src_; in ~StringPerfFunction()
[all …]
/external/strace/tests/
Dtest_netlink.h13 data_len_, src_, slen_, ...) \ argument
25 memcpy(NLMSG_DATA(TEST_NETLINK_nlh), (src_), (slen_)); \
43 data_len_, src_, slen_, ...) \ argument
47 (data_len_), (src_), (slen_), __VA_ARGS__)
Dtest_nlattr.h64 src_, slen_, ...) \ argument
77 (src_), (slen_)); \
100 nla_data_len_, src_, slen_, ...) \ argument
105 (src_), (slen_), __VA_ARGS__)
110 nla_data_len_, src_, slen_, ...) \ argument
114 (nla_data_len_), (src_), (slen_), __VA_ARGS__)
/external/strace/tests-m32/
Dtest_netlink.h13 data_len_, src_, slen_, ...) \ argument
25 memcpy(NLMSG_DATA(TEST_NETLINK_nlh), (src_), (slen_)); \
43 data_len_, src_, slen_, ...) \ argument
47 (data_len_), (src_), (slen_), __VA_ARGS__)
Dtest_nlattr.h64 src_, slen_, ...) \ argument
77 (src_), (slen_)); \
100 nla_data_len_, src_, slen_, ...) \ argument
105 (src_), (slen_), __VA_ARGS__)
110 nla_data_len_, src_, slen_, ...) \ argument
114 (nla_data_len_), (src_), (slen_), __VA_ARGS__)
/external/strace/tests-mx32/
Dtest_netlink.h13 data_len_, src_, slen_, ...) \ argument
25 memcpy(NLMSG_DATA(TEST_NETLINK_nlh), (src_), (slen_)); \
43 data_len_, src_, slen_, ...) \ argument
47 (data_len_), (src_), (slen_), __VA_ARGS__)
Dtest_nlattr.h64 src_, slen_, ...) \ argument
77 (src_), (slen_)); \
100 nla_data_len_, src_, slen_, ...) \ argument
105 (src_), (slen_), __VA_ARGS__)
110 nla_data_len_, src_, slen_, ...) \ argument
114 (nla_data_len_), (src_), (slen_), __VA_ARGS__)
/external/webp/src/utils/
Dquant_levels_dec_utils.c49 uint8_t* src_; // input pointer member
82 const uint8_t* src = p->src_; in VFilter()
104 p->src_ += p->stride_; in VFilter()
186 const uint8_t* data = p->src_; in CountLevels()
242 p->src_ = data; in InitParams()
/external/bcc/src/cc/frontends/clang/
Dloader.h36 …SourceCode(const std::string& s1 = "", const std::string& s2 = ""): src_(s1), src_rewritten_(s2) {} in src_() function
37 std::string src_; variable
/external/tensorflow/tensorflow/core/graph/
Dgraph.cc479 e->src_ = source; in AddEdge()
491 TF_DCHECK_OK(IsValidNode(e->src_)) << e->src_->DebugString(); in RemoveEdge()
493 CHECK_EQ(e->src_->out_edges_.erase(e), size_t{1}); in RemoveEdge()
501 del->src_ = nullptr; in RemoveEdge()
540 if (!e->src_->IsSource() && !e->dst_->IsSink()) { in RemoveControlEdge()
542 string e_src_name = strings::StrCat("^", e->src_->name()); in RemoveControlEdge()
822 return strings::Printf("[id=%d %s:%d -> %s:%d]", id_, src_->name().c_str(), in DebugString()
/external/v8/src/wasm/baseline/arm64/
Dliftoff-assembler-arm64.h936 switch (slot.src_.loc()) { in Construct()
939 CPURegister scratch = liftoff::AcquireByType(&temps, slot.src_.type()); in Construct()
945 asm_->Poke(liftoff::GetRegFromType(slot.src_.reg(), slot.src_.type()), in Construct()
949 DCHECK(slot.src_.type() == kWasmI32 || slot.src_.type() == kWasmI64); in Construct()
950 if (slot.src_.i32_const() == 0) { in Construct()
951 Register zero_reg = slot.src_.type() == kWasmI32 ? wzr : xzr; in Construct()
955 Register scratch = slot.src_.type() == kWasmI32 ? temps.AcquireW() in Construct()
957 asm_->Mov(scratch, int64_t{slot.src_.i32_const()}); in Construct()

12