/third_party/typescript/tests/baselines/reference/ |
H A D | typeofThis.js | 97 a?: { b?: string } 102 let a: typeof this.a = undefined as any; // should narrow to { b?: string } 106 let b: typeof this.a.b = undefined as any; // should narrow to string 113 this?: { x?: string }; 120 let y: string = o.this.x; // should narrow to string 244 var a_1 = undefined; // should narrow to { b?: string }
247 var b_1 = undefined; // should narrow to string
260 var y = o["this"].x; // should narrow to string
|
/third_party/protobuf/src/google/protobuf/ |
H A D | implicit_weak_message.h | 34 #include <string> 64 std::string GetTypeName() const override { return ""; } 94 std::string data_;
|
/third_party/protobuf/src/google/protobuf/stubs/ |
H A D | bytestream.h | 43 // StringByteSink Writes to an STL string 47 // ArrayByteSource Reads from an array or string/StringPiece 54 #include <string> 72 // string my_data; 212 // and expands it as needed to accommodate appended data (similar to a string), 247 // Implementation of ByteSink that appends to the given string. 252 // string dest = "Hello "; 259 explicit StringByteSink(string* dest) : dest_(dest) {} in StringByteSink() 263 string* dest_; 291 // string dat [all...] |
/third_party/rust/crates/clap/clap_complete/src/shells/ |
H A D | fish.rs | 29 // Escape string inside single quotes 30 fn escape_string(string: &str, escape_comma: bool) -> String { in escape_string() 31 let string = string.replace('\\', "\\\\").replace('\'', "\\'"); in escape_string() 33 string.replace(',', "\\,") in escape_string() 35 string in escape_string() 188 // single string (CommandString). Complete just the command name. in value_completion()
|
/third_party/skia/third_party/externals/abseil-cpp/absl/container/ |
H A D | btree_test.h | 21 #include <string> 95 struct Generator<std::string> { 98 std::string operator()(int i) const { in operator ()()
|
/third_party/skia/third_party/externals/abseil-cpp/absl/container/internal/ |
H A D | hash_generator_testing.h | 106 struct Generator<std::string> { 107 std::string operator()() const; 118 return NonStandardLayout(Generator<std::string>()()); in operator ()()
|
/third_party/skia/third_party/externals/abseil-cpp/absl/strings/ |
H A D | ascii_benchmark.cc | 18 #include <string> 104 std::string s(size, 'X'); in BM_StrToLower() 113 std::string s(size, 'x'); in BM_StrToUpper()
|
/third_party/skia/third_party/externals/abseil-cpp/absl/time/internal/cctz/src/ |
H A D | time_zone_posix.cc | 20 #include <string> 51 const char* ParseAbbr(const char* p, std::string* abbr) { in ParseAbbr() 136 bool ParsePosixSpec(const std::string& spec, PosixTimeZone* res) { in ParsePosixSpec()
|
/third_party/skia/gm/ |
H A D | orientation.cpp | 79 auto drawLabel = [&](const char* string, SkScalar x, SkScalar y) { in make_images() 82 canvas->drawString(string, x, y, font, blurPaint); in make_images() 84 canvas->drawString(string, x, y, font, paint); in make_images()
|
/third_party/rust/crates/minimal-lexical/etc/correctness/test-parse-unittests/ |
H A D | main.rs | 207 fn run_test(string: &str, hex: &str) { in run_test() 209 let lower = string.to_lowercase(); in run_test() 211 let float: f64 = parse_float(string.as_bytes()).0; in run_test()
|
/third_party/rust/crates/syn/tests/debug/ |
H A D | mod.rs | 73 let string = self.value.to_string(); in fmt() 74 if string.len() <= 80 { in fmt() 79 .field(&format_args!("`{}`", string)) in fmt()
|
/third_party/spirv-tools/source/ |
H A D | text_handler.h | 21 #include <string> 145 spv_result_t getWord(std::string* word, spv_position next_position); 189 // Appends the given string to the given instruction. 243 using spv_named_id_table = std::unordered_map<std::string, uint32_t>;
|
/third_party/spirv-tools/test/fuzz/ |
H A D | transformation_add_constant_boolean_test.cpp | 26 std::string shader = R"( in TEST() 133 std::string after_transformation = R"( in TEST() 160 std::string shader = R"( in TEST()
|
H A D | transformation_add_image_sample_unused_components_test.cpp | 27 std::string shader = R"( in TEST() 153 std::string reference_shader = R"( in TEST() 212 std::string variant_shader = R"( in TEST()
|
H A D | transformation_add_type_int_test.cpp | 26 std::string reference_shader = R"( in TEST() 114 std::string reference_shader = R"( in TEST() 182 std::string variant_shader = R"( in TEST()
|
H A D | transformation_replace_copy_object_with_store_load_test.cpp | 26 std::string reference_shader = R"( in TEST() 146 std::string after_transformation = R"( in TEST() 205 std::string reference_shader = R"( in TEST()
|
H A D | transformation_replace_parameter_with_global_test.cpp | 26 std::string shader = R"( in TEST() 209 std::string expected_shader = R"( in TEST() 307 std::string shader = R"( in TEST()
|
/third_party/spirv-tools/test/opt/ |
H A D | propagator_test.cpp | 41 void Assemble(const std::string& input) { in Assemble() 70 const std::string spv_asm = R"( in TEST_F() 127 const std::string spv_asm = R"( in TEST_F()
|
/third_party/spirv-tools/test/ |
H A D | text_advance_test.cpp | 15 #include <string> 82 std::string input = "; comment|padding beyond the end"; in TEST() 135 std::string lots_of_spaces(10000, ' '); in TEST()
|
/third_party/spirv-tools/test/val/ |
H A D | val_non_semantic_test.cpp | 17 #include <string> 175 const std::string spirv = R"( in TEST_F() 194 const std::string spirv = R"( in TEST_F()
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/pipeline/ |
H A D | vktPipelineMultisampleBase.hpp | 78 const std::string& name, in MultisampleCaseBase() 99 typedef MultisampleCaseBase* (*MultisampleCaseFuncPtr)(tcu::TestContext& testCtx, const std::string& name, const ImageMSParams& imageMSParams); 153 const std::string groupName, in makeMSGroup()
|
/third_party/vk-gl-cts/framework/common/ |
H A D | tcuTestCase.cpp | 77 void TestNode::addRootChild (const std::string& groupName, const CaseListFilter* caseListFilter, TestCaseGroup* (*createTestGroup)(tcu::TestContext& testCtx, const std::string& name)) in addRootChild() 94 throw tcu::InternalError(std::string("Test case with non-unique name '") + node->getName() + "' added to group '" + getName() + "'."); in addChild()
|
H A D | tcuThreadUtil.hpp | 119 const std::string& getMessage (void) const { return m_message; } in getMessage() 125 std::string m_message; 190 void pushMessage (const std::string& str);
|
/third_party/vk-gl-cts/framework/randomshaders/ |
H A D | rsgVariableType.hpp | 29 #include <string> 128 std::string m_name; 171 std::string m_typeName;
|
/third_party/vk-gl-cts/modules/egl/ |
H A D | teglSimpleConfigCase.cpp | 38 using std::string; 197 const string name = string(s_colorRules[colorRuleNdx].name) + "_" + s_depthRules[depthRuleNdx].name + "_" + s_stencilRules[stencilRuleNdx].name; in getDefaultFilterLists()
|