Home
last modified time | relevance | path

Searched refs:popCount (Results 1 – 12 of 12) sorted by relevance

/external/fonttools/Lib/fontTools/misc/
DintTools.py4 def popCount(v): function
23 return popCount(v >> 32) + popCount(v & 0xFFFFFFFF)
/external/jacoco/org.jacoco.core/src/org/jacoco/core/internal/flow/
DFrameSnapshot.java47 static IFrame create(final AnalyzerAdapter analyzer, final int popCount) { in create() argument
52 final Object[] stack = reduce(analyzer.stack, popCount); in create()
61 private static Object[] reduce(final List<Object> source, final int popCount) { in reduce() argument
63 final int size = source.size() - popCount; in reduce()
DMethodProbesAdapter.java182 private IFrame frame(final int popCount) { in frame() argument
183 return FrameSnapshot.create(analyzer, popCount); in frame()
/external/proguard/src/proguard/optimize/evaluation/
DSimpleEnumUseSimplifier.java634 int popCount = in replaceInstruction() local
638 insertPopInstructions(offset, popCount); in replaceInstruction()
640 …toString(offset)+" -> "+replacementInstruction.toString()+(popCount == 0 ? "" : " ("+popCount+" po… in replaceInstruction()
687 private void insertPopInstructions(int offset, int popCount) in insertPopInstructions() argument
689 switch (popCount) in insertPopInstructions()
719 new Instruction[popCount / 2 + popCount % 2]; in insertPopInstructions()
724 for (int index = 0; index < popCount / 2; index++) in insertPopInstructions()
729 if (popCount % 2 == 1) in insertPopInstructions()
734 popInstructions[popCount / 2] = popInstruction; in insertPopInstructions()
DEvaluationShrinker.java732 int popCount = instruction.stackPopCount(clazz); in visitAnyInstruction() local
733 if (popCount > 0) in visitAnyInstruction()
742 … for (int stackIndex = stackSize - popCount; stackIndex < stackSize; stackIndex++) in visitAnyInstruction()
784 insertPopInstructions(offset, false, true, popCount); in visitAnyInstruction()
813 int unpoppedStackSize = tracedStack.size() - popCount; in visitAnyInstruction()
863 int popCount = instruction.stackPopCount(clazz); in visitAnyInstruction() local
864 if (popCount > 0) in visitAnyInstruction()
872 … for (int stackIndex = stackSize - popCount; stackIndex < stackSize; stackIndex++) in visitAnyInstruction()
938 int popCount = simpleInstruction.stackPopCount(clazz); in visitSimpleInstruction() local
939 if (popCount > 0) in visitSimpleInstruction()
[all …]
DEvaluationSimplifier.java1245 int popCount = in replaceInstruction() local
1249 insertPopInstructions(offset, popCount); in replaceInstruction()
1251 …toString(offset)+" -> "+replacementInstruction.toString()+(popCount == 0 ? "" : " ("+popCount+" po… in replaceInstruction()
1269 private void insertPopInstructions(int offset, int popCount) in insertPopInstructions() argument
1271 switch (popCount) in insertPopInstructions()
1301 new Instruction[popCount / 2 + popCount % 2]; in insertPopInstructions()
1306 for (int index = 0; index < popCount / 2; index++) in insertPopInstructions()
1311 if (popCount % 2 == 1) in insertPopInstructions()
1316 popInstructions[popCount / 2] = popInstruction; in insertPopInstructions()
/external/fonttools/Lib/fontTools/varLib/
DfeatureVars.py7 from fontTools.misc.intTools import popCount
144 key=(lambda BoxAndRank: -popCount(BoxAndRank[1]))):
/external/deqp/modules/egl/
DteglMultiThreadTests.cpp580 const int popCount = rnd.getInt(0, (int)(configs.size()-2)); in runThread() local
582 configs.erase(configs.begin() + (configs.size() - popCount), configs.end()); in runThread()
628 const int popCount = rnd.getInt(0, (int)(configs.size()-2)); in runThread() local
630 configs.erase(configs.begin() + (configs.size() - popCount), configs.end()); in runThread()
/external/oj-libjdwp/src/share/back/
DthreadControl.c1937 jint popCount; in threadControl_popFrames() local
1945 popCount = fnum+1; in threadControl_popFrames()
1946 if (popCount < 1) { in threadControl_popFrames()
1971 while (framesPopped++ < popCount) { in threadControl_popFrames()
/external/mesa3d/src/gallium/drivers/nouveau/codegen/
Dnv50_ir_util.cpp285 unsigned int BitSet::popCount() const in popCount() function in nv50_ir::BitSet
Dnv50_ir_util.h567 unsigned int popCount() const;
Dnv50_ir_emit_gm107.cpp4055 if (!srcs.popCount()) in needRdDepBar()
4075 if (!srcs.popCount()) in needRdDepBar()