Home
last modified time | relevance | path

Searched refs:weight (Results 1 – 25 of 831) sorted by relevance

12345678910>>...34

/external/chromium-trace/catapult/systrace/systrace/test_data/
Dprofile-chrome_systrace_perf_chrome_data1weight": 297850, "ts": 196493621870.241, "cpu": 2, "comm": "ksoftirqd/2", "tid": 14106, "sf": 539}…
/external/icu/android_icu4j/src/main/java/android/icu/impl/coll/
DCollationWeights.java146 long weight = range.start; in nextWeight() local
152 range.start = incWeight(weight, range.length); in nextWeight()
156 return weight; in nextWeight()
181 public static int lengthOfWeight(long weight) { in lengthOfWeight() argument
182 if((weight&0xffffff)==0) { in lengthOfWeight()
184 } else if((weight&0xffff)==0) { in lengthOfWeight()
186 } else if((weight&0xff)==0) { in lengthOfWeight()
193 private static int getWeightTrail(long weight, int length) { in getWeightTrail() argument
194 return (int)(weight>>(8*(4-length)))&0xff; in getWeightTrail()
197 private static long setWeightTrail(long weight, int length, int trail) { in setWeightTrail() argument
[all …]
/external/icu/icu4j/main/classes/collate/src/com/ibm/icu/impl/coll/
DCollationWeights.java144 long weight = range.start; in nextWeight() local
150 range.start = incWeight(weight, range.length); in nextWeight()
154 return weight; in nextWeight()
179 public static int lengthOfWeight(long weight) { in lengthOfWeight() argument
180 if((weight&0xffffff)==0) { in lengthOfWeight()
182 } else if((weight&0xffff)==0) { in lengthOfWeight()
184 } else if((weight&0xff)==0) { in lengthOfWeight()
191 private static int getWeightTrail(long weight, int length) { in getWeightTrail() argument
192 return (int)(weight>>(8*(4-length)))&0xff; in getWeightTrail()
195 private static long setWeightTrail(long weight, int length, int trail) { in setWeightTrail() argument
[all …]
/external/jmdns/src/javax/jmdns/
DServiceInfo.java119 …o create(final String type, final String name, final int port, final int weight, final int priorit… in create() argument
120 return new ServiceInfoImpl(type, name, "", port, weight, priority, false, text); in create()
142 …type, final String name, final String subtype, final int port, final int weight, final int priorit… in create() argument
143 return new ServiceInfoImpl(type, name, subtype, port, weight, priority, false, text); in create()
163 …o create(final String type, final String name, final int port, final int weight, final int priorit… in create() argument
164 return new ServiceInfoImpl(type, name, "", port, weight, priority, false, props); in create()
186 …type, final String name, final String subtype, final int port, final int weight, final int priorit… in create() argument
187 return new ServiceInfoImpl(type, name, subtype, port, weight, priority, false, props); in create()
207 …o create(final String type, final String name, final int port, final int weight, final int priorit… in create() argument
208 return new ServiceInfoImpl(type, name, "", port, weight, priority, false, text); in create()
[all …]
/external/caliper/caliper/src/main/java/com/google/caliper/model/
DMeasurement.java50 private double weight;
55 this.weight = 0.0;
62 this.weight = builder.weight;
71 && this.weight == that.weight
79 return Objects.hashCode(value, weight, description);
85 .add("weight", weight)
94 public double weight() {
95 return weight;
104 private Double weight;
112 public Builder weight(double weight) {
[all …]
/external/icu/icu4c/source/i18n/
Dcollationweights.cpp44 getWeightTrail(uint32_t weight, int32_t length) { in getWeightTrail() argument
45 return (uint32_t)(weight>>(8*(4-length)))&0xff; in getWeightTrail()
49 setWeightTrail(uint32_t weight, int32_t length, uint32_t trail) { in setWeightTrail() argument
51 return (uint32_t)((weight&(0xffffff00<<length))|(trail<<length)); in setWeightTrail()
55 getWeightByte(uint32_t weight, int32_t idx) { in getWeightByte() argument
56 return getWeightTrail(weight, idx); /* same calculation */ in getWeightByte()
60 setWeightByte(uint32_t weight, int32_t idx, uint32_t byte) { in setWeightByte() argument
80 return (uint32_t)((weight&mask)|(byte<<idx)); in setWeightByte()
84 truncateWeight(uint32_t weight, int32_t length) { in truncateWeight() argument
85 return (uint32_t)(weight&(0xffffffff<<(8*(4-length)))); in truncateWeight()
[all …]
/external/glide/library/src/main/java/com/bumptech/glide/load/engine/prefill/
DPreFillType.java15 private final int weight; field in PreFillType
29 PreFillType(int width, int height, Bitmap.Config config, int weight) { in PreFillType() argument
37 this.weight = weight; in PreFillType()
65 return weight; in getWeight()
74 && weight == other.weight in equals()
85 result = 31 * result + weight; in hashCode()
95 + ", weight=" + weight in toString()
107 private int weight = 1; field in PreFillType.Builder
157 public Builder setWeight(int weight) { in setWeight() argument
158 if (weight <= 0) { in setWeight()
[all …]
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/
DLocalePriorityList.java98 public static Builder add(ULocale languageCode, final double weight) { in add() argument
99 return new Builder().add(languageCode, weight); in add()
149 double weight = languagesAndWeights.get(language); in toString() local
150 if (weight != D1) { in toString()
151 result.append(";q=").append(weight); in toString()
243 Double weight = languageToWeight.get(lang); in build() local
244 Set<ULocale> s = doubleCheck.get(weight); in build()
246 doubleCheck.put(weight, s = new LinkedHashSet<ULocale>()); in build()
254 final Double weight = langEntry.getKey(); in build() local
256 temp.put(lang, preserveWeights ? weight : D1); in build()
[all …]
/external/icu/android_icu4j/src/main/java/android/icu/util/
DLocalePriorityList.java97 public static Builder add(ULocale languageCode, final double weight) { in add() argument
98 return new Builder().add(languageCode, weight); in add()
144 double weight = languagesAndWeights.get(language); in toString() local
145 if (weight != D1) { in toString()
146 result.append(";q=").append(weight); in toString()
232 Double weight = languageToWeight.get(lang); in build() local
233 Set<ULocale> s = doubleCheck.get(weight); in build()
235 doubleCheck.put(weight, s = new LinkedHashSet<ULocale>()); in build()
243 final Double weight = langEntry.getKey(); in build() local
245 temp.put(lang, preserveWeights ? weight : D1); in build()
[all …]
/external/tensorflow/tensorflow/examples/android/jni/object_tracking/
Dframe_pair.cc190 float weight; member
211 if (weighted_deltas[i].weight > 0.0f) { in GetMedian()
212 current_weight += weighted_deltas[i].weight; in GetMedian()
236 const float weight = weights[i]; in GetWeightedMedian() local
237 weighted_deltas[i].weight = weight; in GetWeightedMedian()
238 if (weight > 0.0f) { in GetWeightedMedian()
239 total_weight += weight; in GetWeightedMedian()
253 const float weight = weights[i]; in GetWeightedMedian() local
254 weighted_deltas[i].weight = weight; in GetWeightedMedian()
256 if (weight > 0.0f) { in GetWeightedMedian()
[all …]
/external/swiftshader/third_party/LLVM/docs/CommandGuide/
Dmanpage.css14 font-family: Arial,Helvetica; font-weight: bold; text-decoration: none;
18 font-family: Arial,Helvetica; font-weight: bold; text-decoration: none;
22 font-family: Arial,Helvetica; font-weight: bold; text-decoration: none;
26 font-family: Arial,Helvetica; font-weight: bold; text-decoration: none;
30 font-family: Arial,Helvetica; font-weight: bold; text-decoration: none;
34 font-family: Arial,Helvetica; font-weight: bold; text-decoration: none;
38 font-family: Arial,Helvetica; font-weight: normal; text-decoration: none;
45 font-family: Arial,Helvetica; font-weight: bold; text-decoration: none;
49 font-family: Arial,Helvetica; font-weight: bold; text-decoration: none;
53 font-family: Arial,Helvetica; font-weight: bold; text-decoration: none;
[all …]
/external/swiftshader/third_party/LLVM/docs/CommandGuide/html/
Dmanpage.css14 font-family: Arial,Helvetica; font-weight: bold; text-decoration: none;
18 font-family: Arial,Helvetica; font-weight: bold; text-decoration: none;
22 font-family: Arial,Helvetica; font-weight: bold; text-decoration: none;
26 font-family: Arial,Helvetica; font-weight: bold; text-decoration: none;
30 font-family: Arial,Helvetica; font-weight: bold; text-decoration: none;
34 font-family: Arial,Helvetica; font-weight: bold; text-decoration: none;
38 font-family: Arial,Helvetica; font-weight: normal; text-decoration: none;
45 font-family: Arial,Helvetica; font-weight: bold; text-decoration: none;
49 font-family: Arial,Helvetica; font-weight: bold; text-decoration: none;
53 font-family: Arial,Helvetica; font-weight: bold; text-decoration: none;
[all …]
/external/abi-compliance-checker/modules/Internals/Styles/
DReport.css24 font-weight:bold;
31 font-weight:bold;
58 font-weight:100;
63 font-weight:bold;
76 font-weight:bold;
79 font-weight:bold;
84 font-weight:bold;
89 font-weight:bold;
93 font-weight:normal;
141 font-weight:bold;
[all …]
/external/llvm/test/tools/llvm-profdata/
Dweight-sample.test3 1- Merge the foo and bar profiles with unity weight and verify the combined output
4 …rge -sample -text -weighted-input=1,%p/Inputs/weight-sample-bar.proftext -weighted-input=1,%p/Inpu…
5 …ofdata merge -sample -text -weighted-input=1,%p/Inputs/weight-sample-bar.proftext %p/Inputs/weight
23 2- Merge the foo and bar profiles with weight 3x and 5x respectively and verify the combined output
24 …rge -sample -text -weighted-input=3,%p/Inputs/weight-sample-bar.proftext -weighted-input=5,%p/Inpu…
42 3- Bad merge: invalid weight
43 …ata merge -sample -weighted-input=3,%p/Inputs/weight-sample-bar.proftext -weighted-input=0,%p/Inpu…
44 …a merge -sample -weighted-input=3,%p/Inputs/weight-sample-bar.proftext -weighted-input=0.75,%p/Inp…
45 …ta merge -sample -weighted-input=3,%p/Inputs/weight-sample-bar.proftext -weighted-input=-5,%p/Inpu…
46 …ata merge -sample -weighted-input=3,%p/Inputs/weight-sample-bar.proftext -weighted-input=,%p/Input…
[all …]
Dweight-instr.test3 1- Merge the foo and bar profiles with unity weight and verify the combined output
4 …data merge -instr -weighted-input=1,%p/Inputs/weight-instr-bar.profdata -weighted-input=1,%p/Input…
10 …llvm-profdata merge -instr -weighted-input=1,%p/Inputs/weight-instr-bar.profdata %p/Inputs/weight-…
38 2- Merge the foo and bar profiles with weight 3x and 5x respectively and verify the combined output
39 …data merge -instr -weighted-input=3,%p/Inputs/weight-instr-bar.profdata -weighted-input=5,%p/Input…
67 3- Bad merge: invalid weight
68 …data merge -instr -weighted-input=3,%p/Inputs/weight-instr-bar.profdata -weighted-input=0,%p/Input…
69 …ata merge -instr -weighted-input=3,%p/Inputs/weight-instr-bar.profdata -weighted-input=0.75,%p/Inp…
70 …data merge -instr -weighted-input=3,%p/Inputs/weight-instr-bar.profdata -weighted-input=-5,%p/Inpu…
71 …fdata merge -instr -weighted-input=3,%p/Inputs/weight-instr-bar.profdata -weighted-input=,%p/Input…
[all …]
/external/stressapptest/src/
Dpattern.cc288 int weight) { in Initialize() argument
294 weight_ = weight; in Initialize()
346 weightcount += pattern_array[i].weight[0]; in Initialize()
348 pattern_array[i].weight[0]); in Initialize()
349 weightcount += pattern_array[i].weight[1]; in Initialize()
351 pattern_array[i].weight[1]); in Initialize()
352 weightcount += pattern_array[i].weight[2]; in Initialize()
354 pattern_array[i].weight[2]); in Initialize()
355 weightcount += pattern_array[i].weight[3]; in Initialize()
357 pattern_array[i].weight[3]); in Initialize()
[all …]
/external/libnl/doc/stylesheets/
Dpygments.css8 .highlight .k { color: #AA22FF; font-weight: bold } /* Keyword */
13 .highlight .cs { color: #008800; font-weight: bold } /* Comment.Special */
17 .highlight .gh { color: #000080; font-weight: bold } /* Generic.Heading */
20 .highlight .gp { color: #000080; font-weight: bold } /* Generic.Prompt */
21 .highlight .gs { font-weight: bold } /* Generic.Strong */
22 .highlight .gu { color: #800080; font-weight: bold } /* Generic.Subheading */
24 .highlight .kc { color: #AA22FF; font-weight: bold } /* Keyword.Constant */
25 .highlight .kd { color: #AA22FF; font-weight: bold } /* Keyword.Declaration */
26 .highlight .kn { color: #AA22FF; font-weight: bold } /* Keyword.Namespace */
28 .highlight .kr { color: #AA22FF; font-weight: bold } /* Keyword.Reserved */
[all …]
/external/skqp/src/core/
DSkFontMgr.cpp275 if (pattern.weight() == current.weight()) { in matchStyleCSS3()
277 } else if (pattern.weight() <= 500) { in matchStyleCSS3()
278 if (400 <= pattern.weight() && pattern.weight() < 450) { in matchStyleCSS3()
279 if (450 <= current.weight() && current.weight() <= 500) { in matchStyleCSS3()
285 if (current.weight() <= pattern.weight()) { in matchStyleCSS3()
286 currentScore += 1000 - pattern.weight() + current.weight(); in matchStyleCSS3()
288 currentScore += 1000 - current.weight(); in matchStyleCSS3()
290 } else if (pattern.weight() > 500) { in matchStyleCSS3()
291 if (current.weight() > pattern.weight()) { in matchStyleCSS3()
292 currentScore += 1000 + pattern.weight() - current.weight(); in matchStyleCSS3()
[all …]
/external/skia/src/core/
DSkFontMgr.cpp275 if (pattern.weight() == current.weight()) { in matchStyleCSS3()
277 } else if (pattern.weight() <= 500) { in matchStyleCSS3()
278 if (400 <= pattern.weight() && pattern.weight() < 450) { in matchStyleCSS3()
279 if (450 <= current.weight() && current.weight() <= 500) { in matchStyleCSS3()
285 if (current.weight() <= pattern.weight()) { in matchStyleCSS3()
286 currentScore += 1000 - pattern.weight() + current.weight(); in matchStyleCSS3()
288 currentScore += 1000 - current.weight(); in matchStyleCSS3()
290 } else if (pattern.weight() > 500) { in matchStyleCSS3()
291 if (current.weight() > pattern.weight()) { in matchStyleCSS3()
292 currentScore += 1000 + pattern.weight() - current.weight(); in matchStyleCSS3()
[all …]
/external/apache-commons-math/src/main/java/org/apache/commons/math/estimation/
DWeightedMeasurement.java60 private final double weight; field in WeightedMeasurement
79 public WeightedMeasurement(double weight, double measuredValue) { in WeightedMeasurement() argument
80 this.weight = weight; in WeightedMeasurement()
93 public WeightedMeasurement(double weight, double measuredValue, in WeightedMeasurement() argument
95 this.weight = weight; in WeightedMeasurement()
106 return weight; in getWeight()
/external/skqp/tests/
DTypefaceTest.cpp25 uint16_t weight, uint16_t width, SkData* data) in TypefaceStyle_test() argument
48 os2Table->usWeightClass.value = SkEndian_SwapBE16(weight); in TypefaceStyle_test()
67 newStyle.weight() == weight || in TypefaceStyle_test()
68 (weight <= 10 && newStyle.weight() == 100 * weight) || in TypefaceStyle_test()
69 (weight == 4 && newStyle.weight() == 350) || // GDI weirdness in TypefaceStyle_test()
70 (weight == 5 && newStyle.weight() == 400) || // GDI weirdness in TypefaceStyle_test()
71 (weight == 0 && newStyle.weight() == 1) || // DW weirdness in TypefaceStyle_test()
72 (weight == 1000 && newStyle.weight() == 999) // DW weirdness in TypefaceStyle_test()
89 for (int weight = SkFS::kInvisible_Weight; weight <= SkFS::kExtraBlack_Weight; ++weight) { in DEF_TEST() local
90 TypefaceStyle_test(reporter, weight, 5, data.get()); in DEF_TEST()
/external/skia/tests/
DTypefaceTest.cpp25 uint16_t weight, uint16_t width, SkData* data) in TypefaceStyle_test() argument
48 os2Table->usWeightClass.value = SkEndian_SwapBE16(weight); in TypefaceStyle_test()
67 newStyle.weight() == weight || in TypefaceStyle_test()
68 (weight <= 10 && newStyle.weight() == 100 * weight) || in TypefaceStyle_test()
69 (weight == 4 && newStyle.weight() == 350) || // GDI weirdness in TypefaceStyle_test()
70 (weight == 5 && newStyle.weight() == 400) || // GDI weirdness in TypefaceStyle_test()
71 (weight == 0 && newStyle.weight() == 1) || // DW weirdness in TypefaceStyle_test()
72 (weight == 1000 && newStyle.weight() == 999) // DW weirdness in TypefaceStyle_test()
89 for (int weight = SkFS::kInvisible_Weight; weight <= SkFS::kExtraBlack_Weight; ++weight) { in DEF_TEST() local
90 TypefaceStyle_test(reporter, weight, 5, data.get()); in DEF_TEST()
/external/tensorflow/tensorflow/contrib/lite/kernels/
Dlsh_projection.cc89 TfLiteTensor* weight = GetInput(context, node, 2); in Resize() local
90 TF_LITE_ENSURE_EQ(context, NumDimensions(weight), 1); in Resize()
91 TF_LITE_ENSURE_EQ(context, SizeOfDimension(weight, 0), in Resize()
115 int RunningSignBit(const TfLiteTensor* input, const TfLiteTensor* weight, in RunningSignBit() argument
133 if (weight == nullptr) { in RunningSignBit()
136 score += weight->data.f[i] * running_value; in RunningSignBit()
144 const TfLiteTensor* weight, int32_t* out_buf) { in SparseLshProjection() argument
151 int bit = RunningSignBit(input, weight, seed); in SparseLshProjection()
159 const TfLiteTensor* weight, int32_t* out_buf) { in DenseLshProjection() argument
165 int bit = RunningSignBit(input, weight, seed); in DenseLshProjection()
[all …]
/external/zopfli/src/zopfli/
Dkatajainen.c36 size_t weight; /* Total weight (symbol count) of this chain. */ member
54 static void InitNode(size_t weight, int count, Node* tail, Node* node) { in InitNode() argument
55 node->weight = weight; in InitNode()
123 InitNode(leaves[lastcount].weight, lastcount + 1, 0, newchain); in BoundaryPM()
125 size_t sum = lists[index - 1][0]->weight + lists[index - 1][1]->weight; in BoundaryPM()
126 if (lastcount < numsymbols && sum > leaves[lastcount].weight) { in BoundaryPM()
128 InitNode(leaves[lastcount].weight, lastcount + 1, oldchain->tail, in BoundaryPM()
150 InitNode(leaves[0].weight, 1, 0, node0); in InitLists()
151 InitNode(leaves[1].weight, 2, 0, node1); in InitLists()
177 return ((const Node*)a)->weight - ((const Node*)b)->weight; in LeafComparator()
[all …]
/external/bzip2/
Dhuffman.c37 while (weight[tmp] < weight[heap[zz >> 1]]) { \
52 weight[heap[yy+1]] < weight[heap[yy]]) \
54 if (weight[tmp] < weight[heap[yy]]) break; \
76 Int32 weight [ BZ_MAX_ALPHA_SIZE * 2 ]; in BZ2_hbMakeCodeLengths() local
80 weight[i+1] = (freq[i] == 0 ? 1 : freq[i]) << 8; in BZ2_hbMakeCodeLengths()
88 weight[0] = 0; in BZ2_hbMakeCodeLengths()
105 weight[nNodes] = ADDWEIGHTS(weight[n1], weight[n2]); in BZ2_hbMakeCodeLengths()
143 j = weight[i] >> 8; in BZ2_hbMakeCodeLengths()
145 weight[i] = j << 8; in BZ2_hbMakeCodeLengths()

12345678910>>...34