Home
last modified time | relevance | path

Searched refs:valuePtr (Results 1 – 25 of 97) sorted by relevance

1234

/external/eigen/Eigen/src/SparseCore/
DSparseMap.h95 inline const Scalar* valuePtr() const { return m_values; }
125 ScalarPointer valuePtr, IndexPointer innerNonZerosPtr = 0)
127 m_innerIndices(innerIndexPtr), m_values(valuePtr), m_innerNonZeros(innerNonZerosPtr)
131 inline SparseMapBase(Index size, Index nnz, IndexPointer innerIndexPtr, ScalarPointer valuePtr)
133 m_innerIndices(innerIndexPtr), m_values(valuePtr), m_innerNonZeros(0)
165 using Base::valuePtr;
170 inline Scalar* valuePtr() { return Base::m_values; }
196 Scalar* valuePtr, StorageIndex* innerNonZerosPtr = 0)
197 : Base(rows, cols, nnz, outerIndexPtr, innerIndexPtr, valuePtr, innerNonZerosPtr)
201 inline SparseMapBase(Index size, Index nnz, StorageIndex* innerIndexPtr, Scalar* valuePtr)
[all …]
DSparseCompressedBase.h71 inline const Scalar* valuePtr() const { return derived().valuePtr(); }
75 inline Scalar* valuePtr() { return derived().valuePtr(); }
114 …const { eigen_assert(isCompressed()); return Array<Scalar,Dynamic,1>::Map(valuePtr(),nonZeros()); }
126 …ffs() { eigen_assert(isCompressed()); return Array<Scalar,Dynamic,1>::Map(valuePtr(),nonZeros()); }
180 : m_values(mat.valuePtr()), m_indices(mat.innerIndexPtr()), m_outer(outer)
198 …: m_values(mat.valuePtr()), m_indices(mat.innerIndexPtr()), m_outer(0), m_id(0), m_end(mat.nonZero…
204 … : m_values(data.valuePtr()), m_indices(data.indexPtr()), m_outer(0), m_id(0), m_end(data.size())
248 : m_values(mat.valuePtr()), m_indices(mat.innerIndexPtr()), m_outer(outer)
266 …: m_values(mat.valuePtr()), m_indices(mat.innerIndexPtr()), m_outer(0), m_start(0), m_id(mat.nonZe…
272 … : m_values(data.valuePtr()), m_indices(data.indexPtr()), m_outer(0), m_start(0), m_id(data.size())
[all …]
DSparseBlock.h150 …internal::smart_copy(m_matrix.valuePtr(), m_matrix.valuePtr() + start, newdata.valuePtr
153 …internal::smart_copy(tmp.valuePtr() + tmp_start, tmp.valuePtr() + tmp_start + nnz, newd…
156 …internal::smart_copy(matrix.valuePtr()+end, matrix.valuePtr()+end + tail_size, newdata.
172 …internal::smart_memmove(matrix.valuePtr()+end, matrix.valuePtr() + end+tail_size, matrix…
178 …internal::smart_copy(tmp.valuePtr() + tmp_start, tmp.valuePtr() + tmp_start + nnz, matr…
219 inline const Scalar* valuePtr() const in valuePtr() function
220 { return m_matrix.valuePtr(); } in valuePtr()
221 inline Scalar* valuePtr() in valuePtr() function
222 { return m_matrix.valuePtr(); } in valuePtr()
261 return m_matrix.valuePtr()[m_matrix.outerIndexPtr()[m_outerStart+1]-1]; in lastCoeff()
[all …]
DSparseTranspose.h33 inline const Scalar* valuePtr() const { return derived().nestedExpression().valuePtr(); } in valuePtr() function
38 inline Scalar* valuePtr() { return derived().nestedExpression().valuePtr(); } in valuePtr() function
/external/libese/ready_se/google/keymint/KM200/Applet/src/com/android/javacard/keymaster/
DKMCosePairIntegerTag.java51 public static short instance(short keyPtr, short valuePtr) { in instance() argument
54 heap, offset, KMCose.COSE_KEY_MAX_SIZE, KMInteger.cast(valuePtr).getShort())) { in instance()
60 Util.setShort(heap, (short) (ptr + TLV_HEADER_SIZE + 4), valuePtr); in instance()
70 short valuePtr = Util.getShort(heap, (short) (ptr + TLV_HEADER_SIZE + 4)); in cast() local
71 if (INTEGER_TYPE != getType(valuePtr)) { in cast()
DKMCosePairNegIntegerTag.java57 short valuePtr = Util.getShort(heap, (short) (ptr + TLV_HEADER_SIZE + 4)); in cast() local
58 if (NEG_INTEGER_TYPE != getType(valuePtr)) { in cast()
64 public static short instance(short keyPtr, short valuePtr) { in instance() argument
67 heap, offset, KMCose.COSE_KEY_MAX_SIZE, KMNInteger.cast(valuePtr).getShort())) { in instance()
73 Util.setShort(heap, (short) (ptr + TLV_HEADER_SIZE + 4), valuePtr); in instance()
DKMCosePairSimpleValueTag.java35 public static short instance(short keyPtr, short valuePtr) { in instance() argument
38 heap, offset, KMCose.COSE_KEY_MAX_SIZE, KMSimpleValue.cast(valuePtr).getValue())) { in instance()
44 Util.setShort(heap, (short) (ptr + TLV_HEADER_SIZE + 4), valuePtr); in instance()
54 short valuePtr = Util.getShort(heap, (short) (ptr + TLV_HEADER_SIZE + 4)); in cast() local
55 if (KMType.getType(valuePtr) != SIMPLE_VALUE_TYPE) { in cast()
DKMCosePairTextStringTag.java38 public static short instance(short keyPtr, short valuePtr) { in instance() argument
42 if (KMType.getType(valuePtr) != TEXT_STRING_TYPE) { in instance()
48 Util.setShort(heap, (short) (ptr + TLV_HEADER_SIZE + 4), valuePtr); in instance()
58 short valuePtr = Util.getShort(heap, (short) (ptr + TLV_HEADER_SIZE + 4)); in cast() local
59 if (KMType.getType(valuePtr) != TEXT_STRING_TYPE) { in cast()
DKMCosePairCoseKeyTag.java36 public static short instance(short keyPtr, short valuePtr) { in instance() argument
40 if (KMType.getType(valuePtr) != COSE_KEY_TYPE) { in instance()
46 Util.setShort(heap, (short) (ptr + TLV_HEADER_SIZE + 4), valuePtr); in instance()
56 short valuePtr = Util.getShort(heap, (short) (ptr + TLV_HEADER_SIZE + 4)); in cast() local
57 if (KMType.getType(valuePtr) != COSE_KEY_TYPE) { in cast()
DKMCosePairByteBlobTag.java52 public static short instance(short keyPtr, short valuePtr) { in instance() argument
56 if (KMType.getType(valuePtr) != BYTE_BLOB_TYPE) { in instance()
62 Util.setShort(heap, (short) (ptr + TLV_HEADER_SIZE + 4), valuePtr); in instance()
72 short valuePtr = Util.getShort(heap, (short) (ptr + TLV_HEADER_SIZE + 4)); in cast() local
73 if (KMType.getType(valuePtr) != BYTE_BLOB_TYPE) { in cast()
DKMDecoder.java206 short valuePtr = decode(KMCosePairSimpleValueTag.cast(exp).getValuePtr()); in decodeCosePairSimpleValueTag() local
207 return KMCosePairSimpleValueTag.instance(keyPtr, valuePtr); in decodeCosePairSimpleValueTag()
212 short valuePtr = decode(KMCosePairIntegerTag.cast(exp).getValuePtr()); in decodeCosePairIntegerValueTag() local
213 return KMCosePairIntegerTag.instance(keyPtr, valuePtr); in decodeCosePairIntegerValueTag()
218 short valuePtr = decode(KMCosePairNegIntegerTag.cast(exp).getValuePtr()); in decodeCosePairNegIntegerTag() local
219 return KMCosePairNegIntegerTag.instance(keyPtr, valuePtr); in decodeCosePairNegIntegerTag()
224 short valuePtr = decode(KMCosePairTextStringTag.cast(exp).getValuePtr()); in decodeCosePairTxtStringTag() local
225 return KMCosePairTextStringTag.instance(keyPtr, valuePtr); in decodeCosePairTxtStringTag()
230 short valuePtr = decode(KMCosePairCoseKeyTag.cast(exp).getValuePtr()); in decodeCosePairCoseKeyTag() local
231 return KMCosePairCoseKeyTag.instance(keyPtr, valuePtr); in decodeCosePairCoseKeyTag()
[all …]
DKMCose.java427 public static short buildCosePairTag(byte key, short valuePtr) { in buildCosePairTag() argument
428 short type = KMType.getType(valuePtr); in buildCosePairTag()
437 return KMCosePairIntegerTag.instance(keyPtr, valuePtr); in buildCosePairTag()
439 return KMCosePairNegIntegerTag.instance(keyPtr, valuePtr); in buildCosePairTag()
441 return KMCosePairByteBlobTag.instance(keyPtr, valuePtr); in buildCosePairTag()
443 return KMCosePairTextStringTag.instance(keyPtr, valuePtr); in buildCosePairTag()
445 return KMCosePairCoseKeyTag.instance(keyPtr, valuePtr); in buildCosePairTag()
/external/libese/ready_se/google/keymint/KM300/Applet/src/com/android/javacard/keymaster/
DKMCosePairSimpleValueTag.java35 public static short instance(short keyPtr, short valuePtr) { in instance() argument
38 heap, offset, KMCose.COSE_KEY_MAX_SIZE, KMSimpleValue.cast(valuePtr).getValue())) { in instance()
44 Util.setShort(heap, (short) (ptr + TLV_HEADER_SIZE + 4), valuePtr); in instance()
54 short valuePtr = Util.getShort(heap, (short) (ptr + TLV_HEADER_SIZE + 4)); in cast() local
55 if (KMType.getType(valuePtr) != SIMPLE_VALUE_TYPE) { in cast()
DKMCosePairNegIntegerTag.java57 short valuePtr = Util.getShort(heap, (short) (ptr + TLV_HEADER_SIZE + 4)); in cast() local
58 if (NEG_INTEGER_TYPE != getType(valuePtr)) { in cast()
64 public static short instance(short keyPtr, short valuePtr) { in instance() argument
67 heap, offset, KMCose.COSE_KEY_MAX_SIZE, KMNInteger.cast(valuePtr).getShort())) { in instance()
73 Util.setShort(heap, (short) (ptr + TLV_HEADER_SIZE + 4), valuePtr); in instance()
DKMCosePairIntegerTag.java51 public static short instance(short keyPtr, short valuePtr) { in instance() argument
54 heap, offset, KMCose.COSE_KEY_MAX_SIZE, KMInteger.cast(valuePtr).getShort())) { in instance()
60 Util.setShort(heap, (short) (ptr + TLV_HEADER_SIZE + 4), valuePtr); in instance()
70 short valuePtr = Util.getShort(heap, (short) (ptr + TLV_HEADER_SIZE + 4)); in cast() local
71 if (INTEGER_TYPE != getType(valuePtr)) { in cast()
DKMCosePairTextStringTag.java38 public static short instance(short keyPtr, short valuePtr) { in instance() argument
42 if (KMType.getType(valuePtr) != TEXT_STRING_TYPE) { in instance()
48 Util.setShort(heap, (short) (ptr + TLV_HEADER_SIZE + 4), valuePtr); in instance()
58 short valuePtr = Util.getShort(heap, (short) (ptr + TLV_HEADER_SIZE + 4)); in cast() local
59 if (KMType.getType(valuePtr) != TEXT_STRING_TYPE) { in cast()
DKMCosePairCoseKeyTag.java36 public static short instance(short keyPtr, short valuePtr) { in instance() argument
40 if (KMType.getType(valuePtr) != COSE_KEY_TYPE) { in instance()
46 Util.setShort(heap, (short) (ptr + TLV_HEADER_SIZE + 4), valuePtr); in instance()
56 short valuePtr = Util.getShort(heap, (short) (ptr + TLV_HEADER_SIZE + 4)); in cast() local
57 if (KMType.getType(valuePtr) != COSE_KEY_TYPE) { in cast()
DKMCosePairByteBlobTag.java52 public static short instance(short keyPtr, short valuePtr) { in instance() argument
56 if (KMType.getType(valuePtr) != BYTE_BLOB_TYPE) { in instance()
62 Util.setShort(heap, (short) (ptr + TLV_HEADER_SIZE + 4), valuePtr); in instance()
72 short valuePtr = Util.getShort(heap, (short) (ptr + TLV_HEADER_SIZE + 4)); in cast() local
73 if (KMType.getType(valuePtr) != BYTE_BLOB_TYPE) { in cast()
DKMDecoder.java206 short valuePtr = decode(KMCosePairSimpleValueTag.cast(exp).getValuePtr()); in decodeCosePairSimpleValueTag() local
207 return KMCosePairSimpleValueTag.instance(keyPtr, valuePtr); in decodeCosePairSimpleValueTag()
212 short valuePtr = decode(KMCosePairIntegerTag.cast(exp).getValuePtr()); in decodeCosePairIntegerValueTag() local
213 return KMCosePairIntegerTag.instance(keyPtr, valuePtr); in decodeCosePairIntegerValueTag()
218 short valuePtr = decode(KMCosePairNegIntegerTag.cast(exp).getValuePtr()); in decodeCosePairNegIntegerTag() local
219 return KMCosePairNegIntegerTag.instance(keyPtr, valuePtr); in decodeCosePairNegIntegerTag()
224 short valuePtr = decode(KMCosePairTextStringTag.cast(exp).getValuePtr()); in decodeCosePairTxtStringTag() local
225 return KMCosePairTextStringTag.instance(keyPtr, valuePtr); in decodeCosePairTxtStringTag()
230 short valuePtr = decode(KMCosePairCoseKeyTag.cast(exp).getValuePtr()); in decodeCosePairCoseKeyTag() local
231 return KMCosePairCoseKeyTag.instance(keyPtr, valuePtr); in decodeCosePairCoseKeyTag()
[all …]
DKMCose.java338 public static short buildCosePairTag(byte key, short valuePtr) { in buildCosePairTag() argument
339 short type = KMType.getType(valuePtr); in buildCosePairTag()
348 return KMCosePairIntegerTag.instance(keyPtr, valuePtr); in buildCosePairTag()
350 return KMCosePairNegIntegerTag.instance(keyPtr, valuePtr); in buildCosePairTag()
352 return KMCosePairByteBlobTag.instance(keyPtr, valuePtr); in buildCosePairTag()
354 return KMCosePairTextStringTag.instance(keyPtr, valuePtr); in buildCosePairTag()
356 return KMCosePairCoseKeyTag.instance(keyPtr, valuePtr); in buildCosePairTag()
/external/deqp/external/vulkancts/modules/vulkan/robustness/
DvktRobustnessUtil.cpp167 bool isValueZero (const void* valuePtr, size_t valueSizeInBytes) in isValueZero() argument
169 const deUint8* bytePtr = reinterpret_cast<const deUint8*>(valuePtr); in isValueZero()
180 bool isValueWithinBuffer (const void* buffer, VkDeviceSize bufferSize, const void* valuePtr, size_t… in isValueWithinBuffer() argument
189 if (!deMemCmp(&byteBuffer[i], valuePtr, valueSizeInBytes)) in isValueWithinBuffer()
196 bool isValueWithinBufferOrZero (const void* buffer, VkDeviceSize bufferSize, const void* valuePtr, … in isValueWithinBufferOrZero() argument
198 …return isValueWithinBuffer(buffer, bufferSize, valuePtr, valueSizeInBytes) || isValueZero(valuePtr in isValueWithinBufferOrZero()
281 void logValue (std::ostringstream& logMsg, const void* valuePtr, VkFormat valueFormat, size_t value… in logValue() argument
285 logMsg << *reinterpret_cast<const deUint32*>(valuePtr); in logValue()
289 logMsg << *reinterpret_cast<const deInt32*>(valuePtr); in logValue()
293 logMsg << *reinterpret_cast<const float*>(valuePtr); in logValue()
[all …]
DvktRobustnessUtil.hpp42 bool isValueZero (const void* valuePtr, size_t valueSize);
43 …uffer (const void* buffer, vk::VkDeviceSize bufferSize, const void* valuePtr, size_t valueSize…
44 …rOrZero (const void* buffer, vk::VkDeviceSize bufferSize, const void* valuePtr, size_t valueSize…
47 void logValue (std::ostringstream& logMsg, const void* valuePtr, vk::VkFormat valueFormat…
/external/armnn/include/armnn/
DOptional.hpp153 auto valuePtr = reinterpret_cast<const T*>(m_Storage); in value() local
154 return *valuePtr; in value()
164 auto valuePtr = reinterpret_cast<T*>(m_Storage); in value() local
165 return *valuePtr; in value()
/external/armnn/profiling/common/include/
DOptional.hpp156 auto valuePtr = reinterpret_cast<const T*>(m_Storage); in value() local
157 return *valuePtr; in value()
167 auto valuePtr = reinterpret_cast<T*>(m_Storage); in value() local
168 return *valuePtr; in value()
/external/eigen/Eigen/src/SparseLU/
DSparseLU_SupernodalMatrix.h90 Scalar* valuePtr() { return m_nzval; } in valuePtr() function
92 const Scalar* valuePtr() const in valuePtr() function
204 inline Scalar value() const { return m_matrix.valuePtr()[m_idval]; } in value()
206 inline Scalar& valueRef() { return const_cast<Scalar&>(m_matrix.valuePtr()[m_idval]); } in valueRef()
244 const Scalar * Lval = valuePtr(); // Nonzero values in solveInPlace()
307 const Scalar * Lval = valuePtr(); // Nonzero values in solveTransposedInPlace()

1234