/external/llvm-project/libc/test/src/string/ |
D | strtok_r_test.cpp | 15 char *reserve = nullptr; in TEST() local 16 ASSERT_STREQ(__llvm_libc::strtok_r(empty, "", &reserve), nullptr); in TEST() 18 ASSERT_STREQ(__llvm_libc::strtok_r(empty, "", &reserve), nullptr); in TEST() 19 ASSERT_STREQ(__llvm_libc::strtok_r(nullptr, "", &reserve), nullptr); in TEST() 23 char *reserve = nullptr; in TEST() local 24 ASSERT_STREQ(__llvm_libc::strtok_r(empty, "_", &reserve), nullptr); in TEST() 26 ASSERT_STREQ(__llvm_libc::strtok_r(empty, "_", &reserve), nullptr); in TEST() 27 ASSERT_STREQ(__llvm_libc::strtok_r(nullptr, "_", &reserve), nullptr); in TEST() 31 char *reserve = nullptr; in TEST() local 32 ASSERT_STREQ(__llvm_libc::strtok_r(single, "_", &reserve), nullptr); in TEST() [all …]
|
/external/llvm-project/llvm/test/CodeGen/RISCV/ |
D | reserved-regs.ll | 1 ; RUN: llc -mtriple=riscv32 -mattr=+reserve-x3 -verify-machineinstrs < %s | FileCheck %s -check-pre… 2 ; RUN: llc -mtriple=riscv64 -mattr=+reserve-x3 -verify-machineinstrs < %s | FileCheck %s -check-pre… 3 ; RUN: llc -mtriple=riscv32 -mattr=+reserve-x4 -verify-machineinstrs < %s | FileCheck %s -check-pre… 4 ; RUN: llc -mtriple=riscv64 -mattr=+reserve-x4 -verify-machineinstrs < %s | FileCheck %s -check-pre… 5 ; RUN: llc -mtriple=riscv32 -mattr=+reserve-x5 -verify-machineinstrs < %s | FileCheck %s -check-pre… 6 ; RUN: llc -mtriple=riscv64 -mattr=+reserve-x5 -verify-machineinstrs < %s | FileCheck %s -check-pre… 7 ; RUN: llc -mtriple=riscv32 -mattr=+reserve-x6 -verify-machineinstrs < %s | FileCheck %s -check-pre… 8 ; RUN: llc -mtriple=riscv64 -mattr=+reserve-x6 -verify-machineinstrs < %s | FileCheck %s -check-pre… 9 ; RUN: llc -mtriple=riscv32 -mattr=+reserve-x7 -verify-machineinstrs < %s | FileCheck %s -check-pre… 10 ; RUN: llc -mtriple=riscv64 -mattr=+reserve-x7 -verify-machineinstrs < %s | FileCheck %s -check-pre… [all …]
|
D | reserved-reg-errors.ll | 1 ; RUN: not llc -mtriple=riscv32 -mattr=+reserve-x1 < %s 2>&1 | FileCheck %s -check-prefix=X1 2 ; RUN: not llc -mtriple=riscv64 -mattr=+reserve-x1 < %s 2>&1 | FileCheck %s -check-prefix=X1 3 ; RUN: not llc -mtriple=riscv32 -mattr=+reserve-x2 < %s 2>&1 | FileCheck %s -check-prefix=X2 4 ; RUN: not llc -mtriple=riscv64 -mattr=+reserve-x2 < %s 2>&1 | FileCheck %s -check-prefix=X2 5 ; RUN: not llc -mtriple=riscv32 -mattr=+reserve-x8 < %s 2>&1 | FileCheck %s -check-prefix=X8 6 ; RUN: not llc -mtriple=riscv64 -mattr=+reserve-x8 < %s 2>&1 | FileCheck %s -check-prefix=X8 7 ; RUN: not llc -mtriple=riscv32 -mattr=+reserve-x10 < %s 2>&1 | FileCheck %s -check-prefix=X10 8 ; RUN: not llc -mtriple=riscv64 -mattr=+reserve-x10 < %s 2>&1 | FileCheck %s -check-prefix=X10 9 ; RUN: llc -mtriple=riscv32 -mattr=+reserve-x11 < %s 2>&1 | FileCheck %s -check-prefix=X11 10 ; RUN: llc -mtriple=riscv32 -mattr=+reserve-x11 < %s 2>&1 | FileCheck %s -check-prefix=X11
|
/external/llvm-project/llvm/test/CodeGen/AArch64/ |
D | arm64-platform-reg.ll | 1 ; RUN: llc -mtriple=arm64-apple-ios -mattr=+reserve-x18 -o - %s | FileCheck %s --check-prefix=CHECK… 2 ; RUN: llc -mtriple=arm64-freebsd-gnu -mattr=+reserve-x18 -o - %s | FileCheck %s --check-prefix=CHE… 8 ; Test reserve-x# options individually. 9 ; RUN: llc -mtriple=arm64-linux-gnu -mattr=+reserve-x1 -o - %s | FileCheck %s --check-prefixes=CHEC… 10 ; RUN: llc -mtriple=arm64-linux-gnu -mattr=+reserve-x2 -o - %s | FileCheck %s --check-prefixes=CHEC… 11 ; RUN: llc -mtriple=arm64-linux-gnu -mattr=+reserve-x3 -o - %s | FileCheck %s --check-prefixes=CHEC… 12 ; RUN: llc -mtriple=arm64-linux-gnu -mattr=+reserve-x4 -o - %s | FileCheck %s --check-prefixes=CHEC… 13 ; RUN: llc -mtriple=arm64-linux-gnu -mattr=+reserve-x5 -o - %s | FileCheck %s --check-prefixes=CHEC… 14 ; RUN: llc -mtriple=arm64-linux-gnu -mattr=+reserve-x6 -o - %s | FileCheck %s --check-prefixes=CHEC… 15 ; RUN: llc -mtriple=arm64-linux-gnu -mattr=+reserve-x7 -o - %s | FileCheck %s --check-prefixes=CHEC… [all …]
|
D | arm64-reserve-call-saved-reg.ll | 1 ; RUN: llc -mtriple=arm64-linux-gnu -mattr=+reserve-x9 -mattr=+call-saved-x9 -o - %s | FileCheck %s… 2 ; RUN: llc -mtriple=arm64-linux-gnu -mattr=+reserve-x9 -mattr=+call-saved-x9 -global-isel -o - %s |… 3 ; RUN: llc -mtriple=arm64-linux-gnu -mattr=+reserve-x9 -mattr=+call-saved-x9 -fast-isel -o - %s | F… 5 ; RUN: llc -mtriple=arm64-linux-gnu -mattr=+reserve-x10 -mattr=+call-saved-x10 -o - %s | FileCheck … 6 ; RUN: llc -mtriple=arm64-linux-gnu -mattr=+reserve-x10 -mattr=+call-saved-x10 -global-isel -o - %s… 7 ; RUN: llc -mtriple=arm64-linux-gnu -mattr=+reserve-x10 -mattr=+call-saved-x10 -fast-isel -o - %s |… 9 ; RUN: llc -mtriple=arm64-linux-gnu -mattr=+reserve-x11 -mattr=+call-saved-x11 -o - %s | FileCheck … 10 ; RUN: llc -mtriple=arm64-linux-gnu -mattr=+reserve-x11 -mattr=+call-saved-x11 -global-isel -o - %s… 11 ; RUN: llc -mtriple=arm64-linux-gnu -mattr=+reserve-x11 -mattr=+call-saved-x11 -fast-isel -o - %s |… 13 ; RUN: llc -mtriple=arm64-linux-gnu -mattr=+reserve-x12 -mattr=+call-saved-x12 -o - %s | FileCheck … [all …]
|
D | speculation-hardening-sls.ll | 150 …reserve-x10,+reserve-x11,+reserve-x12,+reserve-x13,+reserve-x14,+reserve-x15,+reserve-x18,+reserve… 178 …reserve-x10,+reserve-x11,+reserve-x12,+reserve-x13,+reserve-x14,+reserve-x15,+reserve-x18,+reserve…
|
/external/skqp/src/core/ |
D | SkWriter32.h | 59 uint32_t* reserve(size_t size) { in reserve() function 102 *(int32_t*)this->reserve(sizeof(value)) = value & 0xFF; in write8() 106 *(int32_t*)this->reserve(sizeof(value)) = value & 0xFFFF; in write16() 110 *(int32_t*)this->reserve(sizeof(value)) = value; in write32() 116 memcpy(this->reserve(sizeof(value)), &value, sizeof(value)); in writePtr() 120 *(SkScalar*)this->reserve(sizeof(value)) = value; in writeScalar() 124 *(SkPoint*)this->reserve(sizeof(pt)) = pt; in writePoint() 128 *(SkPoint3*)this->reserve(sizeof(pt)) = pt; in writePoint3() 132 *(SkRect*)this->reserve(sizeof(rect)) = rect; in writeRect() 136 *(SkIRect*)this->reserve(sizeof(rect)) = rect; in writeIRect() [all …]
|
/external/libcxx/test/std/containers/sequences/vector/vector.capacity/ |
D | reserve.pass.cpp | 24 v.reserve(10); in main() 31 v.reserve(50); in main() 34 v.reserve(150); in main() 43 v.reserve(50); in main() 46 v.reserve(150); in main() 54 v.reserve(10); in main() 61 v.reserve(50); in main() 64 v.reserve(150); in main()
|
/external/llvm-project/libcxx/test/std/containers/sequences/vector/vector.capacity/ |
D | reserve.pass.cpp | 24 v.reserve(10); in main() 31 v.reserve(50); in main() 34 v.reserve(150); in main() 43 v.reserve(50); in main() 46 v.reserve(150); in main() 54 v.reserve(10); in main() 61 v.reserve(50); in main() 64 v.reserve(150); in main()
|
/external/skia/src/core/ |
D | SkWriter32.h | 59 uint32_t* reserve(size_t size) { in reserve() function 102 *(int32_t*)this->reserve(sizeof(value)) = value & 0xFF; in write8() 106 *(int32_t*)this->reserve(sizeof(value)) = value & 0xFFFF; in write16() 110 *(int32_t*)this->reserve(sizeof(value)) = value; in write32() 114 *(SkScalar*)this->reserve(sizeof(value)) = value; in writeScalar() 118 *(SkPoint*)this->reserve(sizeof(pt)) = pt; in writePoint() 122 *(SkPoint3*)this->reserve(sizeof(pt)) = pt; in writePoint3() 126 *(SkRect*)this->reserve(sizeof(rect)) = rect; in writeRect() 130 *(SkIRect*)this->reserve(sizeof(rect)) = rect; in writeIRect() 134 rrect.writeToMemory(this->reserve(SkRRect::kSizeInMemory)); in writeRRect() [all …]
|
/external/angle/src/libANGLE/ |
D | HandleAllocator_unittest.cpp | 29 allocator.reserve(id); in TEST() 54 allocator.reserve(randomHandle); in TEST() 86 limitedAllocator.reserve(count); in TEST() 99 allocator.reserve(maxUintHandle); in TEST() 111 allocator.reserve(maxUintHandle - 1); in TEST() 112 allocator.reserve(maxUintHandle); in TEST() 123 allocator.reserve(3); in TEST() 145 allocator.reserve(3); in TEST() 160 allocator.reserve(5); in TEST() 161 allocator.reserve(6); in TEST() [all …]
|
/external/llvm-project/libcxx/test/std/containers/sequences/vector.bool/ |
D | reserve.pass.cpp | 24 v.reserve(10); in main() 30 v.reserve(50); in main() 33 v.reserve(150); in main() 40 v.reserve(10); in main() 46 v.reserve(50); in main() 49 v.reserve(150); in main()
|
/external/libcxx/test/std/containers/sequences/vector.bool/ |
D | reserve.pass.cpp | 24 v.reserve(10); in main() 30 v.reserve(50); in main() 33 v.reserve(150); in main() 40 v.reserve(10); in main() 46 v.reserve(50); in main() 49 v.reserve(150); in main()
|
/external/libcxx/test/std/containers/unord/unord.multiset/ |
D | reserve.pass.cpp | 39 c.reserve(n); in reserve_invariant() 66 c.reserve(3); in main() 70 c.reserve(3); in main() 73 c.reserve(31); in main() 94 c.reserve(3); in main() 98 c.reserve(3); in main() 101 c.reserve(31); in main()
|
/external/llvm-project/libcxx/test/std/containers/unord/unord.multiset/ |
D | reserve.pass.cpp | 38 c.reserve(n); in reserve_invariant() 65 c.reserve(3); in main() 69 c.reserve(3); in main() 72 c.reserve(31); in main() 93 c.reserve(3); in main() 97 c.reserve(3); in main() 100 c.reserve(31); in main()
|
/external/libcxx/test/std/containers/unord/unord.set/ |
D | reserve.pass.cpp | 39 c.reserve(n); in reserve_invariant() 66 c.reserve(3); in main() 70 c.reserve(3); in main() 73 c.reserve(31); in main() 94 c.reserve(3); in main() 98 c.reserve(3); in main() 101 c.reserve(31); in main()
|
/external/llvm-project/libcxx/test/std/containers/unord/unord.set/ |
D | reserve.pass.cpp | 38 c.reserve(n); in reserve_invariant() 65 c.reserve(3); in main() 69 c.reserve(3); in main() 72 c.reserve(31); in main() 93 c.reserve(3); in main() 97 c.reserve(3); in main() 100 c.reserve(31); in main()
|
/external/libcxx/test/std/containers/unord/unord.map/ |
D | reserve.pass.cpp | 40 c.reserve(n); in reserve_invariant() 67 c.reserve(3); in main() 71 c.reserve(3); in main() 74 c.reserve(31); in main() 95 c.reserve(3); in main() 99 c.reserve(3); in main() 102 c.reserve(31); in main()
|
/external/llvm-project/libcxx/test/std/containers/unord/unord.map/ |
D | reserve.pass.cpp | 39 c.reserve(n); in reserve_invariant() 66 c.reserve(3); in main() 70 c.reserve(3); in main() 73 c.reserve(31); in main() 94 c.reserve(3); in main() 98 c.reserve(3); in main() 101 c.reserve(31); in main()
|
/external/libcxx/test/libcxx/containers/sequences/vector/ |
D | asan_throw.pass.cpp | 60 v.reserve(2); in test_push_back() 76 v.reserve(2); in test_emplace_back() 92 v.reserve(4); in test_insert_range() 110 v.reserve(3); in test_insert() 127 v.reserve(3); in test_emplace() 144 v.reserve(4); in test_insert_range2() 163 v.reserve(10); in test_insert_n() 181 v.reserve(100); in test_insert_n2() 197 v.reserve(3); in test_resize() 211 v.reserve(3); in test_resize_param()
|
/external/llvm-project/libcxx/test/libcxx/containers/sequences/vector/ |
D | asan_throw.pass.cpp | 60 v.reserve(2); in test_push_back() 76 v.reserve(2); in test_emplace_back() 92 v.reserve(4); in test_insert_range() 110 v.reserve(3); in test_insert() 127 v.reserve(3); in test_emplace() 144 v.reserve(4); in test_insert_range2() 163 v.reserve(10); in test_insert_n() 181 v.reserve(100); in test_insert_n2() 197 v.reserve(3); in test_resize() 211 v.reserve(3); in test_resize_param()
|
/external/rust/crates/tokio/tests/ |
D | sync_mpsc.rs | 30 let permit = tx.reserve().await.unwrap(); in send_recv_with_buffer() 57 let permit1 = assert_ok!(tx1.reserve().await); in reserve_disarm() 58 let permit2 = assert_ok!(tx2.reserve().await); in reserve_disarm() 61 let mut r3 = task::spawn(tx3.reserve()); in reserve_disarm() 64 let mut r4 = task::spawn(tx4.reserve()); in reserve_disarm() 81 let mut r1 = task::spawn(tx1.reserve()); in reserve_disarm() 127 let mut r1 = Box::pin(tx1.reserve()); in start_send_past_cap() 131 let mut r2 = task::spawn(tx2.reserve()); in start_send_past_cap() 239 let p1 = assert_ok!(tx.reserve().await); in send_recv_buffer_limited() 245 let mut p2 = task::spawn(tx.reserve()); in send_recv_buffer_limited() [all …]
|
/external/llvm-project/libcxx/test/std/containers/unord/unord.multimap/ |
D | reserve.pass.cpp | 54 c.reserve(n); in reserve_invariant() 81 c.reserve(3); in main() 85 c.reserve(3); in main() 88 c.reserve(31); in main() 109 c.reserve(3); in main() 113 c.reserve(3); in main() 116 c.reserve(31); in main()
|
/external/libcxx/test/std/containers/unord/unord.multimap/ |
D | reserve.pass.cpp | 55 c.reserve(n); in reserve_invariant() 82 c.reserve(3); in main() 86 c.reserve(3); in main() 89 c.reserve(31); in main() 110 c.reserve(3); in main() 114 c.reserve(3); in main() 117 c.reserve(31); in main()
|
/external/dtc/ |
D | TODO | 3 - Generate mem reserve map 4 * linux,reserve-map property 5 * generating reserve entry for device tree itself 6 * generating reserve entries from tce, rtas etc. properties
|