/trusty/user/base/lib/hwasan/test/ |
D | hwasan_test.c | 57 static void touch(volatile void* a) { in touch() argument 58 *((volatile uint8_t*)a) = *((volatile uint8_t*)a); in touch() 68 int a = 0; in TEST() local 70 WRITE_ONCE(a, 5); in TEST() 73 ASSERT_EQ(READ_ONCE(a), 5); in TEST() 80 int a = 0; in TEST() local 81 int* b = (int*)hwasan_remove_ptr_tag((void*)(&a)); in TEST() 93 int* a = malloc(sizeof(int)); in TEST() local 95 WRITE_ONCE(*a, 5); in TEST() 98 ASSERT_EQ(READ_ONCE(*a), 5); in TEST() [all …]
|
/trusty/user/app/storage/ |
D | block_range.h | 66 static inline bool block_range_overlap(const struct block_range a, in block_range_overlap() argument 68 return block_in_range(a, b.start) || block_in_range(b, a.start); in block_range_overlap() 80 static inline bool block_range_before(const struct block_range a, in block_range_before() argument 82 return !block_range_empty(a) && (block_range_empty(b) || a.start < b.start); in block_range_before() 109 static inline bool block_range_eq(const struct block_range a, in block_range_eq() argument 111 assert(a.end >= a.start); in block_range_eq() 114 return a.start == b.start && a.end == b.end; in block_range_eq()
|
D | .clang-format | 2 # This is a Google-derived style with 4-space indent and a few quirks for 16 # It's a little more common to do a half indent, but folks didn't like that.
|
/trusty/user/base/lib/libstdc++-trusty/test/ |
D | libcxx_test.cpp | 131 std::unique_ptr<Counter> a(p); in TEST_F() local 135 ASSERT_EQ(p, a.get()); in TEST_F() 138 b = std::move(a); in TEST_F() 141 ASSERT_EQ(nullptr, a.get()); in TEST_F() 152 std::shared_ptr<Counter> a; in TEST_F() local 155 a.reset(new Counter()); in TEST_F() 157 b = a; in TEST_F() 159 ASSERT_NE(nullptr, a.get()); in TEST_F() 160 ASSERT_EQ(a.get(), b.get()); in TEST_F() 161 a.reset(); in TEST_F() [all …]
|
/trusty/user/base/lib/hwbcc/rust/src/ |
D | lib.rs | 82 fn serialize<'a: 's, S: Serializer<'s>>( in serialize() 83 &'a self, in serialize() 98 struct SignDataMsg<'a> { 102 data: &'a [u8], 105 aad: &'a [u8], 110 impl<'a> SignDataMsg<'a> { 114 data: &'a [u8], in new() 115 aad: &'a [u8], in new() 129 fn serialize<'a: 's, S: Serializer<'s>>( in serialize() 130 &'a self, in serialize() [all …]
|
/trusty/user/base/app/acvp/ |
D | acvp.h | 22 static inline int StringEq(bssl::Span<const uint8_t> a, const char* b) { in StringEq() argument 24 return a.size() == len && memcmp(a.data(), b, len) == 0; in StringEq()
|
/trusty/user/base/lib/hwwsk/rust/src/ |
D | lib.rs | 67 fn serialize<'a: 's, S: Serializer<'s>>( in serialize() 68 &'a self, in serialize() 125 fn serialize<'a: 's, S: Serializer<'s>>( in serialize() 126 &'a self, in serialize() 172 fn serialize<'a: 's, S: Serializer<'s>>( in serialize() 173 &'a self, in serialize() 200 fn serialize<'a: 's, S: Serializer<'s>>( in serialize() 201 &'a self, in serialize() 289 pub fn import_key<'a>( in import_key() 291 buf: &'a mut [u8], in import_key() [all …]
|
/trusty/vendor/google/aosp/ |
D | pylintrc | 5 # You may obtain a copy of the License at 17 # Specify a configuration file. 102 # (visual studio) and html. You can also give a reporter class, eg 106 # Tells whether to display a full report or only the messages 112 # Python expression which should return a note less than 10 (10 is the highest 119 # Template used to display messages. This is a python new-style format string 126 # Minimum lines number of a similarity. 171 # A path to a file that contains private dictionary; one word per line. 175 # --spelling-private-dict-file option instead of raising a message. 199 # List of strings which can identify a callback function by name. A callback [all …]
|
D | .clang-format | 2 # This is a Google-derived style with 4-space indent and a few quirks for 16 # It's a little more common to do a half indent, but folks didn't like that.
|
/trusty/user/app/avb/ |
D | .clang-format | 2 # This is a Google-derived style with 4-space indent and a few quirks for 16 # It's a little more common to do a half indent, but folks didn't like that.
|
/trusty/user/base/ |
D | .clang-format | 2 # This is a Google-derived style with 4-space indent and a few quirks for 16 # It's a little more common to do a half indent, but folks didn't like that.
|
/trusty/user/app/keymint/ |
D | .clang-format | 2 # This is a Google-derived style with 4-space indent and a few quirks for 16 # It's a little more common to do a half indent, but folks didn't like that.
|
D | ffi_bindings.rs | 68 pub(crate) struct KeyboxUnwrapReq<'a> { 71 wrapped_keybox: &'a [u8], 74 impl<'a> KeyboxUnwrapReq<'a> { 75 pub(crate) fn new(wrapped_keybox: &'a [u8]) -> Self { in new() 84 fn serialize<'a: 's, S: Serializer<'s>>( in serialize() 85 &'a self, in serialize()
|
/trusty/user/app/gatekeeper/ |
D | .clang-format | 2 # This is a Google-derived style with 4-space indent and a few quirks for 16 # It's a little more common to do a half indent, but folks didn't like that.
|
/trusty/hardware/nxp/ |
D | .clang-format | 2 # This is a Google-derived style with 4-space indent and a few quirks for 16 # It's a little more common to do a half indent, but folks didn't like that.
|
/trusty/user/app/keymaster/ |
D | .clang-format | 2 # This is a Google-derived style with 4-space indent and a few quirks for 16 # It's a little more common to do a half indent, but folks didn't like that.
|
/trusty/user/app/cast-auth/ |
D | .clang-format | 2 # This is a Google-derived style with 4-space indent and a few quirks for 16 # It's a little more common to do a half indent, but folks didn't like that.
|
/trusty/host/common/ |
D | .clang-format | 2 # This is a Google-derived style with 4-space indent and a few quirks for 16 # It's a little more common to do a half indent, but folks didn't like that.
|
/trusty/user/app/sample/ |
D | .clang-format | 2 # This is a Google-derived style with 4-space indent and a few quirks for 16 # It's a little more common to do a half indent, but folks didn't like that.
|
/trusty/device/x86/generic-x86_64/ |
D | .clang-format | 2 # This is a Google-derived style with 4-space indent and a few quirks for 16 # It's a little more common to do a half indent, but folks didn't like that.
|
/trusty/kernel/ |
D | .clang-format | 2 # This is a Google-derived style with 4-space indent and a few quirks for 16 # It's a little more common to do a half indent, but folks didn't like that.
|
/trusty/user/app/confirmationui/ |
D | .clang-format | 2 # This is a Google-derived style with 4-space indent and a few quirks for 16 # It's a little more common to do a half indent, but folks didn't like that.
|
/trusty/device/arm/generic-arm64/ |
D | .clang-format | 2 # This is a Google-derived style with 4-space indent and a few quirks for 16 # It's a little more common to do a half indent, but folks didn't like that.
|
/trusty/device/nxp/imx7d/ |
D | .clang-format | 2 # This is a Google-derived style with 4-space indent and a few quirks for 16 # It's a little more common to do a half indent, but folks didn't like that.
|
/trusty/device/arm/vexpress-a15/ |
D | .clang-format | 2 # This is a Google-derived style with 4-space indent and a few quirks for 16 # It's a little more common to do a half indent, but folks didn't like that.
|