Home
last modified time | relevance | path

Searched refs:uint64_t (Results 1 – 25 of 50) sorted by relevance

12

/test/vts/compilation_tools/vtsc/test/golden/FUZZER/
DContext.fuzzer.cpp34 size_t type_size0 = sizeof(uint64_t); in LLVMFuzzerTestOneInput()
37 uint64_t arg0; in LLVMFuzzerTestOneInput()
41 size_t type_size1 = sizeof(uint64_t); in LLVMFuzzerTestOneInput()
44 uint64_t arg1; in LLVMFuzzerTestOneInput()
51 size_t type_size0 = sizeof(uint64_t); in LLVMFuzzerTestOneInput()
54 uint64_t arg0; in LLVMFuzzerTestOneInput()
68 size_t type_size0 = sizeof(uint64_t); in LLVMFuzzerTestOneInput()
71 uint64_t arg0; in LLVMFuzzerTestOneInput()
78 size_t type_size0 = sizeof(uint64_t); in LLVMFuzzerTestOneInput()
81 uint64_t arg0; in LLVMFuzzerTestOneInput()
[all …]
/test/vts/drivers/resource/include/hidl_memory_driver/
DVtsHidlMemoryDriver.h108 bool UpdateRange(MemoryId mem_id, uint64_t start, uint64_t length);
125 bool ReadRange(MemoryId mem_id, uint64_t start, uint64_t length);
136 bool UpdateBytes(MemoryId mem_id, const char* write_data, uint64_t length,
137 uint64_t start = 0);
149 bool ReadBytes(MemoryId mem_id, char* read_data, uint64_t length,
150 uint64_t start = 0);
/test/vts-testcase/fuzz/iface_fuzzer/include/
DProtoFuzzerUtils.h56 explicit Random(uint64_t seed) : rand_(seed) {} in Random()
60 virtual uint64_t Rand() { return rand_(); } in Rand()
62 virtual uint64_t operator()(uint64_t n) { return n ? Rand() % n : 0; } in operator()
83 uint64_t seed_ = static_cast<uint64_t>(time(0));
DProtoFuzzerMutator.h32 using BiasedRandomScalarGen = std::function<uint64_t(Random &rand)>;
33 using Odds = std::pair<uint64_t, uint64_t>;
/test/vts-testcase/kernel/api/bpf_native_test/
Dkern.h21 uint64_t rxPackets;
22 uint64_t rxBytes;
23 uint64_t txPackets;
24 uint64_t txBytes;
Dkern.c24 DEFINE_BPF_MAP(test_stats_map_A, HASH, uint64_t, stats_value, NUM_SOCKETS) in DEFINE_BPF_MAP() argument
25 DEFINE_BPF_MAP(test_stats_map_B, HASH, uint64_t, stats_value, NUM_SOCKETS) in DEFINE_BPF_MAP()
29 uint64_t sock_cookie = bpf_get_socket_cookie(skb); \ in DEFINE_BPF_MAP()
DBpfTest.cpp89 BpfMap<uint64_t, stats_value> cookieStatsMap[2];
97 uint64_t j = 0; in workerThread()
177 uint64_t i = 0; in swapAndCleanStatsMap()
/test/vts/drivers/resource/hidl_memory_driver/
DVtsHidlMemoryDriver.cpp86 bool VtsHidlMemoryDriver::UpdateRange(MemoryId mem_id, uint64_t start, in UpdateRange()
87 uint64_t length) { in UpdateRange()
101 bool VtsHidlMemoryDriver::ReadRange(MemoryId mem_id, uint64_t start, in ReadRange()
102 uint64_t length) { in ReadRange()
110 uint64_t length, uint64_t start) { in UpdateBytes()
120 uint64_t length, uint64_t start) { in ReadBytes()
/test/vts/drivers/hal/common/include/driver_manager/
DVtsHalDriverManager.h123 const uint64_t interface_pt);
131 uint64_t GetDriverPointerById(const DriverId id);
139 const uint64_t interface_pt = 0,
182 uint64_t hidl_hal_proxy_pt;
188 const uint64_t interface_pt, in HalDriverInfo()
/test/vts-testcase/fuzz/iface_fuzzer/test/
DProtoFuzzerTest.h29 virtual uint64_t Rand() override { return 0xffffdeadbeef0000; } in Rand()
30 virtual uint64_t operator()(uint64_t n) override { return n - 2; } in operator()
/test/vts-testcase/hal/treble/vintf/
Dutils.cpp55 uint64_t GetShippingApiLevel() { in GetShippingApiLevel()
56 uint64_t api_level = in GetShippingApiLevel()
57 GetUintProperty<uint64_t>("ro.product.first_api_level", 0); in GetShippingApiLevel()
61 return GetUintProperty<uint64_t>("ro.build.version.sdk", 0); in GetShippingApiLevel()
/test/vts-testcase/fuzz/iface_fuzzer/
DProtoFuzzerMutateFns.cpp75 uint64_t odds_for = (this->mutator_config_).enum_bias_.first; in EnumRandomGen()
76 uint64_t odds_against = (this->mutator_config_).enum_bias_.second; in EnumRandomGen()
77 uint64_t rand_num = rand_(odds_for + odds_against); in EnumRandomGen()
238 result.set_uint64_t(RandomGen(scalar_value.uint64_t())); in RandomGen()
271 result.set_uint64_t(Mutate(scalar_value.uint64_t())); in Mutate()
286 uint64_t rand_int = mutator_config_.scalar_bias_(rand_); in RandomGen()
316 uint64_t copy; in Mutate()
318 uint64_t mask = static_cast<uint64_t>(1) << rand_(64); in Mutate()
DProtoFuzzerRunner.cpp129 uint64_t hidl_service = 0) { in LoadInterface()
140 using loader_func = DriverBase *(*)(uint64_t); in LoadInterface()
220 uint64_t hidl_service = var.hidl_interface_pointer(); in ProcessReturnValue()
/test/vts/drivers/hal/common/include/component_loader/
DHalDriverLoader.h56 const uint64_t interface_pt,
91 const uint64_t interface_pt,
98 const uint64_t interface_pt);
/test/vts-testcase/kernel/api/qtaguid/
DSocketTagUserSpace.h33 bool checkTag(uint64_t acct_tag, uid_t uid);
35 bool checkStats(uint64_t acct_tag, uid_t uid, int counterSet,
DSocketTagUserSpace.cpp153 bool SockInfo::checkTag(uint64_t acct_tag, uid_t uid) { in checkTag()
160 uint64_t full_tag = (acct_tag << 32) | uid; in checkTag()
177 bool SockInfo::checkStats(uint64_t acct_tag, uid_t uid, int counterSet, in checkStats()
179 uint64_t kTag = (uint64_t)acct_tag << 32; in checkStats()
213 uint64_t max_uint_tag;
229 max_uint_tag = 1LLU << 63 | (((uint64_t)my_pid << 48) ^ max_uint_tag); in SetUp()
/test/vts-testcase/security/avb/
DVtsSecurityAvbTest.cpp185 uint64_t comparing_tree_offset;
187 const uint64_t level_size;
193 HashtreeLevel(uint64_t lv_offset, uint64_t lv_size, size_t hash_block_size) in HashtreeLevel()
214 static std::string VerifyHashtree(int image_fd, uint64_t image_size, in VerifyHashtree()
218 uint64_t tree_offset, uint64_t tree_size, in VerifyHashtree()
231 uint64_t data_block_count = image_size / data_block_size; in VerifyHashtree()
237 uint64_t hash_block_count = 0; in VerifyHashtree()
273 for (uint64_t image_offset = 0; image_offset < image_size; in VerifyHashtree()
/test/vts/drivers/hal/libdatatype/
Dvts_datatype.cpp31 uint64_t RandomUint64() { in RandomUint64()
32 uint64_t num = (unsigned int)rand(); in RandomUint64()
/test/vts/specification/kernel/
Dsyscalls-arm64.vts15 scalar_type: "uint64_t"
33 scalar_type: "uint64_t"
/test/vts-testcase/hal/treble/vintf/libvts_vintf_test_common/
Dcommon.cpp36 static const std::map<uint64_t /* Shipping API Level */,
52 uint64_t shipping_api_level) { in TestTargetFcmVersion()
/test/vts-testcase/kernel/encryption/
Dadiantum.cpp52 static void put_unaligned_le64(uint64_t v, void *p) { in put_unaligned_le64()
210 static uint64_t NH_Add(const uint8_t *a, uint32_t b) { in NH_Add()
214 static uint64_t NH_Pass(const uint32_t *key, const uint8_t *msg, int msglen) { in NH_Pass()
215 uint64_t sum = 0; in NH_Pass()
261 put_unaligned_le64(static_cast<uint64_t>(msglen) * 8, header); in AdiantumHash()
/test/vts/compilation_tools/vtsc/test/golden/DRIVER/
DNfcClientCallback.vts.h55 uint64_t GetHidlInterfaceProxy() const { in GetHidlInterfaceProxy()
72 …erBase* vts_func_4_android_hardware_nfc_V1_0_INfcClientCallback_with_arg(uint64_t hw_binder_proxy);
DNfc.vts.h71 uint64_t GetHidlInterfaceProxy() const { in GetHidlInterfaceProxy()
88 extern android::vts::DriverBase* vts_func_4_android_hardware_nfc_V1_0_INfc_with_arg(uint64_t hw_bin…
DMemoryTest.vts.h66 uint64_t GetHidlInterfaceProxy() const { in GetHidlInterfaceProxy()
83 …Base* vts_func_4_android_hardware_tests_memory_V1_0_IMemoryTest_with_arg(uint64_t hw_binder_proxy);
/test/vts/drivers/hal/common/driver_manager/
DVtsHalDriverManager.cpp98 uint64_t interface_pt = 0; in LoadTargetComponent()
217 const uint64_t interface_pt) { in RegisterDriver()
240 uint64_t VtsHalDriverManager::GetDriverPointerById(const DriverId id) { in GetDriverPointerById()
291 const ComponentSpecificationMessage& spec_msg, const uint64_t interface_pt, in FindDriverIdInternal()
511 uint64_t interface_pt = GetDriverPointerById(driver_id); in PreprocessHidlHalFunctionCallArgs()
638 uint64_t interface_pt = return_val->hidl_interface_pointer(); in SetHidlHalFunctionCallResults()

12