Home
last modified time | relevance | path

Searched refs:parent_balance (Results 1 – 2 of 2) sorted by relevance

/external/deqp-deps/SPIRV-Tools/source/comp/
Dmove_to_front.cpp276 const int parent_balance = BalanceOf(parent); in InsertNode() local
280 if (parent_balance > 1) { in InsertNode()
284 } else if (parent_balance == 0 || parent_balance == -1) { in InsertNode()
290 if (parent_balance < -1) { in InsertNode()
294 } else if (parent_balance == 0 || parent_balance == 1) { in InsertNode()
356 const int parent_balance = BalanceOf(parent); in RemoveNode() local
358 if (parent_balance == 1 || parent_balance == -1) { in RemoveNode()
364 if (parent_balance < -1) { in RemoveNode()
372 if (parent_balance > 1) { in RemoveNode()
/external/swiftshader/third_party/SPIRV-Tools/source/comp/
Dmove_to_front.cpp276 const int parent_balance = BalanceOf(parent); in InsertNode() local
280 if (parent_balance > 1) { in InsertNode()
284 } else if (parent_balance == 0 || parent_balance == -1) { in InsertNode()
290 if (parent_balance < -1) { in InsertNode()
294 } else if (parent_balance == 0 || parent_balance == 1) { in InsertNode()
356 const int parent_balance = BalanceOf(parent); in RemoveNode() local
358 if (parent_balance == 1 || parent_balance == -1) { in RemoveNode()
364 if (parent_balance < -1) { in RemoveNode()
372 if (parent_balance > 1) { in RemoveNode()