/external/webkit/Source/WebCore/platform/ |
Length.h | 37 enum LengthType { Auto, Relative, Percent, Fixed, Intrinsic, MinIntrinsic }; 85 float percent() const function in struct:WebCore::Length 87 ASSERT(type() == Percent); 123 case Percent: 137 case Percent: 139 return static_cast<int>(round(maxValue * percent() / 100.0f)); 141 return static_cast<int>(static_cast<float>(maxValue * percent() / 100.0f)); 153 case Percent: 154 return static_cast<float>(maxValue * percent() / 100.0f); 173 bool isPercent() const { return type() == Percent; } [all...] |
Length.cpp | 65 return Length(r, Percent);
|
/external/webkit/Source/WebCore/rendering/ |
RenderFullScreen.cpp | 60 fullscreenStyle->setWidth(Length(100.0, Percent)); 61 fullscreenStyle->setHeight(Length(100.0, Percent));
|
AutoTableLayout.cpp | 91 if (cellLogicalWidth.value() > 0 && columnLayout.logicalWidth.type() != Percent) { 106 case Percent: 233 // We substitute 0 percent by (epsilon / percentScaleFactor) percent in two places below to avoid division by zero. 243 float percent = min(static_cast<float>(m_layoutStruct[i].effectiveLogicalWidth.percent()), remainingPercent); local 244 float logicalWidth = static_cast<float>(m_layoutStruct[i].effectiveMaxLogicalWidth) * 100 / max(percent, epsilon); 246 remainingPercent -= percent; 269 // if there was no remaining percent, maxWidth is invalid. 317 case Percent 376 float percent = percentMissing * static_cast<float>(m_layoutStruct[pos].effectiveMaxLogicalWidth) \/ totalWidth; local [all...] |
RenderImage.cpp | 453 case Percent: 469 case Percent:
|
RenderReplaced.cpp | 204 return lengthType == Fixed || lengthType == Percent;
|
RenderTableSection.cpp | 211 case Percent: 213 (cRowLogicalHeight.isPercent() && cRowLogicalHeight.percent() < logicalHeight.percent())) 217 if (cRowLogicalHeight.type() < Percent || 531 totalPercent += m_grid[r].logicalHeight.percent(); 534 // try to satisfy percent 540 int toAdd = min(dh, static_cast<int>((totalHeight * m_grid[r].logicalHeight.percent() / 100) - rh)); 546 totalPercent -= m_grid[r].logicalHeight.percent(); 605 // Force percent height children to lay themselves out again. [all...] |
/external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime/Tree/ |
TreePatternLexer.cs | 43 public const int Percent = 5; 106 return Percent;
|
TreePatternParser.cs | 83 ttype == TreePatternLexer.Percent || 113 if ( ttype == TreePatternLexer.Percent )
|
/external/webkit/Source/WebCore/platform/graphics/android/layers/ |
FixedPositioning.h | 40 Percent, Fixed, Static, Intrinsic, MinIntrinsic }; 66 case Percent: 80 if (len.type() == WebCore::Percent) { 81 length.type = SkLength::Percent; 82 length.value = len.percent();
|
/external/webkit/Source/WebCore/platform/graphics/transforms/ |
TranslateTransformOperation.h | 70 return m_x.type() == Percent || m_y.type() == Percent;
|
/external/llvm/include/llvm/MC/MCParser/ |
MCAsmLexer.h | 48 Amp, AmpAmp, Exclaim, ExclaimEqual, Percent, Hash,
|
/external/webkit/Source/WebCore/rendering/style/ |
FillLayer.h | 161 static Length initialFillXPosition(EFillLayerType) { return Length(0.0, Percent); } 162 static Length initialFillYPosition(EFillLayerType) { return Length(0.0, Percent); }
|
RenderStyle.h | [all...] |
/external/webkit/Source/WebCore/rendering/mathml/ |
RenderMathMLRoot.cpp | 87 baseStyle->setPaddingLeft(Length(5 * gRadicalWidth , Percent));
|
/external/llvm/lib/MC/MCParser/ |
ELFAsmParser.cpp | 376 if (getLexer().isNot(AsmToken::Percent) && getLexer().isNot(AsmToken::At)) 474 if (getLexer().isNot(AsmToken::Percent) && getLexer().isNot(AsmToken::At))
|
AsmLexer.cpp | 484 case '%': return AsmToken(AsmToken::Percent, StringRef(TokStart, 1));
|
COFFAsmParser.cpp | 455 if (getLexer().is(AsmToken::Percent)) {
|
/external/webkit/Source/WebCore/css/ |
CSSStyleSelector.cpp | [all...] |
CSSPrimitiveValue.cpp | 171 case Percent: 173 m_value.num = length.percent(); 440 return CSS_UNKNOWN; // Cannot convert between numbers and percent.
|
CSSComputedStyleDeclaration.cpp | 382 offset = primitiveValueCache->createValue(reflection->offset().percent(), CSSPrimitiveValue::CSS_PERCENTAGE); 440 if (radius.width().type() == Percent) 441 return primitiveValueCache->createValue(radius.width().percent(), CSSPrimitiveValue::CSS_PERCENTAGE); 444 if (radius.width().type() == Percent) 445 list->append(primitiveValueCache->createValue(radius.width().percent(), CSSPrimitiveValue::CSS_PERCENTAGE)); 448 if (radius.height().type() == Percent) 449 list->append(primitiveValueCache->createValue(radius.height().percent(), CSSPrimitiveValue::CSS_PERCENTAGE)); [all...] |
/external/llvm/lib/Target/Mips/AsmParser/ |
MipsAsmParser.cpp | 834 case AsmToken::Percent: { 845 } // case AsmToken::Percent 867 if (getLexer().getKind() == AsmToken::Percent) { 937 case AsmToken::Percent: [all...] |
/external/llvm/tools/llvm-mc/ |
llvm-mc.cpp | 302 case AsmToken::Percent: Out->os() << "Percent"; break;
|
/external/llvm/lib/Target/X86/AsmParser/ |
X86AsmParser.cpp | 571 if (!isParsingIntelSyntax() && PercentTok.is(AsmToken::Percent)) 572 Parser.Lex(); // Eat percent token. [all...] |
/external/ppp/pppd/plugins/radius/etc/ |
dictionary.ascend | 146 ATTRIBUTE Ascend-MPP-Idle-Percent 254 integer
|