/foundation/multimedia/ringtone_library/services/ringtone_setting/src/ |
H A D | vibrate_metadata.cpp | 68 vibrateId_ = std::get<int32_t>(vibrateId); in SetVibrateId() 78 data_ = std::get<std::string>(data); in SetData() 88 size_ = std::get<int64_t>(size); in SetSize() 98 displayName_ = std::get<std::string>(displayName); in SetDisplayName() 108 title_ = std::get<std::string>(title); in SetTitle() 118 displayLanguage_ = std::get<std::string>(displayLanguage); in SetDisplayLanguage() 128 vibrateType_ = std::get<int32_t>(vibrateType); in SetVibrateType() 138 sourceType_ = std::get<int32_t>(sourceType); in SetSourceType() 148 dateAdded_ = std::get<int64_t>(dateAdded); in SetDateAdded() 158 dateModified_ = std::get<int64_ in SetDateModified() [all...] |
/foundation/communication/dsoftbus/tests/sdk/transmission/fuzztest/socket_fuzzer/ |
H A D | socket_fuzzer.cpp | 37 if (memset_s(socketName.get(), bufSize, 0, bufSize) != EOK) { in SocketTestWithName() 41 if (memcpy_s(socketName.get(), bufSize, data, size) != EOK) { in SocketTestWithName() 46 .name = socketName.get(), in SocketTestWithName() 64 if (memset_s(socketPeerName.get(), bufSize, 0, bufSize) != EOK) { in SocketTestWithPeerName() 68 if (memcpy_s(socketPeerName.get(), bufSize, data, size) != EOK) { in SocketTestWithPeerName() 74 .peerName = socketPeerName.get(), in SocketTestWithPeerName() 91 if (memset_s(socketNetworkId.get(), bufSize, 0, bufSize) != EOK) { in SocketTestWithNetworkId() 95 if (memcpy_s(socketNetworkId.get(), bufSize, data, size) != EOK) { in SocketTestWithNetworkId() 102 .peerNetworkId = socketNetworkId.get(), in SocketTestWithNetworkId() 118 if (memset_s(socketPkgName.get(), bufSiz in SocketTestWithPkgName() [all...] |
/foundation/distributeddatamgr/preferences/frameworks/native/src/ |
H A D | preferences_value.cpp | 181 return std::get<int>(value_); in operator int() 186 return std::get<int64_t>(value_); in operator int64_t() 191 return std::get<float>(value_); in operator float() 196 return std::get<double>(value_); in operator double() 201 return std::get<bool>(value_); in operator bool() 206 return std::get<std::string>(value_); in operator std::string() 211 return std::get<std::vector<double>>(value_); in operator std::vector() 216 return std::get<std::vector<bool>>(value_); in operator std::vector() 221 return std::get<std::vector<std::string>>(value_); in operator std::vector() 226 return std::get<st in operator std::vector() [all...] |
/third_party/skia/tests/ |
H A D | MallocPixelRefTest.cpp | 29 REPORTER_ASSERT(reporter, nullptr == pr.get()); in DEF_TEST() 38 REPORTER_ASSERT(reporter, nullptr == pr.get()); in DEF_TEST() 47 REPORTER_ASSERT(reporter, nullptr == pr.get()); in DEF_TEST() 53 auto pr = sk_make_sp<SkPixelRef>(info.width(), info.height(), memory.get(), rowBytes); in DEF_TEST() 54 REPORTER_ASSERT(reporter, pr.get() != nullptr); in DEF_TEST() 55 REPORTER_ASSERT(reporter, memory.get() == pr->pixels()); in DEF_TEST() 60 REPORTER_ASSERT(reporter, pr.get() != nullptr); in DEF_TEST() 68 REPORTER_ASSERT(reporter, pr.get() != nullptr); in DEF_TEST() 75 SkMakePixelRefWithProc(info.width(), info.height(), rowBytes, memory.get(), in DEF_TEST() 77 REPORTER_ASSERT(reporter, pr.get() ! in DEF_TEST() [all...] |
/third_party/typescript/tests/baselines/reference/ |
H A D | exportsAndImports3-es6.js | 67 Object.defineProperty(exports, "v", { enumerable: true, get: function () { return t1_1.v1; } });
68 Object.defineProperty(exports, "f", { enumerable: true, get: function () { return t1_1.f1; } });
69 Object.defineProperty(exports, "C", { enumerable: true, get: function () { return t1_1.C1; } });
70 Object.defineProperty(exports, "E", { enumerable: true, get: function () { return t1_1.E1; } });
71 Object.defineProperty(exports, "M", { enumerable: true, get: function () { return t1_1.M1; } });
72 Object.defineProperty(exports, "a", { enumerable: true, get: function () { return t1_1.a1; } });
78 Object.defineProperty(exports, "v", { enumerable: true, get: function () { return t1_1.v1; } });
79 Object.defineProperty(exports, "f", { enumerable: true, get: function () { return t1_1.f1; } });
80 Object.defineProperty(exports, "C", { enumerable: true, get: function () { return t1_1.C1; } });
81 Object.defineProperty(exports, "E", { enumerable: true, get [all...] |
H A D | giant.js | 11 g -> get 24 public get pgF() 28 private get rgF() 36 static get tgF() 88 public get pgF() 92 private get rgF() 100 static get tgF() 167 public get pgF() 171 private get rgF() 179 static get tg [all...] |
/third_party/skia/infra/bots/recipe_modules/builder_name_schema/ |
H A D | builder_name_schema.py | 92 role = parts.get(role_key) 95 s = BUILDER_NAME_SCHEMA.get(role) 101 for key in s.get('keys', []): 102 value = parts.get(key) 108 recurse_roles = s.get('recurse_roles', []) 111 sub_role = parts.get(sub_role_key) 124 for key in s.get('optional_keys', []): 125 if parts.get(key): 153 schema = BUILDER_NAME_SCHEMA.get(role) 160 for key in schema.get('key [all...] |
/third_party/skia/infra/bots/recipe_modules/vars/ |
H A D | api.py | 21 # Otherwise, we can't get to the CIPD packages, caches, and isolates which 38 self.default_env.get('PATH', '%(PATH)s'), 44 self.m.properties.get('swarm_out_dir', 'tmp')) 54 self.configuration = self.builder_cfg.get('configuration', CONFIG_DEBUG) 55 arch = (self.builder_cfg.get('arch') or self.builder_cfg.get('target_arch')) 56 if ('Win' in self.builder_cfg.get('os', '') and arch == 'x86_64'): 60 if len(self.builder_cfg.get('extra_config', '')) > 0: 67 self.patch_storage = self.m.properties.get('patch_storage', 'gerrit') 71 if (self.m.properties.get('patch_issu [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/pipeline/ |
H A D | vktPipelineBindPointTests.cpp | 321 set = makeDescriptorSet(vkd, device, pool.get(), layout); in makePoolAndSet() 466 colorAttachmentView = makeImageView(vkd, device, colorAttachment->get(), imageViewType, imageFormat, subresourceRange); in iterate() 471 const auto cmdBufferPtr = allocateCommandBuffer(vkd, device, cmdPool.get(), VK_COMMAND_BUFFER_LEVEL_PRIMARY); in iterate() 472 const auto cmdBuffer = cmdBufferPtr.get(); in iterate() 487 if (hasGraphics) graphicsPipelineLayout = PipelineLayoutWrapper(m_params.pipelineConstructionType, vkd, device, graphicsSetLayout.get()); in iterate() 488 if (hasCompute) computePipelineLayout = PipelineLayoutWrapper(m_params.pipelineConstructionType, vkd, device, computeSetLayout.get()); in iterate() 489 if (hasRayTracing) rayTracingPipelineLayout = PipelineLayoutWrapper(m_params.pipelineConstructionType, vkd, device, rayTracingSetLayout.get()); in iterate() 497 if (hasGraphics) vertShader = ShaderWrapper(vkd, device, m_context.getBinaryCollection().get("vert"), 0u); in iterate() 498 if (hasGraphics) fragShader = ShaderWrapper(vkd, device, m_context.getBinaryCollection().get("frag"), 0u); in iterate() 499 if (hasCompute) compShader = ShaderWrapper(vkd, device, m_context.getBinaryCollection().get("com in iterate() [all...] |
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/calendar/ |
H A D | ChineseTest.java | 106 int y = cal.get(Calendar.EXTENDED_YEAR); in TestMapping() 107 int m = cal.get(Calendar.MONTH)+1; // 0-based -> 1-based in TestMapping() 108 int L = cal.get(Calendar.IS_LEAP_MONTH); in TestMapping() 109 int d = cal.get(Calendar.DAY_OF_MONTH); in TestMapping() 163 if (cal.get(Calendar.DAY_OF_MONTH) == 0) { in TestZeroDOM() 165 cal.get(Calendar.EXTENDED_YEAR) + "/" + in TestZeroDOM() 166 cal.get(Calendar.MONTH) + in TestZeroDOM() 167 (cal.get(Calendar.IS_LEAP_MONTH)==1?"(leap)":"") + in TestZeroDOM() 168 "/" + cal.get(Calendar.DAY_OF_MONTH)); in TestZeroDOM() 372 int month = cal.get(Calenda in TestResolution() [all...] |
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/calendar/ |
H A D | ChineseTest.java | 109 int y = cal.get(Calendar.EXTENDED_YEAR); in TestMapping() 110 int m = cal.get(Calendar.MONTH)+1; // 0-based -> 1-based in TestMapping() 111 int L = cal.get(Calendar.IS_LEAP_MONTH); in TestMapping() 112 int d = cal.get(Calendar.DAY_OF_MONTH); in TestMapping() 166 if (cal.get(Calendar.DAY_OF_MONTH) == 0) { in TestZeroDOM() 168 cal.get(Calendar.EXTENDED_YEAR) + "/" + in TestZeroDOM() 169 cal.get(Calendar.MONTH) + in TestZeroDOM() 170 (cal.get(Calendar.IS_LEAP_MONTH)==1?"(leap)":"") + in TestZeroDOM() 171 "/" + cal.get(Calendar.DAY_OF_MONTH)); in TestZeroDOM() 375 int month = cal.get(Calenda in TestResolution() [all...] |
/third_party/skia/src/sksl/ |
H A D | SkSLDehydrator.cpp | 243 if (symbols.fOwnedSymbols[i].get() == p.second) { in write() 257 this->write(expr.get()); in writeExpressionSpan() 267 this->write(b.left().get()); in write() 269 this->write(b.right().get()); in write() 342 this->write(f.base().get()); in write() 354 this->write(a.get()); in write() 361 this->write(i.base().get()); in write() 362 this->write(i.index().get()); in write() 389 this->write(p.operand().get()); in write() 396 this->write(p.operand().get()); in write() [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AArch64/ |
H A D | AArch64SIMDInstrOpt.cpp | 282 OriginalMCID = &TII->get(AArch64::FMLAv4i32_indexed); in shouldExitEarly() 283 ReplInstrMCID.push_back(&TII->get(AArch64::DUPv4i32lane)); in shouldExitEarly() 284 ReplInstrMCID.push_back(&TII->get(AArch64::FMLAv4f32)); in shouldExitEarly() 296 OriginalMCID = &TII->get(I.OrigOpc); in shouldExitEarly() 298 ReplInstrMCID.push_back(&TII->get(Repl)); in shouldExitEarly() 360 DupMCID = &TII->get(AArch64::DUPv4i32lane); in optimizeVectElement() 361 MulMCID = &TII->get(AArch64::FMLAv4f32); in optimizeVectElement() 364 DupMCID = &TII->get(AArch64::DUPv4i32lane); in optimizeVectElement() 365 MulMCID = &TII->get(AArch64::FMLSv4f32); in optimizeVectElement() 368 DupMCID = &TII->get(AArch6 in optimizeVectElement() [all...] |
/third_party/jerryscript/tests/jerry/ |
H A D | regression-test-issue-1282.js | 17 ({ get "0"() { counter += 1; } })[0]; 18 ({ get 0() { counter += 2; } })[0]; 19 ({ get 0.0() { counter += 3; } })[0]; 20 ({ get 0.() { counter += 4; } })[0]; 21 ({ get 1.() { counter += 5; } })[1]; 22 ({ get 5.2322341234123() { counter += 6; } })[5.2322341234123];
|
/foundation/ai/neural_network_runtime/test/unittest/components/nn_compiler/ |
H A D | nn_compiler_test.cpp | 206 testing::Mock::AllowLeak(device.get()); in HWTEST_F() 223 testing::Mock::AllowLeak(device.get()); in HWTEST_F() 243 testing::Mock::AllowLeak(device.get()); in HWTEST_F() 276 EXPECT_CALL(*((MockIDevice *) device.get()), IsModelCacheSupported(::testing::_)) in HWTEST_F() 287 testing::Mock::AllowLeak(device.get()); in HWTEST_F() 301 EXPECT_CALL(*((MockIDevice *) device.get()), IsModelCacheSupported(::testing::_)) in HWTEST_F() 312 testing::Mock::AllowLeak(device.get()); in HWTEST_F() 326 EXPECT_CALL(*((MockIDevice *) device.get()), IsModelCacheSupported(::testing::_)) in HWTEST_F() 341 testing::Mock::AllowLeak(device.get()); in HWTEST_F() 362 testing::Mock::AllowLeak(device.get()); in HWTEST_F() [all...] |
/third_party/icu/icu4c/source/test/intltest/ |
H A D | incaltst.cpp | 188 int32_t tz1 = cal.get(UCAL_ZONE_OFFSET,status); in quasiGregorianTest() 189 int32_t tz2 = grego -> get (UCAL_ZONE_OFFSET, status); in quasiGregorianTest() 224 int e = cal.get(UCAL_ERA, status); in quasiGregorianTest() 225 int y = cal.get(UCAL_YEAR, status); in quasiGregorianTest() 231 logln((UnicodeString)"OK: " + D + " => " + cal.get(UCAL_ERA, status) + ":" + in quasiGregorianTest() 232 cal.get(UCAL_YEAR, status) + "/" + in quasiGregorianTest() 233 (cal.get(UCAL_MONTH, status)+1) + "/" + cal.get(UCAL_DATE, status) + " (" + UnicodeString(cal.getType()) + ")"); in quasiGregorianTest() 235 errln((UnicodeString)"Fail: (millis to fields)" + D + " => " + cal.get(UCAL_ERA, status) + ":" + in quasiGregorianTest() 236 cal.get(UCAL_YEA in quasiGregorianTest() [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/dynamic_state/ |
H A D | vktDynamicStateInheritanceTests.cpp | 386 , m_colorViewInfo{ VK_STRUCTURE_TYPE_IMAGE_VIEW_CREATE_INFO, NULL, 0, m_colorImage.get(), VK_IMAGE_VIEW_TYPE_2D, in InheritanceTestInstance() 388 , m_depthViewInfo{ VK_STRUCTURE_TYPE_IMAGE_VIEW_CREATE_INFO, NULL, 0, m_depthImage.get(), VK_IMAGE_VIEW_TYPE_2D, 452 VkImageView attachmentViews[2] = { m_colorView.get(), m_depthView.get() }; in createImageView() 457 m_renderPass.get(), in createImageView() 463 m_vertModule = vk::createShaderModule(m_vk, dev, m_context.getBinaryCollection().get("vert"), 0u); in createImageView() 464 m_geomModule = vk::createShaderModule(m_vk, dev, m_context.getBinaryCollection().get("geom"), 0u); in createImageView() 465 m_fragModule = vk::createShaderModule(m_vk, dev, m_context.getBinaryCollection().get("frag"), 0u); in createImageView() 488 m_cmdPool.get(), in createImageView() 523 m_renderPass.get(), in startRenderCmds() [all...] |
/third_party/json/tests/src/ |
H A D | unit-udt.cpp | 175 a.m_val = j.template get<int>(); in from_json() 181 n.m_val = j.template get<std::string>(); in from_json() 187 const auto str = j.template get<std::string>(); in from_json() 203 p.m_age = j["age"].template get<age>(); in from_json() 204 p.m_name = j["name"].template get<name>(); in from_json() 205 p.m_country = j["country"].template get<country>(); in from_json() 210 a.m_val = j.get<std::string>(); in from_json() 215 c.m_person = j["person"].get<person>(); in from_json() 216 c.m_address = j["address"].get<address>(); in from_json() 221 cb.m_book_name = j["name"].get<nam in from_json() [all...] |
/third_party/node/src/crypto/ |
H A D | crypto_sig.cc | 61 if (EVP_PKEY_id(pkey.get()) == EVP_PKEY_RSA || in ValidateDSAParameters() 62 EVP_PKEY_id(pkey.get()) == EVP_PKEY_RSA2 || in ValidateDSAParameters() 63 EVP_PKEY_id(pkey.get()) == EVP_PKEY_RSA_PSS) { in ValidateDSAParameters() 83 if (!EVP_DigestFinal_ex(mdctx.get(), m, &m_len)) in ValidateDSAParameters() 86 int signed_sig_len = EVP_PKEY_size(pkey.get()); in ValidateDSAParameters() 94 EVPKeyCtxPointer pkctx(EVP_PKEY_CTX_new(pkey.get(), nullptr)); in ValidateDSAParameters() 96 EVP_PKEY_sign_init(pkctx.get()) && in ValidateDSAParameters() 97 ApplyRSAOptions(pkey, pkctx.get(), padding, pss_salt_len) && in ValidateDSAParameters() 98 EVP_PKEY_CTX_set_signature_md(pkctx.get(), EVP_MD_CTX_md(mdctx.get())) in ValidateDSAParameters() [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/mesh_shader/ |
H A D | vktMeshShaderApiTestsEXT.cpp | 443 colorBufferView = makeImageView(vkd, device, colorBuffer->get(), VK_IMAGE_VIEW_TYPE_2D, format, colorSRR); in iterate() 476 const auto descriptorSet = makeDescriptorSet(vkd, device, descriptorPool.get(), setLayout.get()); in iterate() 483 const auto descriptorBufferInfo = makeDescriptorBufferInfo(blockSizesBuffer->get(), 0ull, blockSizesBufferSize); in iterate() 485 updateBuilder.writeSingle(descriptorSet.get(), location, VK_DESCRIPTOR_TYPE_STORAGE_BUFFER, &descriptorBufferInfo); in iterate() 492 const auto pipelineLayout = makePipelineLayout(vkd, device, 1u, &setLayout.get(), static_cast<uint32_t>(pcRanges.size()), de::dataOrNull(pcRanges)); in iterate() 505 const auto framebuffer = makeFramebuffer(vkd, device, renderPass.get(), colorBufferView.get(), extent.width, extent.height); in iterate() 514 taskModule = createShaderModule(vkd, device, binaries.get("task")); in iterate() 515 meshModule = createShaderModule(vkd, device, binaries.get("mes in iterate() [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/mesh_shader/ |
H A D | vktMeshShaderApiTestsEXT.cpp | 443 colorBufferView = makeImageView(vkd, device, colorBuffer->get(), VK_IMAGE_VIEW_TYPE_2D, format, colorSRR); in iterate() 476 const auto descriptorSet = makeDescriptorSet(vkd, device, descriptorPool.get(), setLayout.get()); in iterate() 483 const auto descriptorBufferInfo = makeDescriptorBufferInfo(blockSizesBuffer->get(), 0ull, blockSizesBufferSize); in iterate() 485 updateBuilder.writeSingle(descriptorSet.get(), location, VK_DESCRIPTOR_TYPE_STORAGE_BUFFER, &descriptorBufferInfo); in iterate() 492 const auto pipelineLayout = makePipelineLayout(vkd, device, 1u, &setLayout.get(), static_cast<uint32_t>(pcRanges.size()), de::dataOrNull(pcRanges)); in iterate() 505 const auto framebuffer = makeFramebuffer(vkd, device, renderPass.get(), colorBufferView.get(), extent.width, extent.height); in iterate() 514 taskModule = createShaderModule(vkd, device, binaries.get("task")); in iterate() 515 meshModule = createShaderModule(vkd, device, binaries.get("mes in iterate() [all...] |
/foundation/ability/ability_runtime/test/unittest/call_container_test/ |
H A D | call_container_test.cpp | 38 std::shared_ptr<CallContainer> get() const; 59 std::shared_ptr<CallContainer> CallContainerTest::get() const in get() function in OHOS::AAFwk::CallContainerTest 74 std::shared_ptr<CallContainer> callContainer = get(); in HWTEST_F() 99 std::shared_ptr<CallContainer> callContainer = get(); in HWTEST_F() 115 std::shared_ptr<CallContainer> callContainer = get(); in HWTEST_F() 130 std::shared_ptr<CallContainer> callContainer = get(); in HWTEST_F() 154 std::shared_ptr<CallContainer> callContainer = get(); in HWTEST_F() 177 std::shared_ptr<CallContainer> callContainer = get(); in HWTEST_F() 194 std::shared_ptr<CallContainer> callContainer = get(); in HWTEST_F() 210 std::shared_ptr<CallContainer> callContainer = get(); in HWTEST_F() [all...] |
/foundation/distributeddatamgr/relational_store/frameworks/native/rdb/src/ |
H A D | value_object.cpp | 195 val = std::get<int64_t>(value); in operator int64_t() 197 val = int64_t(std::get<double>(value)); in operator int64_t() 199 val = std::get<bool>(value); in operator int64_t() 201 auto temp = std::get<std::string>(value); in operator int64_t() 212 val = double(std::get<int64_t>(value)); in operator double() 214 val = std::get<double>(value); in operator double() 216 val = std::get<bool>(value); in operator double() 218 auto temp = std::get<std::string>(value); in operator double() 229 val = std::get<int64_t>(value) != 0; in operator bool() 231 val = static_cast<int64_t>(std::get<doubl in operator bool() [all...] |
/third_party/mesa3d/src/panfrost/bifrost/ |
H A D | bifrost_isa.py | 62 if cond.attrib.get('alias', False) and not aliased: 92 if mod.attrib.get('pseudo', False) and not include_pseudo: 96 start = mod.attrib.get('start', None) 109 default = mod.attrib.get('default', 'none' if 'none' in opts else None) 120 name = node.get('name') 123 ex[0][1] = node.get('start') 132 'staging': ins.attrib.get('staging', '').split('=')[0], 133 'staging_count': ins.attrib.get('staging', '=0').split('=')[1], 134 'dests': int(ins.attrib.get('dests', '1')), 135 'unused': ins.attrib.get('unuse [all...] |
/third_party/skia/third_party/externals/spirv-tools/test/opt/loop_optimizations/ |
H A D | lcssa.cpp | 139 LoopDescriptor ld{context.get(), f}; in TEST_F() 143 LoopUtils Util(context.get(), loop); in TEST_F() 146 Match(text, context.get()); in TEST_F() 225 LoopDescriptor ld{context.get(), f}; in TEST_F() 229 LoopUtils Util(context.get(), loop); in TEST_F() 232 Match(text, context.get()); in TEST_F() 324 LoopDescriptor ld{context.get(), f}; in TEST_F() 328 LoopUtils Util(context.get(), loop); in TEST_F() 331 Match(text, context.get()); in TEST_F() 417 LoopDescriptor ld{context.get(), in TEST_F() [all...] |