/third_party/skia/third_party/externals/tint/src/ |
H A D | castable_test.cc | 18 #include <string> 26 explicit Animal(std::string n) : name(n) {} in Animal() 27 const std::string name; 31 explicit Amphibian(std::string n) : Base(n) {} in Amphibian() 35 explicit Mammal(std::string n) : Base(n) {} in Mammal() 39 explicit Reptile(std::string n) : Base(n) {} in Reptile()
|
/third_party/skia/third_party/externals/tint/src/reader/spirv/ |
H A D | enum_converter_test.cc | 17 #include <string> 47 std::string error() const { return errors_.str(); } in error() 110 std::string error() const { return errors_.str(); } in error() 182 std::string error() const { return errors_.str(); } in error() 262 std::string error() const { return errors_.str(); } in error() 336 std::string error() const { return errors_.str(); } in error()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ADT/ |
H A D | Triple.h | 37 /// string; the constructor does not change or normalize the triple string. 233 std::string Data; 257 /// Default constructor is the same as an empty string and leaves all 287 static std::string normalize(StringRef Str); 289 /// Return the normalized form of this triple's string. 290 std::string normalize() const { return normalize(Data); } in normalize() 366 const std::string &str() const { return Data; } in str() 368 const std::string &getTriple() const { return Data; } in getTriple() 386 /// environment components as a single string (separate [all...] |
/third_party/typescript/tests/baselines/reference/ |
H A D | comparisonOperatorWithNoRelationshipObjectsOnCallSignature.js | 3 public a: string; 7 public b: string; 11 public c: string; 17 var a2: { fn(a: number, b: string): void }; 18 var b2: { fn(a: string): void }; 20 var a3: { fn(a: Base, b: string): void };
|
H A D | comparisonOperatorWithNoRelationshipObjectsOnConstructorSignature.js | 3 public a: string; 7 public b: string; 11 public c: string; 17 var a2: { new (a: number, b: string): Base }; 18 var b2: { new (a: string): Base }; 20 var a3: { new (a: Base, b: string): Base };
|
H A D | privacyFunctionCannotNameParameterTypeDeclFile.js | 6 name: string; 12 name: string; 404 name: string;
409 name: string;
416 name: string;
421 name: string;
|
H A D | unspecializedConstraints.js | 4 [index: string]: T; 40 getPropertyByName(name: string): Property { 69 constructor(public name: string, public type: Type, public flags: PropertyFlags) { 101 constructor(public name: string, public type: Type, public flags: ParameterFlags) { 119 function getProperty<T>(map: Map<T>, key: string): T { 124 function hasProperty<T>(map: Map<T>, key: string): boolean {
|
/third_party/protobuf/src/google/protobuf/compiler/java/ |
H A D | java_map_field_lite.cc | 60 std::string TypeName(const FieldDescriptor* field, in TypeName() 72 std::string WireType(const FieldDescriptor* field) { in WireType() 74 std::string(FieldTypeName(field->type())); in WireType() 80 std::map<std::string, std::string>* variables) { in SetMessageVariables() 796 std::string ImmutableMapFieldLiteGenerator::GetBoxedType() const { in GetBoxedType()
|
H A D | java_message_lite.cc | 161 std::map<std::string, std::string> variables; in Generate() 174 std::string builder_type; in Generate() 229 std::map<std::string, std::string> vars; in Generate() 473 // as a Java string in the generated code. in GenerateDynamicMethodNewBuildMessageInfo() 554 std::string line; in GenerateDynamicMethodNewBuildMessageInfo() 559 printer->Print(" \"$string$\" +\n", "string", line); in GenerateDynamicMethodNewBuildMessageInfo() 563 printer->Print(" \"$string in GenerateDynamicMethodNewBuildMessageInfo() [all...] |
H A D | java_primitive_field_lite.cc | 38 #include <string> 71 std::map<std::string, std::string>* variables) { in SetPrimitiveVariables() 86 std::string capitalized_type = UnderscoresToCamelCase( in SetPrimitiveVariables() 325 std::string ImmutablePrimitiveFieldLiteGenerator::GetBoxedType() const { in GetBoxedType() 633 std::string RepeatedImmutablePrimitiveFieldLiteGenerator::GetBoxedType() const { in GetBoxedType()
|
/third_party/python/Lib/idlelib/idle_test/ |
H A D | test_config_key.py | 210 string = dialog.key_string.get 216 eq(string(), '<Key-a>') 220 eq(string(), '<mymod-Key-a>') 225 eq(string(), '<mymod-test>') 231 string = dialog.key_string.get 237 eq(string(), '<Shift-Key-braceleft>')
|
/third_party/python/Modules/ |
H A D | sha1module.c | 385 Return the digest value as a string of hexadecimal digits. 408 Update this hash object's state with the provided string. 488 string: object(c_default="NULL") = b'' 492 Return a new SHA1 hash object; optionally initialized with a string. 496 _sha1_sha1_impl(PyObject *module, PyObject *string, int usedforsecurity) in _sha1_sha1_impl() argument 502 if (string) in _sha1_sha1_impl() 503 GET_BUFFER_VIEW_OR_ERROUT(string, &buf); in _sha1_sha1_impl() 507 if (string) in _sha1_sha1_impl() 516 if (string) in _sha1_sha1_impl() 520 if (string) { in _sha1_sha1_impl() [all...] |
/third_party/skia/third_party/externals/abseil-cpp/absl/debugging/ |
H A D | symbolize_test.cc | 135 "absl::Symbolize() did not properly terminate the string"); in TrySymbolizeWithLimit() 368 // Appends string(*args->arg) to args->symbol_buf. 371 std::string *message = static_cast<std::string *>(args->arg); in DummySymbolDecorator() 378 std::string a_message("a"); in TEST() 384 std::string b_message("b"); in TEST() 390 std::string c_message("c"); in TEST() 418 std::vector<std::string> sections; in TEST()
|
/third_party/skia/third_party/externals/abseil-cpp/absl/container/internal/ |
H A D | layout.h | 103 // // Immutable move-only string with sizeof equal to sizeof(void*). The 104 // // string size and the characters are kept in the same heap allocation. 168 #include <string> 295 std::string TypeName() { in TypeName() 296 std::string out; in TypeName() 646 std::string DebugString() const { 649 const std::string types[] = { 651 std::string res = absl::StrCat("@0", types[0], "(", sizes[0], ")");
|
/third_party/skia/third_party/externals/abseil-cpp/absl/strings/internal/ |
H A D | cord_rep_btree_navigator_test.cc | 17 #include <string> 76 const std::string& data() const { return data_; } in data() 79 static std::string ToString(testing::TestParamInfo<int> param) { in ToString() 84 std::string data_; 278 const std::string& data = this->data(); in TEST_P() 297 std::string value = CordToString(result.tree); in TEST_P()
|
H A D | cord_rep_btree_reader_test.cc | 19 #include <string> 56 std::string data = CreateRandomString(count * kChars); in TEST() 88 std::string data = CreateRandomString(count * kChars); in TEST() 131 std::string data = CreateRandomString(count * kChars); in TEST() 161 std::string data = "abcdefghijklmno"; in TEST() 243 std::string data = CreateRandomString(count * kChars); in TEST()
|
H A D | cordz_info_test.cc | 54 std::string FormatStack(absl::Span<void* const> raw_stack) { in FormatStack() 57 std::string output; in FormatStack() 269 std::string got_stack = FormatStack(info->GetStack()); in TEST() 270 std::string expected_stack = FormatStack(local_stack); in TEST() 324 std::string stack = FormatStack(info_parent->GetStack()); in TEST() 325 std::string parent_stack = FormatStack(info_child->GetParentStack()); in TEST()
|
/third_party/spirv-tools/source/val/ |
H A D | function.cpp | 374 const std::string& message) { 376 [model, message](spv::ExecutionModel in_model, std::string* out_message) { 388 std::string* reason) const { 393 std::string message; 412 std::string* reason) const { 417 std::string message;
|
/third_party/spirv-tools/test/fuzz/ |
H A D | transformation_composite_extract_test.cpp | 27 std::string shader = R"( in TEST() 222 std::string after_transformation = R"( in TEST() 300 std::string shader = R"( in TEST() 431 std::string shader = R"( in TEST() 518 std::string shader = R"( in TEST() 606 std::string shader = R"( in TEST()
|
H A D | transformation_push_id_through_variable_test.cpp | 27 std::string reference_shader = R"( in TEST() 268 std::string reference_shader = R"( in TEST() 434 std::string variant_shader = R"( in TEST() 534 std::string reference_shader = R"( in TEST() 635 std::string reference_shader = R"( in TEST() 738 std::string reference_shader = R"( in TEST()
|
/third_party/vk-gl-cts/modules/gles3/functional/ |
H A D | es3fDitheringTests.cpp | 41 #include <string> 58 using std::string; 73 static inline string choiceListStr (const vector<T>& choices) in choiceListStr() 75 string result; in choiceListStr() 545 const string caseName = string("") + DitheringCase::getPatternTypeName(patternType) + "_" + caseColors[caseColorNdx].name;
|
/third_party/vk-gl-cts/modules/gles31/functional/ |
H A D | es31fComputeShaderBuiltinVarTests.cpp | 47 using std::string; 105 const string m_varName; 136 static string genBuiltinVarSource (const string& varName, DataType varType, const UVec3& localSize) in genBuiltinVarSource() 207 const tcu::ScopedLogSection section (m_testCtx.getLog(), string("Iteration") + de::toString(m_subCaseNdx), string("Iteration ") + de::toString(m_subCaseNdx)); in iterate()
|
H A D | es31fProgramPipelineStateQueryTests.cpp | 332 std::string buf (3, 'X'); in iterate() 345 result.fail("log was not 0-sized null-terminated string"); in iterate() 404 FOR_EACH_VERIFIER(new ActiveProgramCase(m_context, verifier, (std::string("active_program_") + verifierSuffix).c_str(), "Test ACTIVE_PROGRAM")); in init() 405 FOR_EACH_VERIFIER(new PipelineProgramCase(m_context, verifier, (std::string("vertex_shader_") + verifierSuffix).c_str(), "Test VERTEX_SHADER", GL_VERTEX_SHADER)); in init() 406 FOR_EACH_VERIFIER(new PipelineProgramCase(m_context, verifier, (std::string("fragment_shader_") + verifierSuffix).c_str(), "Test FRAGMENT_SHADER", GL_FRAGMENT_SHADER)); in init() 407 FOR_EACH_VERIFIER(new PipelineProgramCase(m_context, verifier, (std::string("compute_shader_") + verifierSuffix).c_str(), "Test COMPUTE_SHADER", GL_COMPUTE_SHADER)); in init() 408 FOR_EACH_VERIFIER(new ValidateStatusCase(m_context, verifier, (std::string("validate_status_") + verifierSuffix).c_str(), "Test VALIDATE_STATUS")); in init()
|
H A D | es31fSampleShadingTests.cpp | 256 std::string getIterationDescription (int iteration) const; 260 std::string genFragmentSource (int numSamples) const; 353 std::string SampleShadingRenderingCase::getIterationDescription (int iteration) const 412 std::string SampleShadingRenderingCase::genFragmentSource (int numSamples) const 500 minSamplesGroup->addChild(new SampleShadingRenderingCase(m_context, (std::string(targets[ndx].name) + "_color").c_str(), "Test multiple samples per pixel with color", targets[ndx].target, targets[ndx].numSamples, SampleShadingRenderingCase::TEST_COLOR)); 501 minSamplesGroup->addChild(new SampleShadingRenderingCase(m_context, (std::string(targets[ndx].name) + "_discard").c_str(), "Test multiple samples per pixel with", targets[ndx].target, targets[ndx].numSamples, SampleShadingRenderingCase::TEST_DISCARD));
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/protected_memory/ |
H A D | vktProtectedMemStackTests.cpp | 113 const std::string& name, in StackTestCase() 114 const std::string& description, in StackTestCase() 148 std::string comp = in initPrograms() 149 std::string() + in initPrograms() 404 std::string testName = std::string("stacksize_") + de::toString(stackMemSizes[stackMemSizeIdx]); in createStackTests()
|