Home
last modified time | relevance | path

Searched refs:borrow (Results 1 – 9 of 9) sorted by relevance

/haiku/src/tests/kits/net/netservices2/
H A DExclusiveBorrowTest.cpp87 auto borrow = BBorrow<DeleteTestHelper>(object); in ObjectDeleteTest() local
96 auto borrow = BBorrow<DeleteTestHelper>(nullptr); in ObjectDeleteTest() local
99 borrow = BBorrow<DeleteTestHelper>(object); in ObjectDeleteTest()
113 auto borrow = BBorrow<int>(ownedObject); in OwnershipTest() local
122 std::ignore = *borrow == 1; in OwnershipTest()
136 borrow = BBorrow<int>(nullptr); in OwnershipTest()
137 std::ignore = *borrow == 1; in OwnershipTest()
172 auto borrow = BBorrow<int>(ownedObject); in ReleaseTest() local
/haiku/src/libs/mapm/
H A Dmapm_add.c188 borrow, adigits, bdigits; in m_apm_subtract() local
273 borrow = 0; in m_apm_subtract()
278 itmp = (int)r->m_apm_data[j] - ((int)M_work2->m_apm_data[j] + borrow); in m_apm_subtract()
283 borrow = 0; in m_apm_subtract()
288 borrow = 1; in m_apm_subtract()
299 borrow = 0; in m_apm_subtract()
304 itmp = (int)r->m_apm_data[j] - ((int)M_work1->m_apm_data[j] + borrow); in m_apm_subtract()
309 borrow = 0; in m_apm_subtract()
314 borrow = 1; in m_apm_subtract()
H A Dmapmfmul.c603 int k, jtmp, sflag, nb, borrow; in M_fmul_subtract() local
635 borrow = 0; in M_fmul_subtract()
642 jtmp = (int)a[k] - ((int)b[k] + borrow); in M_fmul_subtract()
644 jtmp = (int)b[k] - ((int)a[k] + borrow); in M_fmul_subtract()
649 borrow = 0; in M_fmul_subtract()
654 borrow = 1; in M_fmul_subtract()
/haiku/src/system/libroot/posix/stdlib/
H A Dstrtod.c774 Long borrow, y; /* We need signed shifts here. */ in diff() local
803 borrow = 0; in diff()
806 y = (*xa & 0xffff) - (*xb & 0xffff) + borrow; in diff()
807 borrow = y >> 16; in diff()
808 Sign_Extend(borrow, y); in diff()
809 z = (*xa++ >> 16) - (*xb++ >> 16) + borrow; in diff()
810 borrow = z >> 16; in diff()
811 Sign_Extend(borrow, z); in diff()
815 y = (*xa & 0xffff) + borrow; in diff()
816 borrow = y >> 16; in diff()
[all …]
/haiku/docs/user/netservices/
H A DExclusiveBorrow.dox46 \brief Get a pointer to the message describing the borrow error.
221 underlying object, until the borrow is returned. The borrow can access the object as long as
222 they retain the borrow. The borrow is returned by the borrow object going out of scope, or by
223 the borrow object being assigned a \c nullptr object. At that stage, the original owner regains
233 // Create a borrow.
234 BBorrow<BString> borrow = BBorrow<BString>(owner);
245 // This error will be thrown because there cannot be more than one borrow at a time.
248 // The `borrow` has exclusive access to the underlying BString object
249 borrow->SetTo("A value set by the borrower");
251 // The borrow is returned by explicitly setting it to `nullptr` or by having the object go out
[all …]
H A DHttpSession.dox174 must be wrapped in a \ref BBorrow object. This means that you exclusively borrow the
/haiku/data/system/data/fortunes/
H A DOne Liners849 Never call a man a fool; borrow from him.
H A DSongs & Poems351 Beg, borrow or steal, And everything under the sun is
/haiku/src/apps/mail/
H A Dwords7264 borrow/DGRSZ