Home
last modified time | relevance | path

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

123

/external/pdfium/core/fpdfdoc/
Dcpdf_dest.cpp42 CPDF_Array* pArray = ToArray(m_pObj.Get()); in GetPageIndex()
57 CPDF_Array* pArray = ToArray(m_pObj.Get()); in GetPageObjNum()
72 CPDF_Array* pArray = ToArray(m_pObj.Get()); in GetZoomMode()
99 CPDF_Array* pArray = ToArray(m_pObj.Get()); in GetXYZ()
137 CPDF_Array* pArray = ToArray(m_pObj.Get()); in GetNumParams()
147 CPDF_Array* pArray = ToArray(m_pObj.Get()); in GetParam()
Dcpdf_formfield.cpp613 CPDF_Array* pArray = ToArray(FPDF_GetFieldAttr(m_pDict.Get(), "Opt")); in CountOptions()
618 CPDF_Array* pArray = ToArray(FPDF_GetFieldAttr(m_pDict.Get(), "Opt")); in GetOptionText()
667 CPDF_Array* pOpt = ToArray(FPDF_GetFieldAttr(m_pDict.Get(), "Opt")); in InsertOption()
742 if (!ToArray(pOpt)) { in CheckControl()
802 CPDF_Array* pArray = ToArray(FPDF_GetFieldAttr(m_pDict.Get(), "I")); in CountSelectedOptions()
807 CPDF_Array* pArray = ToArray(FPDF_GetFieldAttr(m_pDict.Get(), "I")); in GetSelectedOptionIndex()
818 CPDF_Array* pArray = ToArray(FPDF_GetFieldAttr(m_pDict.Get(), "I")); in IsOptionSelected()
Dcpdf_formcontrol.cpp104 if (ToArray(FPDF_GetFieldAttr(m_pField->GetDict(), "Opt"))) in GetCheckedAPState()
119 ToArray(FPDF_GetFieldAttr(m_pField->GetDict(), "Opt"))) { in GetExportValue()
/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/swiftshader/third_party/llvm-7.0/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/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/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/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(undef).IsEmpty()); in TEST_F()
131 EXPECT_TRUE(engine()->ToArray(boolz).IsEmpty()); in TEST_F()
145 EXPECT_TRUE(engine()->ToArray(num).IsEmpty()); in TEST_F()
159 EXPECT_TRUE(engine()->ToArray(str).IsEmpty()); in TEST_F()
173 EXPECT_TRUE(engine()->ToArray(date).IsEmpty()); in TEST_F()
200 EXPECT_TRUE(engine()->ToArray(array)->IsArray()); in TEST_F()
227 EXPECT_TRUE(engine()->ToArray(object).IsEmpty()); in TEST_F()
Dcjs_color.cpp253 *var = ConvertArrayToPWLColor(pRuntime, pRuntime->ToArray(vp)); in SetPropertyHelper()
277 ConvertArrayToPWLColor(pRuntime, pRuntime->ToArray(params[0])); in convert()
296 ConvertArrayToPWLColor(pRuntime, pRuntime->ToArray(params[0])); in equal()
298 ConvertArrayToPWLColor(pRuntime, pRuntime->ToArray(params[1])); in equal()
/external/tensorflow/tensorflow/core/framework/
Dtensor_util.h118 static void ToArray(SrcIter begin, SrcIter end, DstIter dst) { in ToArray() function
126 static void ToArray(SrcIter begin, SrcIter end, SrcIter dst) { in ToArray() function
131 ToArray(begin, end, dst); in FromArray()
140 static void ToArray(SrcIter begin, SrcIter end, Eigen::half* dst) {
157 static void ToArray(SrcIter begin, SrcIter end, bfloat16* dst) {
177 static void ToArray(SrcIter begin, SrcIter end, std::complex<RealType>* dst) {
216 CopyHelper<T>::ToArray(FieldHelper::GetField(proto).begin() + index,
231 CopyHelper<T>::ToArray(FieldHelper::GetField(proto).begin(),
/external/pdfium/core/fpdfapi/parser/
Dcpdf_array.h118 inline CPDF_Array* ToArray(CPDF_Object* obj) { in ToArray() function
122 inline const CPDF_Array* ToArray(const CPDF_Object* obj) { in ToArray() function
126 inline std::unique_ptr<CPDF_Array> ToArray(std::unique_ptr<CPDF_Object> obj) { in ToArray() function
127 CPDF_Array* pArray = ToArray(obj.get()); in ToArray()
Dcpdf_array_unittest.cpp98 std::unique_ptr<CPDF_Array> arr2 = ToArray(arr->Clone()); in TEST()
130 std::unique_ptr<CPDF_Array> arr1 = ToArray(arr->Clone()); in TEST()
133 std::unique_ptr<CPDF_Array> arr2 = ToArray(arr->CloneDirectObject()); in TEST()
/external/flatbuffers/net/FlatBuffers/
DByteBuffer.cs172 public byte[] ToArray(int pos, int len) in ToArray() method in FlatBuffers.ByteBuffer
174 return ToArray<byte>(pos, len); in ToArray()
237 public T[] ToArray<T>(int pos, int len)
241 … return MemoryMarshal.Cast<byte, T>(_buffer.ReadOnlySpan.Slice(pos)).Slice(0, len).ToArray();
244 public T[] ToArray<T>(int pos, int len)
256 return ToArray<byte>(Position, Length - Position); in ToSizedArray()
261 return ToArray<byte>(0, Length); in ToFullArray()
/external/flatbuffers/tests/FlatBuffers.Test/
DByteBufferTests.cs373 var bbArray = uut.ToArray<float>(0, len); in ByteBuffer_To_Array_Float()
378 var bbArray2 = uut.ToArray<float>(4, len - 1); in ByteBuffer_To_Array_Float()
387 var bbArray3 = uut.ToArray<float>(8, len - 4); in ByteBuffer_To_Array_Float()
407 var bbArray = uut.ToArray<T>(nOffset, data.Length);
/external/brotli/csharp/org/brotli/dec/
DDecodeTest.cs49 return output.ToArray(); in Decompress()
69 return output.ToArray(); in DecompressWithDictionary()
/external/antlr/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/brotli/csharp/
Dsharpen.cfg15 -methodMapping java.io.ByteArrayOutputStream.toByteArray() ToArray
/external/protobuf/csharp/src/AddressBook/
DSampleUsage.cs55 bytes = stream.ToArray(); in Main()
/external/antlr/runtime/CSharp3/Sources/Antlr3.Runtime.JavaExtensions/
DStringTokenizer.cs73 } ).ToArray(); in StringTokenizer()
DSetExtensions.cs85 return set.ToArray(); in toArray()
DExceptionExtensions.cs58 frames = new StackTrace( true ).GetFrames().Skip( 1 ).ToArray(); in getStackTrace()
/external/tensorflow/tensorflow/lite/experimental/examples/unity/TensorFlowLitePlugin/Assets/TensorFlowLite/Examples/HelloTFLite/Scripts/
DHelloTFLite.cs83 return string.Join(",", values.Select(x => x.ToString()).ToArray()); in ArrayToString()
/external/antlr/runtime/CSharp3/Sources/Antlr3.Runtime.Debug/
DParseTreeBuilder.cs61 ParseTree[] stack = callStack.ToArray();

123