/external/parameter-framework/remote-processor/ |
D | Message.cpp | 60 void CMessage::writeData(const void* pvData, size_t uiSize) in writeData() argument 62 assert(_uiIndex + uiSize <= _uiDataSize); in writeData() 65 memcpy(&_pucData[_uiIndex], pvData, uiSize); in writeData() 68 _uiIndex += uiSize; in writeData() 71 void CMessage::readData(void* pvData, size_t uiSize) in readData() argument 73 assert(_uiIndex + uiSize <= _uiDataSize); in readData() 76 memcpy(pvData, &_pucData[_uiIndex], uiSize); in readData() 79 _uiIndex += uiSize; in readData() 85 uint32_t uiSize = strData.length(); in writeString() local 87 writeData(&uiSize, sizeof(uiSize)); in writeString() [all …]
|
D | Socket.cpp | 122 bool CSocket::read(void* pvData, uint32_t uiSize) in read() argument 127 while (uiSize) { in read() 129 int32_t iAccessedSize = ::recv(_iSockFd, &pucData[uiOffset], uiSize, 0); in read() 146 uiSize -= iAccessedSize; in read() 154 bool CSocket::write(const void* pvData, uint32_t uiSize) in write() argument 159 while (uiSize) { in write() 161 int32_t iAccessedSize = ::send(_iSockFd, &pucData[uiOffset], uiSize, mSendFlag); in write() 175 uiSize -= iAccessedSize; in write()
|
D | RequestMessage.cpp | 146 size_t uiSize = getStringSize(getCommand()); in getDataSize() local 153 uiSize += getStringSize(getArgument(uiArgument)); in getDataSize() 155 return uiSize; in getDataSize()
|
D | Socket.h | 71 bool read(void* pvData, uint32_t uiSize); 81 bool write(const void* pvData, uint32_t uiSize);
|
D | Message.h | 73 void writeData(const void* pvData, size_t uiSize); 80 void readData(void* pvData, size_t uiSize);
|
/external/parameter-framework/parameter/ |
D | ParameterBlackboard.cpp | 44 void CParameterBlackboard::setSize(uint32_t uiSize) in setSize() argument 51 _pucData = new uint8_t[uiSize]; in setSize() 53 memset(_pucData, 0, uiSize); in setSize() 55 _uiSize = uiSize; in setSize() 64 void CParameterBlackboard::writeInteger(const void* pvSrcData, uint32_t uiSize, uint32_t uiOffset, … in writeInteger() argument 66 assert(uiSize + uiOffset <= _uiSize); in writeInteger() 70 memcpy(_pucData + uiOffset, pvSrcData, uiSize); in writeInteger() 76 for (uiIndex = 0; uiIndex < uiSize; uiIndex++) { in writeInteger() 78 _pucData[uiIndex + uiOffset] = puiSrcData[uiSize - uiIndex - 1]; in writeInteger() 83 void CParameterBlackboard::readInteger(void* pvDstData, uint32_t uiSize, uint32_t uiOffset, bool bB… in readInteger() argument [all …]
|
D | BinaryStream.cpp | 139 void CBinaryStream::write(const uint8_t* puiData, size_t uiSize) in write() argument 141 assert(_uiPos + uiSize <= _uiDataSize); in write() 143 memcpy(&_puiData[_uiPos], puiData, uiSize); in write() 145 _uiPos += uiSize; in write() 148 void CBinaryStream::read(uint8_t* puiData, size_t uiSize) in read() argument 150 assert(_uiPos + uiSize <= _uiDataSize); in read() 152 memcpy(puiData, &_puiData[_uiPos], uiSize); in read() 154 _uiPos += uiSize; in read()
|
D | SubsystemObject.cpp | 197 void CSubsystemObject::blackboardRead(void* pvData, uint32_t uiSize) in blackboardRead() argument 199 assert(_uiAccessedIndex + uiSize <= _uiDataSize); in blackboardRead() 201 memcpy(pvData, _pucBlackboardLocation + _uiAccessedIndex, uiSize); in blackboardRead() 203 _uiAccessedIndex += uiSize; in blackboardRead() 206 void CSubsystemObject::blackboardWrite(const void* pvData, uint32_t uiSize) in blackboardWrite() argument 208 assert(_uiAccessedIndex + uiSize <= _uiDataSize); in blackboardWrite() 210 memcpy(_pucBlackboardLocation + _uiAccessedIndex, pvData, uiSize); in blackboardWrite() 212 _uiAccessedIndex += uiSize; in blackboardWrite()
|
D | ArrayParameter.cpp | 197 uint32_t uiSize = getSize(); in setDefaultValues() local 205 pBlackboard->writeInteger(&uiDefaultValue, uiSize, uiOffset, bSubsystemIsBigEndian); in setDefaultValues() 207 uiOffset += uiSize; in setDefaultValues() 277 uint32_t uiSize = getSize(); in setValues() local 278 uint32_t uiOffset = getOffset() + uiStartIndex * uiSize - uiBaseOffset; in setValues() 291 uiOffset += uiSize; in setValues() 300 uint32_t uiSize = getSize(); in getValues() local 323 uiOffset += uiSize; in getValues() 360 uint32_t uiSize = getSize(); in setValues() local 373 uiOffset += uiSize; in setValues() [all …]
|
D | ParameterBlackboard.h | 43 void setSize(uint32_t uiSize); 47 void writeInteger(const void* pvSrcData, uint32_t uiSize, uint32_t uiOffset, bool bBigEndian); 48 void readInteger(void* pvDstData, uint32_t uiSize, uint32_t uiOffset, bool bBigEndian) const;
|
D | BinaryStream.h | 50 void write(const uint8_t* puiData, size_t uiSize); 51 void read(uint8_t* puiData, size_t uiSize);
|
D | SubsystemObject.h | 83 void blackboardRead(void* pvData, uint32_t uiSize); 84 void blackboardWrite(const void* pvData, uint32_t uiSize);
|
D | AreaConfiguration.cpp | 43 …on(const CConfigurableElement* pConfigurableElement, const CSyncerSet* pSyncerSet, uint32_t uiSize) in CAreaConfiguration() argument 47 _blackboard.setSize(uiSize); in CAreaConfiguration()
|
D | ConfigurableElement.cpp | 225 uint32_t uiSize = 0; in getFootPrint() local 233 uiSize += pConfigurableElement->getFootPrint(); in getFootPrint() 236 return uiSize; in getFootPrint()
|
D | ParameterType.cpp | 58 void CParameterType::setSize(uint32_t uiSize) in setSize() argument 60 _uiSize = uiSize; in setSize()
|
D | AreaConfiguration.h | 86 …n(const CConfigurableElement* pConfigurableElement, const CSyncerSet* pSyncerSet, uint32_t uiSize);
|
D | ParameterType.h | 106 void setSize(uint32_t uiSize);
|
/external/parameter-framework/test/test-subsystem/ |
D | TESTSubsystemBinary.cpp | 43 std::string CTESTSubsystemBinary::toString(const void* pvValue, uint32_t uiSize) const in toString() 48 assert(uiSize <= sizeof(uiValue)); in toString() 50 memcpy((void*)&uiValue, pvValue, uiSize); in toString() 57 void CTESTSubsystemBinary::fromString(const std::string& strValue, void* pvValue, uint32_t uiSize) in fromString() argument 61 assert(uiSize <= sizeof(uiValue)); in fromString() 63 memcpy(pvValue, (const void*)&uiValue, uiSize); in fromString()
|
D | TESTSubsystemString.cpp | 40 std::string CTESTSubsystemString::toString(const void* pvValue, uint32_t uiSize) const in toString() 42 (void)uiSize; in toString() 47 void CTESTSubsystemString::fromString(const std::string& strValue, void* pvValue, uint32_t uiSize) in fromString() argument 49 strncpy((char*)pvValue, strValue.c_str(), uiSize); in fromString()
|
D | TESTSubsystemString.h | 42 virtual std::string toString(const void* pvValue, uint32_t uiSize) const; 43 virtual void fromString(const std::string& strValue, void* pvValue, uint32_t uiSize);
|
D | TESTSubsystemBinary.h | 42 virtual std::string toString(const void* pvValue, uint32_t uiSize) const; 43 virtual void fromString(const std::string& strValue, void* pvValue, uint32_t uiSize);
|
D | TESTSubsystemObject.h | 50 virtual std::string toString(const void* pvValue, uint32_t uiSize) const = 0; 51 virtual void fromString(const std::string& strValue, void* pvValue, uint32_t uiSize) = 0;
|