Home
last modified time | relevance | path

Searched refs:utils (Results 1 – 25 of 5350) sorted by relevance

12345678910>>...214

/external/skia/gn/
Dutils.gni11 "$_include/utils/SkAnimCodecPlayer.h",
12 "$_include/utils/SkBase64.h",
13 "$_include/utils/SkCamera.h",
14 "$_include/utils/SkCanvasStateUtils.h",
15 "$_include/utils/SkCustomTypeface.h",
16 "$_include/utils/SkEventTracer.h",
17 "$_include/utils/SkNWayCanvas.h",
18 "$_include/utils/SkNoDrawCanvas.h",
19 "$_include/utils/SkNullCanvas.h",
20 "$_include/utils/SkOrderedFontMgr.h",
[all …]
/external/XNNPACK/bench/
Df32-vsigmoid.cc26 benchmark::utils::IsaCheckFunction isa_check = nullptr) in f32_vsigmoid()
49 const uint64_t cpu_frequency = benchmark::utils::GetCurrentCpuFrequency(); in f32_vsigmoid()
67 ->Apply(benchmark::utils::UnaryElementwiseParameters<float, float>)
72 ->Apply(benchmark::utils::UnaryElementwiseParameters<float, float>)
77 ->Apply(benchmark::utils::UnaryElementwiseParameters<float, float>)
82 ->Apply(benchmark::utils::UnaryElementwiseParameters<float, float>)
87 ->Apply(benchmark::utils::UnaryElementwiseParameters<float, float>)
92 ->Apply(benchmark::utils::UnaryElementwiseParameters<float, float>)
98 ->Apply(benchmark::utils::UnaryElementwiseParameters<float, float>)
103 ->Apply(benchmark::utils::UnaryElementwiseParameters<float, float>)
[all …]
Df32-velu.cc26 benchmark::utils::IsaCheckFunction isa_check = nullptr) in f32_velu()
49 const uint64_t cpu_frequency = benchmark::utils::GetCurrentCpuFrequency(); in f32_velu()
67 benchmark::utils::CheckNEONFMA)
68 ->Apply(benchmark::utils::UnaryElementwiseParameters<float, float>)
73 benchmark::utils::CheckNEONFMA)
74 ->Apply(benchmark::utils::UnaryElementwiseParameters<float, float>)
79 benchmark::utils::CheckNEONFMA)
80 ->Apply(benchmark::utils::UnaryElementwiseParameters<float, float>)
85 benchmark::utils::CheckNEONFMA)
86 ->Apply(benchmark::utils::UnaryElementwiseParameters<float, float>)
[all …]
Df32-raddstoreexpminusmax.cc27 benchmark::utils::IsaCheckFunction isa_check = nullptr) in f32_raddstoreexpminusmax()
35 …const size_t packed_elements = benchmark::utils::RoundUp(elements, cache_line_size_max / sizeof(fl… in f32_raddstoreexpminusmax()
42 …benchmark::utils::DivideRoundUp<size_t>(benchmark::utils::GetMaxCacheSize(), packed_elements * siz… in f32_raddstoreexpminusmax()
48 benchmark::utils::DisableDenormals(); in f32_raddstoreexpminusmax()
67 const uint64_t cpu_frequency = benchmark::utils::GetCurrentCpuFrequency(); in f32_raddstoreexpminusmax()
86 benchmark::utils::CheckNEON)
87 ->Apply(benchmark::utils::UnaryElementwiseParameters<float, float>)
93 benchmark::utils::CheckNEON)
94 ->Apply(benchmark::utils::UnaryElementwiseParameters<float, float>)
100 benchmark::utils::CheckNEON)
[all …]
Df32-vsqrt.cc26 benchmark::utils::IsaCheckFunction isa_check = nullptr) in f32_vsqrt()
50 const uint64_t cpu_frequency = benchmark::utils::GetCurrentCpuFrequency(); in f32_vsqrt()
67 ->Apply(benchmark::utils::UnaryElementwiseParameters<float, float>)
71 ->Apply(benchmark::utils::UnaryElementwiseParameters<float, float>)
79 benchmark::utils::CheckNEONFMA)
80 ->Apply(benchmark::utils::UnaryElementwiseParameters<float, float>)
85 benchmark::utils::CheckNEONFMA)
86 ->Apply(benchmark::utils::UnaryElementwiseParameters<float, float>)
91 benchmark::utils::CheckNEONFMA)
92 ->Apply(benchmark::utils::UnaryElementwiseParameters<float, float>)
[all …]
Df16-f32-vcvt.cc27 benchmark::utils::IsaCheckFunction isa_check = nullptr) in f16_f32_vcvt()
53 const uint64_t cpu_frequency = benchmark::utils::GetCurrentCpuFrequency(); in f16_f32_vcvt()
71 benchmark::utils::CheckNEONFP16)
72 ->Apply(benchmark::utils::UnaryElementwiseParameters<uint16_t, float>)
77 benchmark::utils::CheckNEONFP16)
78 ->Apply(benchmark::utils::UnaryElementwiseParameters<uint16_t, float>)
84 benchmark::utils::CheckNEON)
85 ->Apply(benchmark::utils::UnaryElementwiseParameters<uint16_t, float>)
90 benchmark::utils::CheckNEON)
91 ->Apply(benchmark::utils::UnaryElementwiseParameters<uint16_t, float>)
[all …]
Df32-qs8-vcvt.cc27 benchmark::utils::IsaCheckFunction isa_check = nullptr) in f32_qs8_vcvt()
54 const uint64_t cpu_frequency = benchmark::utils::GetCurrentCpuFrequency(); in f32_qs8_vcvt()
72 benchmark::utils::CheckNEONV8)
73 ->Apply(benchmark::utils::UnaryElementwiseParameters<float, int8_t>)
78 benchmark::utils::CheckNEONV8)
79 ->Apply(benchmark::utils::UnaryElementwiseParameters<float, int8_t>)
84 benchmark::utils::CheckNEONV8)
85 ->Apply(benchmark::utils::UnaryElementwiseParameters<float, int8_t>)
90 benchmark::utils::CheckNEONV8)
91 ->Apply(benchmark::utils::UnaryElementwiseParameters<float, int8_t>)
[all …]
Dqs8-vaddc.cc26 benchmark::utils::IsaCheckFunction isa_check = nullptr) in qs8_vaddc()
54 const uint64_t cpu_frequency = benchmark::utils::GetCurrentCpuFrequency(); in qs8_vaddc()
72 benchmark::utils::CheckNEON)
73 ->Apply(benchmark::utils::UnaryElementwiseParameters<int8_t, int8_t>)
78 benchmark::utils::CheckNEON)
79 ->Apply(benchmark::utils::UnaryElementwiseParameters<int8_t, int8_t>)
84 benchmark::utils::CheckNEON)
85 ->Apply(benchmark::utils::UnaryElementwiseParameters<int8_t, int8_t>)
90 benchmark::utils::CheckNEON)
91 ->Apply(benchmark::utils::UnaryElementwiseParameters<int8_t, int8_t>)
[all …]
Dqs8-vadd.cc26 benchmark::utils::IsaCheckFunction isa_check = nullptr) in qs8_vadd()
55 const uint64_t cpu_frequency = benchmark::utils::GetCurrentCpuFrequency(); in qs8_vadd()
73 benchmark::utils::CheckNEON)
74 ->Apply(benchmark::utils::BinaryElementwiseParameters<int8_t, int8_t>)
79 benchmark::utils::CheckNEON)
80 ->Apply(benchmark::utils::BinaryElementwiseParameters<int8_t, int8_t>)
85 benchmark::utils::CheckNEON)
86 ->Apply(benchmark::utils::BinaryElementwiseParameters<int8_t, int8_t>)
91 benchmark::utils::CheckNEON)
92 ->Apply(benchmark::utils::BinaryElementwiseParameters<int8_t, int8_t>)
[all …]
Df32-qu8-vcvt.cc27 benchmark::utils::IsaCheckFunction isa_check = nullptr) in f32_qu8_vcvt()
54 const uint64_t cpu_frequency = benchmark::utils::GetCurrentCpuFrequency(); in f32_qu8_vcvt()
72 benchmark::utils::CheckNEONV8)
73 ->Apply(benchmark::utils::UnaryElementwiseParameters<float, uint8_t>)
78 benchmark::utils::CheckNEONV8)
79 ->Apply(benchmark::utils::UnaryElementwiseParameters<float, uint8_t>)
84 benchmark::utils::CheckNEONV8)
85 ->Apply(benchmark::utils::UnaryElementwiseParameters<float, uint8_t>)
90 benchmark::utils::CheckNEONV8)
91 ->Apply(benchmark::utils::UnaryElementwiseParameters<float, uint8_t>)
[all …]
Df32-f16-vcvt.cc27 benchmark::utils::IsaCheckFunction isa_check = nullptr) in f32_f16_vcvt()
52 const uint64_t cpu_frequency = benchmark::utils::GetCurrentCpuFrequency(); in f32_f16_vcvt()
70 benchmark::utils::CheckNEONFP16)
71 ->Apply(benchmark::utils::UnaryElementwiseParameters<uint16_t, float>)
76 benchmark::utils::CheckNEONFP16)
77 ->Apply(benchmark::utils::UnaryElementwiseParameters<uint16_t, float>)
83 benchmark::utils::CheckNEON)
84 ->Apply(benchmark::utils::UnaryElementwiseParameters<uint16_t, float>)
89 benchmark::utils::CheckNEON)
90 ->Apply(benchmark::utils::UnaryElementwiseParameters<uint16_t, float>)
[all …]
Dqu8-f32-vcvt.cc27 benchmark::utils::IsaCheckFunction isa_check = nullptr) in qu8_f32_vcvt()
54 const uint64_t cpu_frequency = benchmark::utils::GetCurrentCpuFrequency(); in qu8_f32_vcvt()
72 benchmark::utils::CheckNEON)
73 ->Apply(benchmark::utils::UnaryElementwiseParameters<uint8_t, float>)
78 benchmark::utils::CheckNEON)
79 ->Apply(benchmark::utils::UnaryElementwiseParameters<uint8_t, float>)
84 benchmark::utils::CheckNEON)
85 ->Apply(benchmark::utils::UnaryElementwiseParameters<uint8_t, float>)
90 benchmark::utils::CheckNEON)
91 ->Apply(benchmark::utils::UnaryElementwiseParameters<uint8_t, float>)
[all …]
Dqs8-f32-vcvt.cc27 benchmark::utils::IsaCheckFunction isa_check = nullptr) in qs8_f32_vcvt()
54 const uint64_t cpu_frequency = benchmark::utils::GetCurrentCpuFrequency(); in qs8_f32_vcvt()
72 benchmark::utils::CheckNEON)
73 ->Apply(benchmark::utils::UnaryElementwiseParameters<int8_t, float>)
78 benchmark::utils::CheckNEON)
79 ->Apply(benchmark::utils::UnaryElementwiseParameters<int8_t, float>)
84 benchmark::utils::CheckNEON)
85 ->Apply(benchmark::utils::UnaryElementwiseParameters<int8_t, float>)
90 benchmark::utils::CheckNEON)
91 ->Apply(benchmark::utils::UnaryElementwiseParameters<int8_t, float>)
[all …]
Dqu8-vaddc.cc26 benchmark::utils::IsaCheckFunction isa_check = nullptr) in qu8_vaddc()
54 const uint64_t cpu_frequency = benchmark::utils::GetCurrentCpuFrequency(); in qu8_vaddc()
72 benchmark::utils::CheckNEON)
73 ->Apply(benchmark::utils::UnaryElementwiseParameters<uint8_t, uint8_t>)
78 benchmark::utils::CheckNEON)
79 ->Apply(benchmark::utils::UnaryElementwiseParameters<uint8_t, uint8_t>)
84 benchmark::utils::CheckNEON)
85 ->Apply(benchmark::utils::UnaryElementwiseParameters<uint8_t, uint8_t>)
91 benchmark::utils::CheckNEON)
92 ->Apply(benchmark::utils::UnaryElementwiseParameters<uint8_t, uint8_t>)
[all …]
Dqu8-vadd.cc26 benchmark::utils::IsaCheckFunction isa_check = nullptr) in qu8_vadd()
55 const uint64_t cpu_frequency = benchmark::utils::GetCurrentCpuFrequency(); in qu8_vadd()
73 benchmark::utils::CheckNEON)
74 ->Apply(benchmark::utils::BinaryElementwiseParameters<uint8_t, uint8_t>)
79 benchmark::utils::CheckNEON)
80 ->Apply(benchmark::utils::BinaryElementwiseParameters<uint8_t, uint8_t>)
85 benchmark::utils::CheckNEON)
86 ->Apply(benchmark::utils::BinaryElementwiseParameters<uint8_t, uint8_t>)
92 benchmark::utils::CheckNEON)
93 ->Apply(benchmark::utils::BinaryElementwiseParameters<uint8_t, uint8_t>)
[all …]
Dx8-lut.cc25 benchmark::utils::IsaCheckFunction isa_check = nullptr) in x8_lut()
48 const uint64_t cpu_frequency = benchmark::utils::GetCurrentCpuFrequency(); in x8_lut()
65 ->Apply(benchmark::utils::UnaryElementwiseParameters<uint8_t, uint8_t>)
69 ->Apply(benchmark::utils::UnaryElementwiseParameters<uint8_t, uint8_t>)
73 ->Apply(benchmark::utils::UnaryElementwiseParameters<uint8_t, uint8_t>)
77 ->Apply(benchmark::utils::UnaryElementwiseParameters<uint8_t, uint8_t>)
84 benchmark::utils::CheckAVX512SKX)
85 ->Apply(benchmark::utils::UnaryElementwiseParameters<uint8_t, uint8_t>)
89 benchmark::utils::CheckAVX512SKX)
90 ->Apply(benchmark::utils::UnaryElementwiseParameters<uint8_t, uint8_t>)
[all …]
/external/tensorflow/tensorflow/python/layers/
Dutils_test.py23 from tensorflow.python.layers import utils
31 self.assertEqual('NCDHW', utils.convert_data_format('channels_first', 5))
32 self.assertEqual('NCHW', utils.convert_data_format('channels_first', 4))
33 self.assertEqual('NCW', utils.convert_data_format('channels_first', 3))
34 self.assertEqual('NHWC', utils.convert_data_format('channels_last', 4))
35 self.assertEqual('NWC', utils.convert_data_format('channels_last', 3))
36 self.assertEqual('NDHWC', utils.convert_data_format('channels_last', 5))
39 utils.convert_data_format('invalid', 2)
42 self.assertEqual((2, 2, 2), utils.normalize_tuple(2, n=3, name='strides'))
44 (2, 1, 2), utils.normalize_tuple((2, 1, 2), n=3, name='strides'))
[all …]
/external/protobuf/js/binary/
Dutils.js59 jspb.utils.split64Low = 0;
67 jspb.utils.split64High = 0;
75 jspb.utils.splitUint64 = function(value) {
81 jspb.utils.split64Low = lowBits;
82 jspb.utils.split64High = highBits;
91 jspb.utils.splitInt64 = function(value) {
114 jspb.utils.split64Low = lowBits;
115 jspb.utils.split64High = highBits;
124 jspb.utils.splitZigzag64 = function(value) {
129 jspb.utils.splitUint64(value);
[all …]
Dutils_test.js84 jspb.utils.joinUnsignedDecimalString(0x89e80001, 0x8ac72304);
87 result = jspb.utils.joinUnsignedDecimalString(0xacd05f15, 0x1b69b4b);
90 result = jspb.utils.joinUnsignedDecimalString(0xeb1f0ad2, 0xab54a98c);
93 result = jspb.utils.joinUnsignedDecimalString(0xe3b70cb1, 0x891087b8);
97 result = jspb.utils.joinUnsignedDecimalString(0x00000000, 0x00000000);
100 result = jspb.utils.joinUnsignedDecimalString(0xFFFFFFFF, 0xFFFFFFFF);
106 result = jspb.utils.joinUnsignedDecimalString(low, 0);
113 result = jspb.utils.joinUnsignedDecimalString(0, high);
121 result = jspb.utils.joinUnsignedDecimalString(0x00000000, 0x00100000);
124 result = jspb.utils.joinUnsignedDecimalString(0x00000000, 0x00200000);
[all …]
/external/libgav1/libgav1/src/utils/
Dlibgav1_utils.cmake21 "${libgav1_source}/utils/array_2d.h"
22 "${libgav1_source}/utils/bit_mask_set.h"
23 "${libgav1_source}/utils/bit_reader.cc"
24 "${libgav1_source}/utils/bit_reader.h"
25 "${libgav1_source}/utils/block_parameters_holder.cc"
26 "${libgav1_source}/utils/block_parameters_holder.h"
27 "${libgav1_source}/utils/blocking_counter.h"
28 "${libgav1_source}/utils/common.h"
29 "${libgav1_source}/utils/compiler_attributes.h"
30 "${libgav1_source}/utils/constants.cc"
[all …]
/external/autotest/client/common_lib/
Dutils_unittest.py24 from autotest_lib.client.common_lib import utils
32 metrics = utils.metrics_mock
38 self.god.stub_function(utils, "open")
46 self.assertEqual(utils.ip_to_long('0.0.0.0'), 0)
47 self.assertEqual(utils.ip_to_long('255.255.255.255'), 4294967295)
48 self.assertEqual(utils.ip_to_long('192.168.0.1'), 3232235521)
49 self.assertEqual(utils.ip_to_long('1.2.4.8'), 16909320)
53 self.assertEqual(utils.long_to_ip(0), '0.0.0.0')
54 self.assertEqual(utils.long_to_ip(4294967295), '255.255.255.255')
55 self.assertEqual(utils.long_to_ip(3232235521), '192.168.0.1')
[all …]
/external/tensorflow/tensorflow/core/profiler/convert/
DBUILD22 "//tensorflow/core/profiler/utils:cost_utils",
23 "//tensorflow/core/profiler/utils:op_metrics_db_utils",
24 "//tensorflow/core/profiler/utils:op_utils",
25 "//tensorflow/core/profiler/utils:tf_op_utils",
26 "//tensorflow/core/profiler/utils:tf_xplane_visitor",
27 "//tensorflow/core/profiler/utils:timespan",
28 "//tensorflow/core/profiler/utils:trace_utils",
29 "//tensorflow/core/profiler/utils:xplane_schema",
30 "//tensorflow/core/profiler/utils:xplane_visitor",
49 "//tensorflow/core/profiler/utils:op_metrics_db_utils",
[all …]
/external/python/cryptography/src/cryptography/hazmat/primitives/ciphers/
Dmodes.py11 from cryptography import utils
87 @utils.register_interface(Mode)
88 @utils.register_interface(ModeWithInitializationVector)
93 utils._check_byteslike("initialization_vector", initialization_vector)
96 initialization_vector = utils.read_only_property("_initialization_vector")
100 @utils.register_interface(Mode)
101 @utils.register_interface(ModeWithTweak)
106 utils._check_byteslike("tweak", tweak)
113 tweak = utils.read_only_property("_tweak")
123 @utils.register_interface(Mode)
[all …]
/external/protobuf/js/compatibility_tests/v3.1.0/binary/
Dutils_test.js83 jspb.utils.joinUnsignedDecimalString(0x89e80001, 0x8ac72304);
86 result = jspb.utils.joinUnsignedDecimalString(0xacd05f15, 0x1b69b4b);
89 result = jspb.utils.joinUnsignedDecimalString(0xeb1f0ad2, 0xab54a98c);
92 result = jspb.utils.joinUnsignedDecimalString(0xe3b70cb1, 0x891087b8);
96 result = jspb.utils.joinUnsignedDecimalString(0x00000000, 0x00000000);
99 result = jspb.utils.joinUnsignedDecimalString(0xFFFFFFFF, 0xFFFFFFFF);
105 result = jspb.utils.joinUnsignedDecimalString(low, 0);
112 result = jspb.utils.joinUnsignedDecimalString(0, high);
120 result = jspb.utils.joinUnsignedDecimalString(0x00000000, 0x00100000);
123 result = jspb.utils.joinUnsignedDecimalString(0x00000000, 0x00200000);
[all …]
/external/protobuf/js/compatibility_tests/v3.0.0/binary/
Dutils_test.js83 jspb.utils.joinUnsignedDecimalString(0x89e80001, 0x8ac72304);
86 result = jspb.utils.joinUnsignedDecimalString(0xacd05f15, 0x1b69b4b);
89 result = jspb.utils.joinUnsignedDecimalString(0xeb1f0ad2, 0xab54a98c);
92 result = jspb.utils.joinUnsignedDecimalString(0xe3b70cb1, 0x891087b8);
96 result = jspb.utils.joinUnsignedDecimalString(0x00000000, 0x00000000);
99 result = jspb.utils.joinUnsignedDecimalString(0xFFFFFFFF, 0xFFFFFFFF);
105 result = jspb.utils.joinUnsignedDecimalString(low, 0);
112 result = jspb.utils.joinUnsignedDecimalString(0, high);
120 result = jspb.utils.joinUnsignedDecimalString(0x00000000, 0x00100000);
123 result = jspb.utils.joinUnsignedDecimalString(0x00000000, 0x00200000);
[all …]

12345678910>>...214