/third_party/skia/modules/skplaintexteditor/include/ |
H A D | stringslice.h | 25 const char* begin() const { return fPtr.get(); } in begin() 26 const char* end() const { return fPtr ? fPtr.get() + fLength : nullptr; } in end() 28 SkPlainTextEditor::StringView view() const { return {fPtr.get(), fLength}; } in view()
|
/third_party/rust/crates/os_str_bytes/src/windows/wtf8/ |
H A D | string.rs | 11 if let Some(&byte) = string.get(index) { 15 if let Some(surrogate) = suffix.get(..SURROGATE_LENGTH) { 39 if let Some(&byte) = string.get(prefix.len()) {
|
/third_party/spirv-tools/test/reduce/ |
H A D | operand_to_undef_test.cpp | 170 context.get(), 0); in TEST() 182 CheckEqual(env, expected, context.get()); in TEST() 224 context.get(), 0); in TEST()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/binding_model/ |
H A D | vktBindingDescriptorUpdateASTests.cpp | 128 VkBuffer result = (buffer.get() == DE_NULL) ? DE_NULL : buffer->get(); in getVkBuffer() 486 vkd.cmdBindDescriptorSets(*commandBuffer, getPipelineBindPoint(), *m_pipelineLayout, 1, 1, &m_descriptorSetImg.get(), 0, DE_NULL); in iterate() 494 vkd.cmdBindDescriptorSets(*commandBuffer, getPipelineBindPoint(), *m_pipelineLayout, 0, 1, &m_descriptorSetAS.get(), 0, DE_NULL); in iterate() 546 submitCommandsAndWait(vkd, device, queue, commandBuffer.get()); in iterate() 550 if (verify(resultBuffer.get(), m_context, m_testParams)) in iterate() 586 return m_topAccelerationStructure.get()->getPtr(); in createAccelerationStructures() 1192 if (0 != (shaders & VK_SHADER_STAGE_VERTEX_BIT)) m_vertShaderModule = createShaderModule(vkd, device, collection.get("vert"), 0); in initPipeline() 1193 if (0 != (shaders & VK_SHADER_STAGE_GEOMETRY_BIT)) m_geomShaderModule = createShaderModule(vkd, device, collection.get("geom"), 0); in initPipeline() 1194 if (0 != (shaders & VK_SHADER_STAGE_TESSELLATION_CONTROL_BIT)) m_tescShaderModule = createShaderModule(vkd, device, collection.get("tes in initPipeline() [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/binding_model/ |
H A D | vktBindingDescriptorUpdateASTests.cpp | 128 VkBuffer result = (buffer.get() == DE_NULL) ? DE_NULL : buffer->get(); in getVkBuffer() 486 vkd.cmdBindDescriptorSets(*commandBuffer, getPipelineBindPoint(), *m_pipelineLayout, 1, 1, &m_descriptorSetImg.get(), 0, DE_NULL); in iterate() 494 vkd.cmdBindDescriptorSets(*commandBuffer, getPipelineBindPoint(), *m_pipelineLayout, 0, 1, &m_descriptorSetAS.get(), 0, DE_NULL); in iterate() 546 submitCommandsAndWait(vkd, device, queue, commandBuffer.get()); in iterate() 550 if (verify(resultBuffer.get(), m_context, m_testParams)) in iterate() 586 return m_topAccelerationStructure.get()->getPtr(); in createAccelerationStructures() 1192 if (0 != (shaders & VK_SHADER_STAGE_VERTEX_BIT)) m_vertShaderModule = createShaderModule(vkd, device, collection.get("vert"), 0); in initPipeline() 1193 if (0 != (shaders & VK_SHADER_STAGE_GEOMETRY_BIT)) m_geomShaderModule = createShaderModule(vkd, device, collection.get("geom"), 0); in initPipeline() 1194 if (0 != (shaders & VK_SHADER_STAGE_TESSELLATION_CONTROL_BIT)) m_tescShaderModule = createShaderModule(vkd, device, collection.get("tes in initPipeline() [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/InstCombine/ |
H A D | InstCombineCasts.cpp | 36 return ConstantInt::get(Val->getType(), 0); in decomposeSimpleLinearExpr() 132 Amt = ConstantInt::get(AI.getArraySize()->getType(), Scale); in PromoteCastOfAllocation() 138 Value *Off = ConstantInt::get(AI.getArraySize()->getType(), in PromoteCastOfAllocation() 435 // get into trouble with cyclic PHIs here because we only consider in canEvaluateTruncated() 483 VecType = VectorType::get(DestType, NumVecElts); in foldVecTruncToExtElt() 645 Constant *NarrowUndef = UndefValue::get(Trunc.getType()); in shrinkSplatShuffle() 677 UndefValue *NarrowUndef = UndefValue::get(DestTy); in shrinkInsertElt() 732 Value *And = Builder.CreateAnd(Src, ConstantInt::get(SrcTy, 1)); in visitTrunc() 743 Value *And = Builder.CreateAnd(X, ConstantInt::get(SrcTy, MaskC)); in visitTrunc() 750 Value *And = Builder.CreateAnd(X, ConstantInt::get(SrcT in visitTrunc() [all...] |
/third_party/icu/icu4j/main/classes/charset/src/com/ibm/icu/charset/ |
H A D | CharsetMBCS.java | 354 /* get the dbcs state from the state table entry for SO=0x0e */ in loadConverter() 402 * unlike below for files with base tables, do not get the unicodeMask from the sharedData; instead, use the in loadConverter() 611 st3 = mbcsTable.mbcsIndex.get(stageUTF8Index++); in reconstituteData() 1261 /* single-byte fromUnicode: get the 16-bit result word */ 1275 /* multi-byte fromUnicode: get the 32-bit stage 2 entry */ 1409 return stage3.get((stage12.get((stage12.get(s1Index) + ((c >>> 4) & 0x3f))) << STAGE_2_LEFT_SHIFT) in FROM_U() 1448 /* get bytes or bytes index */ 1453 /* get th [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/image/ |
H A D | vktImageLoadStoreTests.cpp | 330 // If the image is to be accessed as a float texture, get rid of invalid values in generateReferenceImage() 772 const Unique<VkShaderModule> shaderModule(createShaderModule(vk, device, m_context.getBinaryCollection().get("comp"), 0)); in iterate() 1004 vk, device, m_image->get(), mapImageViewType(getImageTypeForSingleLayer(m_texture.type())), m_format, in prepareDescriptors() 1012 vk, device, m_image->get(), mapImageViewType(m_texture.type()), m_format, in prepareDescriptors() 1031 m_constantsBuffer->get(), layerNdx*m_constantsBufferChunkSizeBytes, m_constantsBufferChunkSizeBytes); in commandBindDescriptorsForLayer() 1048 m_image->get(), fullImageSubresourceRange); in commandBeforeCompute() 1053 m_constantsBuffer->get(), 0ull, constantsBufferSize); in commandBeforeCompute() 1060 commandImageWriteBarrierBetweenShaderInvocations(m_context, cmdBuffer, m_image->get(), m_texture); in commandBetweenShaderInvocations() 1065 commandCopyImageToBuffer(m_context, cmdBuffer, m_image->get(), m_imageBuffer->get(), m_imageSizeByte in commandAfterCompute() [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/image/ |
H A D | vktImageLoadStoreTests.cpp | 330 // If the image is to be accessed as a float texture, get rid of invalid values in generateReferenceImage() 765 const Unique<VkShaderModule> shaderModule(createShaderModule(vk, device, m_context.getBinaryCollection().get("comp"), 0)); in iterate() 997 vk, device, m_image->get(), mapImageViewType(getImageTypeForSingleLayer(m_texture.type())), m_format, in prepareDescriptors() 1005 vk, device, m_image->get(), mapImageViewType(m_texture.type()), m_format, in prepareDescriptors() 1024 m_constantsBuffer->get(), layerNdx*m_constantsBufferChunkSizeBytes, m_constantsBufferChunkSizeBytes); in commandBindDescriptorsForLayer() 1041 m_image->get(), fullImageSubresourceRange); in commandBeforeCompute() 1046 m_constantsBuffer->get(), 0ull, constantsBufferSize); in commandBeforeCompute() 1053 commandImageWriteBarrierBetweenShaderInvocations(m_context, cmdBuffer, m_image->get(), m_texture); in commandBetweenShaderInvocations() 1058 commandCopyImageToBuffer(m_context, cmdBuffer, m_image->get(), m_imageBuffer->get(), m_imageSizeByte in commandAfterCompute() [all...] |
/third_party/vk-gl-cts/external/vulkancts/scripts/ |
H A D | ohos_gen_framework.py | 349 name = enumeratorNode.get("name") 350 alias = enumeratorNode.get("alias") 365 value = enumeratorNode.get("value") 367 value = enumeratorNode.get("offset") 370 extnumber = enumeratorNode.get("extnumber") 375 dir = enumeratorNode.get("dir") 385 enumeratorNode.get("bitpos") 389 enumName = enumsNode.get("name") 394 enumItem.get("name"), 395 enumItem.get("typ [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/draw/ |
H A D | vktDrawMultiExtTests.cpp | 689 multiviewCreateInfo.get(), // const void* pNext in makeMultidrawRenderPass() 850 const auto colorBufferView = makeImageView(vkd, device, colorBuffer.get(), imageViewType, colorFormat, colorSubresourceRange); in iterate() 874 const auto dsBufferView = makeImageView(vkd, device, dsBuffer.get(), imageViewType, dsFormat, dsSubresourceRange); in iterate() 897 const auto vertModule = createShaderModule(vkd, device, m_context.getBinaryCollection().get("vert"), 0u); in iterate() 898 const auto fragModule = createShaderModule(vkd, device, m_context.getBinaryCollection().get("frag"), 0u); in iterate() 904 geomModule = createShaderModule(vkd, device, m_context.getBinaryCollection().get("geom"), 0u); in iterate() 908 tescModule = createShaderModule(vkd, device, m_context.getBinaryCollection().get("tesc"), 0u); in iterate() 909 teseModule = createShaderModule(vkd, device, m_context.getBinaryCollection().get("tese"), 0u); in iterate() 914 const auto pipelineLayout = makePipelineLayout(vkd, device, descriptorSetLayout.get()); in iterate() 923 const std::vector<VkImageView> attachments { colorBufferView.get(), dsBufferVie in iterate() [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/draw/ |
H A D | vktDrawMultiExtTests.cpp | 687 multiviewCreateInfo.get(), // const void* pNext in makeMultidrawRenderPass() 848 const auto colorBufferView = makeImageView(vkd, device, colorBuffer.get(), imageViewType, colorFormat, colorSubresourceRange); in iterate() 872 const auto dsBufferView = makeImageView(vkd, device, dsBuffer.get(), imageViewType, dsFormat, dsSubresourceRange); in iterate() 895 const auto vertModule = createShaderModule(vkd, device, m_context.getBinaryCollection().get("vert"), 0u); in iterate() 896 const auto fragModule = createShaderModule(vkd, device, m_context.getBinaryCollection().get("frag"), 0u); in iterate() 902 geomModule = createShaderModule(vkd, device, m_context.getBinaryCollection().get("geom"), 0u); in iterate() 906 tescModule = createShaderModule(vkd, device, m_context.getBinaryCollection().get("tesc"), 0u); in iterate() 907 teseModule = createShaderModule(vkd, device, m_context.getBinaryCollection().get("tese"), 0u); in iterate() 912 const auto pipelineLayout = makePipelineLayout(vkd, device, descriptorSetLayout.get()); in iterate() 921 const std::vector<VkImageView> attachments { colorBufferView.get(), dsBufferVie in iterate() [all...] |
/foundation/ability/ability_runtime/test/unittest/ams_service_app_spawn_socket_test/ |
H A D | ams_service_app_spawn_socket_test.cpp | 149 EXPECT_EQ(ERR_INVALID_VALUE, appSpawnSocket->ReadMessage(buff.get(), len)); in HWTEST() 173 EXPECT_EQ(ERR_INVALID_VALUE, appSpawnSocket->ReadMessage(buff.get(), len)); in HWTEST() 197 EXPECT_EQ(ERR_INVALID_VALUE, appSpawnSocket->ReadMessage(buff.get(), len)); in HWTEST() 222 EXPECT_EQ(ERR_OK, appSpawnSocket->ReadMessage(buff.get(), len)); in HWTEST() 247 EXPECT_EQ(ERR_APPEXECFWK_SOCKET_READ_FAILED, appSpawnSocket->ReadMessage(buff.get(), len)); in HWTEST() 270 EXPECT_EQ(ERR_INVALID_VALUE, appSpawnSocket->WriteMessage(buff.get(), len)); in HWTEST() 294 EXPECT_EQ(ERR_INVALID_VALUE, appSpawnSocket->WriteMessage(buff.get(), len)); in HWTEST() 318 EXPECT_EQ(ERR_INVALID_VALUE, appSpawnSocket->WriteMessage(buff.get(), len)); in HWTEST() 343 EXPECT_EQ(ERR_OK, appSpawnSocket->WriteMessage(buff.get(), len)); in HWTEST() 368 EXPECT_EQ(ERR_APPEXECFWK_SOCKET_WRITE_FAILED, appSpawnSocket->WriteMessage(buff.get(), le in HWTEST() [all...] |
/foundation/bundlemanager/app_domain_verify/test/unittest/verifier/ |
H A D | verify_task_test.cpp | 233 std::get<0>(info) = FAILURE_CLIENT_ERROR; in HWTEST_F() 234 std::get<1>(info) = std::to_string(GetSecondsSince1970ToNow()); in HWTEST_F() 235 std::get<2>(info) = 1; in HWTEST_F() 237 std::get<1>(info) = std::to_string(GetSecondsSince1970ToNow() - 3600 * 5); in HWTEST_F() 239 std::get<1>(info) = std::to_string(GetSecondsSince1970ToNow() - 3600 * 1); in HWTEST_F() 241 std::get<1>(info) = std::to_string(GetSecondsSince1970ToNow() - 3600 * 3); in HWTEST_F() 242 std::get<2>(info) = 2; in HWTEST_F() 244 std::get<0>(info) = FAILURE_HTTP_UNKNOWN; in HWTEST_F() 246 std::get<0>(info) = STATE_SUCCESS; in HWTEST_F() 248 std::get< in HWTEST_F() [all...] |
/foundation/graphic/graphic_3d/lume/metaobject/include/meta/base/ |
H A D | shared_ptr.h | 140 // first lock the given weak ptr. (to see if it has expired, and to get a pointer that can be cast) in operator =() 218 ptr = p.get(); in PtrCountedBase() 256 return get(); 260 return *get(); 264 return get(); in operator bool() 268 return get() == other.get(); 342 element_type* get() const noexcept 380 return BASE_NS::shared_ptr<U>(ptr, static_cast<U*>(ptr.get())); in static_pointer_cast() 438 return ptr.get(); in interface_cast() [all...] |
/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/pipeline/ |
H A D | rs_display_render_node.cpp | 193 auto displayParams = static_cast<RSDisplayRenderParams*>(stagingRenderParams_.get()); in OnSync() 229 auto displayParams = static_cast<RSDisplayRenderParams*>(stagingRenderParams_.get()); in UpdateRenderParams() 252 auto displayParams = static_cast<RSDisplayRenderParams*>(stagingRenderParams_.get()); in UpdateScreenRenderParams() 272 auto displayParams = static_cast<RSDisplayRenderParams*>(stagingRenderParams_.get()); in UpdateOffscreenRenderParams() 282 auto displayParams = static_cast<RSDisplayRenderParams*>(stagingRenderParams_.get()); in UpdatePartialRenderParams() 327 auto displayParams = static_cast<RSDisplayRenderParams*>(stagingRenderParams_.get()); 360 auto displayParams = static_cast<RSDisplayRenderParams*>(stagingRenderParams_.get()); in UpdateRotation() 392 auto displayParams = static_cast<RSDisplayRenderParams*>(stagingRenderParams_.get()); in SetMainAndLeashSurfaceDirty() 405 auto displayParams = static_cast<RSDisplayRenderParams*>(stagingRenderParams_.get()); in SetHDRPresent() 418 auto displayParams = static_cast<RSDisplayRenderParams*>(stagingRenderParams_.get()); in SetBrightnessRatio() [all...] |
/foundation/graphic/graphic_3d/lume/LumeBase/api/base/containers/ |
H A D | unique_ptr.h | 135 pointer get() const noexcept 281 pointer get() const noexcept 363 return x.get() == y.get(); in operator ==() 368 return x.get() == nullptr; in operator ==() 373 return x.get() == nullptr; in operator ==() 380 return x.get() != y.get(); in operator !=() 385 return x.get() != nullptr; in operator !=() 390 return x.get() ! in operator !=() [all...] |
/foundation/multimedia/media_library/frameworks/innerkitsimpl/medialibrary_data_extension/src/ |
H A D | background_cloud_file_processor.cpp | 170 get<std::string>(ResultSetUtils::GetValFromColumn(PhotoColumn::MEDIA_FILE_PATH, resultSet, TYPE_STRING)); in ParseDownloadFiles() 172 MEDIA_WARN_LOG("Failed to get cloud file uri!"); in ParseDownloadFiles() 176 get<int32_t>(ResultSetUtils::GetValFromColumn(PhotoColumn::MEDIA_TYPE, resultSet, TYPE_INT32)); in ParseDownloadFiles() 192 MEDIA_ERR_LOG("Failed to get async worker instance!"); in AddDownloadTask() 294 get<int32_t>(ResultSetUtils::GetValFromColumn(MediaColumn::MEDIA_ID, resultSet, TYPE_INT32)); in ParseUpdateData() 296 get<int64_t>(ResultSetUtils::GetValFromColumn(MediaColumn::MEDIA_SIZE, resultSet, TYPE_INT64)); in ParseUpdateData() 298 get<int32_t>(ResultSetUtils::GetValFromColumn(PhotoColumn::PHOTO_WIDTH, resultSet, TYPE_INT32)); in ParseUpdateData() 300 get<int32_t>(ResultSetUtils::GetValFromColumn(PhotoColumn::PHOTO_HEIGHT, resultSet, TYPE_INT32)); in ParseUpdateData() 302 get<int32_t>(ResultSetUtils::GetValFromColumn(MediaColumn::MEDIA_DURATION, resultSet, TYPE_INT32)); in ParseUpdateData() 304 get<st in ParseUpdateData() [all...] |
/foundation/filemanagement/storage_service/services/storage_daemon/crypto/test/fscrypt_v2_test/ |
H A D | fscrypt_key_v2_test.cpp | 329 std::vector<uint8_t> keyOutVct(keyOut.data.get(), keyOut.data.get() + keyOut.size); in HWTEST_F() 371 std::vector<uint8_t> rndEncVct(rndEnc.data.get(), rndEnc.data.get() + rndEnc.size); in HWTEST_F() 394 std::vector<uint8_t> result(keyOut.data.get(), keyOut.data.get() + keyOut.size); in HWTEST_F() 415 std::vector<uint8_t> encAadVct(encAad.data.get(), encAad.data.get() + encAad.size); in HWTEST_F() 419 std::vector<uint8_t> nonceVct(nonce.data.get(), nonce.data.get() in HWTEST_F() [all...] |
/kernel/linux/linux-5.10/drivers/power/supply/ |
H A D | test_power.c | 494 .get = param_get_ac_online, 499 .get = param_get_usb_online, 504 .get = param_get_battery_status, 509 .get = param_get_battery_present, 514 .get = param_get_battery_technology, 519 .get = param_get_battery_health, 524 .get = param_get_battery_capacity, 529 .get = param_get_battery_voltage, 534 .get = param_get_battery_charge_counter, 539 .get [all...] |
/kernel/linux/linux-6.6/drivers/power/supply/ |
H A D | test_power.c | 493 .get = param_get_ac_online, 498 .get = param_get_usb_online, 503 .get = param_get_battery_status, 508 .get = param_get_battery_present, 513 .get = param_get_battery_technology, 518 .get = param_get_battery_health, 523 .get = param_get_battery_capacity, 528 .get = param_get_battery_voltage, 533 .get = param_get_battery_charge_counter, 538 .get [all...] |
/test/testfwk/xdevice/plugins/ohos/src/ohos/managers/ |
H A D | manager_device.py | 98 device.get("ip"), device.get("port"), device.get("usb_type")) 101 ohos_manager.get_sn_list(device.get("sn"))) 109 device.get("usb_type"), error)) 111 device.get("ip"), device.get("port"), 251 device_instance.device_id = self.__device_alias.get(device_sn, "") 363 sn, alias = device.get("sn"), device.get("alia [all...] |
/test/testfwk/xdevice/src/xdevice/_core/report/ |
H A D | suite_reporter.py | 80 if self.kwargs.get(ReportConstant.result_kind) == CaseResult.unavailable: 92 if self.kwargs.get(ReportConstant.result_kind) == CaseResult.unavailable: 143 test_suite_attributes.get(need_update_attribute, 0) 145 round(test_suites_attributes.get(ReportConstant.time), 3) 171 ReportConstant.message: self.kwargs.get(ReportConstant.message, "") 173 module_name = self.kwargs.get(ReportConstant.module_name, "") 192 # get test case elements that are children of test suite element 208 test_suite_attributes.get(ReportConstant.tests) - 259 if self.kwargs.get(ReportConstant.module_name, ""): 260 test_suite_attributes[ReportConstant.module_name] = self.kwargs.get( [all...] |
/test/xts/acts/distributeddatamgr/preferencesjstest/hap/entry/src/ohosTest/js/test/ |
H A D | PreferencesFlushJsunit.test.js | 55 * @tc.desc put get flush removePreferencesFromCache get promise interface test 70 await mPreferences.get(KEY_TEST_INT_ELEMENT, 1).then((res1) => { 72 console.log(TAG + "res1 = " + res1 + "get res1 succeed"); 74 console.log(TAG + "get res1 failed error message = " + err + "error code = " + err.code); 92 await mPreferences.get(KEY_TEST_INT_ELEMENT, 1).then((res2) => { 94 console.log(TAG + "res2 = " + res2 + "get res2 succeed. test0100end"); 97 console.log(TAG + "get res2 failed error message = " + err + "error code = " + err.code); 103 * @tc.desc put get flush removePreferencesFromCache get promis [all...] |
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/ |
H A D | RBBIDataWrapper.java | 71 static RBBIStateTable get(ByteBuffer bytes, int length) throws IOException { in get() method in RBBIDataWrapper.RBBIStateTable 89 byte b = bytes.get(); in get() 292 public static RBBIDataWrapper get(ByteBuffer bytes) throws IOException { in get() method in RBBIDataWrapper 300 This.fHeader.fFormatVersion[0] = bytes.get(); in get() 301 This.fHeader.fFormatVersion[1] = bytes.get(); in get() 302 This.fHeader.fFormatVersion[2] = bytes.get(); in get() 303 This.fHeader.fFormatVersion[3] = bytes.get(); in get() 339 This.fFTable = RBBIStateTable.get(bytes, This.fHeader.fFTableLen); in get() 351 This.fRTable = RBBIStateTable.get(bytes, This.fHeader.fRTableLen); in get() 358 // The seek to the start of the next item following the TRIE will get u in get() [all...] |