Home
last modified time | relevance | path

Searched refs:num_avail (Results 1 – 3 of 3) sorted by relevance

/external/llvm-project/openmp/runtime/src/
Dkmp_affinity.cpp2128 unsigned num_avail = 0; in __kmp_affinity_create_cpuinfo_map() local
2143 if (threadInfo[num_avail][i] != UINT_MAX) { in __kmp_affinity_create_cpuinfo_map()
2172 if (threadInfo[num_avail][osIdIndex] != UINT_MAX) in __kmp_affinity_create_cpuinfo_map()
2178 num_avail++; in __kmp_affinity_create_cpuinfo_map()
2182 threadInfo[num_avail][osIdIndex] = val; in __kmp_affinity_create_cpuinfo_map()
2188 threadInfo[num_avail][osIdIndex]); in __kmp_affinity_create_cpuinfo_map()
2189 __kmp_read_from_file(path, "%u", &threadInfo[num_avail][pkgIdIndex]); in __kmp_affinity_create_cpuinfo_map()
2193 threadInfo[num_avail][osIdIndex]); in __kmp_affinity_create_cpuinfo_map()
2194 __kmp_read_from_file(path, "%u", &threadInfo[num_avail][coreIdIndex]); in __kmp_affinity_create_cpuinfo_map()
2205 if (threadInfo[num_avail][pkgIdIndex] != UINT_MAX) in __kmp_affinity_create_cpuinfo_map()
[all …]
/external/compiler-rt/lib/dfsan/
Ddfsan_custom.cc930 size_t num_avail = str_off < size ? size - str_off : 0; in num_written_bytes() local
931 if (num_avail == 0) { in num_written_bytes()
938 if (num_written >= num_avail) { in num_written_bytes()
939 num_written -= num_avail; in num_written_bytes()
/external/llvm-project/compiler-rt/lib/dfsan/
Ddfsan_custom.cpp984 size_t num_avail = str_off < size ? size - str_off : 0; in num_written_bytes() local
985 if (num_avail == 0) { in num_written_bytes()
992 if (num_written >= num_avail) { in num_written_bytes()
993 num_written -= num_avail; in num_written_bytes()