/third_party/spirv-tools/test/opt/ |
H A D | scalar_analysis.cpp | 46 const std::string text = R"( in TEST_F() 168 const std::string text = R"( in TEST_F() 291 const std::string text = R"( in TEST_F() 398 const std::string text = R"( OpCapability Shader in TEST_F() 659 const std::string text = R"( in TEST_F() 809 const std::string text = R"( in TEST_F() 938 const std::string text = R"( in TEST_F() 1123 const std::string text = R"( in TEST_F()
|
/third_party/vk-gl-cts/modules/gles3/stress/ |
H A D | es3sDrawTests.cpp | 319 const std::string name = std::string("index_") + gls::DrawTestSpec::indexTypeToString(indexTest.type); in init() 320 const std::string desc = std::string("index ") + gls::DrawTestSpec::indexTypeToString(indexTest.type) + " in " + gls::DrawTestSpec::storageToString(indexTest.storage); in init() 334 const std::string iterationDesc = std::string("offset ") + de::toString(indexTest.offsets[iterationNdx]); in init() 648 const std::string name = gls::DrawTestSpec::drawMethodToString(basicMethods[ndx]); in init() 649 const std::string desc = gls::DrawTestSpec::drawMethodToString(basicMethods[ndx]); in init()
|
/third_party/vk-gl-cts/modules/egl/ |
H A D | teglCreateContextExtTests.cpp | 49 #include <string> 57 using std::string; 90 string eglContextFlagsToString (EGLint flags) in eglContextFlagsToString() 132 string eglProfileMaskToString (EGLint mask) in eglProfileMaskToString() 371 set<string> requiredExtensions; in checkRequiredExtensions() 372 vector<string> extensions = eglu::getDisplayExtensions(m_eglTestCtx.getLibrary(), m_display); in checkRequiredExtensions() 432 for (std::set<string>::const_iterator reqExt = requiredExtensions.begin(); reqExt != requiredExtensions.end(); ++reqExt) in checkRequiredExtensions() 470 log << TestLog::Message << "Invalid version string prefix. Expected '" << prefix << "'." << TestLog::EndMessage; in checkVersionString() 725 const string version = (const char*)gl.getString(GL_VERSION); in validateCurrentContext()
|
H A D | teglNativeColorMappingTests.cpp | 54 #include <string> 59 using std::string; 109 string vertexInfoLog; in createGLES2Program() 111 string fragmentInfoLog; in createGLES2Program() 113 string programInfoLog; in createGLES2Program() 476 const string configIdStr (de::toString(eglu::getConfigAttribInt(egl, display, config, EGL_CONFIG_ID))); in executeForConfig() 598 group->addChild(new NativeColorMappingCase(eglTestCtx, (string(i->getName()) + "_clear").c_str(), i->getDescription(), false, type, *i)); in addTestGroups() 599 group->addChild(new NativeColorMappingCase(eglTestCtx, (string(i->getName()) + "_render").c_str(), i->getDescription(), true, type, *i)); in addTestGroups()
|
H A D | teglNativeCoordMappingTests.cpp | 56 #include <string> 60 using std::string; 109 string vertexInfoLog; in createGLES2Program() 111 string fragmentInfoLog; in createGLES2Program() 113 string programInfoLog; in createGLES2Program() 506 const string configIdStr (de::toString(eglu::getConfigAttribInt(egl, display, config, EGL_CONFIG_ID))); in executeForConfig() 633 group->addChild(new NativeCoordMappingCase(eglTestCtx, (string(i->getName()) + "_clear").c_str(), i->getDescription(), false, type, *i)); in addTestGroups() 634 group->addChild(new NativeCoordMappingCase(eglTestCtx, (string(i->getName()) + "_render").c_str(), i->getDescription(), true, type, *i)); in addTestGroups()
|
/third_party/icu/tools/colprobe/ |
H A D | colprobeNew.cpp | 40 #include <string.h> 211 int UNIXgetSortKey(const UChar *string, int32_t len, uint8_t *buffer, int32_t buffCapacity) { in UNIXgetSortKey() argument 213 compALen = unorm_normalize(string, len, UNORM_NFC, 0, compA, 256, &status); in UNIXgetSortKey() 240 int WingetSortKey(const UChar *string, int32_t len, uint8_t *buffer, int32_t buffCapacity) { in WingetSortKey() argument 242 compALen = unorm_normalize(string, len, UNORM_NFC, 0, compA, 256, &status); in WingetSortKey() 282 int ICUgetSortKey(const UChar *string, int32_t len, uint8_t *buffer, int32_t buffCapacity) { in ICUgetSortKey() argument 283 return ucol_getSortKey(gCol, string, len, buffer, buffCapacity); in ICUgetSortKey() 299 void stringToLower(char *string) { in stringToLower() argument 301 for(i = 0; i < strlen(string); i++) { in stringToLower() 302 string[ in stringToLower() [all...] |
/third_party/icu/icu4c/source/test/intltest/ |
H A D | ssearch.cpp | 345 OrderList(UCollator *coll, const UnicodeString &string, int32_t stringOffset = 0); 370 OrderList::OrderList(UCollator *coll, const UnicodeString &string, int32_t stringOffset) in OrderList() argument 374 UCollationElements *elems = ucol_openElements(coll, string.getBuffer(), string.length(), &status); in OrderList() 699 static UnicodeString &escape(const UnicodeString &string, UnicodeString &buffer) 701 for(int32_t i = 0; i < string.length(); i += 1) { 702 UChar32 ch = string.char32At(i); 819 // searchTime() A quick and dirty performance test for string search. 1105 // find out shortest string for the longest sequence of ces. in generateAlternative() 1127 // find random string tha in generateAlternative() 1129 const UnicodeString *string = NULL; generateAlternative() local [all...] |
/third_party/node/deps/v8/src/snapshot/ |
H A D | serializer.cc | 129 // ThinStrings are just an indirection to an internalized string, so elide the in SerializeObject() 130 // indirection and serialize the actual string directly. in SerializeObject() 591 Handle<ExternalString> string = Handle<ExternalString>::cast(object_); in SerializeExternalString() local 592 Address resource = string->resource_as_address(); in SerializeExternalString() 599 string->GetResourceRefForDeserialization(); in SerializeExternalString() 601 string->SetResourceRefForSerialization(reference.index()); in SerializeExternalString() 604 string->SetResourceRefForSerialization(external_pointer_entry); in SerializeExternalString() 606 string->set_address_as_resource(isolate(), resource); in SerializeExternalString() 614 // Instead of serializing this as an external string, we serialize in SerializeExternalStringAsSequentialString() 615 // an imaginary sequential string wit in SerializeExternalStringAsSequentialString() 619 Handle<ExternalString> string = Handle<ExternalString>::cast(object_); SerializeExternalStringAsSequentialString() local [all...] |
/third_party/mesa3d/src/gallium/drivers/r600/sfn/ |
H A D | sfn_instr_tex.cpp | 34 using std::string; 201 const std::map<TexInstr::Opcode, std::string> TexInstr::s_opcode_map = { 237 TexInstr::Opcode TexInstr::op_from_string(const std::string& s) in op_from_string() 248 string opstr; in from_string() 249 string deststr; in from_string() 262 string srcstr; in from_string() 267 string res_id_str; in from_string() 268 string sampler_id_str; in from_string() 278 std::string next_token; in from_string() 294 void TexInstr::read_tex_coord_normalitazion(const std::string [all...] |
/third_party/python/Lib/re/ |
H A D | _parser.py | 13 # XXX: show string offset and offending character for all errors 43 r"\A": (AT, AT_BEGINNING_STRING), # start of string 52 r"\Z": (AT, AT_END_STRING), # end of string 222 def __init__(self, string): 223 self.istext = isinstance(string, str) 224 self.string = string 226 string = str(string, 'latin1') 227 self.decoded_string = string [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/pipeline/ |
H A D | vktPipelineBindPointTests.cpp | 42 #include <string> 156 BindPointTest (tcu::TestContext& testCtx, const std::string& name, const TestParams& params); 179 BindPointTest::BindPointTest (tcu::TestContext& testCtx, const std::string& name, const TestParams& params) in BindPointTest() 209 const std::string descriptorDecl = "layout(set=0, binding=0, std430) buffer BufferBlock { uint flag[]; } outBuffer;\n"; in initPrograms() 370 void verifyBufferContents (const DeviceInterface& vkd, VkDevice device, const BufferWithMemory& buffer, const std::string& bufferName, deUint32 expected) in verifyBufferContents() 806 // Auxiliar string conversion functions. 808 std::string toString(SetUpdateType updateType) in toString() 821 std::string toString(const SetupSequence& setupSequence) in toString() 844 std::string toString(const DispatchSequence& dispatchSequence) in toString() 864 std::string toStrin [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/renderpass/ |
H A D | vktRenderPassUnusedClearAttachmentTests.cpp | 37 #include <string> 64 std::string getFormatBriefName (VkFormat format) in getFormatBriefName() 77 std::string depthStencilTypeName (DepthStencilType type, VkFormat format) in depthStencilTypeName() 81 const std::string formatName = getFormatBriefName(format); in depthStencilTypeName() 228 const std::string& name, in UnusedClearAttachmentTest() 1223 std::string getUsed(deBool value) 1228 std::string getCombName(const std::vector<deBool>& array) 1272 const std::string dsCase = depthStencilTypeName(dsType, dsFormat); 1285 std::string name = getCombName(array) + "_" + dsCase; 1287 name += std::string(" [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/sparse_resources/ |
H A D | vktSparseResourcesShaderIntrinsicsBase.cpp | 35 std::string getOpTypeImageComponent (const tcu::TextureFormat& format) in getOpTypeImageComponent() 53 std::string getOpTypeImageComponent (const vk::PlanarFormatDescription& description) in getOpTypeImageComponent() 71 std::string getImageComponentTypeName (const tcu::TextureFormat& format) in getImageComponentTypeName() 89 std::string getImageComponentTypeName (const vk::PlanarFormatDescription& description) in getImageComponentTypeName() 107 std::string getImageComponentVec4TypeName (const tcu::TextureFormat& format) in getImageComponentVec4TypeName() 125 std::string getImageComponentVec4TypeName (const vk::PlanarFormatDescription& description) in getImageComponentVec4TypeName() 144 std::string getOpTypeImageSparse (const ImageType imageType, in getOpTypeImageSparse() 146 const std::string& componentType, in getOpTypeImageSparse() 251 std::string getOpTypeImageSparse (const ImageType imageType, in getOpTypeImageSparse() 253 const std::string in getOpTypeImageSparse() [all...] |
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/d3d11/ |
H A D | TextureStorage11.h | 150 const std::string &label); 284 TextureStorage11_2D(Renderer11 *renderer, SwapChain11 *swapchain, const std::string &label); 291 const std::string &label, 387 const std::string &label); 456 const std::string &label); 483 const std::string &label); 550 const std::string &label); 647 const std::string &label); 720 const std::string &label); 820 const std::string [all...] |
/third_party/skia/third_party/externals/angle2/src/tests/gl_tests/ |
H A D | GeometryShaderTest.cpp | 32 static std::string CreateEmptyGeometryShader(const std::string &inputPrimitive, in CreateEmptyGeometryShader() 33 const std::string &outputPrimitive, in CreateEmptyGeometryShader() 244 const std::string &emptyGeometryShader = CreateEmptyGeometryShader("points", "points", 2, 1); in TEST_P() 257 const std::string gsWithoutInputPrimitive = CreateEmptyGeometryShader("", "points", 2, 1); in TEST_P() 258 const std::string gsWithoutOutputPrimitive = CreateEmptyGeometryShader("points", "", 2, 1); in TEST_P() 259 const std::string gsWithoutInvocations = CreateEmptyGeometryShader("points", "points", -1, 1); in TEST_P() 260 const std::string gsWithoutMaxVertices = CreateEmptyGeometryShader("points", "points", 2, -1); in TEST_P() 1833 const std::string vs = vsStream.str(); 1834 const std::string g [all...] |
/third_party/python/Lib/xml/dom/ |
H A D | expatbuilder.py | 2 from a string or file. 219 def parseString(self, string): 220 """Parse a document from a string, returning the document node.""" 223 parser.Parse(string, True) 224 self._setup_subset(string) 576 # Takes a string for the doctype, subset string, and namespace attrs string. 621 def parseString(self, string): 622 """Parse a document fragment from a string, returnin [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/subzero/src/ |
H A D | IceOperand.h | 225 std::string Buffer; in initName() 356 const std::string &EmitString) in RelocatableTuple() 365 const std::string EmitString; 394 const std::string &getEmitString() const { return EmitString; } in getEmitString() 412 const std::string &EmitString) in ConstantRelocatable() 419 const std::string EmitString; /// optional for textual emission 691 std::string getName() const { in getName() 696 virtual void setName(const Cfg *Func, const std::string &NewName) { in setName() 735 std::string getSymbolicStackOffset() const { in getSymbolicStackOffset() 906 void setName(const Cfg *Func, const std::string [all...] |
/third_party/typescript/tests/baselines/reference/ |
H A D | parserindenter.js | 31 public languageHostIndentation: string, 183 static GetIndentSizeFromIndentText(indentText: string, editorOptions: Services.EditorOptions): number { 187 static GetIndentSizeFromText(text: string, editorOptions: Services.EditorOptions, includeNonIndentChars: boolean): number { 344 private ApplyScriptBlockIndentation(languageHostIndentation: string, tree: ParseTree): void 363 // Debug.Assert(spans.Count == 1, string.Format(CultureInfo.InvariantCulture, "Unexpected span count of {0}.", spans.Count)); 426 private ApplyIndentationLevel(existingIndentation: string, level: number): string { 454 private GetIndentString(prefix: string, totalIndentSize: number, tabSize: number, convertTabsToSpaces: boolean): string { 505 private ApplyIndentationDelta2(currentIndent: string, delt [all...] |
/third_party/vk-gl-cts/modules/glshared/ |
H A D | glsLifetimeTests.cpp | 59 using std::string; 108 CheckedShader (const RenderContext& renderCtx, glu::ShaderType type, const string& src) in CheckedShader() 411 TCU_THROW(TestError, (std::string("glCheckFramebufferStatus() returned invalid result code ") in isTextureFormatColorRenderable() 499 TCU_THROW(TestError, (std::string("glCheckFramebufferStatus() returned invalid result code ") in isRenderbufferFormatColorRenderable() 583 map<string, string> params; in initAttachment() 591 const string source = sourceTmpl.specialize(params); in initAttachment() 1337 string attacherName (Attacher& attacher) in attacherName() 1375 const string name = attacherName(**it); in addTestCases() 1389 const string nam in addTestCases() [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/mesh_shader/ |
H A D | vktMeshShaderSyncTests.cpp | 377 std::string getResourceDecl () const in getResourceDecl() 404 std::string getPushConstantDecl () const in getPushConstantDecl() 416 std::string getReadStatement (const std::string& outName) const in getReadStatement() 434 std::string getWriteStatement (const std::string& valueName) const in getWriteStatement() 481 MeshShaderSyncCase (tcu::TestContext& testCtx, const std::string& name, const std::string& description, const TestParams& params) in MeshShaderSyncCase() 1284 const std::string combinationName = de::toString(stageCombination.fromStage) + "_to_" + de::toString(stageCombination.toStage); in createMeshShaderSyncTests() 1317 const std::string accessCaseNam in createMeshShaderSyncTests() [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/ray_query/ |
H A D | vktRayQueryMiscTests.cpp | 63 DynamicIndexingCase (tcu::TestContext& testCtx, const std::string& name, const std::string& description); 91 DynamicIndexingCase::DynamicIndexingCase (tcu::TestContext& testCtx, const std::string& name, const std::string& description) in DynamicIndexingCase() 458 const std::string& name); 519 const std::string& name) in HelperInvocationsCase() 520 : TestCase (testCtx, name, std::string()) in HelperInvocationsCase() 552 std::string vertexCode ( in initPrograms() 648 std::map<std::string, std::string> in initPrograms() [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/sparse_resources/ |
H A D | vktSparseResourcesShaderIntrinsicsBase.cpp | 35 std::string getOpTypeImageComponent (const tcu::TextureFormat& format) in getOpTypeImageComponent() 53 std::string getOpTypeImageComponent (const vk::PlanarFormatDescription& description) in getOpTypeImageComponent() 71 std::string getImageComponentTypeName (const tcu::TextureFormat& format) in getImageComponentTypeName() 89 std::string getImageComponentTypeName (const vk::PlanarFormatDescription& description) in getImageComponentTypeName() 107 std::string getImageComponentVec4TypeName (const tcu::TextureFormat& format) in getImageComponentVec4TypeName() 125 std::string getImageComponentVec4TypeName (const vk::PlanarFormatDescription& description) in getImageComponentVec4TypeName() 144 std::string getOpTypeImageSparse (const ImageType imageType, in getOpTypeImageSparse() 146 const std::string& componentType, in getOpTypeImageSparse() 251 std::string getOpTypeImageSparse (const ImageType imageType, in getOpTypeImageSparse() 253 const std::string in getOpTypeImageSparse() [all...] |
/third_party/gn/src/gn/ |
H A D | xcode_object_unittest.cc | 306 // Tests the mapping between PBXObjectClass and it's name as a string. 327 // Tests the mapping between PBXObject and it's name as a string. 348 PBXGroup pbx_group_with_name(std::string(), "name"); in TEST() 351 PBXGroup pbx_group_with_path("path", std::string()); in TEST() 354 PBXGroup pbx_group_empty{std::string(), std::string()}; in TEST() 355 EXPECT_EQ(std::string(), pbx_group_empty.Name()); in TEST()
|
H A D | target_generator.cc | 81 const std::string& output_type, in GenerateTarget() 85 *err = Err(function_call, "Target generator requires one string argument.", in GenerateTarget() 236 std::vector<std::string>& output_list = target_->data(); in FillData() 240 const std::string& root_path = in FillData() 247 const std::string input_str = input.string_value(); in FillData() 253 std::string resolved = in FillData()
|
/third_party/json/tests/src/ |
H A D | unit-class_const_iterator.cpp | 163 CHECK_THROWS_WITH_AS(std::string(it->type_name()), "[json.exception.invalid_iterator.214] cannot get value", json::invalid_iterator&); 170 CHECK(std::string(it->type_name()) == "number"); 172 CHECK_THROWS_WITH_AS(std::string(it->type_name()), "[json.exception.invalid_iterator.214] cannot get value", json::invalid_iterator&); 179 CHECK(std::string(it->type_name()) == "string"); 186 CHECK(std::string(it->type_name()) == "number");
|