Home
last modified time | relevance | path

Searched refs:str (Results 8601 - 8625 of 12945) sorted by relevance

1...<<341342343344345346347348349350>>...518

/third_party/node/deps/openssl/openssl/crypto/bio/
H A Dbss_dgram.c47 static int dgram_puts(BIO *h, const char *str);
56 static int dgram_sctp_puts(BIO *h, const char *str);
784 static int dgram_puts(BIO *bp, const char *str) in dgram_puts() argument
788 n = strlen(str); in dgram_puts()
789 ret = dgram_write(bp, str, n); in dgram_puts()
1821 static int dgram_sctp_puts(BIO *bp, const char *str) in dgram_sctp_puts() argument
1825 n = strlen(str); in dgram_sctp_puts()
1826 ret = dgram_sctp_write(bp, str, n); in dgram_sctp_puts()
/third_party/python/Lib/asyncio/
H A Dbase_events.py76 return str(handle)
120 elif isinstance(port, str) and port == '':
1087 # If they all have the same str(), raise one.
1088 model = str(exceptions[0])
1089 if all(str(exc) == model for exc in exceptions):
1094 ', '.join(str(exc) for exc in exceptions)))
1307 if addr is not None and not isinstance(addr, str):
1482 elif (isinstance(host, str) or
1639 if not isinstance(cmd, (bytes, str)):
/third_party/python/Lib/
H A Dast.py63 if isinstance(node_or_string, str):
175 if indent is not None and not isinstance(indent, str):
297 elif isinstance(node, Constant) and isinstance(node.value, str):
583 Str: (str,),
598 str: 'Str',
796 if isinstance(node, Constant) and isinstance(node.value, str):
1195 elif isinstance(node, Constant) and isinstance(node.value, str):
1243 elif self._avoid_backslashes and isinstance(value, str):
H A Dpdb.py119 class _rstr(str):
125 class _ScriptTarget(str):
161 class _ModuleTarget(str):
467 line = line.replace("%" + str(ii),
557 return [str(i) for i, bp in enumerate(bdb.Breakpoint.bpbynumber)
558 if bp is not None and str(i).startswith(text)]
1330 if isinstance(tmp, str):
1383 s = str(lineno).rjust(3)
/third_party/openssl/crypto/bio/
H A Dbss_dgram.c47 static int dgram_puts(BIO *h, const char *str);
56 static int dgram_sctp_puts(BIO *h, const char *str);
784 static int dgram_puts(BIO *bp, const char *str) in dgram_puts() argument
788 n = strlen(str); in dgram_puts()
789 ret = dgram_write(bp, str, n); in dgram_puts()
1821 static int dgram_sctp_puts(BIO *bp, const char *str) in dgram_sctp_puts() argument
1825 n = strlen(str); in dgram_sctp_puts()
1826 ret = dgram_sctp_write(bp, str, n); in dgram_sctp_puts()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/pipeline/
H A DvktPipelineSamplerBorderSwizzleTests.cpp306 programCollection.glslSources.add("vert") << glu::VertexSource(vert.str()); in initPrograms()
307 programCollection.glslSources.add("frag") << glu::FragmentSource(frag.str()); in initPrograms()
616 stringResult = s.str(); in comparePixelToColorClearValue()
662 stringResult = s.str(); in comparePixelToColorClearValue()
708 stringResult = s.str(); in comparePixelToColorClearValue()
768 stringResult = s.str(); in comparePixelToColorClearValue()
1142 return stream.str(); in swizzleArrayToString()
1466 de::MovePtr<tcu::TestCaseGroup> formatGroup (new tcu::TestCaseGroup(testCtx, formatGroupName.str().c_str())); in createSamplerBorderSwizzleTests()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/shaderrender/
H A DvktShaderRenderDerivateTests.cpp340 std::ostream& operator<< (std::ostream& str, const LogVecComps& v) in operator <<() argument
343 if (v.numComps == 1) return str << v.v[0]; in operator <<()
344 else if (v.numComps == 2) return str << v.v.toWidth<2>(); in operator <<()
345 else if (v.numComps == 3) return str << v.v.toWidth<3>(); in operator <<()
346 else return str << v.v; in operator <<()
2003 linearCaseGroup->addChild(new LinearDerivateCase(m_testCtx, caseName.str(), function, dataType, precision, s_linearDerivateCases[caseNdx].inNonUniformControlFlow, surfaceType, numSamples, source, s_linearDerivateCases[caseNdx].usedDefaultUniform)); in init()
2035 fboGroup->addChild(new LinearDerivateCase(m_testCtx, caseName.str(), function, dataType, precision, false, surfaceType, numSamples, source, U_LAST)); in init()
2066 caseGroup->addChild(new TextureDerivateCase(m_testCtx, caseName.str(), function, dataType, precision, surfaceType, numSamples)); in init()
/third_party/skia/third_party/externals/angle2/src/libANGLE/capture/
H A Dframe_capture_utils.cpp52 return strstr.str(); in ToString()
200 json->addScalar(s.str().c_str(), obj.id().value); in SerializeBindingPointerVector()
562 json->addScalar(os.str(), sampleMaskValues[i]); in SerializeContextState()
627 json->addScalar(strstr.str(), query.id().value); in SerializeContextState()
639 json->addScalar(strstr.str(), buffer.id().value); in SerializeContextState()
1230 json->addCString(label.str(), "compressed texel data"); in SerializeTextureData()
1237 json->addBlob(label.str(), texelsPtr->data(), texelsPtr->size()); in SerializeTextureData()
1242 json->addCString(label.str(), "not initialized"); in SerializeTextureData()
/third_party/python/Lib/test/
H A Dtest_compileall.py354 str(err, encoding=sys.getdefaultencoding())
358 str(err, encoding=sys.getdefaultencoding())
373 str(err, encoding=sys.getdefaultencoding())
390 str(err, encoding=sys.getdefaultencoding())
394 str(err, encoding=sys.getdefaultencoding())
852 str(err, encoding=sys.getdefaultencoding())
856 str(err, encoding=sys.getdefaultencoding())
874 self.assertRunOK(path, *("-o" + str(n) for n in opt_combination))
/third_party/rust/crates/clap/clap_derive/src/
H A Ditem.rs568 let s: &'static str = &*DEFAULT_VALUE; in push_attrs()
577 let s: &'static str = &*DEFAULT_VALUE; in push_attrs()
636 static DEFAULT_VALUES: clap::__macro_refs::once_cell::sync::Lazy<Vec<&str>> = clap::__macro_refs::once_cell::sync::Lazy::new(|| { in push_attrs()
656 static DEFAULT_VALUES: clap::__macro_refs::once_cell::sync::Lazy<Vec<&str>> = clap::__macro_refs::once_cell::sync::Lazy::new(|| { in push_attrs()
891 fn push_doc_comment(&mut self, attrs: &[Attribute], short_name: &str, long_name: Option<&str>) { in push_doc_comment()
1169 pub fn name(&self) -> &'static str { in name()
1218 fn from_env(ident: Ident, env_var: &str) -> Result<Option<Self>, syn::Error> { in from_env()
1263 pub id: &'static str,
1264 pub version: &'static str,
[all...]
/third_party/skia/third_party/externals/abseil-cpp/absl/strings/internal/
H A Dcord_rep_btree_test.cc1202 std::string str = ss.str(); in TEST() local
1205 EXPECT_THAT(str, AllOf(HasSubstr("Node(1)"), HasSubstr("Leaf"), in TEST()
1209 EXPECT_THAT(str, AllOf(HasSubstr("len = 11"), HasSubstr("len = 14"), in TEST()
1215 str, AllOf(HasSubstr(absl::StrCat("0x", absl::Hex(flat))), in TEST()
1222 EXPECT_THAT(str, HasSubstr("Once upon a label")); in TEST()
1227 EXPECT_THAT(str, Not(AnyOf((HasSubstr("data = \"Hello world\""), in TEST()
1233 EXPECT_THAT(str, AllOf((HasSubstr("data = \"Hello world\""), in TEST()
/third_party/rust/crates/termcolor/src/
H A Dlib.rs123 use std::str::FromStr;
231 fn from_str(s: &str) -> Result<ColorChoice, ColorChoiceParseError> { in from_str()
1406 fn write_str(&mut self, s: &str) -> io::Result<()> { in write_str()
1950 fn from_str_numeric(s: &str) -> Result<Color, ParseColorError> { in from_str_numeric()
1957 fn parse_number(s: &str) -> Option<u8> { in from_str_numeric()
1967 let codes: Vec<&str> = s.split(',').collect(); in from_str_numeric()
2026 pub fn invalid(&self) -> &str { in invalid()
2032 fn description(&self) -> &str { in description()
2073 fn from_str(s: &str) -> Result<Color, ParseColorError> { in from_str()
2160 match ::std::str in write_lossy_utf8()
[all...]
/third_party/vk-gl-cts/modules/gles31/functional/
H A Des31fOpaqueTypeIndexingTests.cpp90 static void declareUniformIndexVars (std::ostream& str, const char* varPrefix, int numVars) in declareUniformIndexVars() argument
93 str << "uniform highp int " << varPrefix << varNdx << ";\n"; in declareUniformIndexVars()
464 spec->globalDeclarations = global.str(); in getShaderSpec()
465 spec->source = code.str(); in getShaderSpec()
845 spec->globalDeclarations = global.str(); in getShaderSpec()
846 spec->source = code.str(); in getShaderSpec()
1076 spec->globalDeclarations = global.str(); in getShaderSpec()
1077 spec->source = code.str(); in getShaderSpec()
/third_party/vk-gl-cts/modules/glshared/
H A DglsLongStressCase.cpp175 return res.str(); in getTimeStr()
316 addTextToBuffer(text.str(), 0); in drawInfo()
317 text.str(""); in drawInfo()
320 addTextToBuffer(text.str(), 1); in drawInfo()
321 text.str(""); in drawInfo()
324 addTextToBuffer(text.str(), 2); in drawInfo()
325 text.str(""); in drawInfo()
328 addTextToBuffer(text.str(), 3); in drawInfo()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/query_pool/
H A DvktQueryPoolOcclusionTests.cpp1429 addChild(new QueryPoolOcclusionTest<OcclusionQueryTestInstance>(m_testCtx, testName.str().c_str(), testDescr.str().c_str(), testVector)); in init()
1469 addChild(new QueryPoolOcclusionTest<OcclusionQueryTestInstance>(m_testCtx, testName.str().c_str(), testDescr.str().c_str(), testVector)); in init()
1500 addChild(new QueryPoolOcclusionTest<OcclusionQueryTestInstance>(m_testCtx, testName.str().c_str(), testDescr.str().c_str(), testVector)); in init()
1596 addChild(new QueryPoolOcclusionTest<OcclusionQueryTestInstance>(m_testCtx, testName.str().c_str(), testDescr.str().c_str(), testVector)); in init()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/shaderrender/
H A DvktShaderRenderDerivateTests.cpp322 std::ostream& operator<< (std::ostream& str, const LogVecComps& v) in operator <<() argument
325 if (v.numComps == 1) return str << v.v[0]; in operator <<()
326 else if (v.numComps == 2) return str << v.v.toWidth<2>(); in operator <<()
327 else if (v.numComps == 3) return str << v.v.toWidth<3>(); in operator <<()
328 else return str << v.v; in operator <<()
1918 linearCaseGroup->addChild(new LinearDerivateCase(m_testCtx, caseName.str(), "", function, dataType, precision, s_linearDerivateCases[caseNdx].inNonUniformControlFlow, surfaceType, numSamples, source, s_linearDerivateCases[caseNdx].usedDefaultUniform)); in init()
1946 fboGroup->addChild(new LinearDerivateCase(m_testCtx, caseName.str(), "", function, dataType, precision, false, surfaceType, numSamples, source, U_LAST)); in init()
1976 caseGroup->addChild(new TextureDerivateCase(m_testCtx, caseName.str(), "", function, dataType, precision, surfaceType, numSamples)); in init()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/synchronization/
H A DvktSynchronizationOperation.cpp2182 programCollection.glslSources.add(shaderPrefix + "vert") << glu::VertexSource(src.str()); in initPassthroughPrograms()
2212 programCollection.glslSources.add(shaderPrefix + "tesc") << glu::TessellationControlSource(src.str()); in initPassthroughPrograms()
2237 programCollection.glslSources.add(shaderPrefix + "tese") << glu::TessellationEvaluationSource(src.str()); in initPassthroughPrograms()
2267 programCollection.glslSources.add(shaderPrefix + "geom") << glu::GeometrySource(src.str()); in initPassthroughPrograms()
2285 programCollection.glslSources.add(shaderPrefix + "frag") << glu::FragmentSource(src.str()); in initPassthroughPrograms()
2302 programCollection.glslSources.add(shaderPrefix + "comp") << glu::ComputeSource(src.str()); in initPassthroughPrograms()
2377 initPassthroughPrograms(programCollection, m_shaderPrefix, declSrc.str(), copySrc.str(), m_stage); in initPrograms()
2478 initPassthroughPrograms(programCollection, m_shaderPrefix, declSrc.str(), mainSrc.str(), m_stag in initPrograms()
4230 std::ostringstream str; global() variable
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/synchronization/
H A DvktSynchronizationOperation.cpp2100 programCollection.glslSources.add(shaderPrefix + "vert") << glu::VertexSource(src.str()); in initPassthroughPrograms()
2130 programCollection.glslSources.add(shaderPrefix + "tesc") << glu::TessellationControlSource(src.str()); in initPassthroughPrograms()
2155 programCollection.glslSources.add(shaderPrefix + "tese") << glu::TessellationEvaluationSource(src.str()); in initPassthroughPrograms()
2185 programCollection.glslSources.add(shaderPrefix + "geom") << glu::GeometrySource(src.str()); in initPassthroughPrograms()
2203 programCollection.glslSources.add(shaderPrefix + "frag") << glu::FragmentSource(src.str()); in initPassthroughPrograms()
2220 programCollection.glslSources.add(shaderPrefix + "comp") << glu::ComputeSource(src.str()); in initPassthroughPrograms()
2270 initPassthroughPrograms(programCollection, m_shaderPrefix, declSrc.str(), copySrc.str(), m_stage); in initPrograms()
2363 initPassthroughPrograms(programCollection, m_shaderPrefix, declSrc.str(), mainSrc.str(), m_stag in initPrograms()
4093 std::ostringstream str; global() variable
[all...]
/kernel/linux/linux-5.10/drivers/cpufreq/
H A Dintel_pstate.c3124 static int __init intel_pstate_setup(char *str) in intel_pstate_setup() argument
3126 if (!str) in intel_pstate_setup()
3129 if (!strcmp(str, "disable")) in intel_pstate_setup()
3131 else if (!strcmp(str, "active")) in intel_pstate_setup()
3133 else if (!strcmp(str, "passive")) in intel_pstate_setup()
3136 if (!strcmp(str, "no_hwp")) in intel_pstate_setup()
3139 if (!strcmp(str, "force")) in intel_pstate_setup()
3141 if (!strcmp(str, "hwp_only")) in intel_pstate_setup()
3143 if (!strcmp(str, "per_cpu_perf_limits")) in intel_pstate_setup()
3147 if (!strcmp(str, "support_acpi_pp in intel_pstate_setup()
[all...]
/kernel/linux/linux-5.10/sound/soc/codecs/
H A Dda7218.c2327 da7218_of_mic_amp_in_sel(struct snd_soc_component *component, const char *str) in da7218_of_mic_amp_in_sel() argument
2329 if (!strcmp(str, "diff")) { in da7218_of_mic_amp_in_sel()
2331 } else if (!strcmp(str, "se_p")) { in da7218_of_mic_amp_in_sel()
2333 } else if (!strcmp(str, "se_n")) { in da7218_of_mic_amp_in_sel()
2342 da7218_of_dmic_data_sel(struct snd_soc_component *component, const char *str) in da7218_of_dmic_data_sel() argument
2344 if (!strcmp(str, "lrise_rfall")) { in da7218_of_dmic_data_sel()
2346 } else if (!strcmp(str, "lfall_rrise")) { in da7218_of_dmic_data_sel()
2355 da7218_of_dmic_samplephase(struct snd_soc_component *component, const char *str) in da7218_of_dmic_samplephase() argument
2357 if (!strcmp(str, "on_clkedge")) { in da7218_of_dmic_samplephase()
2359 } else if (!strcmp(str, "between_clkedg in da7218_of_dmic_samplephase()
[all...]
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/amdgpu/
H A Dgfx_v9_4_2.c424 char *str; in gfx_v9_4_2_log_wave_assignment() local
427 str = kmalloc(256, GFP_KERNEL); in gfx_v9_4_2_log_wave_assignment()
428 if (!str) in gfx_v9_4_2_log_wave_assignment()
435 memset(str, 0, 256); in gfx_v9_4_2_log_wave_assignment()
436 size = sprintf(str, "SE[%02d]CU[%02d]: ", se, cu); in gfx_v9_4_2_log_wave_assignment()
438 size += sprintf(str + size, "["); in gfx_v9_4_2_log_wave_assignment()
440 size += sprintf(str + size, "%x", wb_ptr[offset]); in gfx_v9_4_2_log_wave_assignment()
443 size += sprintf(str + size, "] "); in gfx_v9_4_2_log_wave_assignment()
445 dev_dbg(adev->dev, "%s\n", str); in gfx_v9_4_2_log_wave_assignment()
449 kfree(str); in gfx_v9_4_2_log_wave_assignment()
[all...]
/kernel/linux/linux-6.6/drivers/cpufreq/
H A Dintel_pstate.c3542 static int __init intel_pstate_setup(char *str) in intel_pstate_setup() argument
3544 if (!str) in intel_pstate_setup()
3547 if (!strcmp(str, "disable")) in intel_pstate_setup()
3549 else if (!strcmp(str, "active")) in intel_pstate_setup()
3551 else if (!strcmp(str, "passive")) in intel_pstate_setup()
3554 if (!strcmp(str, "no_hwp")) in intel_pstate_setup()
3557 if (!strcmp(str, "force")) in intel_pstate_setup()
3559 if (!strcmp(str, "hwp_only")) in intel_pstate_setup()
3561 if (!strcmp(str, "per_cpu_perf_limits")) in intel_pstate_setup()
3565 if (!strcmp(str, "support_acpi_pp in intel_pstate_setup()
[all...]
/kernel/linux/linux-6.6/drivers/net/phy/
H A Dsfp.c493 static size_t sfp_strlen(const char *str, size_t maxlen) in sfp_strlen() argument
501 if (str[i] != ' ' && str[i] != '\0') in sfp_strlen()
507 static bool sfp_match(const char *qs, const char *str, size_t len) in sfp_match() argument
513 return !strncmp(qs, str, len); in sfp_match()
1449 u32 attr, int channel, const char **str) in sfp_hwmon_read_string()
1455 *str = "bias"; in sfp_hwmon_read_string()
1464 *str = "temperature"; in sfp_hwmon_read_string()
1473 *str = "VCC"; in sfp_hwmon_read_string()
1482 *str in sfp_hwmon_read_string()
1447 sfp_hwmon_read_string(struct device *dev, enum hwmon_sensor_types type, u32 attr, int channel, const char **str) sfp_hwmon_read_string() argument
[all...]
/kernel/linux/linux-6.6/tools/perf/util/
H A Devsel.c84 enum perf_tool_event perf_tool_event__from_str(const char *str) in perf_tool_event__from_str() argument
89 if (!strcmp(str, perf_tool_event__tool_names[i])) in perf_tool_event__from_str()
333 tmp->val.str = strdup(pos->val.str); in copy_config_terms()
334 if (tmp->val.str == NULL) { in copy_config_terms()
965 callgraph_buf = term->val.str; in evsel__apply_config_terms()
968 if (term->val.str && strcmp(term->val.str, "no")) { in evsel__apply_config_terms()
970 parse_branch_str(term->val.str, in evsel__apply_config_terms()
1453 zfree(&term->val.str); in free_config_terms()
[all...]
/kernel/linux/linux-6.6/sound/soc/codecs/
H A Dda7218.c2327 da7218_of_mic_amp_in_sel(struct snd_soc_component *component, const char *str) in da7218_of_mic_amp_in_sel() argument
2329 if (!strcmp(str, "diff")) { in da7218_of_mic_amp_in_sel()
2331 } else if (!strcmp(str, "se_p")) { in da7218_of_mic_amp_in_sel()
2333 } else if (!strcmp(str, "se_n")) { in da7218_of_mic_amp_in_sel()
2342 da7218_of_dmic_data_sel(struct snd_soc_component *component, const char *str) in da7218_of_dmic_data_sel() argument
2344 if (!strcmp(str, "lrise_rfall")) { in da7218_of_dmic_data_sel()
2346 } else if (!strcmp(str, "lfall_rrise")) { in da7218_of_dmic_data_sel()
2355 da7218_of_dmic_samplephase(struct snd_soc_component *component, const char *str) in da7218_of_dmic_samplephase() argument
2357 if (!strcmp(str, "on_clkedge")) { in da7218_of_dmic_samplephase()
2359 } else if (!strcmp(str, "between_clkedg in da7218_of_dmic_samplephase()
[all...]

Completed in 77 milliseconds

1...<<341342343344345346347348349350>>...518