Home
last modified time | relevance | path

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

12345678910>>...26

/external/icu/icu4j/main/classes/collate/src/com/ibm/icu/impl/coll/
DCollationWeights.java142 long weight = range.start; in nextWeight() local
148 range.start = incWeight(weight, range.length); in nextWeight()
152 return weight; in nextWeight()
177 public static int lengthOfWeight(long weight) { in lengthOfWeight() argument
178 if((weight&0xffffff)==0) { in lengthOfWeight()
180 } else if((weight&0xffff)==0) { in lengthOfWeight()
182 } else if((weight&0xff)==0) { in lengthOfWeight()
189 private static int getWeightTrail(long weight, int length) { in getWeightTrail() argument
190 return (int)(weight>>(8*(4-length)))&0xff; in getWeightTrail()
193 private static long setWeightTrail(long weight, int length, int trail) { in setWeightTrail() argument
[all …]
/external/icu/android_icu4j/src/main/java/android/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/chromium-trace/catapult/third_party/gsutil/third_party/boto/bin/
Droute5375 def _add_del(conn, hosted_zone_id, change, name, type, identifier, weight, values, ttl, comment): argument
79 identifier=identifier, weight=weight)
84 def _add_del_alias(conn, hosted_zone_id, change, name, type, identifier, weight, alias_hosted_zone_… argument
88 identifier=identifier, weight=weight)
93 identifier=None, weight=None, comment=""): argument
96 weight, values, ttl, comment)
99 identifier=None, weight=None, comment=""): argument
102 weight, values, ttl, comment)
105 alias_dns_name, identifier=None, weight=None, comment=""): argument
108 weight, alias_hosted_zone_id, alias_dns_name, comment)
[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/opencv3/modules/photo/src/
Dfast_nlmeans_denoising_invoker_commons.hpp141 WT weight = (WT)cvRound(fixed_point_mult * w); in f() local
142 if (weight < WEIGHT_THRESHOLD * fixed_point_mult) weight = 0; in f()
144 return weight; in f()
263 WT weight = (WT)cvRound(fixed_point_mult * w); in f() local
264 if (weight < WEIGHT_THRESHOLD * fixed_point_mult) weight = 0; in f()
266 return weight; in f()
318 static inline void f(IT* estimation, IT* weights_sum, WT weight, T p) in f()
320 estimation[0] += (IT)weight * p; in f()
321 weights_sum[0] += (IT)weight; in f()
327 static inline void f(IT* estimation, IT* weights_sum, WT weight, Vec<ET, 2> p) in f()
[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/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/icu4c/source/i18n/
Dcollationweights.cpp42 getWeightTrail(uint32_t weight, int32_t length) { in getWeightTrail() argument
43 return (uint32_t)(weight>>(8*(4-length)))&0xff; in getWeightTrail()
47 setWeightTrail(uint32_t weight, int32_t length, uint32_t trail) { in setWeightTrail() argument
49 return (uint32_t)((weight&(0xffffff00<<length))|(trail<<length)); in setWeightTrail()
53 getWeightByte(uint32_t weight, int32_t idx) { in getWeightByte() argument
54 return getWeightTrail(weight, idx); /* same calculation */ in getWeightByte()
58 setWeightByte(uint32_t weight, int32_t idx, uint32_t byte) { in setWeightByte() argument
78 return (uint32_t)((weight&mask)|(byte<<idx)); in setWeightByte()
82 truncateWeight(uint32_t weight, int32_t length) { in truncateWeight() argument
83 return (uint32_t)(weight&(0xffffffff<<(8*(4-length)))); in truncateWeight()
[all …]
/external/icu/android_icu4j/src/main/java/android/icu/util/
DLocalePriorityList.java95 public static Builder add(ULocale languageCode, final double weight) { in add() argument
96 return new Builder().add(languageCode, weight); in add()
142 double weight = languagesAndWeights.get(language); in toString() local
143 if (weight != D1) { in toString()
144 result.append(";q=").append(weight); in toString()
230 Double weight = languageToWeight.get(lang); in build() local
231 Set<ULocale> s = doubleCheck.get(weight); in build()
233 doubleCheck.put(weight, s = new LinkedHashSet<ULocale>()); in build()
241 final Double weight = langEntry.getKey(); in build() local
243 temp.put(lang, preserveWeights ? weight : D1); in build()
[all …]
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/
DLocalePriorityList.java96 public static Builder add(ULocale languageCode, final double weight) { in add() argument
97 return new Builder().add(languageCode, weight); in add()
147 double weight = languagesAndWeights.get(language); in toString() local
148 if (weight != D1) { in toString()
149 result.append(";q=").append(weight); in toString()
241 Double weight = languageToWeight.get(lang); in build() local
242 Set<ULocale> s = doubleCheck.get(weight); in build()
244 doubleCheck.put(weight, s = new LinkedHashSet<ULocale>()); in build()
252 final Double weight = langEntry.getKey(); in build() local
254 temp.put(lang, preserveWeights ? weight : D1); in build()
[all …]
/external/opencv3/modules/imgproc/src/
Dgcgraph.hpp66 TWeight weight; member in GCGraph::Vtx
74 TWeight weight; member in GCGraph::Edge
127 fromI.weight = w; in addEdges()
133 toI.weight = revw; in addEdges()
143 TWeight dw = vtcs[i].weight; in addTermWeights()
149 vtcs[i].weight = sourceW - sinkW; in addTermWeights()
169 if( v->weight != 0 ) in maxFlow()
174 v->t = v->weight < 0; in maxFlow()
188 TWeight minWeight, weight; in maxFlow() local
200 if( edgePtr[ei^vt].weight == 0 ) in maxFlow()
[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…
6 …llvm-profdata merge -instr -weighted-input=1,%p/Inputs/weight-instr-bar.profdata %p/Inputs/weight-…
30 2- Merge the foo and bar profiles with weight 3x and 5x respectively and verify the combined output
31 …data merge -instr -weighted-input=3,%p/Inputs/weight-instr-bar.profdata -weighted-input=5,%p/Input…
55 3- Bad merge: invalid weight
56 …data merge -instr -weighted-input=3,%p/Inputs/weight-instr-bar.profdata -weighted-input=0,%p/Input…
57 …ata merge -instr -weighted-input=3,%p/Inputs/weight-instr-bar.profdata -weighted-input=0.75,%p/Inp…
58 …data merge -instr -weighted-input=3,%p/Inputs/weight-instr-bar.profdata -weighted-input=-5,%p/Inpu…
59 …fdata merge -instr -weighted-input=3,%p/Inputs/weight-instr-bar.profdata -weighted-input=,%p/Input…
[all …]
/external/skia/src/core/
DSkFontMgr.cpp251 if (pattern.weight() == current.weight()) { in matchStyleCSS3()
253 } else if (pattern.weight() <= 500) { in matchStyleCSS3()
254 if (400 <= pattern.weight() && pattern.weight() < 450) { in matchStyleCSS3()
255 if (450 <= current.weight() && current.weight() <= 500) { in matchStyleCSS3()
261 if (current.weight() <= pattern.weight()) { in matchStyleCSS3()
262 currentScore.score += 1000 - pattern.weight() + current.weight(); in matchStyleCSS3()
264 currentScore.score += 1000 - current.weight(); in matchStyleCSS3()
266 } else if (pattern.weight() > 500) { in matchStyleCSS3()
267 if (current.weight() > pattern.weight()) { in matchStyleCSS3()
268 currentScore.score += 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/chromium-trace/catapult/telemetry/third_party/webpagereplay/third_party/dns/rdtypes/IN/
DSRV.py37 def __init__(self, rdclass, rdtype, priority, weight, port, target): argument
40 self.weight = weight
46 return '%d %d %d %s' % (self.priority, self.weight, self.port,
51 weight = tok.get_uint16()
56 return cls(rdclass, rdtype, priority, weight, port, target)
61 three_ints = struct.pack("!HHH", self.priority, self.weight, self.port)
66 (priority, weight, port) = struct.unpack('!HHH',
76 return cls(rdclass, rdtype, priority, weight, port, target)
84 sp = struct.pack("!HHH", self.priority, self.weight, self.port)
85 op = struct.pack("!HHH", other.priority, other.weight, other.port)
/external/autotest/client/profilers/powertop/src/
Dsuggestions.c46 int weight; member
80 void add_suggestion(char *text, int weight, char key, char *keystring, suggestion_func *func) in add_suggestion() argument
92 new->weight = weight; in add_suggestion()
99 total_weight += weight; in add_suggestion()
106 int weight; in pick_suggestion() local
118 weight = total_weight; in pick_suggestion()
120 weight+=50; in pick_suggestion()
121 value = rand() % weight; in pick_suggestion()
124 running += ptr->weight; in pick_suggestion()
/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()
/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/skia/src/pathops/
DSkPathOpsCurve.h98 static SkDPoint dconic_xy_at_t(const SkPoint a[3], SkScalar weight, double t) { in dconic_xy_at_t() argument
100 conic.set(a, weight); in dconic_xy_at_t()
118 static SkPoint fline_xy_at_t(const SkPoint a[2], SkScalar weight, double t) { in fline_xy_at_t() argument
119 return dline_xy_at_t(a, weight, t).asSkPoint(); in fline_xy_at_t()
122 static SkPoint fquad_xy_at_t(const SkPoint a[3], SkScalar weight, double t) { in fquad_xy_at_t() argument
123 return dquad_xy_at_t(a, weight, t).asSkPoint(); in fquad_xy_at_t()
126 static SkPoint fconic_xy_at_t(const SkPoint a[3], SkScalar weight, double t) { in fconic_xy_at_t() argument
127 return dconic_xy_at_t(a, weight, t).asSkPoint(); in fconic_xy_at_t()
130 static SkPoint fcubic_xy_at_t(const SkPoint a[4], SkScalar weight, double t) { in fcubic_xy_at_t() argument
131 return dcubic_xy_at_t(a, weight, t).asSkPoint(); in fcubic_xy_at_t()
[all …]
/external/chromium-trace/catapult/third_party/gsutil/third_party/boto/boto/route53/
Drecord.py72 weight=None, region=None, alias_evaluate_target_health=None, argument
142 weight=weight, region=region,
247 weight=None, region=None, alias_evaluate_target_health=None, argument
258 self.weight = weight
302 weight = ""
304 if self.identifier is not None and self.weight is not None:
305 weight = self.WRRBody % {"identifier": self.identifier,
306 "weight": self.weight}
308 weight = self.RRRBody % {"identifier": self.identifier,
311 weight = self.FailoverBody % {"identifier": self.identifier,
[all …]
/external/gemmlowp/profiling/
Dprofiler.h161 std::size_t weight; member
162 Node() : label(nullptr), weight(0) {} in Node()
171 return n1->weight > n2->weight; in CompareNodes()
181 printf("%.2f%% %s\n", 100.0f * node->weight / root_.weight, node->label); in PrintNode()
190 node->weight++; in AddStackToNode()
218 top_level_children_weight += c->weight; in AddOtherChildrenToNode()
224 other_child->weight = node->weight - top_level_children_weight; in AddOtherChildrenToNode()
253 static_cast<int>(root_.weight)); in Print()
/external/opencv3/modules/cudabgsegm/src/cuda/
Dmog2.cu165 float weight = alpha1 * gmm_weight(mode * frame.rows + y, x) + prune; in mog2() local
192 weight += alphaT; in mog2()
193 float k = alphaT / weight; in mog2()
214 if (weight < gmm_weight((i - 1) * frame.rows + y, x)) in mog2()
229 if (weight < -prune) in mog2()
231 weight = 0.0f; in mog2()
235 …gmm_weight((mode - swap_count) * frame.rows + y, x) = weight; //update weight by the calculated va… in mog2()
236 totalWeight += weight; in mog2()
333 …er(PtrStepSzb frame, PtrStepSzb fgmask, PtrStepSzb modesUsed, PtrStepSzf weight, PtrStepSzf varian… in mog2_caller() argument
346weight, variance, (PtrStepSz<WorkT>) mean, in mog2_caller()
[all …]
/external/icu/icu4j/main/tests/translit/src/com/ibm/icu/dev/util/
DBNF.java188 int weight = getWeight(); in qualify() local
189 if (weight == NO_WEIGHT) weight = 50; in qualify()
190 weights = new int[] {100-weight, weight}; in qualify()
273 int weight = getWeight(); in getAlternation() local
274 if (weight == NO_WEIGHT) weight = 1; in getAlternation()
277 lastWeight = weight; in getAlternation()
280 result = result.or2(weight, temp); in getAlternation()
294 int weight; in getWeight() local
300 weight = (int)t.getNumber(); in getWeight()
303 return weight; in getWeight()
[all …]
/external/icu/android_icu4j/src/main/tests/android/icu/dev/util/
DBNF.java189 int weight = getWeight(); in qualify() local
190 if (weight == NO_WEIGHT) weight = 50; in qualify()
191 weights = new int[] {100-weight, weight}; in qualify()
274 int weight = getWeight(); in getAlternation() local
275 if (weight == NO_WEIGHT) weight = 1; in getAlternation()
278 lastWeight = weight; in getAlternation()
281 result = result.or2(weight, temp); in getAlternation()
295 int weight; in getWeight() local
301 weight = (int)t.getNumber(); in getWeight()
304 return weight; in getWeight()
[all …]

12345678910>>...26