/third_party/python/Tools/i18n/ |
H A D | pygettext.py | 266 def containsAny(str, set): 267 """Check whether 'str' contains ANY of the chars in 'set'""" 268 return 1 in [c in str for c in set] 403 if isinstance(arg.value, str):
|
/third_party/python/Tools/scripts/ |
H A D | summarize_stats.py | 132 return "kind " + str(kind) 202 raise ValueError("Wrong number of elements in row '" + str(rows) + "'") 203 print("|", " | ".join(str(i) for i in row), "|")
|
/third_party/python/Lib/ |
H A D | sysconfig.py | 379 item = str(done[n]) 396 item = str(done['PY_' + n]) 435 if isinstance(v, str):
|
/third_party/python/Lib/test/ |
H A D | multibytecodec_support.py | 59 self.assertTrue(type(result) is str, type(result)) 351 self.assertEqual(str(csetch, self.encoding), unich) 362 self.assertTrue(type(result) is str, type(result))
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/draw/ |
H A D | vktDrawSampleAttributeTests.cpp | 135 collection.glslSources.add("vert") << glu::VertexSource(src.str()); in initPrograms() 153 collection.glslSources.add("frag") << glu::FragmentSource(src.str()); in initPrograms() 460 return tcu::TestStatus::fail(output.str()); in iterate()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/fragment_ops/ |
H A D | vktFragmentOperationsScissorMultiViewportTests.cpp | 236 programCollection.glslSources.add("vert") << glu::VertexSource(src.str()); in initPrograms() 279 programCollection.glslSources.add("geom") << glu::GeometrySource(src.str()); in initPrograms() 295 programCollection.glslSources.add("frag") << glu::FragmentSource(src.str()); in initPrograms()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/mesh_shader/ |
H A D | vktMeshShaderProvokingVertexTestsEXT.cpp | 193 programCollection.glslSources.add("frag") << glu::FragmentSource(frag.str()); in initPrograms() 253 programCollection.glslSources.add("mesh") << glu::MeshSource(mesh.str()) << buildOptions; in initPrograms() 433 log << tcu::TestLog::Message << msg.str() << tcu::TestLog::EndMessage; in iterate()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/pipeline/ |
H A D | vktPipelineExtendedDynamicStateMiscTests.cpp | 88 programCollection.glslSources.add(name) << glu::VertexSource(vert.str()); in initFullScreenQuadVertexProgram() 104 programCollection.glslSources.add(name) << glu::FragmentSource(frag.str()); in initBlueAndAtomicCounterFragmentProgram() 119 TCU_FAIL(msg.str()); in verifyValueInRange()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/ray_query/ |
H A D | vktRayQueryNonUniformArgsTests.cpp | 160 programCollection.glslSources.add("comp") << glu::ComputeSource(comp.str()) << buildOptions; in initPrograms() 355 return tcu::TestStatus::fail(msg.str()); in iterate() 358 log << tcu::TestLog::Message << msg.str() << tcu::TestLog::EndMessage; in iterate()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/sparse_resources/ |
H A D | vktSparseResourcesShaderIntrinsicsStorage.cpp | 301 programCollection.spirvAsmSources.add("compute") << src.str() in initPrograms() 326 return src.str(); in sparseImageOpString() 351 return src.str(); in sparseImageOpString()
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/fragment_ops/ |
H A D | vktFragmentOperationsScissorMultiViewportTests.cpp | 236 programCollection.glslSources.add("vert") << glu::VertexSource(src.str()); in initPrograms() 279 programCollection.glslSources.add("geom") << glu::GeometrySource(src.str()); in initPrograms() 295 programCollection.glslSources.add("frag") << glu::FragmentSource(src.str()); in initPrograms()
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/mesh_shader/ |
H A D | vktMeshShaderProvokingVertexTestsEXT.cpp | 193 programCollection.glslSources.add("frag") << glu::FragmentSource(frag.str()); in initPrograms() 253 programCollection.glslSources.add("mesh") << glu::MeshSource(mesh.str()) << buildOptions; in initPrograms() 433 log << tcu::TestLog::Message << msg.str() << tcu::TestLog::EndMessage; in iterate()
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/cl/ |
H A D | CLPlatformCL.cpp | 34 std::vector<char> str(size, '\0'); in GetPlatformString() 36 str.data(), nullptr) == CL_SUCCESS) in GetPlatformString() 38 return std::string(str.data()); in GetPlatformString()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/ExecutionEngine/Interpreter/ |
H A D | ExternalFunctions.cpp | 108 ExtName += ("_" + F->getName()).str(); in lookupFunction() 113 FnPtr = (*FuncNames)[("lle_X_" + F->getName()).str()]; in lookupFunction() 116 ("lle_X_" + F->getName()).str()); in lookupFunction()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/ExecutionEngine/PerfJITEvents/ |
H A D | PerfJITEventListener.cpp | 200 openFileForReadWrite(FilenameBuf.str(), DumpFd, in PerfJITEventListener() 202 errs() << "could not open JIT dump file " << FilenameBuf.str() << ": " in PerfJITEventListener() 331 JitPath = UniqueDebugDir.str(); in InitDebuggingDir()
|
/third_party/vk-gl-cts/external/openglcts/modules/glesext/draw_buffers_indexed/ |
H A D | esextcDrawBuffersIndexedBlending.cpp | 230 gl.uniform4fv(gl.getUniformLocation(program.getProgram(), os.str().c_str()), 1, &colors[i % 4][0]); in iterate() 303 return os.str(); in GenVS() 329 return os.str(); in GenFS()
|
/third_party/vk-gl-cts/external/openglcts/modules/glesext/fragment_shading_rate/ |
H A D | esextcFragmentShadingRateAttachmentTests.cpp | 130 return os.str(); in genVS() 150 return os.str(); in genFS() 486 m_testCtx.setTestResult(QP_TEST_RESULT_FAIL, error_sstream.str().c_str()); in iterate()
|
/third_party/skia/third_party/externals/spirv-tools/source/val/ |
H A D | validate.cpp | 108 auto id_str = ss.str(); in ValidateForwardDecls() 222 const char* str = reinterpret_cast<const char*>( in ValidateBinaryUsingContextAndValidationState() local 224 const std::string desc_name(str); in ValidateBinaryUsingContextAndValidationState()
|
/third_party/skia/third_party/externals/angle2/src/tests/gl_tests/ |
H A D | CompressedTextureFormatsTest.cpp | 371 for (std::string str : {"_EXT", "_IMG", "_KHR", "_OES"}) in PrintToStringParamName() 373 if (name.find(str) != std::string::npos) in PrintToStringParamName() 381 return nameStr.str(); in PrintToStringParamName()
|
/third_party/skia/third_party/externals/angle2/src/tests/compiler_tests/ |
H A D | OVR_multiview2_test.cpp | 142 bool foundInAllGLSLCode(const char *str) in foundInAllGLSLCode() argument 144 return foundInGLSLCode(str) && foundInESSLCode(str); in foundInAllGLSLCode()
|
H A D | OVR_multiview_test.cpp | 139 bool foundInAllGLSLCode(const char *str) in foundInAllGLSLCode() argument 141 return foundInGLSLCode(str) && foundInESSLCode(str); in foundInAllGLSLCode()
|
/third_party/skia/samplecode/ |
H A D | SampleFatBits.cpp | 458 SkString str; variable 459 str.printf("%s %s %s", 466 canvas->drawString(str, 10, 16, font, paint);
|
H A D | SampleSlides.cpp | 429 SkString str; in init() local 430 str.printf("/skimages/slide_%zu.png", i); in init() 431 ToolUtils::EncodeImageToFile(str.c_str(), bm, SkEncodedImageFormat::kPNG, 100); in init()
|
/third_party/skia/src/core/ |
H A D | SkGlyph.h | 99 SkString str; in dump() local 100 str.appendf("glyphID: %d, x: %d, y:%d", glyphID(), getSubXFixed(), getSubYFixed()); in dump() 101 return str; in dump()
|
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/val/ |
H A D | validate.cpp | 108 auto id_str = ss.str(); in ValidateForwardDecls() 222 const char* str = reinterpret_cast<const char*>( in ValidateBinaryUsingContextAndValidationState() local 224 const std::string desc_name(str); in ValidateBinaryUsingContextAndValidationState()
|