Searched defs:weight (Results 101 - 125 of 274) sorted by relevance

1234567891011

/external/chromium_org/third_party/skia/src/ports/
H A DSkRemotableFontMgr_win_dw.cpp37 fWeight = (DWRITE_FONT_WEIGHT)pattern.weight();
175 int weight = font->GetWeight(); local
178 fontId->fFontStyle = SkFontStyle(weight, width, slant);
H A DSkFontConfigInterface_direct.cpp23 size += sizeof(int32_t) + sizeof(int32_t) + sizeof(uint8_t); // weight, width, italic
31 buffer.write32(fStyle.weight());
48 uint32_t strLen, weight, width; local
50 (void)buffer.readU32(&weight);
55 fStyle = SkFontStyle(weight, width, slant);
H A DSkFontConfigParser_android.cpp126 // A <font> should have weight (integer) and style (normal, italic) attributes.
134 if (nameLen == 6 && !strncmp("weight", name, nameLen)) {
136 SkDebugf("---- Font weight %s (INVALID)", value);
161 // It may have weight (integer).
162 // If it *does not* have a weight, it is a variant name for a <family>.
163 // If it *does* have a weight, it names the <font>(s) of a specific weight
168 int weight = 0; local
179 } else if (nameLen == 6 && !strncmp("weight", name, nameLen)) {
180 parseNonNegativeInteger(value, &weight);
215 desiredWeight(int weight) argument
[all...]
/external/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/guava/guava/src/com/google/common/cache/
H A DCacheBuilder.java345 checkState(this.maximumWeight == UNSET_INT, "maximum weight was already set to %s",
354 * Specifies the maximum weight of entries the cache may contain. Weight is determined using the
363 * <p>When {@code weight} is zero, elements will be evicted immediately after being loaded into
367 * @param weight the maximum weight the cache may contain
372 public CacheBuilder<K, V> maximumWeight(long weight) { argument
373 checkState(this.maximumWeight == UNSET_INT, "maximum weight was already set to %s",
377 this.maximumWeight = weight;
378 checkArgument(weight >= 0, "maximum weight mus
[all...]
/external/linux-tools-perf/perf-3.12.0/tools/perf/util/
H A Dsort.h54 u64 weight; member in struct:he_stat
/external/llvm/include/llvm/CodeGen/
H A DLiveInterval.h533 float weight; // weight of this interval member in class:llvm::LiveInterval
536 : reg(Reg), weight(Weight) {}
544 return weight != llvm::huge_valf;
549 weight = llvm::huge_valf;
/external/opencv/cv/src/
H A Dcvmotempl.cpp382 double weight = mhi_row.data.fl[x] * a + b; local
390 shift_orient += weight * rel_angle;
391 shift_weight += weight;
/external/openfst/src/include/fst/
H A Dfactor-weight.h1 // factor-weight.h
68 // A factor iterator takes as argument a weight w and returns a
177 Element(StateId s, Weight w) : state(s), weight(w) {}
180 Weight weight; // Residual weight member in struct:fst::FactorWeightFstImpl::Element
235 ? e.weight
236 : (Weight) Times(e.weight, fst_->Final(e.state));
283 if (!(mode_ & kFactorArcWeights) && e.weight == Weight::One()) {
313 Weight w = Times(e.weight, arc.weight);
[all...]
/external/pdfium/core/src/fxge/fx_freetype/fxft2.5.01/src/cff/
H A Dcffobjs.c882 char *weight = cff_index_get_sid_string( cff, local
883 dict->weight );
886 if ( weight )
887 if ( !ft_strcmp( weight, "Bold" ) ||
888 !ft_strcmp( weight, "Black" ) )
/external/pdfium/core/src/fxge/ge/
H A Dfx_ge_font.cpp72 int weight, int italic_angle, int CharsetCP, FX_BOOL bVertical)
80 m_Face = CFX_GEModule::Get()->GetFontMgr()->FindSubstFont(face_name, bTrueType, flags, weight, italic_angle,
71 LoadSubst(const CFX_ByteString& face_name, FX_BOOL bTrueType, FX_DWORD flags, int weight, int italic_angle, int CharsetCP, FX_BOOL bVertical) argument
/external/skia/src/opts/
H A DSkBitmapFilter_opts_SSE2.cpp62 __m128 weight = _mm_setzero_ps(); local
89 weight = _mm_add_ps( weight, weightVector );
93 accum = _mm_div_ps(accum, weight);
131 float weight = 0; local
155 weight += combined_weight;
159 __m128 totalWeightVector = _mm_set1_ps(weight);
/external/skia/src/ports/
H A DSkRemotableFontMgr_win_dw.cpp37 fWeight = (DWRITE_FONT_WEIGHT)pattern.weight();
175 int weight = font->GetWeight(); local
178 fontId->fFontStyle = SkFontStyle(weight, width, slant);
/external/srec/srec/Grammar/src/
H A DSR_GrammarImpl.c150 const LCHAR* pronunciation, int weight, const LCHAR* tag)
238 CHKLOG(logrc, SR_EventLogTokenInt_BASIC(impl->eventLog, impl->logLevel, L("WEIGHT"), weight));
250 ca_rc = CA_AddWordToSyntax(impl->syntax, slot, word, pronunciation, weight);
329 const SR_Nametag* nametag, int weight, const LCHAR* tag)
334 CHKLOG(rc, self->addWordToSlot(self, slot, nametagImpl->id, nametagImpl->value, weight, tag));
149 SR_Grammar_AddWordToSlot(SR_Grammar* self, const LCHAR* slot, const LCHAR* word, const LCHAR* pronunciation, int weight, const LCHAR* tag) argument
328 SR_Grammar_AddNametagToSlot(SR_Grammar* self, const LCHAR* slot, const SR_Nametag* nametag, int weight, const LCHAR* tag) argument
/external/srec/srec/Recognizer/src/
H A DRecognizer.c180 const LCHAR* ruleName, unsigned int weight)
187 return self->activateRule(self, grammar, ruleName, weight);
179 SR_RecognizerActivateRule(SR_Recognizer* self, SR_Grammar* grammar, const LCHAR* ruleName, unsigned int weight) argument
/external/srec/tools/thirdparty/OpenFst/fst/lib/
H A Dencode.h37 // encoding and decoding of label/weight tuples used for encoding
46 // Encoded data consists of arc input/output labels and arc weight
50 : ilabel(ilabel_), olabel(olabel_), weight(weight_) {}
52 : ilabel(tuple.ilabel), olabel(tuple.olabel), weight(tuple.weight) {}
56 Weight weight; member in struct:fst::EncodeTable::Tuple
65 x->weight == y->weight);
88 if (encode_flags_ & kEncodeWeights) hash ^= x->weight.Hash();
112 flags_ & kEncodeWeights ? arc.weight
[all...]
H A Dfactor-weight.h1 // factor-weight.h
48 // A factor iterator takes as argument a weight w and returns a
154 Element(StateId s, Weight w) : state(s), weight(w) {}
157 Weight weight; // Residual weight member in struct:fst::FactorWeightFstImpl::Element
163 SetType("factor-weight");
191 ? e.weight
192 : (Weight) Times(e.weight, fst_->Final(e.state));
230 if (final_only_ && e.weight == Weight::One()) {
260 Weight w = Times(e.weight, ar
[all...]
/external/webrtc/src/modules/audio_coding/codecs/isac/fix/source/
H A Dbandwidth_estimator.c150 WebRtc_UWord16 weight = 0; local
354 /* constant weight after initiation part, 0.01 in Q13 */
355 weight = (WebRtc_UWord16) 82;
357 /* weight decreases with number of updates, 1/countUpdates in Q13 */
358 weight = (WebRtc_UWord16) WebRtcSpl_DivW32W16(
404 bweStr->recBwInv = WEBRTC_SPL_UMUL(weight, currBwInv) +
405 WEBRTC_SPL_UMUL((WebRtc_UWord32) 8192 - weight, bweStr->recBwInv);
408 up to 30 bits used with Q13 weight */
449 weight = WEBRTC_SPL_RSHIFT_W32(weight,
[all...]
/external/chromium_org/ppapi/c/private/
H A Dppb_pdf.h83 uint32_t weight; member in struct:PP_PrivateFontFileDescription
/external/chromium_org/third_party/WebKit/Source/platform/fonts/
H A DFontDescription.h127 FontWeight weight() const { return static_cast<FontWeight>(m_weight); } function in class:blink::FontDescription
/external/chromium_org/third_party/skia/src/effects/
H A DSkMagnifierImageFilter.cpp153 fsBuilder->codeAppend("\t\tfloat weight = 0.0;\n");
164 fsBuilder->codeAppend("\t\tvec2 mix_coord = mix(coord, zoom_coord, weight);\n");
341 SkScalar weight = 0; local
354 weight = SkMinScalar(SkScalarSquare(dist), SK_Scalar1);
358 weight = SkMinScalar(sqDist, SK_Scalar1);
361 SkScalar x_interp = SkScalarMul(weight, (fSrcRect.x() + x * inv_x_zoom)) +
362 (SK_Scalar1 - weight) * x;
363 SkScalar y_interp = SkScalarMul(weight, (fSrcRect.y() + y * inv_y_zoom)) +
364 (SK_Scalar1 - weight) * y;
/external/chromium_org/third_party/webrtc/modules/audio_coding/codecs/isac/fix/source/
H A Dbandwidth_estimator.c150 uint16_t weight = 0; local
354 /* constant weight after initiation part, 0.01 in Q13 */
355 weight = (uint16_t) 82;
357 /* weight decreases with number of updates, 1/countUpdates in Q13 */
358 weight = (uint16_t) WebRtcSpl_DivW32W16(
404 bweStr->recBwInv = WEBRTC_SPL_UMUL(weight, currBwInv) +
405 WEBRTC_SPL_UMUL((uint32_t) 8192 - weight, bweStr->recBwInv);
408 up to 30 bits used with Q13 weight */
448 weight = WEBRTC_SPL_RSHIFT_W32(weight,
[all...]
/external/chromium_org/third_party/webrtc/modules/audio_coding/codecs/isac/main/source/
H A Dbandwidth_estimator.c143 float weight = 0.0f; local
349 /* constant weight after initiation part */
350 weight = 0.01f;
354 /* weight decreases with number of updates */
355 weight = 1.0f / (float) bwest_str->count_tot_updates_rec;
386 bwest_str->rec_bw_inv = weight * curr_bw_inv +
387 (1.0f - weight) * bwest_str->rec_bw_inv;
407 bwest_str->rec_jitter = weight * arr_time_noise_abs +
408 (1.0f - weight) * bwest_str->rec_jitter;
605 const float weight local
[all...]
/external/chromium_org/ui/gfx/
H A Dcolor_analysis.cc46 weight = 0;
76 weight = counter;
109 // Returns the previous counter, which is used to determine the weight
112 return weight;
128 // The weight of the cluster, determined by how many points were used
130 uint32_t weight; member in class:color_utils::__anon16817::KMeanCluster
335 // color. Skip any that are too bright/dark and go in order of weight.
/external/deqp/modules/gles3/functional/
H A Des3fASTCDecompressionCases.cpp328 //!< \note 64 comes from the maximum number of weight values in an ASTC block.
397 ISEInput weight; member in struct:deqp::gles3::Functional::ASTCDecompressionCaseInternal::ASTCBlockGeneratorInternal::NormalBlockISEInputs
401 : weight ()
858 writeWeightData(block, blockParams.weightISEParams, iseInputs.weight, numWeights);
872 // Generate default ISE inputs for weight and endpoint data - gradient-ish values.
878 result.weight.isGivenInBlockForm = false;
886 result.weight.value.plain[i] = (i*weightRangeMax + (numWeights-1)/2) / (numWeights-1);
889 result.weight.value.plain[i] = weightRangeMax - (i*weightRangeMax + (numWeights-1)/2) / (numWeights-1);
894 result.weight.value.plain[i] = (i*weightRangeMax + (numWeights-1)/2) / (numWeights-1);
1012 // Generate different combinations of plane count, weight IS
[all...]

Completed in 3707 milliseconds

1234567891011