Searched refs:occupancy (Results 1 - 13 of 13) sorted by relevance

/external/v8/test/cctest/
H A Dtest-hashmap.cc75 uint32_t occupancy() const { function in class:IntSet
80 CHECK_EQ(map_.occupancy(), static_cast<double>(count));
96 CHECK_EQ(0u, set.occupancy());
101 CHECK_EQ(3u, set.occupancy());
105 CHECK_EQ(3u, set.occupancy());
111 CHECK_EQ(3u, set.occupancy());
117 CHECK_EQ(2u, set.occupancy());
123 CHECK_EQ(1u, set.occupancy());
126 CHECK_EQ(0u, set.occupancy());
136 CHECK_EQ(i, static_cast<double>(set.occupancy()));
[all...]
H A Dtest-api.cc14329 CHECK_LT(0u, code.occupancy());
/external/v8/src/
H A Dcancelable-task.cc94 while (cancelable_tasks_.occupancy() > 0) {
108 if (cancelable_tasks_.occupancy() > 0) {
H A Dhashmap.h59 // Empties the hash map (occupancy() == 0).
63 uint32_t occupancy() const { return occupancy_; } function in class:v8::internal::TemplateHashMapImpl
66 // makes sure that occupancy is at most 80% of
139 // Grow the map if we reached >= 80% occupancy.
/external/harfbuzz_ng/src/
H A Dgen-indic-table.py198 occupancy = used * 100. / total variable
200 print "}; /* Table items: %d; occupancy: %d%% */" % (offset, occupancy)
236 # Maintain at least 30% occupancy in the table */
237 if occupancy < 30:
238 raise Exception ("Table too sparse, please investigate: ", occupancy)
H A Dgen-use-table.py436 occupancy = used * 100. / total variable
438 print "}; /* Table items: %d; occupancy: %d%% */" % (offset, occupancy)
474 # Maintain at least 50% occupancy in the table */
475 if occupancy < 50:
476 raise Exception ("Table too sparse, please investigate: ", occupancy)
H A Dgen-arabic-table.py120 occupancy = num * 100. / offset
121 print "}; /* Table items: %d; occupancy: %d%% */" % (offset, occupancy)
/external/v8/src/ast/
H A Dmodules.h56 return exports ? exports->occupancy() : 0;
H A Dscopes.cc689 ZoneList<VarAndOrder> vars(variables_.occupancy(), zone());
1359 DCHECK(outer_scope_->variables_.occupancy() <= 1);
1360 if (outer_scope_->variables_.occupancy() == 0) return nullptr;
1594 ZoneList<VarAndOrder> vars(variables_.occupancy(), zone());
/external/v8/src/profiler/
H A Dprofile-generator.h152 unsigned int GetHitLineCount() const { return line_ticks_.occupancy(); }
H A Dheap-snapshot-generator.cc438 DCHECK(static_cast<uint32_t>(entries_.length()) > entries_map_.occupancy());
446 DCHECK(static_cast<uint32_t>(entries_.length()) > entries_map_.occupancy());
467 DCHECK(static_cast<uint32_t>(entries_.length()) > entries_map_.occupancy());
480 entries_map_.occupancy());
499 entries_map_.occupancy());
581 entries_map_.occupancy());
609 entries_map_.occupancy());
692 entries_map_.occupancy());
2326 return objects_by_info_.occupancy();
3153 strings_.occupancy()
[all...]
H A Dheap-snapshot-generator.h316 bool is_empty() const { return entries_.occupancy() == 0; }
H A Dprofile-generator.cc188 unsigned line_count = line_ticks_.occupancy();

Completed in 232 milliseconds