Home
last modified time | relevance | path

Searched defs:shift (Results 1 – 25 of 1813) sorted by relevance

12345678910>>...73

/external/libchrome/base/
Dbits_unittest.cc68 for (uint8_t shift = 0; shift <= 7; shift++) { in TEST() local
78 for (uint16_t shift = 0; shift <= 15; shift++) { in TEST() local
88 for (uint32_t shift = 0; shift <= 31; shift++) { in TEST() local
97 for (uint8_t shift = 0; shift <= 7; shift++) { in TEST() local
106 for (uint16_t shift = 0; shift <= 15; shift++) { in TEST() local
115 for (uint32_t shift = 0; shift <= 31; shift++) { in TEST() local
126 for (uint64_t shift = 0; shift <= 63; shift++) { in TEST() local
135 for (uint64_t shift = 0; shift <= 31; shift++) { in TEST() local
/external/pytorch/benchmarks/fastrnns/
Dscratch.py5 def fn(x, scale, shift): argument
10 def recurrent(x, scale, shift): argument
19 shift = torch.randn(2, 2, device="cuda", requires_grad=True) variable
31 def recurrent_scaleshift(x, scale, shift): argument
40 shift = torch.randn(2, 2, device="cuda", requires_grad=True) variable
/external/apache-commons-lang/src/main/java/org/apache/commons/lang3/
DConversion.java570 final int shift = i * 32 + dstPos; in intArrayToLong() local
603 final int shift = i * 16 + dstPos; in shortArrayToLong() local
636 final int shift = i * 16 + dstPos; in shortArrayToInt() local
669 final int shift = i * 8 + dstPos; in byteArrayToLong() local
702 final int shift = i * 8 + dstPos; in byteArrayToInt() local
735 final int shift = i * 8 + dstPos; in byteArrayToShort() local
766 final int shift = i * 4 + dstPos; in hexToLong() local
796 final int shift = i * 4 + dstPos; in hexToInt() local
827 final int shift = i * 4 + dstPos; in hexToShort() local
858 final int shift = i * 4 + dstPos; in hexToByte() local
[all …]
/external/XNNPACK/test/
Ds16-vlshift.cc66 TEST(S16_VLSHIFT__NEON_X8, shift) { in TEST() argument
68 for (uint32_t shift = 0; shift < 16; shift++) { in TEST() local
124 TEST(S16_VLSHIFT__NEON_X16, shift) { in TEST() argument
126 for (uint32_t shift = 0; shift < 16; shift++) { in TEST() local
182 TEST(S16_VLSHIFT__NEON_X24, shift) { in TEST() argument
184 for (uint32_t shift = 0; shift < 16; shift++) { in TEST() local
240 TEST(S16_VLSHIFT__NEON_X32, shift) { in TEST() argument
242 for (uint32_t shift = 0; shift < 16; shift++) { in TEST() local
276 TEST(S16_VLSHIFT__SCALAR_X1, shift) { in TEST() argument
277 for (uint32_t shift = 0; shift < 16; shift++) { in TEST() local
[all …]
Dvlshift-microkernel-tester.h34 inline VLShiftMicrokernelTester& shift(uint32_t shift) { in shift() function
40 inline uint32_t shift() const { in shift() function
Dwindow-microkernel-tester.h45 inline WindowMicrokernelTester& shift(uint32_t shift) { in shift() function
51 inline uint32_t shift() const { in shift() function
/external/libhevc/decoder/
Dihevcd_boundary_strength.c315 WORD32 shift; in ihevcd_ctb_boundary_strength_islice() local
328 WORD32 shift; in ihevcd_ctb_boundary_strength_islice() local
601 WORD32 shift; in ihevcd_ctb_boundary_strength_pbslice() local
614 WORD32 shift; in ihevcd_ctb_boundary_strength_pbslice() local
635 WORD32 shift; in ihevcd_ctb_boundary_strength_pbslice() local
648 WORD32 shift; in ihevcd_ctb_boundary_strength_pbslice() local
663 WORD32 shift; in ihevcd_ctb_boundary_strength_pbslice() local
679 WORD32 shift; in ihevcd_ctb_boundary_strength_pbslice() local
745 WORD32 shift; in ihevcd_ctb_boundary_strength_pbslice() local
761 WORD32 shift; in ihevcd_ctb_boundary_strength_pbslice() local
[all …]
/external/libopus/silk/
DSigProc_FIX.h522 #define silk_LSHIFT8(a, shift) ((opus_int8)((opus_uint8)(a)<<(shift))) /* shif… argument
523 #define silk_LSHIFT16(a, shift) ((opus_int16)((opus_uint16)(a)<<(shift))) /* shif… argument
524 #define silk_LSHIFT32(a, shift) ((opus_int32)((opus_uint32)(a)<<(shift))) /* shif… argument
525 #define silk_LSHIFT64(a, shift) ((opus_int64)((opus_uint64)(a)<<(shift))) /* shif… argument
526 #define silk_LSHIFT(a, shift) silk_LSHIFT32(a, shift) /* shif… argument
528 #define silk_RSHIFT8(a, shift) ((a)>>(shift)) /* shif… argument
529 #define silk_RSHIFT16(a, shift) ((a)>>(shift)) /* shif… argument
530 #define silk_RSHIFT32(a, shift) ((a)>>(shift)) /* shif… argument
531 #define silk_RSHIFT64(a, shift) ((a)>>(shift)) /* shif… argument
532 #define silk_RSHIFT(a, shift) silk_RSHIFT32(a, shift) /* shif… argument
[all …]
DMacroCount.h323 static OPUS_INLINE opus_int8 silk_LSHIFT8(opus_int8 a, opus_int32 shift){ in silk_LSHIFT8()
330 static OPUS_INLINE opus_int16 silk_LSHIFT16(opus_int16 a, opus_int32 shift){ in silk_LSHIFT16()
337 static OPUS_INLINE opus_int32 silk_LSHIFT32(opus_int32 a, opus_int32 shift){ in silk_LSHIFT32()
344 static OPUS_INLINE opus_int64 silk_LSHIFT64(opus_int64 a, opus_int shift){ in silk_LSHIFT64()
350 static OPUS_INLINE opus_int32 silk_LSHIFT_ovflw(opus_int32 a, opus_int32 shift){ in silk_LSHIFT_ovflw()
356 static OPUS_INLINE opus_uint32 silk_LSHIFT_uint(opus_uint32 a, opus_int32 shift){ in silk_LSHIFT_uint()
364 static OPUS_INLINE opus_int8 silk_RSHIFT8(opus_int8 a, opus_int32 shift){ in silk_RSHIFT8()
369 static OPUS_INLINE opus_int16 silk_RSHIFT16(opus_int16 a, opus_int32 shift){ in silk_RSHIFT16()
374 static OPUS_INLINE opus_int32 silk_RSHIFT32(opus_int32 a, opus_int32 shift){ in silk_RSHIFT32()
379 static OPUS_INLINE opus_int64 silk_RSHIFT64(opus_int64 a, opus_int64 shift){ in silk_RSHIFT64()
[all …]
/external/cronet/tot/base/allocator/partition_allocator/src/partition_alloc/partition_alloc_base/
Dbits_pa_unittest.cc135 for (int shift = 0; shift <= 7; ++shift) { in TEST() local
144 for (int shift = 0; shift <= 15; ++shift) { in TEST() local
153 for (int shift = 0; shift <= 31; ++shift) { in TEST() local
162 for (int shift = 0; shift <= 7; ++shift) { in TEST() local
171 for (int shift = 0; shift <= 15; ++shift) { in TEST() local
180 for (int shift = 0; shift <= 31; ++shift) { in TEST() local
189 for (int shift = 0; shift <= 63; ++shift) { in TEST() local
198 for (int shift = 0; shift <= 31; ++shift) { in TEST() local
/external/cronet/stable/base/allocator/partition_allocator/src/partition_alloc/partition_alloc_base/
Dbits_pa_unittest.cc135 for (int shift = 0; shift <= 7; ++shift) { in TEST() local
144 for (int shift = 0; shift <= 15; ++shift) { in TEST() local
153 for (int shift = 0; shift <= 31; ++shift) { in TEST() local
162 for (int shift = 0; shift <= 7; ++shift) { in TEST() local
171 for (int shift = 0; shift <= 15; ++shift) { in TEST() local
180 for (int shift = 0; shift <= 31; ++shift) { in TEST() local
189 for (int shift = 0; shift <= 63; ++shift) { in TEST() local
198 for (int shift = 0; shift <= 31; ++shift) { in TEST() local
/external/ComputeLibrary/tests/validation/fixtures/
DDepthConvertLayerFixture.h49 …rShape shape, DataType dt_in, DataType dt_out, ConvertPolicy policy, uint32_t shift, QuantizationI… in setup()
83 …et(const TensorShape &shape, DataType dt_in, DataType dt_out, ConvertPolicy policy, uint32_t shift) in compute_target()
112 …ce(const TensorShape &shape, DataType dt_in, DataType dt_out, ConvertPolicy policy, uint32_t shift) in compute_reference()
134 …oid setup(TensorShape shape, DataType dt_in, DataType dt_out, ConvertPolicy policy, uint32_t shift) in setup()
146 …rShape shape, DataType dt_in, DataType dt_out, ConvertPolicy policy, uint32_t shift, QuantizationI… in setup()
/external/speex/libspeexdsp/
Dfixed_generic.h45 #define SHR16(a,shift) ((a) >> (shift)) argument
46 #define SHL16(a,shift) ((a) << (shift)) argument
47 #define SHR32(a,shift) ((a) >> (shift)) argument
48 #define SHL32(a,shift) ((a) << (shift)) argument
49 #define PSHR16(a,shift) (SHR16((a)+((1<<((shift))>>1)),shift)) argument
50 #define PSHR32(a,shift) (SHR32((a)+((EXTEND32(1)<<((shift))>>1)),shift)) argument
51 #define VSHR32(a, shift) (((shift)>0) ? SHR32(a, shift) : SHL32(a, -(shift))) argument
55 #define SATURATE32PSHR(x,shift,a) (((x)>=(SHL32(a,shift))) ? (a) : \ argument
59 #define SHR(a,shift) ((a) >> (shift)) argument
60 #define SHL(a,shift) ((spx_word32_t)(a) << (shift)) argument
[all …]
/external/trusty/arm-trusted-firmware/drivers/rpi3/gpio/
Drpi3_gpio.c49 int shift = 3 * (gpio % 10); in rpi3_gpio_get_select() local
74 int shift = 3 * (gpio % 10); in rpi3_gpio_set_select() local
110 int shift = gpio % 32; in rpi3_gpio_get_value() local
122 int shift = gpio % 32; in rpi3_gpio_set_value() local
139 int shift = gpio % 32; in rpi3_gpio_set_pull() local
/external/arm-trusted-firmware/drivers/rpi3/gpio/
Drpi3_gpio.c47 int shift = 3 * (gpio % 10); in rpi3_gpio_get_select() local
72 int shift = 3 * (gpio % 10); in rpi3_gpio_set_select() local
108 int shift = gpio % 32; in rpi3_gpio_get_value() local
120 int shift = gpio % 32; in rpi3_gpio_set_value() local
137 int shift = gpio % 32; in rpi3_gpio_set_pull() local
/external/libxaac/common/
Dixheaac_basic_ops_arr.h23 static PLATFORM_INLINE VOID ixheaac_shr32_arr(WORD32 *word32_arr, WORD16 shift, WORD32 n) { in ixheaac_shr32_arr()
34 static PLATFORM_INLINE VOID ixheaac_shl32_arr_sat(WORD32 *word32_arr, WORD16 shift, WORD32 n) { in ixheaac_shl32_arr_sat()
45 static PLATFORM_INLINE VOID ixheaac_shr16_arr(WORD16 *word16_arr, WORD16 shift, WORD32 n) { in ixheaac_shr16_arr()
Dixheaac_basic_ops16.h91 static PLATFORM_INLINE WORD16 ixheaac_shl16(WORD16 op1, WORD16 shift) { in ixheaac_shl16()
98 static PLATFORM_INLINE WORD16 ixheaac_shl16_sat(WORD16 op1, WORD16 shift) { in ixheaac_shl16_sat()
110 static PLATFORM_INLINE WORD16 ixheaac_shr16(WORD16 op1, WORD16 shift) { in ixheaac_shr16()
117 static PLATFORM_INLINE WORD16 ixheaac_shl16_dir(WORD16 op1, WORD16 shift) { in ixheaac_shl16_dir()
127 static PLATFORM_INLINE WORD16 ixheaac_shr16_dir(WORD16 op1, WORD16 shift) { in ixheaac_shr16_dir()
138 static PLATFORM_INLINE WORD16 ixheaac_shl16_dir_sat(WORD16 op1, WORD16 shift) { in ixheaac_shl16_dir_sat()
148 static PLATFORM_INLINE WORD16 ixheaac_shr16_dir_sat(WORD16 op1, WORD16 shift) { in ixheaac_shr16_dir_sat()
/external/libdav1d/src/
Dwarpmv.c69 static inline int resolve_divisor_32(const unsigned d, int *const shift) { in resolve_divisor_32()
88 int shift; in dav1d_get_shear_params() local
102 static int resolve_divisor_64(const uint64_t d, int *const shift) { in resolve_divisor_64()
114 const int idet, const int shift) in get_mult_shift_ndiag()
124 const int idet, const int shift) in get_mult_shift_diag()
186 int shift, idet = apply_sign64(resolve_divisor_64(llabs(det), &shift), det); in dav1d_find_affine_int() local
/external/aac/libSBRdec/src/
Dtranscendent.h146 int shift; in FDK_add_MantExp() local
185 int shift; in FDK_add_MantExp() local
235 int preShift, postShift, index, shift; in FDK_divide_MantExp() local
291 int preShift, postShift, index, shift; in FDK_divide_MantExp() local
365 int shift = result_e - *destScale; in FDK_sqrt_MantExp() local
/external/libaom/av1/common/arm/
Dhighbd_wiener_convolve_neon.c20 #define HBD_WIENER_5TAP_HORIZ(name, shift) \ argument
78 #define HBD_WIENER_7TAP_HORIZ(name, shift) \ in HBD_WIENER_5TAP_HORIZ() argument
139 #define HBD_WIENER_5TAP_VERT(name, shift) \ argument
223 #define HBD_WIENER_7TAP_VERT(name, shift) \ argument
/external/ComputeLibrary/src/runtime/CL/functions/
DCLDepthConvertLayer.cpp53 …rtLayer::configure(const ICLTensor *input, ICLTensor *output, ConvertPolicy policy, uint32_t shift) in configure()
58 … &compile_context, const ICLTensor *input, ICLTensor *output, ConvertPolicy policy, uint32_t shift) in configure()
73 …validate(const ITensorInfo *input, const ITensorInfo *output, ConvertPolicy policy, uint32_t shift) in validate()
/external/skia/include/private/base/
DSkMath.h37 static inline constexpr int32_t SkLeftShift(int32_t value, int32_t shift) { in SkLeftShift()
41 static inline constexpr int64_t SkLeftShift(int64_t value, int32_t shift) { in SkLeftShift()
61 static inline unsigned SkMul16ShiftRound(U16CPU a, U16CPU b, int shift) { in SkMul16ShiftRound()
/external/libopus/celt/
Dfixed_generic.h91 #define SHR16(a,shift) ((a) >> (shift)) argument
93 #define SHL16(a,shift) ((opus_int16)((opus_uint16)(a)<<(shift))) argument
95 #define SHR32(a,shift) ((a) >> (shift)) argument
97 #define SHL32(a,shift) ((opus_int32)((opus_uint32)(a)<<(shift))) argument
100 #define PSHR32(a,shift) (SHR32((a)+((EXTEND32(1)<<((shift))>>1)),shift)) argument
102 #define VSHR32(a, shift) (((shift)>0) ? SHR32(a, shift) : SHL32(a, -(shift))) argument
105 #define SHR(a,shift) ((a) >> (shift)) argument
106 #define SHL(a,shift) SHL32(a,shift) argument
107 #define PSHR(a,shift) (SHR((a)+((EXTEND32(1)<<((shift))>>1)),shift)) argument
/external/ComputeLibrary/tests/validation/reference/
DDepthConvertLayer.cpp42 …> depth_convert(const SimpleTensor<T1> &src, DataType dt_out, ConvertPolicy policy, uint32_t shift) in depth_convert()
73 …> depth_convert(const SimpleTensor<T1> &src, DataType dt_out, ConvertPolicy policy, uint32_t shift) in depth_convert()
99 …> depth_convert(const SimpleTensor<T1> &src, DataType dt_out, ConvertPolicy policy, uint32_t shift) in depth_convert()
/external/trusty/lk/lib/fixed_point/include/lib/
Dfixed_point_debug.h27 fpd_shift_prefix_32(int shift) in fpd_shift_prefix_32()
44 fpd_shift_prefix_64(int shift) in fpd_shift_prefix_64()
61 fpd_shift_suffix(int shift) in fpd_shift_suffix()

12345678910>>...73