Home
last modified time | relevance | path

Searched refs:num_addrs (Results 1 – 5 of 5) sorted by relevance

/external/curl/lib/
Dhostip.c354 const int num_addrs = Curl_num_addresses(*addr); in Curl_shuffle_addr() local
356 if(num_addrs > 1) { in Curl_shuffle_addr()
358 infof(data, "Shuffling %i addresses", num_addrs); in Curl_shuffle_addr()
360 nodes = malloc(num_addrs*sizeof(*nodes)); in Curl_shuffle_addr()
364 const size_t rnd_size = num_addrs * sizeof(*rnd); in Curl_shuffle_addr()
368 for(i = 1; i < num_addrs; i++) { in Curl_shuffle_addr()
377 for(i = num_addrs - 1; i > 0; i--) { in Curl_shuffle_addr()
384 for(i = 1; i < num_addrs; i++) { in Curl_shuffle_addr()
388 nodes[num_addrs-1]->ai_next = NULL; in Curl_shuffle_addr()
/external/llvm-project/llvm/lib/Target/AMDGPU/
DMIMGInstructions.td185 class MIMGNSAHelper<int num_addrs> {
188 !lt(i, num_addrs)), "vaddr" # i);
192 int NSA = !if(!le(num_addrs, 1), ?,
193 !if(!le(num_addrs, 5), 1,
194 !if(!le(num_addrs, 9), 2,
195 !if(!le(num_addrs, 13), 3, ?))));
223 class MIMG_nsa_gfx10<int op, dag outs, int num_addrs, string dns="">
230 MIMGNSAHelper nsah = MIMGNSAHelper<num_addrs>;
264 RegisterClass DataRC, int num_addrs,
266 : MIMG_nsa_gfx10<op, (outs DataRC:$vdata), num_addrs, dns> {
[all …]
/external/llvm-project/openmp/runtime/src/
Dkmp_affinity.h677 void deriveLevels(AddrUnsPair *adr2os, int num_addrs) { in deriveLevels() argument
682 for (int j = 0; j < num_addrs; ++j) { in deriveLevels()
703 void init(AddrUnsPair *adr2os, int num_addrs) { in init() argument
731 qsort(adr2os, num_addrs, sizeof(*adr2os), in init()
733 deriveLevels(adr2os, num_addrs); in init()
736 numPerLevel[1] = num_addrs / maxLeaves; in init()
737 if (num_addrs % maxLeaves) in init()
741 base_num_threads = num_addrs; in init()
749 branch = num_addrs / maxLeaves; in init()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/
DMIMGInstructions.td168 class MIMGNSAHelper<int num_addrs> {
171 !if(!lt(i, num_addrs), !listconcat(lhs, ["vaddr"#!size(lhs)]), lhs));
176 int NSA = !if(!le(num_addrs, 1), ?,
177 !if(!le(num_addrs, 5), 1,
178 !if(!le(num_addrs, 9), 2,
179 !if(!le(num_addrs, 13), 3, ?))));
207 class MIMG_nsa_gfx10<int op, dag outs, int num_addrs, string dns="">
214 MIMGNSAHelper nsah = MIMGNSAHelper<num_addrs>;
248 RegisterClass DataRC, int num_addrs,
250 : MIMG_nsa_gfx10<op, (outs DataRC:$vdata), num_addrs, dns> {
[all …]
/external/autotest/client/site_tests/hardware_UnsafeMemory/src/rowhammer-test-4d619293e1c7/
Drowhammer_exploit.cc164 uint32_t num_addrs = addr_count; in row_hammer() local
165 volatile uint32_t *addrs[num_addrs]; in row_hammer()