Searched defs:weight (Results 76 - 100 of 274) sorted by relevance

1234567891011

/external/chromium_org/third_party/skia/src/opts/
H A DSkBitmapFilter_opts_SSE2.cpp59 __m128 weight = _mm_setzero_ps(); local
89 weight = _mm_add_ps( weight, weightVector );
93 accum = _mm_div_ps(accum, weight);
/external/freetype/include/
H A Dftwinfnt.h199 FT_UShort weight; member in struct:FT_WinFNT_HeaderRec_
/external/icu/icu4c/source/i18n/
H A Dcollationweights.cpp37 /* collation element weight allocation -------------------------------------- */
42 getWeightTrail(uint32_t weight, int32_t length) { argument
43 return (uint32_t)(weight>>(8*(4-length)))&0xff;
47 setWeightTrail(uint32_t weight, int32_t length, uint32_t trail) { argument
49 return (uint32_t)((weight&(0xffffff00<<length))|(trail<<length));
53 getWeightByte(uint32_t weight, int32_t idx) { argument
54 return getWeightTrail(weight, idx); /* same calculation */
58 setWeightByte(uint32_t weight, int32_t idx, uint32_t byte) { argument
78 return (uint32_t)((weight&mask)|(byte<<idx));
82 truncateWeight(uint32_t weight, int32_ argument
87 incWeightTrail(uint32_t weight, int32_t length) argument
92 decWeightTrail(uint32_t weight, int32_t length) argument
152 incWeight(uint32_t weight, int32_t length) const argument
167 incWeightByOffset(uint32_t weight, int32_t length, int32_t offset) const argument
261 uint32_t weight=lowerLimit; local
527 uint32_t weight = range.start; local
[all...]
/external/jmdns/src/javax/jmdns/
H A DServiceInfo.java111 * @param weight
112 * weight of the service
119 public static ServiceInfo create(final String type, final String name, final int port, final int weight, final int priority, final String text) { argument
120 return new ServiceInfoImpl(type, name, "", port, weight, priority, false, text);
134 * @param weight
135 * weight of the service
142 public static ServiceInfo create(final String type, final String name, final String subtype, final int port, final int weight, final int priority, final String text) { argument
143 return new ServiceInfoImpl(type, name, subtype, port, weight, priority, false, text);
155 * @param weight
156 * weight o
163 create(final String type, final String name, final int port, final int weight, final int priority, final Map<String, ?> props) argument
186 create(final String type, final String name, final String subtype, final int port, final int weight, final int priority, final Map<String, ?> props) argument
207 create(final String type, final String name, final int port, final int weight, final int priority, final byte[] text) argument
230 create(final String type, final String name, final String subtype, final int port, final int weight, final int priority, final byte[] text) argument
253 create(final String type, final String name, final int port, final int weight, final int priority, final boolean persistent, final String text) argument
278 create(final String type, final String name, final String subtype, final int port, final int weight, final int priority, final boolean persistent, final String text) argument
301 create(final String type, final String name, final int port, final int weight, final int priority, final boolean persistent, final Map<String, ?> props) argument
326 create(final String type, final String name, final String subtype, final int port, final int weight, final int priority, final boolean persistent, final Map<String, ?> props) argument
349 create(final String type, final String name, final int port, final int weight, final int priority, final boolean persistent, final byte[] text) argument
374 create(final String type, final String name, final String subtype, final int port, final int weight, final int priority, final boolean persistent, final byte[] text) argument
395 create(final Map<Fields, String> qualifiedNameMap, final int port, final int weight, final int priority, final boolean persistent, final Map<String, ?> props) argument
[all...]
/external/libnl/lib/route/
H A Dnexthop.c157 nl_dump(dp, " weight %u", nh->rtnh_weight);
232 void rtnl_route_nh_set_weight(struct rtnl_nexthop *nh, uint8_t weight) argument
234 nh->rtnh_weight = weight;
/external/libvpx/libvpx/vp9/encoder/
H A Dvp9_ssim.c98 int lumamask, double *weight) {
116 *weight = 1;
97 vp9_calc_ssim(YV12_BUFFER_CONFIG *source, YV12_BUFFER_CONFIG *dest, int lumamask, double *weight) argument
/external/mesa3d/src/gallium/drivers/nv50/codegen/
H A Dnv50_ir_graph.cpp399 Graph::findLightestPathWeight(Node *a, Node *b, const std::vector<int> &weight) argument
401 std::vector<int> path(weight.size(), std::numeric_limits<int>::max());
407 const int p = path[c->tag] + weight[c->tag];
/external/openfst/src/include/fst/
H A Dprune.h40 // Pruning weight threshold.
92 // do not belong to a successful path whose weight is no more than
93 // the weight of the shortest path Times() 'opts.weight_threshold'.
97 // property. The weight 'w' of any cycle needs to be bounded, i.e.,
158 Weight weight = Times(Times(idistance[s], arc.weight), local
162 if (less(limit, weight)) {
167 if (less(Times(idistance[s], arc.weight), idistance[arc.nextstate]))
168 idistance[arc.nextstate] = Times(idistance[s], arc.weight);
189 // 'fst' that do not belong to a successful path whose weight i
284 Weight weight = Times(Times(idistance[s], arc.weight), local
[all...]
/external/openfst/src/include/fst/script/
H A Dweight-class.h17 // Represents a generic weight in an FST -- that is, represents a specific
18 // type of weight underneath while hiding that type from a client.
44 W weight; member in struct:fst::script::WeightClassImpl
46 explicit WeightClassImpl(const W& weight) : weight(weight) { } argument
49 return new WeightClassImpl<W>(weight);
55 *o << weight; local
60 WeightToStr(weight, &str);
71 return typed_other->weight
82 WeightClass(const W& weight) argument
[all...]
/external/openfst/src/test/
H A Dfst_test.cc38 ilabel(i), olabel(o), weight(w), nextstate(s) {}
48 Weight weight; // Transition weight member in struct:fst::CustomArc
64 return make_pair(arc.ilabel, arc.weight);
/external/pdfium/core/include/thirdparties/freetype/freetype/
H A Dftwinfnt.h198 FT_UShort weight; member in struct:FT_WinFNT_HeaderRec_
/external/pdfium/core/src/fxge/fx_freetype/fxft2.5.01/include/freetype/
H A Dftwinfnt.h198 FT_UShort weight; member in struct:FT_WinFNT_HeaderRec_
/external/pdfium/core/src/fxge/ge/
H A Dfx_ge_linux.cpp57 virtual void* MapFont(int weight, FX_BOOL bItalic, int charset, int pitch_family, FX_LPCSTR family, FX_BOOL& bExact);
59 void* FindFont(int weight, FX_BOOL bItalic, int charset, int pitch_family, FX_LPCSTR family, FX_BOOL bMatchName);
84 static FX_INT32 GetJapanesePreference(FX_LPCSTR facearr, int weight, int picth_family) argument
100 if (!(picth_family & FXFONT_FF_ROMAN) && weight > 400) {
105 void* CFX_LinuxFontInfo::MapFont(int weight, FX_BOOL bItalic, int charset, int pitch_family, FX_LPCSTR cstr_face, FX_BOOL& bExact) argument
122 FX_INT32 index = GetJapanesePreference(cstr_face, weight, pitch_family);
163 return FindFont(weight, bItalic, charset, pitch_family, cstr_face, !bCJK);
185 static FX_INT32 _LinuxGetSimilarValue(int weight, FX_BOOL bItalic, int pitch_family, FX_DWORD style) argument
188 if ((style & FXFONT_BOLD) == (weight > 400)) {
205 void* CFX_LinuxFontInfo::FindFont(int weight, FX_BOO argument
[all...]
/external/skia/gm/
H A Dbeziereffects.cpp252 SkScalar weight = rand.nextRangeF(0.f, 2.f); variable
277 int cnt = chop_conic(controlPts, dst, weight);
278 GrPathUtils::getConicKLM(controlPts, weight, klmEqs);
351 int split_conic(const SkPoint src[3], SkConic dst[2], const SkScalar weight) { argument
355 dst[0].set(src, weight);
361 conic.set(src, weight);
371 int chop_conic(const SkPoint src[3], SkConic dst[4], const SkScalar weight) { argument
373 int conicCnt = split_conic(src, dstTemp, weight);
/external/skia/src/core/
H A DSkFontHost.cpp63 SkFontStyle::SkFontStyle(int weight, int width, Slant slant) { argument
65 fUnion.fR.fWeight = SkPin32(weight, kThin_Weight, kBlack_Weight);
217 SkFontStyle::Weight weight = (styleBits & SkTypeface::kBold) ?
224 return SkFontStyle(weight, width, slant);
H A DSkPathRef.cpp356 SkPoint* SkPathRef::growForVerb(int /* SkPath::Verb*/ verb, SkScalar weight) { argument
406 *fConicWeights.append() = weight;
/external/srec/srec/ca/
H A Dsyn_srec.c55 const int weight)
58 rc = FST_AddWordToGrammar(syntax->synx, slot, phrase, pronunciation, weight);
53 CA_AddWordToSyntax(CA_Syntax* syntax, const char* slot, const char *phrase, const char* pronunciation, const int weight) argument
/external/stressapptest/src/
H A Dpattern.cc288 int weight) {
294 weight_ = weight;
346 weightcount += pattern_array[i].weight[0];
348 pattern_array[i].weight[0]);
349 weightcount += pattern_array[i].weight[1];
351 pattern_array[i].weight[1]);
352 weightcount += pattern_array[i].weight[2];
354 pattern_array[i].weight[2]);
355 weightcount += pattern_array[i].weight[3];
357 pattern_array[i].weight[
285 Initialize(const struct PatternData &pattern_init, int buswidth, bool invert, int weight) argument
[all...]
/external/chromium_org/cc/trees/
H A Dlayer_sorter.cc81 // Checks whether layer "a" draws on top of layer "b". The weight value returned
88 float* weight) {
89 *weight = 0.f;
169 // weight of zero these layers will get priority if a graph cycle is present
172 *weight = 0.f;
174 *weight = std::abs(max_diff);
316 float weight = 0.f; local
320 &weight);
333 edges_.push_back(GraphEdge(start_node, end_node, weight));
343 edge.to->incoming_edge_weight += edge.weight;
85 CheckOverlap(LayerShape* a, LayerShape* b, float z_threshold, float* weight) argument
[all...]
/external/chromium_org/net/spdy/
H A Dspdy_priority_tree.h60 int weight; // Weights can range between 1 and 256 (inclusive). member in struct:net::SpdyPriorityTree::Node
61 // The total weight of this node's direct descendants.
63 // The total weight of direct descendants that are writeable
88 // Add a new node with the given weight and parent. Non-exclusive nodes
94 bool AddNode(NodeId node_id, NodeId parent_id, int weight, bool exclusive);
100 // Get the weight of the given node.
112 bool SetWeight(NodeId node_id, int weight);
142 // parent's priority * (node's weight / sum of sibling weights)
162 root_node->weight = kDefaultWeight;
175 weight(kDefaultWeigh
207 AddNode(NodeId node_id, NodeId parent_id, int weight, bool exclusive) argument
311 SetWeight( NodeId node_id, int weight) argument
[all...]
/external/chromium_org/ppapi/c/dev/
H A Dppb_truetype_font_dev.h144 /** This value specifies the font weight. */
145 PP_TrueTypeFontWeight_Dev weight; member in struct:PP_TrueTypeFontDesc_Dev
/external/chromium_org/third_party/WebKit/Source/core/css/
H A DFontFace.cpp140 setPropertyFromString(document, descriptors.weight(), CSSPropertyFontWeight);
158 String FontFace::weight() const function in class:blink::FontFace
407 FontWeight weight = FontWeight400; local
415 weight = FontWeight700;
419 weight = FontWeight400;
422 weight = FontWeight900;
425 weight = FontWeight800;
428 weight = FontWeight600;
431 weight = FontWeight500;
434 weight
[all...]
/external/chromium_org/third_party/freetype/src/cff/
H A Dcffobjs.c881 char *weight = cff_index_get_sid_string( cff, local
882 dict->weight );
885 if ( weight )
886 if ( !ft_strcmp( weight, "Bold" ) ||
887 !ft_strcmp( weight, "Black" ) )
/external/chromium_org/third_party/readability/js/
H A Dreadability.js1341 * Get an elements class/id weight. Uses regular expressions to tell if this
1352 var weight = 0; variable
1358 weight -= 25; }
1361 weight += 25; }
1368 weight -= 25; }
1371 weight += 25; }
1374 return weight;
1453 var weight = readability.getClassWeight(tagsList[i]);
1458 if(weight+contentScore < 0)
1492 } else if(weight < 2
[all...]
/external/chromium_org/third_party/skia/src/ports/
H A DSkFontMgr_android.cpp233 return SkFontStyle(this->weight(index), SkFontStyle::kNormal_Width,
236 SkFontStyle::Weight weight(int index) { function in class:SkFontStyleSet_Android
248 score += abs(pattern.weight() - candidate.weight());

Completed in 2137 milliseconds

1234567891011