HomeSort by relevance Sort by last modified time
    Searched refs:Weight (Results 1 - 25 of 47) sorted by null

1 2

  /frameworks/base/core/tests/coretests/src/android/widget/layout/linear/
WeightTest.java 27 import android.widget.layout.linear.Weight;
30 public class WeightTest extends ActivityInstrumentationTestCase<Weight> {
35 super("com.android.frameworks.coretests", Weight.class);
Weight.java 24 public class Weight extends Activity {
  /external/llvm/include/llvm/ProfileData/
SampleProf.h 137 /// Optionally scale sample count \p S by \p Weight.
141 sampleprof_error addSamples(uint64_t S, uint64_t Weight = 1) {
143 if (Weight > 1) {
144 S = SaturatingMultiply(S, Weight, &Overflowed);
156 /// Optionally scale sample count \p S by \p Weight.
161 uint64_t Weight = 1) {
164 if (Weight > 1) {
165 S = SaturatingMultiply(S, Weight, &Overflowed);
183 /// Optionally scale sample counts by \p Weight.
184 sampleprof_error merge(const SampleRecord &Other, uint64_t Weight = 1)
    [all...]
InstrProfWriter.h 40 /// summed. Optionally scale counts by \p Weight.
41 std::error_code addRecord(InstrProfRecord &&I, uint64_t Weight = 1);
  /frameworks/base/core/tests/coretests/src/android/widget/layout/table/
Weight.java 25 * Exercise table layout with cells having a weight.
27 public class Weight extends Activity {
WeightTest.java 19 import android.widget.layout.table.Weight;
27 * {@link android.widget.layout.table.Weight} is
28 * setup to exercise tables in which cells use a weight.
30 public class WeightTest extends ActivityInstrumentationTestCase<Weight> {
37 super("com.android.frameworks.coretests", Weight.class);
44 final Weight activity = getActivity();
  /external/llvm/lib/Analysis/
BlockFrequencyInfoImpl.cpp 51 typedef BlockFrequencyInfoImplBase::Weight Weight;
56 /// This class splits up a single mass into portions by weight, dithering to
67 /// 1. Construct a branch probability, P, as the portion's weight divided
71 /// the current portion's weight and mass.
78 BlockMass takeMass(uint32_t Weight);
90 BlockMass DitheringDistributer::takeMass(uint32_t Weight) {
91 assert(Weight && "invalid weight");
92 assert(Weight <= RemWeight)
    [all...]
BranchProbabilityInfo.cpp 48 // | | (Weight = 124)
52 // | (Weight = 4)
61 /// \brief Unreachable-terminating branch taken weight.
63 /// This is the weight for a branch being taken to a block that terminates
67 /// \brief Unreachable-terminating branch not-taken weight.
69 /// This is the weight for a branch not being taken toward a block that
71 /// taken. Set the weight to an absurdly high value so that nested loops don't
75 /// \brief Weight for a branch taken going into a cold block.
77 /// This is the weight for a branch taken toward a block marked
83 /// \brief Weight for a branch not-taken into a cold block
    [all...]
CFLAliasAnalysis.cpp 113 // \brief Edges can be one of four "weights" -- each weight must have an inverse
114 // weight (Assign has Assign; Reference has Dereference).
116 // The weight assigned when assigning from or to a value. For example, in:
143 // \brief Edge weight
144 EdgeType Weight;
152 : From(From), To(To), Weight(W), AdditionalAttrs(A) {}
505 EdgeTypeT Weight;
508 Edge(const EdgeTypeT &W, const Node &N) : Weight(W), Other(N) {}
511 return Weight == E.Weight && Other == E.Other
    [all...]
  /external/llvm/utils/TableGen/
CodeGenRegisters.h 436 // Weight assigned to this RegUnit for estimating register pressure.
439 unsigned Weight;
450 RegUnit() : Weight(0), RegClassUnitSetsIdx(0) {
466 unsigned Weight; // Cache the sum of all unit weights.
469 RegUnitSet() : Weight(0), Order(0) {}
546 // Compute a weight for each register unit created during getSubRegs.
629 unsigned newRegUnit(unsigned Weight) {
631 RegUnits.back().Weight = Weight;
637 // register additional weight but don't affect aliasing
    [all...]
CodeGenRegisters.cpp 525 unsigned Weight = 0;
528 Weight += RegBank.getRegUnit(*I).Weight;
530 return Weight;
    [all...]
  /external/skia/include/core/
SkFontStyle.h 15 enum Weight {
45 SkFontStyle(int weight, int width, Slant);
53 int weight() const { return fUnion.fR.fWeight; } function in class:SkFontStyle
  /external/llvm/lib/Transforms/Instrumentation/
CFGMST.h 82 // Traverse the CFG using a stack. Find all the edges and assign the weight.
83 // Edges with large weight will be put into MST first so they are less likely
105 uint64_t Weight = 2;
118 Weight = BPI->getEdgeProbability(&*BB, TargetBB).scale(scaleFactor);
119 addEdge(&*BB, TargetBB, Weight).IsCritical = Critical;
121 << TargetBB->getName() << " w=" << Weight << "\n");
131 // Sort CFG edges based on its weight.
136 return Edge1->Weight > Edge2->Weight;
140 // Traverse all the edges and compute the Minimum Weight Spanning Tre
    [all...]
  /external/llvm/lib/Target/Hexagon/MCTargetDesc/
HexagonShuffler.h 30 // the weight or priority that the insn requires to be assigned a slot.
31 unsigned Slots, Weight;
42 unsigned getWeight() const { return (Weight); };
48 // Check if the resources are in ascending weight order.
  /external/llvm/lib/Transforms/IPO/
SampleProfile.cpp 15 // This pass generates branch weight annotations on the IR:
19 // The weight of each edge is the weight of the target block for
20 // that edge. The weight of a block B is computed as the maximum
155 /// The weight of a basic block is defined to be the maximum
404 /// \brief Print the weight of edge \p E on stream \p OS.
409 OS << "weight[" << E.first->getName() << "->" << E.second->getName()
424 /// \brief Print the weight of block \p BB on stream \p OS.
432 OS << "weight[" << BB->getName() << "]: " << W << "\n";
435 /// \brief Get the weight for an instruction
    [all...]
  /external/libvpx/libvpx/vp8/encoder/
mcomp.h 40 extern int vp8_mv_bit_cost(int_mv *mv, int_mv *ref, int *mvcost[2], int Weight);
  /external/llvm/lib/ProfileData/
InstrProfWriter.cpp 98 uint64_t Weight) {
114 if (Weight > 1) {
117 Count = SaturatingMultiply(Count, Weight, &Overflowed);
125 Result = Dest.merge(I, Weight);
InstrProf.cpp 167 uint64_t Weight) {
180 if (Weight > 1) {
181 JCount = SaturatingMultiply(JCount, Weight, &Overflowed);
197 // Scale merged value counts by \p Weight.
200 uint64_t Weight) {
212 ThisSiteRecords[I].mergeValueData(OtherSiteRecords[I], Weight));
217 uint64_t Weight) {
228 if (Weight > 1) {
229 OtherCount = SaturatingMultiply(OtherCount, Weight, &Overflowed);
239 MergeResult(Result, mergeValueProfData(Kind, Other, Weight));
    [all...]
  /hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp8/encoder/
mcomp.h 40 extern int vp8_mv_bit_cost(int_mv *mv, int_mv *ref, int *mvcost[2], int Weight);
  /external/llvm/tools/llvm-profdata/
llvm-profdata.cpp 100 uint64_t Weight;
104 WeightedFile(StringRef F, uint64_t W) : Filename{F}, Weight{W} {}
131 if (std::error_code EC = Writer.addRecord(std::move(I), Input.Weight)) {
183 sampleprof_error Result = ProfileMap[FName].merge(Samples, Input.Weight);
197 uint64_t Weight;
198 if (WeightStr.getAsInteger(10, Weight) || Weight < 1)
199 exitWithError("Input weight must be a positive integer.");
205 return WeightedFile(FileName, Weight);
212 cl::desc("<weight>,<filename>"))
    [all...]
  /packages/apps/ContactsCommon/src/com/android/contacts/common/model/account/
BaseAccountType.java 102 protected interface Weight {
151 R.string.nameLabelsGroup, Weight.NONE, true));
181 R.string.nameLabelsGroup, Weight.NONE, true));
222 R.string.name_phonetic, Weight.NONE, true));
242 R.string.nicknameLabelsGroup, Weight.NICKNAME, true));
258 Weight.PHONE, true));
297 Weight.EMAIL, true));
317 R.string.postalLabelsGroup, Weight.STRUCTURED_POSTAL, true));
340 Weight.IM, true));
371 R.string.organizationLabelsGroup, Weight.ORGANIZATION, true))
    [all...]
  /external/llvm/include/llvm/Analysis/
BlockFrequencyInfoImpl.h 317 /// \brief Unscaled probability weight.
319 /// Probability weight for an edge in the graph (including the
326 /// In addition to the raw weight amount, Weight stores the type of the edge
330 struct Weight {
335 Weight() : Type(Local), Amount(0) {}
336 Weight(DistType Type, BlockNode TargetNode, uint64_t Amount)
340 /// \brief Distribution of unscaled probability weight.
342 /// Distribution of unscaled probability weight to a set of successors.
349 typedef SmallVector<Weight, 4> WeightList
    [all...]
BranchProbabilityInfo.h 87 /// \brief Get the raw edge weight calculated for the edge.
89 /// This returns the raw edge weight. It is guaranteed to fall between 1 and
90 /// UINT32_MAX. Note that the raw edge weight is not meaningful in isolation.
96 /// \brief Get the raw edge weight calculated for the block pair.
105 /// \brief Set the raw edge weight for a given edge.
107 /// This allows a pass to explicitly set the edge weight for an edge. It can
112 uint32_t Weight);
130 // Default weight value. Used when we don't have information about the edge.
132 // the successors have a weight yet. But it doesn't make sense when providing
133 // weight to an edge that may have siblings with non-zero weights. This ca
    [all...]
  /external/llvm/lib/CodeGen/
RegisterPressure.cpp 28 unsigned Weight = PSetI.getWeight();
30 CurrSetPressure[*PSetI] += Weight;
36 unsigned Weight = PSetI.getWeight();
38 assert(CurrSetPressure[*PSetI] >= Weight && "register pressure underflow");
39 CurrSetPressure[*PSetI] -= Weight;
97 unsigned Weight = PSetI.getWeight();
99 CurrSetPressure[*PSetI] += Weight;
439 int Weight = IsDec ? -PSetI.getWeight() : PSetI.getWeight();
457 unsigned NewUnitInc = I->getUnitInc() + Weight;
    [all...]
  /external/skia/src/sfnt/
SkPanose.h 54 struct Weight {
234 struct Weight {
382 struct Weight {
543 struct Weight {

Completed in 1154 milliseconds

1 2