/third_party/rust/crates/quote/tests/ |
H A D | test.rs | 118 let item_ty = quote!(Cow<'a, str>); in test_advanced() 147 "phantom : :: std :: marker :: PhantomData < Cow < 'a , str > > , ", in test_advanced() 158 "phantom : :: std :: marker :: PhantomData :: < Cow < 'a , str > > , ", in test_advanced() 384 let b = "str".to_owned().into_boxed_str(); in test_box_str() 386 assert_eq!("\"str\"", tokens.to_string()); in test_box_str()
|
/third_party/spirv-tools/source/val/ |
H A D | function.cpp | 404 *reason = ss_reason.str(); 428 *reason = ss_reason.str();
|
/third_party/spirv-tools/test/ |
H A D | cpp_interface_test.cpp | 195 return os.str(); in MakeModuleHavingStruct() 220 os.str(), in TEST()
|
/third_party/spirv-tools/tools/opt/ |
H A D | opt.cpp | 59 return ss.str(); in GetListOfPassesAsString() 687 return canonical_arg.str(); in CanonicalizeFlag()
|
/third_party/vk-gl-cts/modules/gles3/functional/ |
H A D | es3fTextureSizeTests.cpp | 401 group2D->addChild(new Texture2DSizeCase(m_testCtx, m_context.getRenderContext(), name.str().c_str(), "", in init() 424 groupCube->addChild(new TextureCubeSizeCase(m_testCtx, m_context.getRenderContext(), name.str().c_str(), "", in init()
|
/third_party/vk-gl-cts/modules/gles3/stress/ |
H A D | es3sLongRunningShaderTests.cpp | 206 return glu::ProgramSources() << glu::VertexSource(vert.str()) << glu::FragmentSource(frag.str()); in genSources()
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/pipeline/ |
H A D | vktPipelineMultisampleBaseResolve.cpp | 429 << tcu::TestLog::Section(imageName.str(), imageName.str()) in iterate()
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/ray_query/ |
H A D | vktRayQueryBarycentricCoordinatesTests.cpp | 140 programCollection.glslSources.add("comp") << glu::ComputeSource(updateRayTracingGLSL(comp.str())) << buildOptions; in initPrograms() 360 TCU_FAIL(msg.str()); in iterate()
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/subgroups/ |
H A D | vktSubgroupsBallotBroadcastTests.cpp | 208 return bdy.str(); in getTestSrc() 228 return bdy.str(); in getHelperFunctionARB()
|
H A D | vktSubgroupsBuiltinMaskVarTests.cpp | 181 return bdy.str(); in subgroupMask() 1162 programCollection.spirvAsmSources.add("geometry") << geometry.str() << buildOptionsSpr; in initFrameBufferPrograms()
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/synchronization/ |
H A D | vktSynchronizationImageLayoutTransitionTests.cpp | 366 programCollection.glslSources.add("vert1") << glu::VertexSource(vertexSrc.str()); in initPrograms() 367 programCollection.glslSources.add("frag1") << glu::FragmentSource(fragmentSrc.str()); in initPrograms()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/wps/ |
H A D | wps.h | 911 int wps_dev_type_str2bin(const char *str, u8 dev_type[WPS_DEV_TYPE_LEN]); 915 u16 wps_config_methods_str2bin(const char *str);
|
/third_party/vk-gl-cts/framework/common/ |
H A D | tcuWaiverUtil.cpp | 70 return m_info.str(); in get() 184 std::string wholeContent = buffer.str(); in readWaivedTestsFromXML()
|
/third_party/vk-gl-cts/framework/platform/android/ |
H A D | tcuAndroidUtil.cpp | 156 const string str = string(ptr); in getStringValue() local 160 return str; in getStringValue()
|
/third_party/vk-gl-cts/modules/gles2/functional/ |
H A D | es2fTextureSizeTests.cpp | 400 group2D->addChild(new Texture2DSizeCase(m_testCtx, m_context.getRenderContext(), name.str().c_str(), "", in init() 423 groupCube->addChild(new TextureCubeSizeCase(m_testCtx, m_context.getRenderContext(), name.str().c_str(), "", in init()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/wps/ |
H A D | wps.h | 924 int wps_dev_type_str2bin(const char *str, u8 dev_type[WPS_DEV_TYPE_LEN]); 928 u16 wps_config_methods_str2bin(const char *str);
|
/third_party/zlib/contrib/untgz/ |
H A D | untgz.c | 44 # define strdup(str) _strdup(str)
|
/foundation/arkui/napi/test/unittest/ |
H A D | test_napi.cpp | 398 std::string str = ""; in HWTEST_F() local 401 str.reserve(strSize + 1); in HWTEST_F() 402 str.resize(strSize); in HWTEST_F() 403 napi_get_value_string_latin1(env, result, str.data(), strSize + 1, &strSize); in HWTEST_F() 405 ASSERT_EQ(str, "-K"); in HWTEST_F() 2142 std::string str = "encode"; in HWTEST_F() local 2144 napi_create_string_utf8(env, str.c_str(), str.length(), &testStr); in HWTEST_F() 2145 char* buffer = new char[str.length()]; in HWTEST_F() 2146 size_t bufferSize = str in HWTEST_F() 3068 napi_value str = nullptr; HWTEST_F() local [all...] |
/third_party/vk-gl-cts/external/openglcts/modules/gl/ |
H A D | gl4cShaderImageLoadStoreTests.cpp | 87 OutputNotSupported(reason.str()); in SupportedInVS() 103 OutputNotSupported(reason.str()); in SupportedInTCS() 119 OutputNotSupported(reason.str()); in SupportedInTES() 135 OutputNotSupported(reason.str()); in SupportedInGS() 173 OutputNotSupported(reason.str()); in SupportedSamples() 281 return s.str(); in ToString() 1479 return os.str(); in GenFS() 1663 return os.str(); in GenFS() 1852 return os.str(); in GenVS() 1866 return os.str(); in GenTCS() [all...] |
/kernel/linux/linux-5.10/drivers/scsi/ufs/ |
H A D | ufshcd.c | 306 const char *str) in ufshcd_add_cmd_upiu_trace() 310 trace_ufshcd_upiu(dev_name(hba->dev), str, &rq->header, &rq->sc.cdb); in ufshcd_add_cmd_upiu_trace() 314 const char *str) in ufshcd_add_query_upiu_trace() 318 trace_ufshcd_upiu(dev_name(hba->dev), str, &rq->header, &rq->qr); in ufshcd_add_query_upiu_trace() 322 const char *str) in ufshcd_add_tm_upiu_trace() 326 trace_ufshcd_upiu(dev_name(hba->dev), str, &descp->req_header, in ufshcd_add_tm_upiu_trace() 332 const char *str) in ufshcd_add_uic_command_trace() 339 if (!strcmp(str, "send")) in ufshcd_add_uic_command_trace() 344 trace_ufshcd_uic_command(dev_name(hba->dev), str, cmd, in ufshcd_add_uic_command_trace() 351 unsigned int tag, const char *str) in ufshcd_add_command_trace() 305 ufshcd_add_cmd_upiu_trace(struct ufs_hba *hba, unsigned int tag, const char *str) ufshcd_add_cmd_upiu_trace() argument 313 ufshcd_add_query_upiu_trace(struct ufs_hba *hba, unsigned int tag, const char *str) ufshcd_add_query_upiu_trace() argument 321 ufshcd_add_tm_upiu_trace(struct ufs_hba *hba, unsigned int tag, const char *str) ufshcd_add_tm_upiu_trace() argument 330 ufshcd_add_uic_command_trace(struct ufs_hba *hba, struct uic_command *ucmd, const char *str) ufshcd_add_uic_command_trace() argument 350 ufshcd_add_command_trace(struct ufs_hba *hba, unsigned int tag, const char *str) ufshcd_add_command_trace() argument 3299 u8 *str; ufshcd_read_string_desc() local [all...] |
/kernel/linux/linux-5.10/drivers/iommu/intel/ |
H A D | iommu.c | 433 static int __init intel_iommu_setup(char *str) in intel_iommu_setup() argument 435 if (!str) in intel_iommu_setup() 437 while (*str) { in intel_iommu_setup() 438 if (!strncmp(str, "on", 2)) { in intel_iommu_setup() 441 } else if (!strncmp(str, "off", 3)) { in intel_iommu_setup() 445 } else if (!strncmp(str, "igfx_off", 8)) { in intel_iommu_setup() 448 } else if (!strncmp(str, "forcedac", 8)) { in intel_iommu_setup() 451 } else if (!strncmp(str, "strict", 6)) { in intel_iommu_setup() 454 } else if (!strncmp(str, "sp_off", 6)) { in intel_iommu_setup() 457 } else if (!strncmp(str, "sm_o in intel_iommu_setup() [all...] |
/third_party/python/Lib/test/ |
H A D | test_zipfile.py | 101 self.assertEqual(size, str(len(self.data))) 167 self.assertIsInstance(zipfp.filename, str) 379 if isinstance(f, str): 727 self.assertEqual(size, str(len(self.data))) 987 self.assertIn('file size', str(e.exception).lower()) 998 self.assertIn('compress size', str(e.exception).lower()) 1007 self.assertIn('compress size', str(e.exception).lower()) 1021 self.assertIn('header offset', str(e.exception).lower()) 1033 self.assertIn('header offset', str(e.exception).lower()) 1045 self.assertIn('header offset', str( [all...] |
/test/xts/acts/arkui/ace_napi_test/entry/src/main/cpp/napi/ |
H A D | napi_test.cpp | 1228 napi_value str; in NapiDefineSendableClass() local 1229 napi_create_string_utf8(env, "static str", NAPI_AUTO_LENGTH, &str); in NapiDefineSendableClass() 1231 {"staticStr", nullptr, nullptr, nullptr, nullptr, str, in NapiDefineSendableClass() 1240 {"str", nullptr, nullptr, nullptr, nullptr, str, static_cast<napi_property_attributes>(1 << 9 | napi_writable), in NapiDefineSendableClass() 1252 napi_value str; in NapiDefineSendableClass() 1253 napi_create_string_utf8(env, "instance str", NAPI_AUTO_LENGTH, &str); in NapiDefineSendableClass() 1255 {"str", nullpt in NapiDefineSendableClass() 3814 auto str = reinterpret_cast<char *>(arg); NewThreadFunc() local 4137 const char* str = "abc"; NapiSerializeString() local 5030 char str[NAPI_UTF8_LENGTH]; createStringUtf8() local 7557 napi_value str; defineSendableClassEnvNull() local 7604 napi_value str; defineSendableClassNameNull() local 7651 napi_value str; defineSendableClassConstructorNull() local 7680 napi_value str; defineSendableClassRstNull() local [all...] |
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/canvas/ |
H A D | custom_paint_paint_method.cpp | 1746 double CustomPaintPaintMethod::PxStrToDouble(const std::string& str) in PxStrToDouble() argument 1749 size_t index = str.find("px"); in PxStrToDouble() 1751 std::string result = str.substr(0, index); in PxStrToDouble() 1757 double CustomPaintPaintMethod::BlurStrToDouble(const std::string& str) in BlurStrToDouble() argument 1762 size_t index = str.find("px"); in BlurStrToDouble() 1764 std::string result = str.substr(0, index); in BlurStrToDouble() 1770 index = str.find("vp"); in BlurStrToDouble() 1772 std::string result = str.substr(0, index); in BlurStrToDouble() 1779 index = str.find("rem"); in BlurStrToDouble() 1781 std::string result = str in BlurStrToDouble() [all...] |
/kernel/linux/linux-6.6/drivers/target/ |
H A D | target_core_user.c | 229 static int tcmu_set_global_max_data_area(const char *str, in tcmu_set_global_max_data_area() argument 234 ret = kstrtoint(str, 10, &max_area_mb); in tcmu_set_global_max_data_area() 276 static int tcmu_set_block_netlink(const char *str, in tcmu_set_block_netlink() argument 282 ret = kstrtou8(str, 0, &val); in tcmu_set_block_netlink() 321 static int tcmu_set_reset_netlink(const char *str, in tcmu_set_reset_netlink() argument 328 ret = kstrtou8(str, 0, &val); in tcmu_set_reset_netlink() 2177 char *str; in tcmu_update_uio_info() local 2182 str = kasprintf(GFP_KERNEL, "tcm-user/%u/%s/%s", hba->host_id, in tcmu_update_uio_info() 2185 str = kasprintf(GFP_KERNEL, "tcm-user/%u/%s", hba->host_id, in tcmu_update_uio_info() 2187 if (!str) in tcmu_update_uio_info() [all...] |