Home
last modified time | relevance | path

Searched refs:ToArray (Results 1 – 25 of 47) sorted by relevance

12

/external/pdfium/core/fpdfdoc/
Dcpdf_dest.cpp22 CPDF_Array* pArray = ToArray(m_pObj); in GetPageIndex()
37 CPDF_Array* pArray = ToArray(m_pObj); in GetPageObjNum()
52 CPDF_Array* pArray = ToArray(m_pObj); in GetZoomMode()
79 CPDF_Array* pArray = ToArray(m_pObj); in GetXYZ()
117 CPDF_Array* pArray = ToArray(m_pObj); in GetParam()
Dcpdf_formfield.cpp614 CPDF_Array* pArray = ToArray(FPDF_GetFieldAttr(m_pDict, "Opt")); in CountOptions()
619 CPDF_Array* pArray = ToArray(FPDF_GetFieldAttr(m_pDict, "Opt")); in GetOptionText()
669 CPDF_Array* pOpt = ToArray(FPDF_GetFieldAttr(m_pDict, "Opt")); in InsertOption()
744 if (!ToArray(pOpt)) { in CheckControl()
806 CPDF_Array* pArray = ToArray(FPDF_GetFieldAttr(m_pDict, "I")); in CountSelectedOptions()
811 CPDF_Array* pArray = ToArray(FPDF_GetFieldAttr(m_pDict, "I")); in GetSelectedOptionIndex()
822 CPDF_Array* pArray = ToArray(FPDF_GetFieldAttr(m_pDict, "I")); in IsOptionSelected()
Ddoc_tagged.cpp101 CPDF_Array* pParentArray = ToArray(parent_tree.LookupValue(parents_id)); in LoadPageTree()
372 CPDF_Array* pArray = ToArray(pAttr); in GetAttr()
396 CPDF_Array* pArray = ToArray(GetAttr(owner, name, bInheritable, subindex)); in GetColor()
Dcpdf_formcontrol.cpp102 if (ToArray(FPDF_GetFieldAttr(m_pField->m_pDict, "Opt"))) { in GetCheckedAPState()
119 ToArray(FPDF_GetFieldAttr(m_pField->m_pDict, "Opt"))) { in GetExportValue()
Dcpdf_action.cpp133 } else if (CPDF_Array* pArray = ToArray(pNext)) { in GetSubAction()
/external/swiftshader/third_party/llvm-subzero/include/llvm/ADT/
Dedit_distance.h43 unsigned ComputeEditDistance(ArrayRef<T> FromArray, ArrayRef<T> ToArray,
59 typename ArrayRef<T>::size_type n = ToArray.size();
82 Previous + (FromArray[y-1] == ToArray[x-1] ? 0u : 1u),
86 if (FromArray[y-1] == ToArray[x-1]) Row[x] = Previous;
/external/llvm/include/llvm/ADT/
Dedit_distance.h43 unsigned ComputeEditDistance(ArrayRef<T> FromArray, ArrayRef<T> ToArray,
59 typename ArrayRef<T>::size_type n = ToArray.size();
82 Previous + (FromArray[y-1] == ToArray[x-1] ? 0u : 1u),
86 if (FromArray[y-1] == ToArray[x-1]) Row[x] = Previous;
/external/protobuf/csharp/src/Google.Protobuf.Test/
DCodedOutputStreamTest.cs55 Assert.AreEqual(data, rawOutput.ToArray()); in AssertWriteVarint()
65 Assert.AreEqual(data, rawOutput.ToArray()); in AssertWriteVarint()
82 Assert.AreEqual(data, rawOutput.ToArray()); in AssertWriteVarint()
90 Assert.AreEqual(data, rawOutput.ToArray()); in AssertWriteVarint()
140 Assert.AreEqual(data, rawOutput.ToArray()); in AssertWriteLittleEndian32()
149 Assert.AreEqual(data, rawOutput.ToArray()); in AssertWriteLittleEndian32()
163 Assert.AreEqual(data, rawOutput.ToArray()); in AssertWriteLittleEndian64()
172 Assert.AreEqual(data, rawOutput.ToArray()); in AssertWriteLittleEndian64()
207 Assert.AreEqual(rawBytes, rawOutput.ToArray()); in WriteWholeMessage_VaryingBlockSizes()
401 …Assert.AreEqual(1, memoryStream.ToArray().Length); // Flushed data from CodedOutputStream to Memor… in Dispose_DisposesUnderlyingStream()
DGeneratedMessageTest.cs267 var parsed = TestMap.Parser.ParseFrom(memoryStream.ToArray()); in MapWithOnlyValue()
284 var parsed = TestMap.Parser.ParseFrom(memoryStream.ToArray()); in MapWithOnlyKey_PrimitiveValue()
301 var parsed = TestMap.Parser.ParseFrom(memoryStream.ToArray()); in MapWithOnlyKey_MessageValue()
329 var parsed = TestMap.Parser.ParseFrom(memoryStream.ToArray()); in MapIgnoresExtraFieldsWithinEntryMessages()
353 var parsed = TestMap.Parser.ParseFrom(memoryStream.ToArray()); in MapFieldOrderIsIrrelevant()
399 var parsed = TestMap.Parser.ParseFrom(memoryStream.ToArray()); in MapNonContiguousEntries()
435 var parsed = TestMap.Parser.ParseFrom(memoryStream.ToArray()); in DuplicateKeys_LastEntryWins()
/external/pdfium/fxjs/
Dfxjs_v8_embeddertest.cpp89 EXPECT_TRUE(engine()->ToArray(empty).IsEmpty()); in TEST_F()
103 EXPECT_TRUE(engine()->ToArray(nullz).IsEmpty()); in TEST_F()
117 EXPECT_TRUE(engine()->ToArray(boolz).IsEmpty()); in TEST_F()
131 EXPECT_TRUE(engine()->ToArray(num).IsEmpty()); in TEST_F()
145 EXPECT_TRUE(engine()->ToArray(str).IsEmpty()); in TEST_F()
159 EXPECT_TRUE(engine()->ToArray(date).IsEmpty()); in TEST_F()
186 EXPECT_TRUE(engine()->ToArray(array)->IsArray()); in TEST_F()
212 EXPECT_TRUE(engine()->ToArray(object).IsEmpty()); in TEST_F()
/external/pdfium/core/fpdfapi/parser/
Dcpdf_array.h116 inline CPDF_Array* ToArray(CPDF_Object* obj) { in ToArray() function
120 inline const CPDF_Array* ToArray(const CPDF_Object* obj) { in ToArray() function
124 inline std::unique_ptr<CPDF_Array> ToArray(std::unique_ptr<CPDF_Object> obj) { in ToArray() function
125 CPDF_Array* pArray = ToArray(obj.get()); in ToArray()
Dcpdf_array_unittest.cpp91 std::unique_ptr<CPDF_Array> arr2 = ToArray(arr->Clone()); in TEST()
124 std::unique_ptr<CPDF_Array> arr1 = ToArray(arr->Clone()); in TEST()
127 std::unique_ptr<CPDF_Array> arr2 = ToArray(arr->CloneDirectObject()); in TEST()
Dcpdf_array.cpp133 return ToArray(GetDirectObjectAt(i)); in GetArrayAt()
/external/antlr/antlr-3.4/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime.JavaExtensions/
DEnumerableExtensions.cs269 #region ToArray
271 public static TSource[] ToArray<TSource>(IEnumerable<TSource> source) { in ToArray() method in Antlr.Runtime.JavaExtensions.EnumerableExtensions
281 return new List<TSource>(source).ToArray(); in ToArray()
DStringTokenizer.cs52 …_tokens = EnumerableExtensions.ToArray(EnumerableExtensions.SelectMany(_tokens, delegate(string to… in StringTokenizer()
/external/pdfium/core/fpdfapi/page/
Dcpdf_page.cpp43 CPDF_Array* pMediaBox = ToArray(GetPageAttr("MediaBox")); in CPDF_Page()
52 CPDF_Array* pCropBox = ToArray(GetPageAttr("CropBox")); in CPDF_Page()
/external/protobuf/csharp/src/AddressBook/
DSampleUsage.cs55 bytes = stream.ToArray(); in Main()
/external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime.JavaExtensions/
DSetExtensions.cs85 return set.ToArray(); in toArray()
DStringTokenizer.cs73 } ).ToArray(); in StringTokenizer()
DExceptionExtensions.cs58 frames = new StackTrace( true ).GetFrames().Skip( 1 ).ToArray(); in getStackTrace()
/external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime/
DMismatchedTokenException.cs128 …alue("TokenNames", (_tokenNames != null) ? new List<string>(_tokenNames).ToArray() : default(strin… in GetObjectData()
/external/pdfium/fpdfsdk/
Dfpdf_transformpage.cpp144 CPDF_Array* pArray = ToArray(pContentObj); in FPDFPage_TransFormWithClip()
312 CPDF_Array* pArray = ToArray(pContentObj); in FPDFPage_InsertClipPath()
/external/protobuf/csharp/src/Google.Protobuf/Reflection/
DMessageDescriptor.cs93 …ollection<FieldDescriptor>(fieldsInDeclarationOrder.OrderBy(field => field.FieldNumber).ToArray()); in MessageDescriptor()
/external/protobuf/csharp/src/Google.Protobuf.Test/WellKnownTypes/
DWrappersTest.cs168 var expectedBytes = rawOutput.ToArray(); in RepeatedWrappersBinaryFormat()
342 bytes = stream.ToArray(); in MergingStreamExplicitValue()
/external/antlr/antlr-3.4/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime/
DBitSet.cs277 public int[] ToArray() { in ToArray() method in Antlr.Runtime.BitSet

12