Home
last modified time | relevance | path

Searched refs:GetNumber (Results 1 – 25 of 38) sorted by relevance

12

/external/pdfium/core/src/fpdfapi/fpdf_page/
Dfpdf_page_parser.cpp209 FX_FLOAT CPDF_StreamContentParser::GetNumber(FX_DWORD index) in GetNumber() function in CPDF_StreamContentParser
223 return param.m_pObject->GetNumber(); in GetNumber()
229 return GetNumber(index); in GetNumber16()
575 AddPathPoint(GetNumber(5), GetNumber(4), FXPT_BEZIERTO); in Handle_CurveTo_123()
576 AddPathPoint(GetNumber(3), GetNumber(2), FXPT_BEZIERTO); in Handle_CurveTo_123()
577 AddPathPoint(GetNumber(1), GetNumber(0), FXPT_BEZIERTO); in Handle_CurveTo_123()
582 FX_FLOAT e2 = GetNumber(1), f2 = GetNumber(0); in Handle_ConcatMatrix()
621 m_pCurStates->SetLineDash(pArray, GetNumber(0), 1.0f); in Handle_SetDash()
625 m_Type3Data[0] = GetNumber(1); in Handle_SetCharWidth()
626 m_Type3Data[1] = GetNumber(0); in Handle_SetCharWidth()
[all …]
Dfpdf_page_pattern.cpp52 m_XStep = (FX_FLOAT)FXSYS_fabs(pDict->GetNumber(FX_BSTRC("XStep"))); in Load()
53 m_YStep = (FX_FLOAT)FXSYS_fabs(pDict->GetNumber(FX_BSTRC("YStep"))); in Load()
185 m_xmin = pDecode->GetNumber(0); in Load()
186 m_xmax = pDecode->GetNumber(1); in Load()
187 m_ymin = pDecode->GetNumber(2); in Load()
188 m_ymax = pDecode->GetNumber(3); in Load()
190 m_ColorMin[i] = pDecode->GetNumber(i * 2 + 4); in Load()
191 m_ColorMax[i] = pDecode->GetNumber(i * 2 + 5); in Load()
Dfpdf_page_graph_state.cpp477 pData->m_DashArray[i] = FXSYS_Mul(pArray->GetNumber(i), scale); in SetLineDash()
494 m_GraphState.GetModify()->m_LineWidth = pObject->GetNumber(); in ProcessExtGS()
503 m_GraphState.GetModify()->m_MiterLimit = pObject->GetNumber(); in ProcessExtGS()
514 SetLineDash(pArray, pDash->GetNumber(1), 1.0f); in ProcessExtGS()
525 m_TextState.GetModify()->m_FontSize = pFont->GetNumber(1); in ProcessExtGS()
562 pGeneralState->m_StrokeAlpha = PDF_ClipFloat(pObject->GetNumber()); in ProcessExtGS()
565 pGeneralState->m_FillAlpha = PDF_ClipFloat(pObject->GetNumber()); in ProcessExtGS()
597 pGeneralState->m_Flatness = pObject->GetNumber(); in ProcessExtGS()
600 pGeneralState->m_Smoothness = pObject->GetNumber(); in ProcessExtGS()
Dfpdf_page_colors.cpp287 m_WhitePoint[i] = pParam ? pParam->GetNumber(i) : 0; in v_Load()
291 m_BlackPoint[i] = pParam ? pParam->GetNumber(i) : 0; in v_Load()
293 m_Gamma = pDict->GetNumber(FX_BSTRC("Gamma")); in v_Load()
346 m_WhitePoint[i] = pParam ? pParam->GetNumber(i) : 0; in v_Load()
350 m_BlackPoint[i] = pParam ? pParam->GetNumber(i) : 0; in v_Load()
356 m_Gamma[i] = pParam->GetNumber(i); in v_Load()
365 m_Matrix[i] = pParam->GetNumber(i); in v_Load()
447 m_WhitePoint[i] = pParam ? pParam->GetNumber(i) : 0; in v_Load()
451 m_BlackPoint[i] = pParam ? pParam->GetNumber(i) : 0; in v_Load()
456 m_Ranges[i] = pParam ? pParam->GetNumber(i) : def_ranges[i]; in v_Load()
[all …]
Dpageint.h152 FX_FLOAT GetNumber(FX_DWORD index);
156 return (FX_INT32)(GetNumber(index)); in GetInteger()
/external/pdfium/core/src/fpdfdoc/
Ddoc_formcontrol.cpp370 FX_FLOAT g = pEntry->GetNumber(0) * 255; in GetColor()
374 FX_FLOAT r = pEntry->GetNumber(0) * 255; in GetColor()
375 FX_FLOAT g = pEntry->GetNumber(1) * 255; in GetColor()
376 FX_FLOAT b = pEntry->GetNumber(2) * 255; in GetColor()
380 FX_FLOAT c = pEntry->GetNumber(0); in GetColor()
381 FX_FLOAT m = pEntry->GetNumber(1); in GetColor()
382 FX_FLOAT y = pEntry->GetNumber(2); in GetColor()
383 FX_FLOAT k = pEntry->GetNumber(3); in GetColor()
398 return pEntry->GetNumber(index); in GetOriginalColor()
418 fc[0] = pEntry->GetNumber(0); in GetOriginalColor()
[all …]
Ddoc_annot.cpp294 width = pBorderArray->GetNumber(2); in GetBorder()
309 width = pBS->GetNumber("W"); in GetBorder()
317 int R = (FX_INT32)(pColor->GetNumber(0) * 255); in GetBorder()
318 int G = (FX_INT32)(pColor->GetNumber(1) * 255); in GetBorder()
319 int B = (FX_INT32)(pColor->GetNumber(2) * 255); in GetBorder()
345 pGraphState->m_DashArray[i] = pDashArray->GetNumber(i); in GetBorder()
390 width = pBorderArray->GetNumber(2); in DrawBorder()
416 width = pBS->GetNumber("W"); in DrawBorder()
424 int R = (FX_INT32)(pColor->GetNumber(0) * 255); in DrawBorder()
425 int G = (FX_INT32)(pColor->GetNumber(1) * 255); in DrawBorder()
[all …]
Ddoc_bookmark.cpp40 int r = FXSYS_round(pColor->GetNumber(0) * 255); in GetColorRef()
41 int g = FXSYS_round(pColor->GetNumber(1) * 255); in GetColorRef()
42 int b = FXSYS_round(pColor->GetNumber(2) * 255); in GetColorRef()
Ddoc_tagged.cpp421 … 0xff000000 | ((int)(pArray->GetNumber(0) * 255) << 16) | ((int)(pArray->GetNumber(1) * 255) << 8)… in GetColor()
423 FX_FLOAT CPDF_StructElementImpl::GetNumber(FX_BSTR owner, FX_BSTR name, FX_FLOAT default_value, FX_… in GetNumber() function in CPDF_StructElementImpl
429 return pAttr->GetNumber(); in GetNumber()
Dtagged_int.h74 …FX_FLOAT GetNumber(FX_BSTR owner, FX_BSTR name, FX_FLOAT default_value, FX_BOOL bInheritable = …
/external/lzma/CS/7zip/Compress/LzmaAlone/
DLzmaAlone.cs99 static bool GetNumber(string s, out Int32 v) in GetNumber() method in SevenZip.LzmaAlone
175 if (!GetNumber((string)parser[(int)Key.Dictionary].PostStrings[0], out dicLog)) in Main2()
190 if (!GetNumber((string)nonSwitchStrings[paramIndex++], out numIterations)) in Main2()
256 if (!GetNumber((string)parser[(int)Key.Mode].PostStrings[0], out algorithm)) in Main2()
260 if (!GetNumber((string)parser[(int)Key.FastBytes].PostStrings[0], out numFastBytes)) in Main2()
263 if (!GetNumber((string)parser[(int)Key.LitContext].PostStrings[0], out litContextBits)) in Main2()
266 if (!GetNumber((string)parser[(int)Key.LitPos].PostStrings[0], out litPosBits)) in Main2()
269 if (!GetNumber((string)parser[(int)Key.PosBits].PostStrings[0], out posStateBits)) in Main2()
/external/pdfium/fpdfsdk/src/
Dfpdfdoc.cpp265 quadPoints->x1 = pArray->GetNumber(quadIndex*8); in FPDFLink_GetQuadPoints()
266 quadPoints->y1 = pArray->GetNumber(quadIndex*8+1); in FPDFLink_GetQuadPoints()
267 quadPoints->x2 = pArray->GetNumber(quadIndex*8+2); in FPDFLink_GetQuadPoints()
268 quadPoints->y2 = pArray->GetNumber(quadIndex*8+3); in FPDFLink_GetQuadPoints()
269 quadPoints->x3 = pArray->GetNumber(quadIndex*8+4); in FPDFLink_GetQuadPoints()
270 quadPoints->y3 = pArray->GetNumber(quadIndex*8+5); in FPDFLink_GetQuadPoints()
271 quadPoints->x4 = pArray->GetNumber(quadIndex*8+6); in FPDFLink_GetQuadPoints()
272 quadPoints->y4 = pArray->GetNumber(quadIndex*8+7); in FPDFLink_GetQuadPoints()
Dfsdk_baseannot.cpp965 FX_FLOAT g = pEntry->GetNumber(0) * 255; in GetColor()
973 FX_FLOAT r = pEntry->GetNumber(0) * 255; in GetColor()
974 FX_FLOAT g = pEntry->GetNumber(1) * 255; in GetColor()
975 FX_FLOAT b = pEntry->GetNumber(2) * 255; in GetColor()
983 FX_FLOAT c = pEntry->GetNumber(0); in GetColor()
984 FX_FLOAT m = pEntry->GetNumber(1); in GetColor()
985 FX_FLOAT y = pEntry->GetNumber(2); in GetColor()
986 FX_FLOAT k = pEntry->GetNumber(3); in GetColor()
/external/gptfdisk/
Dgpttext.cc77 answer = GetNumber(1, 3, 2, " 1 - MBR\n 2 - GPT\n 3 - Create blank GPT\n\nYour answer: "); in UseWhichPartitions()
92 answer = GetNumber(1, 3, 2, " 1 - MBR\n 2 - GPT\n 3 - Create blank GPT\n\nYour answer: "); in UseWhichPartitions()
101 … answer = GetNumber(1, 2, 1, " 1 - Use current GPT\n 2 - Create blank GPT\n\nYour answer: "); in UseWhichPartitions()
154 partNum = GetNumber(low + 1, high + 1, low, prompt.str()); in GetPartNum()
172 newSize = GetNumber(4, 65535, 128, prompt.str()); in ResizePartitionTable()
204 partNum = GetNumber(firstFreePart + 1, numParts, in CreatePartition()
255 partNum = GetNumber(low + 1, high + 1, low, prompt.str()); in DeletePartition()
343 partNum2 = GetNumber(1, numParts, high + 2, prompt.str()) - 1; in SwapPartitions()
818 temp1 = GetNumber(1, MAX_ALIGNMENT, DEFAULT_ALIGNMENT, prompt.str()); in ExpertsMenu()
Dsupport.h75 int GetNumber(int low, int high, int def, const string & prompt);
Dattributes.cc115 response = GetNumber(0, NUM_ATR, 64, in ChangeAttributes()
Dbasicmbr.cc1558 num = GetNumber(1, MAX_MBR_PARTS, 1, "Toggle active flag for partition: ") - 1; in DoMenu()
1567 num = GetNumber(1, MAX_MBR_PARTS, 1, "Partition to set as logical: ") - 1; in DoMenu()
1571 num = GetNumber(1, MAX_MBR_PARTS, 1, "Partition to omit: ") - 1; in DoMenu()
1592 num = GetNumber(1, MAX_MBR_PARTS, 1, "Partition to set as primary: ") - 1; in DoMenu()
1599 num = GetNumber(1, MAX_MBR_PARTS, 1, "Partition to change type code: ") - 1; in DoMenu()
Dsupport.cc51 int GetNumber(int low, int high, int def, const string & prompt) { in GetNumber() function
/external/pdfium/core/src/fpdfapi/fpdf_parser/
Dfpdf_parser_objects.cpp88 FX_FLOAT CPDF_Object::GetNumber() const in GetNumber() function in CPDF_Object
92 return ((CPDF_Number*)this)->GetNumber(); in GetNumber()
102 return pObj->GetNumber(); in GetNumber()
109 return GetNumber(); in GetNumber16()
395 rect.left = GetNumber(0); in GetRect()
396 rect.bottom = GetNumber(1); in GetRect()
397 rect.right = GetNumber(2); in GetRect()
398 rect.top = GetNumber(3); in GetRect()
407 matrix.Set(GetNumber(0), GetNumber(1), GetNumber(2), GetNumber(3), GetNumber(4), GetNumber(5)); in GetMatrix()
450 FX_FLOAT CPDF_Array::GetNumber(FX_DWORD i) const in GetNumber() function in CPDF_Array
[all …]
/external/pdfium/core/include/fpdfapi/
Dfpdf_objects.h74 FX_FLOAT GetNumber() const;
183 FX_FLOAT GetNumber() const in GetNumber() function
192 return GetNumber(); in GetNumber16()
326 FX_FLOAT GetNumber(FX_DWORD index) const;
336 return GetNumber(index); in GetFloat()
372 return GetNumber(index); in GetNumber16()
423 FX_FLOAT GetNumber(FX_BSTR key) const;
437 return GetNumber(key); in GetFloat()
/external/lzma/CPP/7zip/Bundles/LzmaCon/
DLzmaAlone.cpp134 static bool GetNumber(const wchar_t *s, UInt32 &value) in GetNumber() function
152 if (!GetNumber(parser[index].PostStrings[0], res)) in ParseUInt32()
206 if (!GetNumber(parser[NKey::kDict].PostStrings[0], dicLog)) in main2()
225 if (!GetNumber(s, numThreads)) in main2()
236 if (!GetNumber(nonSwitchStrings[paramIndex++], numIterations)) in main2()
398 if (!GetNumber(parser[NKey::kMc].PostStrings[0], mc)) in main2()
/external/pdfium/core/src/fpdfapi/fpdf_render/
Dfpdf_render_pattern.cpp22 FX_FLOAT start_x = pCoords->GetNumber(0); in _DrawAxialShading()
23 FX_FLOAT start_y = pCoords->GetNumber(1); in _DrawAxialShading()
24 FX_FLOAT end_x = pCoords->GetNumber(2); in _DrawAxialShading()
25 FX_FLOAT end_y = pCoords->GetNumber(3); in _DrawAxialShading()
29 t_min = pArray->GetNumber(0); in _DrawAxialShading()
30 t_max = pArray->GetNumber(1); in _DrawAxialShading()
105 FX_FLOAT start_x = pCoords->GetNumber(0); in _DrawRadialShading()
106 FX_FLOAT start_y = pCoords->GetNumber(1); in _DrawRadialShading()
107 FX_FLOAT start_r = pCoords->GetNumber(2); in _DrawRadialShading()
108 FX_FLOAT end_x = pCoords->GetNumber(3); in _DrawRadialShading()
[all …]
/external/pdfium/fpdfsdk/src/pdfwindow/
DPWL_Icon.cpp167 if (dwCount > 0) fLeft = pA->GetNumber(0); in GetIconPosition()
168 if (dwCount > 1) fBottom = pA->GetNumber(1); in GetIconPosition()
/external/pdfium/core/include/fpdfdoc/
Dfpdf_tagged.h96 …virtual FX_FLOAT GetNumber(FX_BSTR owner, FX_BSTR name, FX_FLOAT default_value, FX_BOOL bInherit…
/external/pdfium/core/src/reflow/
Dlayoutprovider_taggedpdf.cpp505 …FX_FLOAT f = m_pTaggedElement->GetNumber(owner, AttrName, default_value, IsInheritable(attr_type),… in GetNumberAttr()
507 …f = m_pTaggedElement->GetNumber("Table", AttrName, default_value, IsInheritable(attr_type), index); in GetNumberAttr()

12