Home
last modified time | relevance | path

Searched refs:str (Results 4151 - 4175 of 9004) sorted by relevance

1...<<161162163164165166167168169170>>...361

/third_party/skia/third_party/externals/tint/src/resolver/
H A Ddependency_graph.cc143 if (auto* str = global->node->As<ast::Struct>()) { in Scan()
144 Declare(str->name, str); in Scan()
145 for (auto* member : str->members) { in Scan()
722 AddError(diagnostics_, msg.str(), root->node->source); in CyclicDependencyFound()
/third_party/skia/tools/
H A DToolUtils.cpp164 create_string_bitmap(int w, int h, SkColor c, int x, int y, int textSize, const char* str) { in create_string_bitmap() argument
175 canvas.drawSimpleText(str, in create_string_bitmap()
176 strlen(str), in create_string_bitmap()
192 const char* str) { in create_string_image()
193 return create_string_bitmap(w, h, c, x, y, textSize, str).asImage(); in create_string_image()
191 create_string_image(int w, int h, SkColor c, int x, int y, int textSize, const char* str) create_string_image() argument
/third_party/skia/tools/skqp/src/
H A Dskqp.cpp333 std::string imagesPathPrefix1 = tmp.str(); in evaluateGM()
336 std::string imagesPathPrefix2 = tmp.str(); in evaluateGM()
470 auto str = SkStringPrintf("\"%s\",\"%s\",%d,%d,%" PRId64, backendName, gmName.c_str(), in makeReport() local
472 write(&csvOut, SkStringPrintf("%s\n", str.c_str())); in makeReport()
478 write(&htmOut, SkStringPrintf(" f(%s);\n", str.c_str())); in makeReport()
/third_party/spirv-headers/tools/buildHeaders/
H A DjsonToSpirv.cpp447 bool IsTypeOrResultId(const std::string& str, bool* isType, bool* isResult) in IsTypeOrResultId() argument
449 if (str == "IdResultType") in IsTypeOrResultId()
451 if (str == "IdResult") in IsTypeOrResultId()
458 unsigned int NumberStringToBit(const std::string& str) in NumberStringToBit() argument
461 unsigned int value = (unsigned int)std::strtol(str.c_str(), &parseEnd, 16); in NumberStringToBit()
/third_party/toybox/porting/liteos_a/toys/net/
H A Difconfig.c242 char **s, *str[] = { in display_ifconfig() local
248 for (s = str; *s; s++) { in display_ifconfig()
329 strcpy(sl->str, name); in show_iface()
333 display_ifconfig(sl->str, toys.optflags & FLAG_a, val); in show_iface()
358 if(!strcmp(sl->str, ifre->ifr_name)) break; in show_iface()
/third_party/protobuf/python/
H A Dmox.py139 unknown_method_name: str
217 attr_name: str. The name of the attribute to replace with a mock.
287 method_name: str
300 method_name: str
400 name: str
528 method_name: str
826 return str(self._class_name)
863 return str(self._float_value)
879 search_string: str
901 return '<str containin
[all...]
/third_party/python/Lib/test/
H A Dtest_bool.py28 self.assertEqual(str(False), 'False')
29 self.assertEqual(str(True), 'True')
252 set, str, tuple, type]:
339 self.assertEqual(str(e_bool), str(e_len))
/third_party/selinux/libsepol/src/
H A Dmls.c44 const context_struct_t * mls, char **str) in mls_to_string()
66 *str = ptr2; in mls_to_string()
80 const char *str, context_struct_t * mls) in mls_from_string()
83 char *tmp = strdup(str); in mls_from_string()
89 ERR(handle, "invalid MLS context %s", str); in mls_from_string()
42 mls_to_string(sepol_handle_t * handle, const policydb_t * policydb, const context_struct_t * mls, char **str) mls_to_string() argument
78 mls_from_string(sepol_handle_t * handle, const policydb_t * policydb, const char *str, context_struct_t * mls) mls_from_string() argument
/third_party/rust/crates/syn/codegen/src/
H A Dparse.rs16 const SYN_CRATE_ROOT: &str = "src/lib.rs";
17 const TOKEN_SRC: &str = "src/token.rs";
18 const IGNORED_MODS: &[&str] = &["fold", "visit", "visit_mut"];
19 const EXTRA_TYPES: &[&str] = &["Lifetime"];
288 fn peek_tag(input: ParseStream, tag: &str) -> bool { in peek_tag()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/tessellation/
H A DvktTessellationGeometryGridRenderTests.cpp157 programCollection.glslSources.add("vert") << glu::VertexSource(src.str()); in initPrograms()
172 programCollection.glslSources.add("frag") << glu::FragmentSource(src.str()); in initPrograms()
193 programCollection.glslSources.add("tesc") << glu::TessellationControlSource(src.str()); in initPrograms()
220 programCollection.glslSources.add("tese") << glu::TessellationEvaluationSource(src.str()); in initPrograms()
394 programCollection.glslSources.add("geom") << glu::GeometrySource(src.str()); in initPrograms()
/third_party/vk-gl-cts/modules/egl/
H A DteglChooseConfigTests.cpp60 string str = ""; in configListToString() local
66 if (str.length() != 0) in configListToString()
67 str += " "; in configListToString()
69 str += de::toString(configId); in configListToString()
71 return str; in configListToString()
/third_party/weex-loader/deps/weex-styler/lib/
H A Dvalidator.js759 let str = validatorResult.reason(name, item, validatorResult.value)
760 const mesg = str.match(/^([A-Z]+):/)
766 str = str.replace(mesg[0], '')
767 reasons.push(str)
1980 let str = []
1983 str.push(match[1].trim(), match[2].trim())
1984 return GRID_TEMPLATE_VALIDATOR(str.join(' '))
1990 str.push(match[2].trim())
1993 return GRID_TEMPLATE_VALIDATOR(str
[all...]
/third_party/skia/third_party/externals/tint/src/writer/hlsl/
H A Dgenerator_impl.cc231 } else if (auto* str = decl->As<ast::Struct>()) { in Generate()
232 auto* ty = builder_.Sem().Get(str); in Generate()
283 fn = UniqueIdentifier("set_" + ss.str()); in EmitDynamicVectorAssignment()
359 fn = UniqueIdentifier("set_vector_" + ss.str()); in EmitDynamicMatrixVectorAssignment()
433 fn = UniqueIdentifier("set_scalar_" + ss.str()); in EmitDynamicMatrixScalarAssignment()
1945 << "unexpected barrier intrinsic type " << sem::str(intrinsic->Type());
2222 std::string(intrinsic->str()) + "'");
2369 return intrinsic->str();
2411 "Unknown builtin method: " + std::string(intrinsic->str()));
2713 auto* str
[all...]
/third_party/python/Lib/tkinter/
H A D__init__.py72 value = str(value)
106 elif isinstance(cnfs, (type(None), str)):
139 key = str(key)
389 if name is not None and not isinstance(name, str):
567 if isinstance(value, str):
569 return str(value)
766 raise ValueError(str(exc))
772 raise ValueError(str(exc))
1393 if isinstance(func, str):
1540 nv.append(str(ite
[all...]
/third_party/rust/crates/bindgen/bindgen/codegen/
H A Dmod.rs61 use std::str::FromStr;
87 pub static CONSTIFIED_ENUM_MODULE_REPR_NAME: &str = "Type";
200 impl From<DerivableTraits> for Vec<&'static str> {
201 fn from(derivable_traits: DerivableTraits) -> Vec<&'static str> { in from()
323 fn seen_function(&self, name: &str) -> bool { in seen_function()
327 fn saw_function(&mut self, name: &str) { in saw_function()
334 fn overload_number(&mut self, name: &str) -> u32 { in overload_number()
341 fn seen_var(&self, name: &str) -> bool { in seen_var()
345 fn saw_var(&mut self, name: &str) { in saw_var()
1721 type Extra = (&'a str,
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/pipeline/
H A DvktPipelineMultisampleMixedAttachmentSamplesTests.cpp832 programCollection.glslSources.add("comp" + nameSuffix) << glu::ComputeSource(src.str()); in addVerificationComputeShader()
838 std::ostringstream str; in getSampleCountString() local
840 str << static_cast<deUint32>(samples.numCoverageSamples) << "_" in getSampleCountString()
844 return str.str(); in getSampleCountString()
868 programCollection.glslSources.add("vert") << glu::VertexSource(src.str()); in initPrograms()
884 programCollection.glslSources.add("frag") << glu::FragmentSource(src.str()); in initPrograms()
1487 programCollection.glslSources.add("vert") << glu::VertexSource(src.str()); in initPrograms()
1528 programCollection.glslSources.add("frag") << glu::FragmentSource(src.str()); in initPrograms()
1762 std::ostringstream str; in getSampleCountGroupName() local
1778 std::ostringstream str; getFormatCaseName() local
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/fragment_ops/
H A DvktFragmentOperationsEarlyFragmentTests.cpp256 programCollection.glslSources.add("vert") << glu::VertexSource(src.str()); in initPrograms()
279 programCollection.glslSources.add("frag") << glu::FragmentSource(src.str()); in initPrograms()
870 TCU_FAIL(error.str().c_str()); in iterate()
878 TCU_FAIL(error.str().c_str()); in iterate()
889 TCU_FAIL(error.str().c_str()); in iterate()
897 TCU_FAIL(error.str().c_str()); in iterate()
970 programCollection.glslSources.add("vert") << glu::VertexSource(src.str());
995 programCollection.glslSources.add("frag") << glu::FragmentSource(src.str());
1643 TCU_FAIL(error.str().c_str());
1651 TCU_FAIL(error.str()
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/pipeline/
H A DvktPipelineMultisampleMixedAttachmentSamplesTests.cpp830 programCollection.glslSources.add("comp" + nameSuffix) << glu::ComputeSource(src.str()); in addVerificationComputeShader()
836 std::ostringstream str; in getSampleCountString() local
838 str << static_cast<deUint32>(samples.numCoverageSamples) << "_" in getSampleCountString()
842 return str.str(); in getSampleCountString()
866 programCollection.glslSources.add("vert") << glu::VertexSource(src.str()); in initPrograms()
882 programCollection.glslSources.add("frag") << glu::FragmentSource(src.str()); in initPrograms()
1495 programCollection.glslSources.add("vert") << glu::VertexSource(src.str()); in initPrograms()
1536 programCollection.glslSources.add("frag") << glu::FragmentSource(src.str()); in initPrograms()
1775 std::ostringstream str; in getSampleCountGroupName() local
1791 std::ostringstream str; getFormatCaseName() local
[all...]
/third_party/gn/src/base/
H A Dsha1.h18 // Computes the SHA-1 hash of the input string |str| and returns the full
20 std::string SHA1HashString(const std::string& str);
/third_party/mesa3d/src/util/
H A Du_printf.h33 size_t util_printf_next_spec_pos(const char *str, size_t pos);
/third_party/skia/third_party/externals/brotli/scripts/dictionary/
H A Dstep-01-download-rfc.py16 print("Downloaded and saved " + str(len(text)) + " bytes to " + path)
/third_party/python/Lib/test/typinganndata/
H A Dann_module9.py6 ann = Union[List[str], int]
/third_party/skia/third_party/externals/tint/src/
H A Ddemangler.h34 /// @param str the string to replace
37 const std::string& str) const;
/third_party/skia/third_party/externals/tint/src/transform/
H A Dglsl_test.cc36 EXPECT_EQ(expect, str(got)); in TEST_F()
/third_party/rust/crates/clap/tests/builder/
H A Doccurrences.rs3 fn occurrences_as_vec_vec<'a>(m: &'a ArgMatches, name: &str) -> Vec<Vec<&'a String>> { in occurrences_as_vec_vec()

Completed in 36 milliseconds

1...<<161162163164165166167168169170>>...361