Home
last modified time | relevance | path

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

12345678910>>...83

/third_party/flutter/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/SkEventTracer.h",
16 "$_include/utils/SkFrontBufferedStream.h",
17 "$_include/utils/SkInterpolator.h",
18 "$_include/utils/SkNWayCanvas.h",
19 "$_include/utils/SkNoDrawCanvas.h",
20 "$_include/utils/SkNullCanvas.h",
[all …]
/third_party/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 …]
/third_party/jsframework/test/ut/
Dutils.ts27 import * as utils from '../../runtime/utils/index';
31 expect(utils.isObject).to.be.an.instanceof(Function);
32 expect(utils.isObject({})).eql(true);
33 expect(utils.isObject([])).eql(true);
34 expect(utils.isObject('a')).eql(false);
35 expect(utils.isObject(0)).eql(false);
36 expect(utils.isObject(true)).eql(false);
37 expect(utils.isObject(null)).eql(false);
38 expect(utils.isObject(undefined)).eql(false);
39 expect(utils.isObject(function() {})).eql(false);
[all …]
/third_party/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.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 …]
/third_party/ntfs-3g/ntfsprogs/
DMakefile.am54 ntfsfix_SOURCES = ntfsfix.c utils.c utils.h
59 mkntfs_SOURCES = attrdef.c attrdef.h boot.c boot.h sd.c sd.h mkntfs.c utils.c utils.h
63 ntfslabel_SOURCES = ntfslabel.c utils.c utils.h
67 ntfsinfo_SOURCES = ntfsinfo.c utils.c utils.h
71 ntfsundelete_SOURCES = ntfsundelete.c ntfsundelete.h utils.c utils.h list.h
75 ntfsresize_SOURCES = ntfsresize.c utils.c utils.h
79 ntfsclone_SOURCES = ntfsclone.c utils.c utils.h
83 ntfscluster_SOURCES = ntfscluster.c ntfscluster.h cluster.c cluster.h utils.c utils.h
87 ntfsls_SOURCES = ntfsls.c utils.c utils.h list.h
91 ntfscat_SOURCES = ntfscat.c ntfscat.h utils.c utils.h
[all …]
/third_party/skia/third_party/externals/dawn/src/tests/unittests/validation/
DDrawIndirectValidationTests.cpp26 wgpu::ShaderModule vsModule = utils::CreateShaderModule(device, R"( in SetUp()
31 wgpu::ShaderModule fsModule = utils::CreateShaderModule(device, R"( in SetUp()
37 wgpu::PipelineLayout pipelineLayout = utils::MakeBasicPipelineLayout(device, nullptr); in SetUp()
39 utils::ComboRenderPipelineDescriptor descriptor; in SetUp()
47 void ValidateExpectation(wgpu::CommandEncoder encoder, utils::Expectation expectation) { in ValidateExpectation()
48 if (expectation == utils::Expectation::Success) { in ValidateExpectation()
55 void TestIndirectOffsetDrawIndexed(utils::Expectation expectation, in TestIndirectOffsetDrawIndexed()
61 void TestIndirectOffsetDraw(utils::Expectation expectation, in TestIndirectOffsetDraw()
67 void TestIndirectOffset(utils::Expectation expectation, in TestIndirectOffset()
73 utils::CreateBufferFromData<uint32_t>(device, usage, bufferList); in TestIndirectOffset()
[all …]
DCopyCommandsValidationTests.cpp76 uint32_t bytesPerPixel = utils::GetTexelBlockSizeInBytes(format); in BufferSizeForTextureCopy()
81 void ValidateExpectation(wgpu::CommandEncoder encoder, utils::Expectation expectation) { in ValidateExpectation()
82 if (expectation == utils::Expectation::Success) { in ValidateExpectation()
89 void TestB2TCopy(utils::Expectation expectation, in TestB2TCopy()
100 utils::CreateImageCopyBuffer(srcBuffer, srcOffset, srcBytesPerRow, srcRowsPerImage); in TestB2TCopy()
102 utils::CreateImageCopyTexture(destTexture, destLevel, destOrigin, aspect); in TestB2TCopy()
110 void TestT2BCopy(utils::Expectation expectation, in TestT2BCopy()
121 utils::CreateImageCopyBuffer(destBuffer, destOffset, destBytesPerRow, destRowsPerImage); in TestT2BCopy()
123 utils::CreateImageCopyTexture(srcTexture, srcLevel, srcOrigin, aspect); in TestT2BCopy()
131 void TestT2TCopy(utils::Expectation expectation, in TestT2TCopy()
[all …]
DCopyTextureForBrowserTests.cpp45 void TestCopyTextureForBrowser(utils::Expectation expectation, in TestCopyTextureForBrowser()
55 utils::CreateImageCopyTexture(srcTexture, srcLevel, srcOrigin, aspect); in TestCopyTextureForBrowser()
57 utils::CreateImageCopyTexture(dstTexture, dstLevel, dstOrigin, aspect); in TestCopyTextureForBrowser()
60 if (expectation == utils::Expectation::Success) { in TestCopyTextureForBrowser()
82 TestCopyTextureForBrowser(utils::Expectation::Success, source, 0, {0, 0, 0}, destination, 0, in TEST_F()
86 TestCopyTextureForBrowser(utils::Expectation::Success, source, 0, {0, 0, 0}, destination, 0, in TEST_F()
90 TestCopyTextureForBrowser(utils::Expectation::Success, source, 0, {8, 8, 0}, destination, 0, in TEST_F()
94 TestCopyTextureForBrowser(utils::Expectation::Success, source, 0, {0, 0, 0}, destination, 2, in TEST_F()
98 TestCopyTextureForBrowser(utils::Expectation::Success, source, 2, {0, 0, 0}, destination, 0, in TEST_F()
102 TestCopyTextureForBrowser(utils::Expectation::Success, source, 0, {0, 0, 0}, destination, 0, in TEST_F()
[all …]
DComputeIndirectValidationTests.cpp25 wgpu::ShaderModule computeModule = utils::CreateShaderModule(device, R"( in SetUp()
30 wgpu::PipelineLayout pl = utils::MakeBasicPipelineLayout(device, nullptr); in SetUp()
39 void ValidateExpectation(wgpu::CommandEncoder encoder, utils::Expectation expectation) { in ValidateExpectation()
40 if (expectation == utils::Expectation::Success) { in ValidateExpectation()
47 void TestIndirectOffset(utils::Expectation expectation, in TestIndirectOffset()
52 utils::CreateBufferFromData<uint32_t>(device, usage, bufferList); in TestIndirectOffset()
69 TestIndirectOffset(utils::Expectation::Success, {1, 2, 3}, 0); in TEST_F()
71 TestIndirectOffset(utils::Expectation::Success, {1, 2, 3, 4, 5, 6}, 0); in TEST_F()
73 TestIndirectOffset(utils::Expectation::Success, {1, 2, 3, 4, 5, 6}, 3 * sizeof(uint32_t)); in TEST_F()
76 TestIndirectOffset(utils::Expectation::Failure, {1, 2, 3, 4}, 1); in TEST_F()
[all …]
DBindGroupValidationTests.cpp84 wgpu::BindGroupLayout layout = utils::MakeBindGroupLayout(device, {}); in TEST_F()
104 wgpu::BindGroupLayout layout = utils::MakeBindGroupLayout( in TEST_F()
108 utils::MakeBindGroup(device, layout, {{0, mSampler}}); in TEST_F()
111 ASSERT_DEVICE_ERROR(utils::MakeBindGroup(device, layout, {})); in TEST_F()
116 wgpu::BindGroupLayout layout = utils::MakeBindGroupLayout( in TEST_F()
120 utils::MakeBindGroup(device, layout, {{0, mSampler}}); in TEST_F()
123 ASSERT_DEVICE_ERROR(utils::MakeBindGroup(device, layout, {{1, mSampler}})); in TEST_F()
128 wgpu::BindGroupLayout layout = utils::MakeBindGroupLayout( in TEST_F()
133 utils::MakeBindGroup(device, layout, {{0, mSampler}, {1, mSampler}}); in TEST_F()
136 ASSERT_DEVICE_ERROR(utils::MakeBindGroup(device, layout, {{0, mSampler}, {0, mSampler}})); in TEST_F()
[all …]
/third_party/flutter/skia/third_party/externals/dawn/src/tests/end2end/
DObjectCachingTests.cpp24 dawn::BindGroupLayout bgl = utils::MakeBindGroupLayout( in TEST_P()
26 dawn::BindGroupLayout sameBgl = utils::MakeBindGroupLayout( in TEST_P()
28 dawn::BindGroupLayout otherBgl = utils::MakeBindGroupLayout( in TEST_P()
37 dawn::BindGroupLayout bgl = utils::MakeBindGroupLayout( in TEST_P()
39 dawn::BindGroupLayout sameBgl = utils::MakeBindGroupLayout( in TEST_P()
41 dawn::BindGroupLayout otherBgl = utils::MakeBindGroupLayout( in TEST_P()
51 dawn::BindGroupLayout bgl = utils::MakeBindGroupLayout( in TEST_P()
58 dawn::BindGroupLayout bgl = utils::MakeBindGroupLayout( in TEST_P()
60 dawn::BindGroupLayout otherBgl = utils::MakeBindGroupLayout( in TEST_P()
63 dawn::PipelineLayout pl = utils::MakeBasicPipelineLayout(device, &bgl); in TEST_P()
[all …]
/third_party/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 …]
/third_party/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 …]
/third_party/flutter/skia/third_party/externals/dawn/src/tests/unittests/validation/
DDrawIndirectValidationTests.cpp27 utils::CreateShaderModule(device, utils::ShaderStage::Vertex, R"( in SetUp()
34 utils::CreateShaderModule(device, utils::ShaderStage::Fragment, R"( in SetUp()
42 dawn::PipelineLayout pipelineLayout = utils::MakeBasicPipelineLayout(device, nullptr); in SetUp()
44 utils::ComboRenderPipelineDescriptor descriptor(device); in SetUp()
52 void ValidateExpectation(dawn::CommandEncoder encoder, utils::Expectation expectation) { in ValidateExpectation()
53 if (expectation == utils::Expectation::Success) { in ValidateExpectation()
60 void TestIndirectOffsetDrawIndexed(utils::Expectation expectation, in TestIndirectOffsetDrawIndexed()
66 void TestIndirectOffsetDraw(utils::Expectation expectation, in TestIndirectOffsetDraw()
72 void TestIndirectOffset(utils::Expectation expectation, in TestIndirectOffset()
76 dawn::Buffer indirectBuffer = utils::CreateBufferFromData<uint32_t>( in TestIndirectOffset()
[all …]
DCopyCommandsValidationTests.cpp75 void ValidateExpectation(dawn::CommandEncoder encoder, utils::Expectation expectation) { in ValidateExpectation()
76 if (expectation == utils::Expectation::Success) { in ValidateExpectation()
83 void TestB2TCopy(utils::Expectation expectation, in TestB2TCopy()
94 utils::CreateBufferCopyView(srcBuffer, srcOffset, srcRowPitch, srcImageHeight); in TestB2TCopy()
96 utils::CreateTextureCopyView(destTexture, destLevel, destSlice, destOrigin); in TestB2TCopy()
104 void TestT2BCopy(utils::Expectation expectation, in TestT2BCopy()
115 utils::CreateBufferCopyView(destBuffer, destOffset, destRowPitch, destImageHeight); in TestT2BCopy()
117 utils::CreateTextureCopyView(srcTexture, srcLevel, srcSlice, srcOrigin); in TestT2BCopy()
125 void TestT2TCopy(utils::Expectation expectation, in TestT2TCopy()
136 utils::CreateTextureCopyView(srcTexture, srcLevel, srcSlice, srcOrigin); in TestT2TCopy()
[all …]
DBindGroupValidationTests.cpp38 dawn::SamplerDescriptor descriptor = utils::GetDefaultSamplerDescriptor(); in SetUp()
65 dawn::BindGroupLayout layout = utils::MakeBindGroupLayout(device, {}); in TEST_F()
83 dawn::BindGroupLayout layout = utils::MakeBindGroupLayout(device, { in TEST_F()
88 utils::MakeBindGroup(device, layout, {{0, mSampler}}); in TEST_F()
91 ASSERT_DEVICE_ERROR(utils::MakeBindGroup(device, layout, {})); in TEST_F()
96 dawn::BindGroupLayout layout = utils::MakeBindGroupLayout(device, { in TEST_F()
101 utils::MakeBindGroup(device, layout, {{0, mSampler}}); in TEST_F()
104 ASSERT_DEVICE_ERROR(utils::MakeBindGroup(device, layout, {{1, mSampler}})); in TEST_F()
107 ASSERT_DEVICE_ERROR(utils::MakeBindGroup(device, layout, {{kMaxBindingsPerGroup, mSampler}})); in TEST_F()
112 dawn::BindGroupLayout layout = utils::MakeBindGroupLayout(device, { in TEST_F()
[all …]
/third_party/mindspore/mindspore/ccsrc/vm/
Dvmimpl.cc97 if (utils::isa<FuncGraphPtr>(fkv.first)) { in ComputeFvs()
99 auto g = utils::cast<FuncGraphPtr>(fkv.first); in ComputeFvs()
155 if (utils::isa<ValuePtr>(value) && utils::cast<ValuePtr>(value)->isa<FuncGraph>()) { in Export()
156 return ExportGraph(utils::cast<ValuePtr>(value)->cast<FuncGraphPtr>()); in Export()
159 if (utils::isa<ValuePtr>(value) && utils::cast<ValuePtr>(value)->isa<Primitive>()) { in Export()
160 return ExportPrimitive(utils::cast<ValuePtr>(value)->cast<PrimitivePtr>()); in Export()
163 if (utils::isa<FuncGraphPtr>(value)) { in Export()
164 return ExportGraph(utils::cast<FuncGraphPtr>(value)); in Export()
167 if (utils::isa<ClosurePtr>(value)) { in Export()
168 return ExportClosure(utils::cast<ClosurePtr>(value)); in Export()
[all …]
/third_party/python/Lib/test/test_email/
Dtest_utils.py2 from email import utils
20 self.assertEqual(utils.format_datetime(self.naive_dt),
24 self.assertEqual(utils.format_datetime(self.aware_dt),
30 self.assertEqual(utils.format_datetime(utc_dt, usegmt=True),
35 utils.format_datetime(self.naive_dt, usegmt=True)
39 utils.format_datetime(self.aware_dt, usegmt=True)
43 utils.parsedate_to_datetime(self.datestring + self.offsetstring),
48 utils.parsedate_to_datetime(self.datestring + ' -0000'),
60 self.assertRaises(ValueError, utils.parsedate_to_datetime, dtstr)
66 t = utils.localtime()
[all …]
/third_party/pulseaudio/po/
Dpulseaudio.pot406 #: src/daemon/main.c:793 src/daemon/main.c:864 src/utils/pacat.c:562
505 #: src/utils/pactl.c:260
510 #: src/utils/pactl.c:261
547 #: src/utils/pactl.c:250
552 #: src/utils/pactl.c:251
834 #: src/modules/bluetooth/module-bluez5-device.c:1780 src/utils/pactl.c:254
838 #: src/modules/bluetooth/module-bluez5-device.c:1786 src/utils/pactl.c:265
846 #: src/modules/bluetooth/module-bluez5-device.c:1813 src/utils/pactl.c:264
850 #: src/modules/bluetooth/module-bluez5-device.c:1819 src/utils/pactl.c:266
854 #: src/modules/bluetooth/module-bluez5-device.c:1825 src/utils/pactl.c:267
[all …]
Dkk.po421 #: src/daemon/main.c:793 src/daemon/main.c:864 src/utils/pacat.c:562
521 #: src/utils/pactl.c:258
526 #: src/utils/pactl.c:259
563 #: src/modules/bluetooth/module-bluez5-device.c:1800 src/utils/pactl.c:248
568 #: src/utils/pactl.c:249
857 #: src/modules/bluetooth/module-bluez5-device.c:1780 src/utils/pactl.c:252
861 #: src/modules/bluetooth/module-bluez5-device.c:1786 src/utils/pactl.c:263
869 #: src/modules/bluetooth/module-bluez5-device.c:1813 src/utils/pactl.c:262
873 #: src/modules/bluetooth/module-bluez5-device.c:1819 src/utils/pactl.c:264
877 #: src/modules/bluetooth/module-bluez5-device.c:1825 src/utils/pactl.c:265
[all …]
/third_party/mindspore/mindspore/lite/cmake/
Dfile_list.cmake13 ${CORE_DIR}/abstract/utils.h
51 ${CORE_DIR}/utils/any.h
52 ${CORE_DIR}/utils/check_convert_utils.h
53 ${CORE_DIR}/utils/compact_set.h
54 ${CORE_DIR}/utils/convert_utils_base.h
55 ${CORE_DIR}/utils/flags.h
56 ${CORE_DIR}/utils/hashing.h
57 ${CORE_DIR}/utils/info.h
58 ${CORE_DIR}/utils/label.h
59 ${CORE_DIR}/utils/log_adapter.h
[all …]
/third_party/skia/third_party/externals/dawn/src/tests/end2end/
DObjectCachingTests.cpp24 wgpu::BindGroupLayout bgl = utils::MakeBindGroupLayout( in TEST_P()
26 wgpu::BindGroupLayout sameBgl = utils::MakeBindGroupLayout( in TEST_P()
28 wgpu::BindGroupLayout otherBgl = utils::MakeBindGroupLayout( in TEST_P()
37 wgpu::BindGroupLayout bgl = utils::MakeBindGroupLayout( in TEST_P()
39 wgpu::BindGroupLayout sameBgl = utils::MakeBindGroupLayout( in TEST_P()
41 wgpu::BindGroupLayout otherBgl = utils::MakeBindGroupLayout( in TEST_P()
51 wgpu::BindGroupLayout bgl = utils::MakeBindGroupLayout( in TEST_P()
53 wgpu::BindGroupLayout sameBgl = utils::MakeBindGroupLayout( in TEST_P()
55 wgpu::BindGroupLayout otherBgl = utils::MakeBindGroupLayout( in TEST_P()
65 wgpu::BindGroupLayout bgl = utils::MakeBindGroupLayout( in TEST_P()
[all …]
/third_party/typescript/tests/baselines/reference/
DgenericFunctionsWithOptionalParameters1.symbols23 var utils: Utils;
24 >utils : Symbol(utils, Decl(genericFunctionsWithOptionalParameters1.ts, 4, 3))
27 utils.fold(); // no error
28 >utils.fold : Symbol(Utils.fold, Decl(genericFunctionsWithOptionalParameters1.ts, 0, 17))
29 >utils : Symbol(utils, Decl(genericFunctionsWithOptionalParameters1.ts, 4, 3))
32 utils.fold(null); // no error
33 >utils.fold : Symbol(Utils.fold, Decl(genericFunctionsWithOptionalParameters1.ts, 0, 17))
34 >utils : Symbol(utils, Decl(genericFunctionsWithOptionalParameters1.ts, 4, 3))
37 utils.fold(null, null); // no error
38 >utils.fold : Symbol(Utils.fold, Decl(genericFunctionsWithOptionalParameters1.ts, 0, 17))
[all …]
/third_party/libsnd/
DMakefile.am230 tests/utils.c \
241 tests/utils.tpl tests/utils.def \
268 tests_write_read_test_SOURCES = tests/utils.c tests/generate.c tests/generate.h tests/write_read_te…
271 tests_lossy_comp_test_SOURCES = tests/utils.c tests/lossy_comp_test.c tests/utils.h
274 tests_fix_this_SOURCES = tests/utils.c tests/fix_this.c tests/utils.h
277 tests_error_test_SOURCES = tests/error_test.c tests/utils.c tests/utils.h
280 tests_ulaw_test_SOURCES = tests/utils.c tests/ulaw_test.c tests/utils.h
283 tests_alaw_test_SOURCES = tests/utils.c tests/alaw_test.c tests/utils.h
286 tests_aiff_rw_test_SOURCES = tests/utils.c tests/aiff_rw_test.c tests/utils.h
289 tests_command_test_SOURCES = tests/command_test.c tests/utils.c tests/utils.h
[all …]

12345678910>>...83