Home
last modified time | relevance | path

Searched refs:borrowed (Results 1 – 25 of 106) sorted by relevance

12345

/external/rust/cxx/tests/ui/
Dexpected_named.stderr4 5 | fn borrowed() -> UniquePtr<Borrowed>;
7 …= help: this function's return type contains a borrowed value, but there is no value for it to be
10 5 | fn borrowed() -> UniquePtr<Borrowed<'static>>;
Dunsupported_elided.stderr13 …tion's return type contains a borrowed value, but the signature does not say which one of `t`'s 2 …
Dexpected_named.rs5 fn borrowed() -> UniquePtr<Borrowed>; in borrowed() function
/external/rust/crates/nix/src/sys/
Daio.rs118 let borrowed : &dyn Borrow<[u8]> = bs.borrow(); in fmt() localVariable
120 borrowed as *const dyn Borrow<[u8]>) in fmt()
123 let borrowed : &dyn BorrowMut<[u8]> = bms.borrow(); in fmt() localVariable
125 borrowed as *const dyn BorrowMut<[u8]>) in fmt()
443 let borrowed : &dyn Borrow<[u8]> = buf.borrow(); in from_boxed_slice() localVariable
444 let slice : &[u8] = borrowed.borrow(); in from_boxed_slice()
509 let borrowed : &mut dyn BorrowMut<[u8]> = buf.borrow_mut(); in from_boxed_mut_slice() localVariable
510 let slice : &mut [u8] = borrowed.borrow_mut(); in from_boxed_mut_slice()
/external/llvm-project/lldb/source/Plugins/ScriptInterpreter/Python/
DPythonDataObjects.cpp1135 OwnedPythonFile(const PythonFile &file, bool borrowed, Args... args) in OwnedPythonFile() argument
1136 : Base(args...), m_py_obj(file), m_borrowed(borrowed) { in OwnedPythonFile()
1196 SimplePythonFile(const PythonFile &file, bool borrowed, int fd, in SimplePythonFile() argument
1198 : OwnedPythonFile(file, borrowed, fd, options, false) {} in SimplePythonFile()
1249 PythonIOFile(const PythonFile &file, bool borrowed) in PythonIOFile() argument
1250 : OwnedPythonFile(file, borrowed) {} in PythonIOFile()
1295 BinaryPythonFile(int fd, const PythonFile &file, bool borrowed) in BinaryPythonFile() argument
1296 : PythonIOFile(file, borrowed), in BinaryPythonFile()
1349 TextPythonFile(int fd, const PythonFile &file, bool borrowed) in TextPythonFile() argument
1350 : PythonIOFile(file, borrowed), in TextPythonFile()
[all …]
/external/perfetto/src/profiling/memory/
Dunwinding_unittest.cc182 auto borrowed = a.BorrowAllocRecord(); in TEST() local
183 EXPECT_NE(borrowed, nullptr); in TEST()
184 a.ReturnAllocRecord(std::move(borrowed)); in TEST()
/external/rust/crates/rusqlite/src/types/
Dvalue_ref.rs76 fn from(borrowed: ValueRef<'_>) -> Value { in from()
77 match borrowed { in from()
/external/rust/crates/anyhow/tests/ui/
Dtemporary-value.stderr1 error[E0716]: temporary value dropped while borrowed
/external/rust/crates/serde_json/src/
Draw.rs172 let borrowed = crate::from_str::<&Self>(&json)?; in from_string() localVariable
173 if borrowed.json.len() < json.len() { in from_string()
174 return Ok(borrowed.to_owned()); in from_string()
/external/autotest/client/tests/tsc/
Dcontrol9 between pairs of CPUs on an SMP system using a technique borrowed
/external/rust/crates/serde_derive/src/
Dde.rs34 let delife = params.borrowed.de_lifetime(); in expand_derive_deserialize()
123 borrowed: BorrowedLifetimes, field
137 let borrowed = borrowed_lifetimes(cont); in new() localVariable
138 let generics = build_generics(cont, &borrowed); in new()
145 borrowed, in new()
160 fn build_generics(cont: &Container, borrowed: &BorrowedLifetimes) -> syn::Generics { in build_generics()
180 let delife = borrowed.de_lifetime(); in build_generics()
330 let delife = params.borrowed.de_lifetime(); in deserialize_in_place_body()
444 let delife = params.borrowed.de_lifetime(); in deserialize_tuple()
545 let delife = params.borrowed.de_lifetime(); in deserialize_tuple_in_place()
[all …]
/external/skia/resources/sksl/dslfp/
DGrDSLFPTest_WhileStatement.fp1 // (This test code was largely borrowed from shared/WhileLoopControlFlow.sksl.)
DGrDSLFPTest_DoStatement.fp3 // (This test code was largely borrowed from shared/DoWhileControlFlow.sksl.)
DGrDSLFPTest_ForStatement.fp3 // (This test code was largely borrowed from shared/ForLoopControlFlow.sksl.)
/external/rust/crates/pin-project/tests/ui/pin_project/
Dproject_replace_unsized.stderr11 help: function arguments must have a statically known size, borrowed types always have a known size
46 help: function arguments must have a statically known size, borrowed types always have a known size
/external/autotest/client/tests/tsc/src/
DREADME2 between pairs of CPUs on an SMP system using a technique borrowed
/external/tflite-support/tensorflow_lite_support/tools/ci_build/
Dcommon_win.bat16 :: This script is shamefully borrowed from:
/external/rust/crates/downcast-rs/
DCHANGELOG.md51 - Downcast functionality to downcast borrowed mutable and immutable trait
/external/rust/crates/quote/tests/
Dtest.rs331 let borrowed = Cow::Borrowed(&ident); in test_cow() localVariable
333 let tokens = quote! { #owned #borrowed }; in test_cow()
/external/rust/crates/peeking_take_while/
DREADME.md8 differently when used with a borrowed iterator (perhaps returned by
/external/llvm-project/lldb/bindings/python/
Dpython-typemaps.swig413 auto sp = unwrapOrSetPythonException(py_file.ConvertToFile(/*borrowed=*/true));
425 …unwrapOrSetPythonException(py_file.ConvertToFileForcingUseOfScriptingIOMethods(/*borrowed=*/true));
475 // created this as a borrowed reference.
/external/autotest/frontend/client/src/autotest/public/
Dstandard.css1 /* Styles borrowed from GWT standard theme CSS */
/external/python/cpython3/Doc/extending/
Dextending.rst650 *borrowed* references; do not decrement their reference count!
945 not hold on to the object longer than the owner from which it was borrowed.
946 Using a borrowed reference after the owner has disposed of it risks using freed
951 --- in other words, with a borrowed reference you don't run the risk of leaking
953 that there are some subtle situations where in seemingly correct code a borrowed
954 reference can be used after the owner from which it was borrowed has in fact
957 A borrowed reference can be changed into an owned reference by calling
959 reference was borrowed --- it creates a new owned reference, and gives full
988 The function :c:func:`PyImport_AddModule` also returns a borrowed reference, even
1001 from the caller. The caller owns a reference to the object, so the borrowed
[all …]
/external/python/cpython2/Doc/extending/
Dextending.rst603 *borrowed* references; do not decrement their reference count!
891 not hold on to the object longer than the owner from which it was borrowed.
892 Using a borrowed reference after the owner has disposed of it risks using freed
897 --- in other words, with a borrowed reference you don't run the risk of leaking
899 that there are some subtle situations where in seemingly correct code a borrowed
900 reference can be used after the owner from which it was borrowed has in fact
903 A borrowed reference can be changed into an owned reference by calling
905 reference was borrowed --- it creates a new owned reference, and gives full
934 The function :c:func:`PyImport_AddModule` also returns a borrowed reference, even
947 from the caller. The caller owns a reference to the object, so the borrowed
[all …]
/external/python/cpython2/Doc/c-api/
Dweakref.rst72 This function returns a **borrowed reference** to the referenced object.

12345