/third_party/gn/src/gn/ |
H A D | string_atom_unittest.cc | 12 #include <string> 26 EXPECT_EQ(empty.str(), std::string()); in TEST() 29 EXPECT_EQ(foo.str(), std::string("foo")); in TEST() 83 auto atom_to_ptr = [](const StringAtom& atom) -> const std::string* { 91 const std::string* foo_ptr = atom_to_ptr(*foo_ret.first); 92 const std::string* bar_ptr = atom_to_ptr(*bar_ret.first); 93 const std::string* zoo_ptr = atom_to_ptr(*zoo_ret.first); 111 std::array<const std::string*, 3> ptrs = { 132 // Verify that allocating more than 128 string keys works properly. 136 // Small lambda to create a string fo [all...] |
H A D | substitution_writer.h | 9 #include <string> 82 // as either a string, a SourceFile or an OutputFile. If the result is 92 static std::string ApplyPatternToSourceAsString( 118 std::vector<std::string>* output); 138 std::vector<std::string>* output); 168 static std::string GetSourceSubstitution(const Target* target, 194 std::string* result); 195 static std::string GetTargetSubstitution(const Target* target, 215 static std::string GetCompilerSubstitution(const Target* target, 233 static std::string GetLinkerSubstitutio [all...] |
/third_party/gptfdisk/ |
H A D | guid.cc | 21 #include <string.h> 22 #include <string> 43 GUIDData::GUIDData(const string & orig) { in GUIDData() 45 } // copy (from string) constructor in GUIDData() 59 // Assign the GUID from a string input value. A GUID is normally formatted 61 // characters. If the input string is this long or longer, this function 62 // assumes standard separator positioning; if the input string is less 68 GUIDData & GUIDData::operator=(const string & orig) { in operator =() 69 string copy, fragment; in operator =() 123 } // GUIDData::operator=(const string in operator =() [all...] |
/third_party/mesa3d/src/gallium/frontends/clover/core/ |
H A D | binary.hpp | 27 #include <string> 64 arg_info(const std::string &arg_name, const std::string &type_name, in arg_info() 75 std::string arg_name; 76 std::string type_name; 137 symbol(const std::string &name, const std::string &attributes, in symbol() 148 std::string name; 149 std::string attributes;
|
/third_party/node/deps/v8/third_party/zlib/google/ |
H A D | zip_reader.h | 12 #include <string> 95 std::string path_in_original_encoding; 158 // string until it finishes extracting files. 159 bool OpenFromString(const std::string& data); 167 void SetEncoding(std::string encoding) { encoding_ = std::move(encoding); } in SetEncoding() 171 void SetPassword(std::string password) { password_ = std::move(password); } in SetPassword() 224 // directory, |*output| is set to the empty string. If the current entry is a 239 std::string* output) const; 241 bool ExtractCurrentEntryToString(std::string* output) const { in ExtractCurrentEntryToString() 265 // Normalizes the given path passed as UTF-16 string piec [all...] |
/third_party/node/deps/zlib/google/ |
H A D | zip_reader.h | 12 #include <string> 98 std::string path_in_original_encoding; 164 // string until it finishes extracting files. 165 bool OpenFromString(const std::string& data); 173 void SetEncoding(std::string encoding) { encoding_ = std::move(encoding); } in SetEncoding() 177 void SetPassword(std::string password) { password_ = std::move(password); } in SetPassword() 241 // directory, |*output| is set to the empty string. If the current entry is a 256 std::string* output) const; 258 bool ExtractCurrentEntryToString(std::string* output) const { in ExtractCurrentEntryToString() 282 // Normalizes the given path passed as UTF-16 string piec [all...] |
/third_party/node/deps/googletest/include/gtest/internal/ |
H A D | gtest-type-util.h | 40 #include <string> 61 inline std::string CanonicalizeForStdLibVersioning(std::string s) { in CanonicalizeForStdLibVersioning() 64 std::string::size_type end = s.find("::", strlen(prefix)); in CanonicalizeForStdLibVersioning() 79 if (pos == std::string::npos) { in CanonicalizeForStdLibVersioning() 91 inline std::string GetTypeName(const std::type_info& type) { in GetTypeName() 101 const std::string name_str(status == 0 ? readable_name : name); in GetTypeName() 109 std::string s = name; in GetTypeName() 129 std::string GetTypeName() { in GetTypeName()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/amber/ |
H A D | vktAmberTestCaseUtil.cpp | 35 std::string m_str; 107 std::string indexFilename("vulkan/amber/"); in AmberIndexFileParser() 151 std::string testFilename("vulkan/amber/"); in parse() 177 void createAmberTestsFromIndexFile (tcu::TestContext& testCtx, tcu::TestCaseGroup* group, const std::string filename, const char* category) in createAmberTestsFromIndexFile() 195 const std::string& filename, in createAmberTestCase() 196 const std::vector<std::string> requirements, in createAmberTestCase() 206 const std::string& filename, in createAmberTestCase() 207 const std::vector<std::string> requirements, in createAmberTestCase() 213 std::string readFilename("vulkan/amber/"); in createAmberTestCase()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/ |
H A D | vktTestGroupUtil.hpp | 39 const std::string& name, in TestGroupHelper0() 76 const std::string& name, in TestGroupHelper1() 103 const std::string& name, in TestGroupHelper2() 126 const std::string& name, in createTestGroup() 135 const std::string& name, in createTestGroup() 144 const std::string& name, in createTestGroup() 154 const std::string& name, in addTestGroup() 162 const std::string& name, in addTestGroup() 172 const std::string& name, in addTestGroup()
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/ |
H A D | Debug.h | 18 #include <string> 29 virtual void setLabel(const Context *context, const std::string &label) = 0; 30 virtual const std::string &getLabel() const = 0; 55 const std::string &message, 62 std::string &&message, 82 void pushGroup(GLenum source, GLuint id, std::string &&message); 100 std::string message; 124 std::string message; 163 const std::string &message) const;
|
/third_party/vk-gl-cts/external/openglcts/modules/glesext/texture_buffer/ |
H A D | esextcTextureBufferOperations.hpp | 282 std::string getComputeShaderCode(void) const; 283 std::string getFragmentShaderCode(void) const; 284 std::string getVertexShaderCode(void) const; 365 std::string getFBFragmentShaderCode() const; 366 std::string getFBVertexShaderCode() const; 396 std::string getTFVertexShaderCode() const; 397 std::string getTFFragmentShaderCode() const; 427 std::string getISComputeShaderCode() const; 456 std::string getSSBOComputeShaderCode() const;
|
/third_party/skia/third_party/externals/spirv-tools/test/ |
H A D | name_mapper_test.cpp | 15 #include <string> 38 std::string assembly; // Input assembly text 40 std::string expected_name; 126 // An empty string is not valid for SPIR-V assembly IDs. 210 NameIdCase BuiltInCase(std::string assembly_name, std::string expected) { in BuiltInCase() 211 return NameIdCase{std::string("OpDecorate %1 BuiltIn ") + assembly_name + in BuiltInCase() 218 NameIdCase BuiltInCase(std::string assembly_name) { in BuiltInCase() 225 NameIdCase BuiltInGLCase(std::string assembly_name) { in BuiltInGLCase() 226 return BuiltInCase(assembly_name, std::string("gl in BuiltInGLCase() [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/test/ |
H A D | name_mapper_test.cpp | 15 #include <string> 38 std::string assembly; // Input assembly text 40 std::string expected_name; 126 // An empty string is not valid for SPIR-V assembly IDs. 210 NameIdCase BuiltInCase(std::string assembly_name, std::string expected) { in BuiltInCase() 211 return NameIdCase{std::string("OpDecorate %1 BuiltIn ") + assembly_name + in BuiltInCase() 218 NameIdCase BuiltInCase(std::string assembly_name) { in BuiltInCase() 225 NameIdCase BuiltInGLCase(std::string assembly_name) { in BuiltInGLCase() 226 return BuiltInCase(assembly_name, std::string("gl in BuiltInGLCase() [all...] |
/third_party/skia/third_party/externals/angle2/src/tests/test_utils/runner/android/ |
H A D | AngleNativeTest.cpp | 14 #include <string.h> 54 std::string ASCIIJavaStringToUTF8(JNIEnv *env, jstring str) in ASCIIJavaStringToUTF8() 72 std::string out(chars, chars + length); in ASCIIJavaStringToUTF8() 77 size_t ArgsToArgv(const std::vector<std::string> &args, std::vector<char *> *argv) in ArgsToArgv() 125 const std::string commandLineFlags(ASCIIJavaStringToUTF8(env, jcommandLineFlags)); in Java_com_android_angle_test_AngleNativeTest_nativeRunTests() 126 const std::string commandLineFilePath(ASCIIJavaStringToUTF8(env, jcommandLineFilePath)); in Java_com_android_angle_test_AngleNativeTest_nativeRunTests() 127 const std::string stdoutFilePath(ASCIIJavaStringToUTF8(env, jstdoutFilePath)); in Java_com_android_angle_test_AngleNativeTest_nativeRunTests() 129 std::vector<std::string> args; in Java_com_android_angle_test_AngleNativeTest_nativeRunTests() 136 std::string commandLineString; in Java_com_android_angle_test_AngleNativeTest_nativeRunTests()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Support/ |
H A D | Regex.cpp | 17 #include <string> 57 /// Utility to convert a regex error code into a human-readable string. 59 std::string &Error) { in RegexErrorToString() 68 bool Regex::isValid(std::string &Error) const { in isValid() 83 std::string *Error) const { in match() 132 std::string Regex::sub(StringRef Repl, StringRef String, in sub() 133 std::string *Error) const { in sub() 140 // Otherwise splice in the replacement string, starting with the prefix before in sub() 142 std::string Res(String.begin(), Matches[0].begin()); in sub() 144 // Then the replacement string, honorin in sub() [all...] |
/third_party/skia/third_party/externals/tint/src/diagnostic/ |
H A D | diagnostic.h | 18 #include <string> 62 std::string message; 125 const std::string& note_msg, in add_note() 140 const std::string& warning_msg, in add_warning() 153 void add_error(System system, std::string err_msg) { in add_error() 165 void add_error(System system, std::string err_msg, const Source& source) { in add_error() 182 std::string err_msg, in add_error() 198 const std::string& err_msg, in add_ice() 220 /// @returns a formatted string of all the diagnostics in this list. 221 std::string st [all...] |
/third_party/skia/third_party/externals/tint/src/ |
H A D | source.h | 20 #include <string> 34 explicit FileContent(const std::string& data); 40 const std::string data; 42 const std::vector<std::string> lines; 51 inline File(const std::string& p, const std::string& c) in File() 57 const std::string path; 157 const std::string& path, in Source() 204 std::string file_path;
|
/third_party/skia/third_party/externals/tint/src/writer/ |
H A D | text_generator.cc | 30 std::string TextGenerator::UniqueIdentifier(const std::string& prefix) { in UniqueIdentifier() 34 std::string TextGenerator::StructName(const sem::Struct* s) { in StructName() 43 std::string TextGenerator::TrimSuffix(std::string str, in TrimSuffix() 44 const std::string& suffix) { in TrimSuffix() 77 void TextGenerator::TextBuffer::Append(const std::string& line) { in Append() 81 void TextGenerator::TextBuffer::Insert(const std::string& line, in Insert() 122 std::string TextGenerator::TextBuffer::String(uint32_t indent /* = 0 */) const { in String()
|
/third_party/typescript/tests/baselines/reference/ |
H A D | assignmentCompatWithObjectMembersAccessibility.js | 7 public foo: string; 11 foo: string; 14 var a: { foo: string; } 20 public foo: string; 24 private foo: string; 60 private foo: string; 66 var a: { foo: string; } 72 public foo: string; 76 private foo: string;
|
H A D | convertKeywordsYes.js | 18 var string = 0; variable 52 s3: string, 72 string: 0, 131 string; 190 public string = 0; 247 string, 324 var string = 0;
variable 344 string: 0,
401 this.string = 0;
460 bigEnum[bigEnum["string"] [all...] |
H A D | implementingAnInterfaceExtendingClassWithPrivates2.js | 3 private x: string; 15 x: string; 20 private x: string; 27 private x: string; 44 x: string; 49 private x: string; 57 private x: string; 78 x: string; 83 private x: string;
|
H A D | unionTypeInference.js | 3 declare const s: string; 4 declare const sn: string | number; 6 declare function f1<T>(x: T, y: string | T): T; 16 declare function f2<T>(value: [string, T]): T; 18 var b1 = f2(["string", true]); // boolean 20 declare function f3<T>(x: string | false | T): T; 28 declare function f4<T>(x: string & T): T; 51 declare function bar<T>(x: T, y: string | T): T; 63 const deepPromisedWithIndexer: DeepPromised<{ [name: string]: {} | null | undefined }> = deepPromised; 76 declare let xx: { a: string | undefine [all...] |
/third_party/skia/third_party/externals/abseil-cpp/absl/base/internal/ |
H A D | throw_delegate.cc | 42 void ThrowStdLogicError(const std::string& what_arg) { in ThrowStdLogicError() 58 void ThrowStdInvalidArgument(const std::string& what_arg) { in ThrowStdInvalidArgument() 75 void ThrowStdDomainError(const std::string& what_arg) { in ThrowStdDomainError() 92 void ThrowStdLengthError(const std::string& what_arg) { in ThrowStdLengthError() 109 void ThrowStdOutOfRange(const std::string& what_arg) { in ThrowStdOutOfRange() 126 void ThrowStdRuntimeError(const std::string& what_arg) { in ThrowStdRuntimeError() 143 void ThrowStdRangeError(const std::string& what_arg) { in ThrowStdRangeError() 160 void ThrowStdOverflowError(const std::string& what_arg) { in ThrowStdOverflowError() 177 void ThrowStdUnderflowError(const std::string& what_arg) { in ThrowStdUnderflowError()
|
/third_party/spirv-tools/test/ |
H A D | name_mapper_test.cpp | 15 #include <string> 38 std::string assembly; // Input assembly text 40 std::string expected_name; 126 // An empty string is not valid for SPIR-V assembly IDs. 210 NameIdCase BuiltInCase(std::string assembly_name, std::string expected) { in BuiltInCase() 211 return NameIdCase{std::string("OpDecorate %1 BuiltIn ") + assembly_name + in BuiltInCase() 218 NameIdCase BuiltInCase(std::string assembly_name) { in BuiltInCase() 225 NameIdCase BuiltInGLCase(std::string assembly_name) { in BuiltInGLCase() 226 return BuiltInCase(assembly_name, std::string("gl in BuiltInGLCase() [all...] |
/third_party/spirv-tools/test/opt/ |
H A D | feature_manager_test.cpp | 29 const std::string text = R"( in TEST_F() 43 const std::string text = R"( in TEST_F() 58 const std::string text = R"( in TEST_F() 73 const std::string text = R"( in TEST_F() 91 const std::string text = R"( in TEST_F() 111 const std::string text = R"( in TEST_F() 127 const std::string text = R"( in TEST_F() 143 const std::string text = R"( in TEST_F() 165 const std::string text = R"( in TEST_F()
|