/third_party/rust/crates/proc-macro2/src/ |
H A D | fallback.rs | 329 source_text: String::new(), 339 source_text: String, 369 fn source_text(&mut self, span: Span) -> String { in source_text() functions 384 let total_byte_offset = match self.source_text[last_byte_offset..] in source_text() 389 None => self.source_text.len(), in source_text() 396 let trunc_lo = &self.source_text[lo_byte..]; in source_text() 398 let source_text = match trunc_lo.char_indices().nth(char_len) { in source_text() 402 source_text.to_owned() in source_text() 447 source_text: src.to_owned(), in add_file() 450 // Populated lazily by source_text() in add_file() 598 pub fn source_text(&self) -> Option<String> { source_text() functions 603 pub fn source_text(&self) -> Option<String> { source_text() functions [all...] |
H A D | wrapper.rs | 498 pub fn source_text(&self) -> Option<String> { in source_text() functions 501 Span::Compiler(s) => s.source_text(), in source_text() 504 Span::Fallback(s) => s.source_text(), in source_text()
|
H A D | lib.rs | 534 pub fn source_text(&self) -> Option<String> { in source_text() functions 535 self.inner.source_text() in source_text()
|
/third_party/node/deps/v8/src/builtins/ |
H A D | builtins-shadow-realms.cc | 92 Handle<Object> source_text = args.atOrUndefined(isolate, 1); in BUILTIN() local 106 if (!source_text->IsString()) { in BUILTIN() 128 source_text); in BUILTIN()
|
/third_party/googletest/googlemock/include/gmock/ |
H A D | gmock-spec-builders.h | 684 // source_text is the EXPECT_CALL(...) source that created this Expectation. 685 ExpectationBase(const char* file, int line, const std::string& source_text); 692 const char* source_text() const { return source_text_.c_str(); } 1194 ss << "Actions ran out in " << source_text() << "...\n" 1248 *what << "call matches " << source_text() << "...\n"; 1306 const std::string source_text(std::string("EXPECT_CALL(") + obj + ", " + 1308 LogWithLocation(internal::kInfo, file, line, source_text + " invoked"); 1309 return function_mocker_->AddNewExpectation(file, line, source_text, 1533 const std::string& source_text, 1538 new TypedExpectation<F>(this, file, line, source_text, [all...] |
/third_party/rust/crates/proc-macro2/tests/ |
H A D | test.rs | 322 assert_eq!(subspan.unwrap().source_text().unwrap(), "."); in literal_span() 330 fn source_text() { in source_text() functions 338 assert_eq!("?", first.span().source_text().unwrap()); in source_text() 342 assert_eq!("z", third.span().source_text().unwrap()); in source_text() 343 assert_eq!("a", second.span().source_text().unwrap()); in source_text()
|
/third_party/googletest/googlemock/src/ |
H A D | gmock-spec-builders.cc | 250 << source_text() << "...\n" in GTEST_LOCK_EXCLUDED_() 419 ss << "call count doesn't match " << untyped_expectation->source_text() in GTEST_EXCLUSIVE_LOCK_REQUIRED_()
|
/third_party/skia/third_party/externals/spirv-tools/test/ |
H A D | binary_to_text_test.cpp | 160 std::string source_text; member 169 EXPECT_THAT(EncodeSuccessfullyDecodeFailed(GetParam().source_text, in TEST_P()
|
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/test/ |
H A D | binary_to_text_test.cpp | 160 std::string source_text; member 169 EXPECT_THAT(EncodeSuccessfullyDecodeFailed(GetParam().source_text, in TEST_P()
|
/third_party/spirv-tools/test/ |
H A D | binary_to_text_test.cpp | 171 std::string source_text; member 180 EXPECT_THAT(EncodeSuccessfullyDecodeFailed(GetParam().source_text, in TEST_P()
|
/third_party/node/deps/v8/include/v8-include/ |
H A D | v8-script.h | 549 void SourceTextAvailable(Isolate* isolate, Local<String> source_text,
|
/third_party/node/src/ |
H A D | module_wrap.cc | 185 Local<String> source_text = args[2].As<String>(); in New() local 197 ScriptCompiler::Source source(source_text, origin, cached_data); in New()
|
/third_party/node/deps/v8/src/d8/ |
H A D | d8.cc | 1025 MaybeLocal<String> source_text = ReadFile(isolate, file_name.c_str(), false); in FetchModuleTree() local 1026 if (source_text.IsEmpty() && options.fuzzy_module_file_extensions) { in FetchModuleTree() 1028 source_text = ReadFile(isolate, fallback_file_name.c_str(), false); in FetchModuleTree() 1029 if (source_text.IsEmpty()) { in FetchModuleTree() 1031 source_text = ReadFile(isolate, fallback_file_name.c_str()); in FetchModuleTree() 1036 if (source_text.IsEmpty()) { in FetchModuleTree() 1056 ScriptCompiler::Source source(source_text.ToLocalChecked(), origin); in FetchModuleTree() 1057 if (!CompileString<Module>(isolate, context, source_text.ToLocalChecked(), in FetchModuleTree() 1064 if (!v8::JSON::Parse(context, source_text.ToLocalChecked()) in FetchModuleTree()
|