Home
last modified time | relevance | path

Searched refs:dataPtr (Results 1 – 25 of 57) sorted by relevance

123

/external/eigen/debug/gdb/
Dprinters.py81 def __init__ (self, rows, cols, dataPtr, rowMajor): argument
84 self.dataPtr = dataPtr
117 item = self.dataPtr.dereference()
118 self.dataPtr = self.dataPtr + 1
150 def __init__ (self, dataPtr): argument
151 self.dataPtr = dataPtr
169 item = self.dataPtr.dereference()
170 self.dataPtr = self.dataPtr + 1
/external/eigen/Eigen/src/Core/
DMapBase.h149 …explicit inline MapBase(PointerType dataPtr) : m_data(dataPtr), m_rows(RowsAtCompileTime), m_cols(… in MapBase() argument
157 inline MapBase(PointerType dataPtr, Index vecSize) in MapBase() argument
158 : m_data(dataPtr), in MapBase()
164 eigen_assert(dataPtr == 0 || SizeAtCompileTime == Dynamic || SizeAtCompileTime == vecSize); in MapBase()
170 inline MapBase(PointerType dataPtr, Index rows, Index cols) in MapBase() argument
171 : m_data(dataPtr), m_rows(rows), m_cols(cols) in MapBase()
173 eigen_assert( (dataPtr == 0) in MapBase()
279 EIGEN_DEVICE_FUNC explicit inline MapBase(PointerType dataPtr) : Base(dataPtr) {} in MapBase() argument
280 EIGEN_DEVICE_FUNC inline MapBase(PointerType dataPtr, Index vecSize) : Base(dataPtr, vecSize) {} in MapBase() argument
281 …EIGEN_DEVICE_FUNC inline MapBase(PointerType dataPtr, Index rows, Index cols) : Base(dataPtr, rows… in MapBase() argument
DMap.h122 explicit inline Map(PointerArgType dataPtr, const StrideType& stride = StrideType())
123 : Base(cast_to_pointer_type(dataPtr)), m_stride(stride)
135 inline Map(PointerArgType dataPtr, Index size, const StrideType& stride = StrideType())
136 : Base(cast_to_pointer_type(dataPtr), size), m_stride(stride)
149 …inline Map(PointerArgType dataPtr, Index rows, Index cols, const StrideType& stride = StrideType())
150 : Base(cast_to_pointer_type(dataPtr), rows, cols), m_stride(stride)
/external/eigen/unsupported/Eigen/CXX11/src/Tensor/
DTensorMap.h60 EIGEN_STRONG_INLINE TensorMap(PointerArgType dataPtr) : m_data(dataPtr), m_dimensions() { in TensorMap() argument
67 …RONG_INLINE TensorMap(PointerArgType dataPtr, Index firstDimension, IndexTypes... otherDimensions)… in TensorMap() argument
73 …EIGEN_STRONG_INLINE TensorMap(PointerArgType dataPtr, Index firstDimension) : m_data(dataPtr), m_d… in TensorMap() argument
78 …EIGEN_STRONG_INLINE TensorMap(PointerArgType dataPtr, Index dim1, Index dim2) : m_data(dataPtr), m… in TensorMap() argument
82 …EIGEN_STRONG_INLINE TensorMap(PointerArgType dataPtr, Index dim1, Index dim2, Index dim3) : m_data… in TensorMap() argument
86 …_STRONG_INLINE TensorMap(PointerArgType dataPtr, Index dim1, Index dim2, Index dim3, Index dim4) :… in TensorMap() argument
90 …G_INLINE TensorMap(PointerArgType dataPtr, Index dim1, Index dim2, Index dim3, Index dim4, Index d… in TensorMap() argument
95 …EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE TensorMap(PointerArgType dataPtr, const array<Index, NumIndi… in TensorMap() argument
96 : m_data(dataPtr), m_dimensions(dimensions) in TensorMap()
100 …EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE TensorMap(PointerArgType dataPtr, const Dimensions& dimensio… in TensorMap() argument
[all …]
/external/skqp/src/ports/
DSkOSFile_win.cpp225 static bool get_the_file(HANDLE handle, SkString* name, WIN32_FIND_DATAW* dataPtr, bool getDir) { in get_the_file() argument
228 if (nullptr == dataPtr) { in get_the_file()
230 dataPtr = &data; in get_the_file()
237 if ((dataPtr->dwFileAttributes & FILE_ATTRIBUTE_DIRECTORY) && in get_the_file()
238 !is_magic_dir((uint16_t*)dataPtr->cFileName)) in get_the_file()
243 if (!(dataPtr->dwFileAttributes & FILE_ATTRIBUTE_DIRECTORY)) { in get_the_file()
247 if (!::FindNextFileW(handle, dataPtr)) { in get_the_file()
253 name->setUTF16((uint16_t*)dataPtr->cFileName); in get_the_file()
261 WIN32_FIND_DATAW* dataPtr = nullptr; in next() local
270 dataPtr = &data; in next()
[all …]
/external/skia/src/ports/
DSkOSFile_win.cpp226 static bool get_the_file(HANDLE handle, SkString* name, WIN32_FIND_DATAW* dataPtr, bool getDir) { in get_the_file() argument
229 if (nullptr == dataPtr) { in get_the_file()
231 dataPtr = &data; in get_the_file()
238 if ((dataPtr->dwFileAttributes & FILE_ATTRIBUTE_DIRECTORY) && in get_the_file()
239 !is_magic_dir((uint16_t*)dataPtr->cFileName)) in get_the_file()
244 if (!(dataPtr->dwFileAttributes & FILE_ATTRIBUTE_DIRECTORY)) { in get_the_file()
248 if (!::FindNextFileW(handle, dataPtr)) { in get_the_file()
254 const uint16_t* utf16name = (const uint16_t*)dataPtr->cFileName; in get_the_file()
265 WIN32_FIND_DATAW* dataPtr = nullptr; in next() local
274 dataPtr = &data; in next()
[all …]
/external/webrtc/webrtc/modules/video_coding/
Dsession_info.cc40 if ((*it).dataPtr != NULL) { in UpdateDataPointers()
42 (*it).dataPtr = new_base_ptr + ((*it).dataPtr - old_base_ptr); in UpdateDataPointers()
169 const uint8_t* packet_buffer = packet.dataPtr; in InsertBuffer()
170 packet.dataPtr = frame_buffer + offset; in InsertBuffer()
208 const_cast<uint8_t*>(packet.dataPtr)); in InsertBuffer()
232 uint8_t* first_packet_ptr = const_cast<uint8_t*>((*it).dataPtr); in ShiftSubsequentPackets()
237 if ((*it).dataPtr != NULL) in ShiftSubsequentPackets()
238 (*it).dataPtr += steps_to_shift; in ShiftSubsequentPackets()
326 (*it).dataPtr = NULL; in DeletePacketData()
351 (*it).dataPtr - frame_buffer; in BuildVP8FragmentationHeader()
[all …]
Dpacket.cc24 dataPtr(NULL), in VCMPacket()
43 dataPtr(ptr), in VCMPacket()
67 dataPtr(ptr), in VCMPacket()
85 dataPtr = NULL; in Reset()
Dframe_buffer.cc88 assert(!(NULL == packet.dataPtr && packet.sizeBytes > 0)); in InsertPacket()
89 if (packet.dataPtr != NULL) { in InsertPacket()
Dpacket.h39 const uint8_t* dataPtr; variable
/external/skia/tools/gpu/gl/debug/
DGrBufferObj.cpp11 void GrBufferObj::allocate(GrGLsizeiptr size, const GrGLchar *dataPtr) { in allocate() argument
19 if (dataPtr) { in allocate()
20 memcpy(fDataPtr, dataPtr, fSize); in allocate()
/external/skqp/tools/gpu/gl/debug/
DGrBufferObj.cpp11 void GrBufferObj::allocate(GrGLsizeiptr size, const GrGLchar *dataPtr) { in allocate() argument
19 if (dataPtr) { in allocate()
20 memcpy(fDataPtr, dataPtr, fSize); in allocate()
/external/skqp/src/gpu/
DGrDrawOpAtlas.cpp87 unsigned char* dataPtr = fData; in addSubImage() local
88 dataPtr += fBytesPerPixel * fWidth * loc->fY; in addSubImage()
89 dataPtr += fBytesPerPixel * loc->fX; in addSubImage()
93 SkOpts::RGBA_to_BGRA(reinterpret_cast<uint32_t*>(dataPtr), imagePtr, width); in addSubImage()
94 dataPtr += fBytesPerPixel * fWidth; in addSubImage()
99 memcpy(dataPtr, imagePtr, rowBytes); in addSubImage()
100 dataPtr += fBytesPerPixel * fWidth; in addSubImage()
120 const unsigned char* dataPtr = fData; in uploadToTexture() local
121 dataPtr += rowBytes * fDirtyRect.fTop; in uploadToTexture()
122 dataPtr += fBytesPerPixel * fDirtyRect.fLeft; in uploadToTexture()
[all …]
DGrDistanceFieldGenFromVector.cpp646 DFData* dataPtr, in calculate_distance_field_data() argument
689 const float distSq = dataPtr[idx].fDistSq; in calculate_distance_field_data()
715 dataPtr[idx].fDistSq = currDistSq; in calculate_distance_field_data()
718 dataPtr[idx].fDeltaWindingScore += deltaWindingScore; in calculate_distance_field_data()
783 DFData* dataPtr = (DFData*) dfStorage.get(); in GrGenerateDistanceFieldFromPath() local
786 init_distances(dataPtr, width * height); in GrGenerateDistanceFieldFromPath()
825 calculate_distance_field_data(&segments, dataPtr, width, height); in GrGenerateDistanceFieldFromPath()
831 windingNumber += dataPtr[idx].fDeltaWindingScore; in GrGenerateDistanceFieldFromPath()
857 const float miniDist = sqrt(dataPtr[idx].fDistSq); in GrGenerateDistanceFieldFromPath()
867 const float miniDist = sqrt(dataPtr[idx].fDistSq); in GrGenerateDistanceFieldFromPath()
/external/skia/tests/
DMallocPixelRefTest.cpp108 SkData* dataPtr = data.get(); in DEF_TEST() local
109 REPORTER_ASSERT(reporter, dataPtr->unique()); in DEF_TEST()
111 REPORTER_ASSERT(reporter, !(dataPtr->unique())); in DEF_TEST()
113 REPORTER_ASSERT(reporter, dataPtr->unique()); in DEF_TEST()
114 REPORTER_ASSERT(reporter, dataPtr->data() == pr->pixels()); in DEF_TEST()
/external/skqp/tests/
DMallocPixelRefTest.cpp108 SkData* dataPtr = data.get(); in DEF_TEST() local
109 REPORTER_ASSERT(reporter, dataPtr->unique()); in DEF_TEST()
111 REPORTER_ASSERT(reporter, !(dataPtr->unique())); in DEF_TEST()
113 REPORTER_ASSERT(reporter, dataPtr->unique()); in DEF_TEST()
114 REPORTER_ASSERT(reporter, dataPtr->data() == pr->pixels()); in DEF_TEST()
/external/skia/src/gpu/
DGrDrawOpAtlas.cpp109 unsigned char* dataPtr = fData; in addSubImage() local
110 dataPtr += fBytesPerPixel * fWidth * loc->fY; in addSubImage()
111 dataPtr += fBytesPerPixel * loc->fX; in addSubImage()
115 SkOpts::RGBA_to_BGRA(reinterpret_cast<uint32_t*>(dataPtr), imagePtr, width); in addSubImage()
116 dataPtr += fBytesPerPixel * fWidth; in addSubImage()
121 memcpy(dataPtr, imagePtr, rowBytes); in addSubImage()
122 dataPtr += fBytesPerPixel * fWidth; in addSubImage()
142 const unsigned char* dataPtr = fData; in uploadToTexture() local
150 dataPtr += rowBytes * fDirtyRect.fTop; in uploadToTexture()
151 dataPtr += fBytesPerPixel * fDirtyRect.fLeft; in uploadToTexture()
[all …]
DGrDistanceFieldGenFromVector.cpp646 DFData* dataPtr, in calculate_distance_field_data() argument
689 const float distSq = dataPtr[idx].fDistSq; in calculate_distance_field_data()
715 dataPtr[idx].fDistSq = currDistSq; in calculate_distance_field_data()
718 dataPtr[idx].fDeltaWindingScore += deltaWindingScore; in calculate_distance_field_data()
783 DFData* dataPtr = (DFData*) dfStorage.get(); in GrGenerateDistanceFieldFromPath() local
786 init_distances(dataPtr, width * height); in GrGenerateDistanceFieldFromPath()
825 calculate_distance_field_data(&segments, dataPtr, width, height); in GrGenerateDistanceFieldFromPath()
831 windingNumber += dataPtr[idx].fDeltaWindingScore; in GrGenerateDistanceFieldFromPath()
857 const float miniDist = sqrt(dataPtr[idx].fDistSq); in GrGenerateDistanceFieldFromPath()
867 const float miniDist = sqrt(dataPtr[idx].fDistSq); in GrGenerateDistanceFieldFromPath()
/external/pdfium/core/fxcrt/
Dfx_extension.cpp127 const uint8_t* dataPtr = &pData[bitpos / 8]; in GetBits32() local
143 static_cast<uint32_t>((*dataPtr++ >> bitShift & bitMask) << dstShift); in GetBits32()
146 result |= *dataPtr++ << dstShift; in GetBits32()
151 result |= *dataPtr++ >> bitShift & bitMask; in GetBits32()
/external/deqp/external/openglcts/modules/gl/
Dgl4cShaderAtomicCounterOpsTests.cpp370 GLuint* dataPtr; in fillAtomicCounterBuffer() local
379 dataPtr = (GLuint*)gl.mapBufferRange(GL_ATOMIC_COUNTER_BUFFER, 0, sizeof(GLuint), in fillAtomicCounterBuffer()
383 *dataPtr = inputValue; in fillAtomicCounterBuffer()
393 dataPtr = (GLuint*)gl.mapBufferRange(GL_ATOMIC_COUNTER_BUFFER, 0, sizeof(GLuint), in fillAtomicCounterBuffer()
397 *dataPtr = 0; in fillAtomicCounterBuffer()
407 GLuint* dataPtr; in checkAtomicCounterBuffer() local
414 dataPtr = (GLuint*)gl.mapBufferRange(GL_ATOMIC_COUNTER_BUFFER, 0, sizeof(GLuint), GL_MAP_READ_BIT); in checkAtomicCounterBuffer()
417 GLuint finalValue = *dataPtr; in checkAtomicCounterBuffer()
427 dataPtr = (GLuint*)gl.mapBufferRange(GL_ATOMIC_COUNTER_BUFFER, 0, sizeof(GLuint), GL_MAP_READ_BIT); in checkAtomicCounterBuffer()
430 GLuint numberOfCalls = *dataPtr; in checkAtomicCounterBuffer()
/external/skia/src/core/
DSkDistanceFieldGen.cpp355 DFData* dataPtr = (DFData*)storage.get(); in generate_distance_field_from_image() local
359 init_glyph_data(dataPtr, edgePtr, copyPtr, in generate_distance_field_from_image()
364 init_distances(dataPtr, edgePtr, dataWidth, dataHeight); in generate_distance_field_from_image()
369 DFData* currData = dataPtr+dataWidth+1; // skip outer buffer in generate_distance_field_from_image()
399 currData = dataPtr+dataWidth*(dataHeight-2) - 1; // skip outer buffer in generate_distance_field_from_image()
429 currData = dataPtr + dataWidth+1; in generate_distance_field_from_image()
DSkMallocPixelRef.cpp94 static void sk_data_releaseproc(void*, void* dataPtr) { in sk_data_releaseproc() argument
95 (static_cast<SkData*>(dataPtr))->unref(); in sk_data_releaseproc()
/external/skqp/src/core/
DSkDistanceFieldGen.cpp355 DFData* dataPtr = (DFData*)storage.get(); in generate_distance_field_from_image() local
359 init_glyph_data(dataPtr, edgePtr, copyPtr, in generate_distance_field_from_image()
364 init_distances(dataPtr, edgePtr, dataWidth, dataHeight); in generate_distance_field_from_image()
369 DFData* currData = dataPtr+dataWidth+1; // skip outer buffer in generate_distance_field_from_image()
399 currData = dataPtr+dataWidth*(dataHeight-2) - 1; // skip outer buffer in generate_distance_field_from_image()
429 currData = dataPtr + dataWidth+1; in generate_distance_field_from_image()
DSkMallocPixelRef.cpp94 static void sk_data_releaseproc(void*, void* dataPtr) { in sk_data_releaseproc() argument
95 (static_cast<SkData*>(dataPtr))->unref(); in sk_data_releaseproc()
/external/webrtc/webrtc/modules/audio_device/mac/portaudio/
Dpa_ringbuffer.c69 void* dataPtr) { in PaUtil_InitializeRingBuffer() argument
72 rbuf->buffer = (char *)dataPtr; in PaUtil_InitializeRingBuffer()

123