/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/postmortem/ |
H A D | vktPostmortemDeviceFaultTests.cpp | 314 const auto& str = s.str(); variable 315 deMemcpy(info.description, str.c_str(), str.length());
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/api/ |
H A D | vktApiBufferViewCreateTests.cpp | 184 return tcu::TestStatus::fail(errorMsg.str()); in createTestBuffer() 271 return tcu::TestStatus::fail(errorMsg.str()); in createTestBuffer() 278 return tcu::TestStatus::fail(errorMsg.str()); in createTestBuffer() 295 return tcu::TestStatus::fail(errorMsg.str()); in createTestBuffer()
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/geometry/ |
H A D | vktGeometryInstancedRenderingTests.cpp | 284 programCollection.glslSources.add("vert") << glu::VertexSource(src.str()); in initPrograms() 336 programCollection.glslSources.add("geom") << glu::GeometrySource(src.str()); in initPrograms() 352 programCollection.glslSources.add("frag") << glu::FragmentSource(src.str()); in initPrograms() 434 addFunctionCaseWithPrograms(group.get(), caseName.str(), "", checkSupport, initPrograms, test, params); in createInstancedRenderingTests()
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/memory_model/ |
H A D | vktMemoryModelSharedLayout.cpp | 81 string str; in genName() local 87 str.insert(str.begin(), static_cast<char>(asciiCode)); in genName() 91 return str; in genName()
|
H A D | vktMemoryModelSharedLayoutCase.cpp | 162 return name.str(); in getStructMemberName() 178 void generateCompareFuncs (std::ostream &str, const ShaderInterface &interface) in generateCompareFuncs() argument 194 str << vkt::typecomputil::getCompareFuncForType(glu::DataType(type)); in generateCompareFuncs() 343 return src.str(); in generateComputeShader()
|
/third_party/skia/third_party/externals/angle2/src/compiler/translator/ |
H A D | UtilsHLSL.cpp | 869 return Decorate(variable.name()) + str(variable.uniqueId().get()); in DecorateVariableIfNeeded() 911 return "float" + str(cols) + "x" + str(rows); in TypeString() 1008 return "ss" + str(structure.uniqueId().get()) + "_" + TString(structure.name().data()); in StructNameString()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/IR/ |
H A D | ModuleSummaryIndex.cpp | 279 std::string A = Name.str(); 281 A += Value.str(); 293 Comments += Comment.str(); 363 return VI.name().empty() ? getNodeVisualName(VI.getGUID()) : VI.name().str();
|
/third_party/skia/third_party/externals/spirv-tools/test/ |
H A D | text_literal_test.cpp | 106 EXPECT_EQ(std::get<1>(GetParam()), l.str); in TEST_P() 145 EXPECT_EQ(unquoted.data(), l.str); in TEST() 155 EXPECT_EQ(unquoted.data(), l.str); in TEST() 210 Eq(ss.str())); in TEST_P()
|
/third_party/skia/src/core/ |
H A D | SkPictureData.cpp | 301 SkString str; in parseStreamTag() local 304 str.resize(len); in parseStreamTag() 305 if (stream->read(str.writable_str(), len) != len) { in parseStreamTag() 308 fFactoryPlayback->base()[i] = SkFlattenable::NameToFactory(str.c_str()); in parseStreamTag()
|
/third_party/skia/src/gpu/effects/ |
H A D | GrYUVtoRGBEffect.cpp | 229 SkString str("("); in onDumpInfo() 231 str.appendf("Locations[%d]=%d %d, ", in onDumpInfo() 234 str.appendf("YUVColorSpace=%d, snap=(%d, %d))", in onDumpInfo() 236 return str; in onDumpInfo()
|
/third_party/skia/third_party/externals/swiftshader/tests/regres/cov/ |
H A D | tree.go | 197 func (s *Strings) index(str string) StringID { 198 i, ok := s.m[str] 201 s.s = append(s.s, str) 202 s.m[str] = i
|
/third_party/openssl/ssl/ |
H A D | bio_ssl.c | 21 static int ssl_puts(BIO *h, const char *str); 412 static int ssl_puts(BIO *bp, const char *str) in ssl_puts() argument 416 n = strlen(str); in ssl_puts() 417 ret = BIO_write(bp, str, n); in ssl_puts()
|
/third_party/openssl/crypto/ |
H A D | trace.c | 39 static int trace_puts(BIO *b, const char *str); 75 static int trace_puts(BIO *channel, const char *str) in trace_puts() argument 79 if (trace_write(channel, str, strlen(str), &written)) in trace_puts()
|
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/test/ |
H A D | text_literal_test.cpp | 106 EXPECT_EQ(std::get<1>(GetParam()), l.str); in TEST_P() 145 EXPECT_EQ(unquoted.data(), l.str); in TEST() 155 EXPECT_EQ(unquoted.data(), l.str); in TEST() 210 Eq(ss.str())); in TEST_P()
|
/third_party/skia/third_party/externals/libjpeg-turbo/ |
H A D | jerror.h | 268 #define ERREXITS(cinfo, code, str) \ 270 strncpy((cinfo)->err->msg_parm.s, (str), JMSG_STR_PARM_MAX), \ 324 #define TRACEMSS(cinfo, lvl, code, str) \ 326 strncpy((cinfo)->err->msg_parm.s, (str), JMSG_STR_PARM_MAX), \
|
/third_party/skia/tests/ |
H A D | JSONTest.cpp | 139 SkDynamicMemoryWStream str; in DEF_TEST() local 140 dom.write(&str); in DEF_TEST() 141 str.write8('\0'); in DEF_TEST() 143 auto data = str.detachAsData(); in DEF_TEST()
|
H A D | PathOpsCubicIntersectionTest.cpp | 485 char str[1024]; in CubicIntersection_RandTest() local 486 snprintf(str, sizeof(str), in CubicIntersection_RandTest() 511 newIntersects, __FUNCTION__, str); in CubicIntersection_RandTest()
|
/third_party/skia/third_party/externals/dawn/src/dawn_native/d3d12/ |
H A D | UtilsD3D12.cpp | 28 ResultOrError<std::wstring> ConvertStringToWstring(const char* str) { in ConvertStringToWstring() argument 29 size_t len = strlen(str); in ConvertStringToWstring() 33 int numChars = MultiByteToWideChar(CP_UTF8, MB_ERR_INVALID_CHARS, str, len, nullptr, 0); in ConvertStringToWstring() 40 MultiByteToWideChar(CP_UTF8, MB_ERR_INVALID_CHARS, str, len, &result[0], numChars); in ConvertStringToWstring()
|
/third_party/skia/third_party/externals/dawn/src/tests/end2end/ |
H A D | ComputeLayoutMemoryBufferTests.cpp | 25 // Helper for replacing all occurrences of substr in str with replacement 26 std::string ReplaceAll(std::string str, in ReplaceAll() argument 30 while ((pos = str.find(substr, pos)) != std::string::npos) { in ReplaceAll() 31 str.replace(pos, substr.length(), replacement); in ReplaceAll() 34 return str; in ReplaceAll()
|
/third_party/python/Lib/test/ |
H A D | test_string_literals.py | 5 'abc' -- normal str 6 r'abc' -- raw str 18 for str literals, those bytes are supposed to be decoded using the 119 self.assertEqual(str(w[0].message), r"invalid escape sequence '\z'") 143 self.assertEqual(str(w[0].message), 196 self.assertEqual(str(w[0].message), r"invalid escape sequence '\z'") 219 self.assertEqual(str(w[0].message),
|
/third_party/python/Lib/test/test_sqlite3/ |
H A D | test_regression.py | 90 cur.execute("select 1 x union select " + str(i)) 159 self.assertIn(msg, str(cm.exception)) 169 class CustomStr(str): 216 The Python 3.0 port of the module didn't cope with values of subclasses of str. 218 class MyStr(str): pass
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/ |
H A D | ModuleSummaryIndexYAML.h | 79 io.mapRequired(Key.str().c_str(), V[Args]); in inputOne() 122 io.mapRequired(Key.str().c_str(), V[KeyInt]); in inputOne() 207 io.mapRequired(Key.str().c_str(), FSums); in inputOne() 264 io.mapRequired(Key.str().c_str(), TId); in inputOne()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/ToolDrivers/llvm-lib/ |
H A D | LibDriver.cpp | 68 return Val.str(); in getOutputPath() 99 return Path.str().str(); in findInputFile() 250 .str(); in appendFile()
|
/third_party/skia/third_party/externals/tint/fuzzers/tint_regex_fuzzer/ |
H A D | wgsl_mutator.cc | 62 result.push_back(std::make_pair(prefix.size() + 1, match.str(1).size())); in GetIdentifiers() 63 prefix += match.str(0); in GetIdentifiers() 85 std::make_pair(prefix.size() + 1, match.str(0).size() - 1)); in GetIntLiterals() 86 prefix += match.str(0); in GetIntLiterals()
|
/third_party/skia/third_party/externals/tint/src/reader/wgsl/ |
H A D | parser_impl_error_msg_test.cc | 512 << src.str() << "\n" in TEST_F() 513 << mkr.str() << "\n"; in TEST_F() 514 EXPECT(src.str().c_str(), err.str().c_str()); in TEST_F()
|