Home
last modified time | relevance | path

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

12

/external/pdfium/core/src/fpdfapi/fpdf_page/
Dfpdf_page_parser.cpp258 FX_FLOAT CPDF_StreamContentParser::GetNumber(FX_DWORD index) { in GetNumber() function in CPDF_StreamContentParser
272 return param.m_pObject->GetNumber(); in GetNumber()
277 return GetNumber(index); in GetNumber16()
565 AddPathPoint(GetNumber(5), GetNumber(4), FXPT_BEZIERTO); in Handle_CurveTo_123()
566 AddPathPoint(GetNumber(3), GetNumber(2), FXPT_BEZIERTO); in Handle_CurveTo_123()
567 AddPathPoint(GetNumber(1), GetNumber(0), FXPT_BEZIERTO); in Handle_CurveTo_123()
572 FX_FLOAT e2 = GetNumber(1), f2 = GetNumber(0); in Handle_ConcatMatrix()
608 m_pCurStates->SetLineDash(pArray, GetNumber(0), 1.0f); in Handle_SetDash()
611 m_Type3Data[0] = GetNumber(1); in Handle_SetCharWidth()
612 m_Type3Data[1] = GetNumber(0); in Handle_SetCharWidth()
[all …]
Dfpdf_page_pattern.cpp66 m_XStep = (FX_FLOAT)FXSYS_fabs(pDict->GetNumber("XStep")); in Load()
67 m_YStep = (FX_FLOAT)FXSYS_fabs(pDict->GetNumber("YStep")); in Load()
187 m_xmin = pDecode->GetNumber(0); in Load()
188 m_xmax = pDecode->GetNumber(1); in Load()
189 m_ymin = pDecode->GetNumber(2); in Load()
190 m_ymax = pDecode->GetNumber(3); in Load()
192 m_ColorMin[i] = pDecode->GetNumber(i * 2 + 4); in Load()
193 m_ColorMax[i] = pDecode->GetNumber(i * 2 + 5); in Load()
Dfpdf_page_graph_state.cpp455 pData->m_DashArray[i] = FXSYS_Mul(pArray->GetNumber(i), scale); in SetLineDash()
471 m_GraphState.GetModify()->m_LineWidth = pObject->GetNumber(); in ProcessExtGS()
482 m_GraphState.GetModify()->m_MiterLimit = pObject->GetNumber(); in ProcessExtGS()
493 SetLineDash(pArray, pDash->GetNumber(1), 1.0f); in ProcessExtGS()
504 m_TextState.GetModify()->m_FontSize = pFont->GetNumber(1); in ProcessExtGS()
537 pGeneralState->m_StrokeAlpha = PDF_ClipFloat(pObject->GetNumber()); in ProcessExtGS()
540 pGeneralState->m_FillAlpha = PDF_ClipFloat(pObject->GetNumber()); in ProcessExtGS()
572 pGeneralState->m_Flatness = pObject->GetNumber(); in ProcessExtGS()
575 pGeneralState->m_Smoothness = pObject->GetNumber(); in ProcessExtGS()
Dfpdf_page_colors.cpp343 m_WhitePoint[i] = pParam ? pParam->GetNumber(i) : 0; in v_Load()
347 m_BlackPoint[i] = pParam ? pParam->GetNumber(i) : 0; in v_Load()
349 m_Gamma = pDict->GetNumber("Gamma"); in v_Load()
419 m_WhitePoint[i] = pParam ? pParam->GetNumber(i) : 0; in v_Load()
423 m_BlackPoint[i] = pParam ? pParam->GetNumber(i) : 0; in v_Load()
429 m_Gamma[i] = pParam->GetNumber(i); in v_Load()
438 m_Matrix[i] = pParam->GetNumber(i); in v_Load()
539 m_WhitePoint[i] = pParam ? pParam->GetNumber(i) : 0; in v_Load()
543 m_BlackPoint[i] = pParam ? pParam->GetNumber(i) : 0; in v_Load()
549 m_Ranges[i] = pParam ? pParam->GetNumber(i) : def_ranges[i]; in v_Load()
[all …]
Dpageint.h116 FX_FLOAT GetNumber(FX_DWORD index);
118 int GetInteger(FX_DWORD index) { return (int32_t)(GetNumber(index)); } in GetInteger()
/external/pdfium/core/src/fpdfdoc/
Ddoc_formcontrol.cpp346 FX_FLOAT g = pEntry->GetNumber(0) * 255; in GetColor()
350 FX_FLOAT r = pEntry->GetNumber(0) * 255; in GetColor()
351 FX_FLOAT g = pEntry->GetNumber(1) * 255; in GetColor()
352 FX_FLOAT b = pEntry->GetNumber(2) * 255; in GetColor()
356 FX_FLOAT c = pEntry->GetNumber(0); in GetColor()
357 FX_FLOAT m = pEntry->GetNumber(1); in GetColor()
358 FX_FLOAT y = pEntry->GetNumber(2); in GetColor()
359 FX_FLOAT k = pEntry->GetNumber(3); in GetColor()
375 return pEntry ? pEntry->GetNumber(index) : 0; in GetOriginalColor()
395 fc[0] = pEntry->GetNumber(0); in GetOriginalColor()
[all …]
Ddoc_bookmark.cpp39 int r = FXSYS_round(pColor->GetNumber(0) * 255); in GetColorRef()
40 int g = FXSYS_round(pColor->GetNumber(1) * 255); in GetColorRef()
41 int b = FXSYS_round(pColor->GetNumber(2) * 255); in GetColorRef()
Ddoc_annot.cpp272 width = pBorderArray->GetNumber(2); in DrawBorder()
298 width = pBS->GetNumber("W"); in DrawBorder()
306 int R = (int32_t)(pColor->GetNumber(0) * 255); in DrawBorder()
307 int G = (int32_t)(pColor->GetNumber(1) * 255); in DrawBorder()
308 int B = (int32_t)(pColor->GetNumber(2) * 255); in DrawBorder()
323 graph_state.m_DashArray[i] = pDashArray->GetNumber(i); in DrawBorder()
Ddoc_tagged.cpp413 return 0xff000000 | ((int)(pArray->GetNumber(0) * 255) << 16) | in GetColor()
414 ((int)(pArray->GetNumber(1) * 255) << 8) | in GetColor()
415 (int)(pArray->GetNumber(2) * 255); in GetColor()
417 FX_FLOAT CPDF_StructElementImpl::GetNumber(const CFX_ByteStringC& owner, in GetNumber() function in CPDF_StructElementImpl
423 return ToNumber(pAttr) ? pAttr->GetNumber() : default_value; in GetNumber()
Dtagged_int.h70 FX_FLOAT GetNumber(const CFX_ByteStringC& owner,
/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.cpp322 quadPoints->x1 = pArray->GetNumber(quadIndex * 8); in FPDFLink_GetQuadPoints()
323 quadPoints->y1 = pArray->GetNumber(quadIndex * 8 + 1); in FPDFLink_GetQuadPoints()
324 quadPoints->x2 = pArray->GetNumber(quadIndex * 8 + 2); in FPDFLink_GetQuadPoints()
325 quadPoints->y2 = pArray->GetNumber(quadIndex * 8 + 3); in FPDFLink_GetQuadPoints()
326 quadPoints->x3 = pArray->GetNumber(quadIndex * 8 + 4); in FPDFLink_GetQuadPoints()
327 quadPoints->y3 = pArray->GetNumber(quadIndex * 8 + 5); in FPDFLink_GetQuadPoints()
328 quadPoints->x4 = pArray->GetNumber(quadIndex * 8 + 6); in FPDFLink_GetQuadPoints()
329 quadPoints->y4 = pArray->GetNumber(quadIndex * 8 + 7); in FPDFLink_GetQuadPoints()
Dfsdk_baseannot.cpp805 FX_FLOAT g = pEntry->GetNumber(0) * 255; in GetColor()
811 FX_FLOAT r = pEntry->GetNumber(0) * 255; in GetColor()
812 FX_FLOAT g = pEntry->GetNumber(1) * 255; in GetColor()
813 FX_FLOAT b = pEntry->GetNumber(2) * 255; in GetColor()
819 FX_FLOAT c = pEntry->GetNumber(0); in GetColor()
820 FX_FLOAT m = pEntry->GetNumber(1); in GetColor()
821 FX_FLOAT y = pEntry->GetNumber(2); in GetColor()
822 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.cpp96 FX_FLOAT CPDF_Object::GetNumber() const { in GetNumber() function in CPDF_Object
99 return AsNumber()->GetNumber(); in GetNumber()
107 return pObj ? pObj->GetNumber() : 0; in GetNumber()
114 return GetNumber(); in GetNumber16()
442 rect.left = GetNumber(0); in GetRect()
443 rect.bottom = GetNumber(1); in GetRect()
444 rect.right = GetNumber(2); in GetRect()
445 rect.top = GetNumber(3); in GetRect()
453 matrix.Set(GetNumber(0), GetNumber(1), GetNumber(2), GetNumber(3), in GetMatrix()
454 GetNumber(4), GetNumber(5)); in GetMatrix()
[all …]
/external/lzma/CPP/7zip/Bundles/LzmaCon/
DLzmaAlone.cpp136 static bool GetNumber(const wchar_t *s, UInt32 &value) in GetNumber() function
149 if (!GetNumber(parser[index].PostStrings[0], res)) in ParseUInt32()
206 if (!GetNumber(s, dicLog)) in main2()
219 if (!GetNumber(s, level)) in main2()
240 if (!GetNumber(s, numThreads)) in main2()
266 if (!GetNumber(nonSwitchStrings[paramIndex++], numIterations)) in main2()
437 if (!GetNumber(parser[NKey::kMc].PostStrings[0], mc)) in main2()
/external/pdfium/core/include/fpdfapi/
Dfpdf_objects.h68 FX_FLOAT GetNumber() const;
181 FX_FLOAT GetNumber() const { in GetNumber() function
187 FX_FLOAT GetNumber16() const { return GetNumber(); } in GetNumber16()
286 FX_FLOAT GetNumber(FX_DWORD index) const;
294 FX_FLOAT GetFloat(FX_DWORD index) const { return GetNumber(index); } in GetFloat()
322 FX_FLOAT GetNumber16(FX_DWORD index) const { return GetNumber(index); } in GetNumber16()
372 FX_FLOAT GetNumber(const CFX_ByteStringC& key) const;
384 FX_FLOAT GetFloat(const CFX_ByteStringC& key) const { return GetNumber(key); } in GetFloat()
/external/pdfium/core/src/fpdfapi/fpdf_render/
Dfpdf_render_pattern.cpp27 FX_FLOAT start_x = pCoords->GetNumber(0); in DrawAxialShading()
28 FX_FLOAT start_y = pCoords->GetNumber(1); in DrawAxialShading()
29 FX_FLOAT end_x = pCoords->GetNumber(2); in DrawAxialShading()
30 FX_FLOAT end_y = pCoords->GetNumber(3); in DrawAxialShading()
34 t_min = pArray->GetNumber(0); in DrawAxialShading()
35 t_max = pArray->GetNumber(1); in DrawAxialShading()
118 FX_FLOAT start_x = pCoords->GetNumber(0); in DrawRadialShading()
119 FX_FLOAT start_y = pCoords->GetNumber(1); in DrawRadialShading()
120 FX_FLOAT start_r = pCoords->GetNumber(2); in DrawRadialShading()
121 FX_FLOAT end_x = pCoords->GetNumber(3); in DrawRadialShading()
[all …]
/external/pdfium/fpdfsdk/src/pdfwindow/
DPWL_Icon.cpp135 fLeft = pA->GetNumber(0); in GetIconPosition()
137 fBottom = pA->GetNumber(1); in GetIconPosition()
/external/pdfium/core/include/fpdfdoc/
Dfpdf_tagged.h91 virtual FX_FLOAT GetNumber(const CFX_ByteStringC& owner,
/external/v8/src/compiler/
Dcontrol-equivalence.h134 size_t GetNumber(Node* node) { return GetData(node)->dfs_number; } in GetNumber() function

12