/external/sonivox/arm-wt-22k/lib_src/ |
D | eas_ota.c | 98 static EAS_RESULT OTA_ParseHeader (S_EAS_DATA *pEASData, S_OTA_DATA* pData); 99 static EAS_RESULT OTA_FetchBitField (EAS_HW_DATA_HANDLE hwInstData, S_OTA_DATA *pData, EAS_I32 numB… 100 static EAS_RESULT OTA_SavePosition (EAS_HW_DATA_HANDLE hwInstData, S_OTA_DATA *pData, S_OTA_LOC *pL… 101 static EAS_RESULT OTA_RestorePosition (EAS_HW_DATA_HANDLE hwInstData, S_OTA_DATA *pData, S_OTA_LOC … 171 S_OTA_DATA* pData; in OTA_CheckFileType() local 207 pData = EAS_CMEnumData(EAS_CM_OTA_DATA); in OTA_CheckFileType() 209 pData = EAS_HWMalloc(pEASData->hwInstData, sizeof(S_OTA_DATA)); in OTA_CheckFileType() 210 if (!pData) in OTA_CheckFileType() 215 EAS_HWMemSet(pData, 0, sizeof(S_OTA_DATA)); in OTA_CheckFileType() 218 pData->fileHandle = fileHandle; in OTA_CheckFileType() [all …]
|
D | eas_imelody.c | 110 static void PutBackChar (S_IMELODY_DATA *pData) in PutBackChar() argument 112 if (pData->index) in PutBackChar() 113 pData->index--; in PutBackChar() 117 EAS_INLINE void PutBackChar (S_IMELODY_DATA *pData) { if (pData->index) pData->index--; } in PutBackChar() argument 133 static EAS_BOOL IMY_PlayNote (S_EAS_DATA *pEASData, S_IMELODY_DATA *pData, EAS_I8 note, EAS_INT par… 134 static EAS_BOOL IMY_PlayRest (S_EAS_DATA *pEASData, S_IMELODY_DATA *pData); 135 static EAS_BOOL IMY_GetDuration (EAS_HW_DATA_HANDLE hwInstData, S_IMELODY_DATA *pData, EAS_I32 *pDu… 136 static EAS_BOOL IMY_GetLEDState (S_EAS_DATA *pEASData, S_IMELODY_DATA *pData); 137 static EAS_BOOL IMY_GetVibeState (S_EAS_DATA *pEASData, S_IMELODY_DATA *pData); 138 static EAS_BOOL IMY_GetBackState (S_EAS_DATA *pEASData, S_IMELODY_DATA *pData); [all …]
|
D | eas_rtttl.c | 76 static EAS_RESULT RTTTL_GetStyle (EAS_HW_DATA_HANDLE hwInstData, S_RTTTL_DATA *pData); 77 static EAS_RESULT RTTTL_GetDuration (EAS_HW_DATA_HANDLE hwInstData, S_RTTTL_DATA *pData, EAS_I8 *pD… 78 static EAS_RESULT RTTTL_GetOctave (EAS_HW_DATA_HANDLE hwInstData, S_RTTTL_DATA *pData, EAS_U8 *pOct… 79 static EAS_RESULT RTTTL_GetTempo (EAS_HW_DATA_HANDLE hwInstData, S_RTTTL_DATA *pData); 80 static EAS_RESULT RTTTL_GetNumber (EAS_HW_DATA_HANDLE hwInstData, S_RTTTL_DATA *pData, EAS_I32 *pVa… 81 static EAS_RESULT RTTTL_ParseHeader (S_EAS_DATA *pEASData, S_RTTTL_DATA* pData, EAS_BOOL metaData); 82 static EAS_RESULT RTTTL_GetNextChar (EAS_HW_DATA_HANDLE hwInstData, S_RTTTL_DATA *pData, EAS_I8 *pV… 83 static EAS_RESULT RTTTL_PeekNextChar (EAS_HW_DATA_HANDLE hwInstData, S_RTTTL_DATA *pData, EAS_I8 *p… 86 EAS_INLINE void RTTTL_PutBackChar (S_RTTTL_DATA *pData, EAS_I8 value) { pData->dataByte = value; } in RTTTL_PutBackChar() argument 141 S_RTTTL_DATA *pData; in RTTTL_CheckFileType() local [all …]
|
/external/icu/icu4c/source/tools/toolutil/ |
D | unewdata.cpp | 40 UNewDataMemory *pData; in udata_create() local 54 pData=(UNewDataMemory *)uprv_malloc(sizeof(UNewDataMemory)); in udata_create() 55 if(pData==NULL) { in udata_create() 82 uprv_free(pData); in udata_create() 102 pData->file=T_FileStream_open(filename, "wb"); in udata_create() 103 if(pData->file==NULL) { in udata_create() 104 uprv_free(pData); in udata_create() 119 pData->headerSize=(uint16_t)((headerSize+15)&~0xf); in udata_create() 120 pData->magic1=0xda; in udata_create() 121 pData->magic2=0x27; in udata_create() [all …]
|
D | unewdata.h | 69 udata_finish(UNewDataMemory *pData, UErrorCode *pErrorCode); 77 udata_write8(UNewDataMemory *pData, uint8_t byte); 81 udata_write16(UNewDataMemory *pData, uint16_t word); 85 udata_write32(UNewDataMemory *pData, uint32_t wyde); 89 udata_writeBlock(UNewDataMemory *pData, const void *s, int32_t length); 93 udata_writePadding(UNewDataMemory *pData, int32_t length); 97 udata_writeString(UNewDataMemory *pData, const char *s, int32_t length); 101 udata_writeUString(UNewDataMemory *pData, const UChar *s, int32_t length);
|
/external/icu/icu4c/source/common/ |
D | umapfile.cpp | 108 uprv_mapFile(UDataMemory *pData, const char *path, UErrorCode *status) { in uprv_mapFile() argument 112 UDataMemory_init(pData); /* Clear the output struct. */ in uprv_mapFile() 116 U_CFUNC void uprv_unmapFile(UDataMemory *pData) { in uprv_unmapFile() argument 122 UDataMemory *pData, /* Fill in with info on the result doing the mapping. */ in uprv_mapFile() argument 135 UDataMemory_init(pData); /* Clear the output struct. */ in uprv_mapFile() 190 … pData->pHeader = reinterpret_cast<const DataHeader *>(MapViewOfFile(map, FILE_MAP_READ, 0, 0, 0)); in uprv_mapFile() 191 if (pData->pHeader == nullptr) { in uprv_mapFile() 195 pData->map = map; in uprv_mapFile() 200 uprv_unmapFile(UDataMemory *pData) { in uprv_unmapFile() argument 201 if (pData != nullptr && pData->map != nullptr) { in uprv_unmapFile() [all …]
|
D | udatamem.cpp | 92 udata_close(UDataMemory *pData) { in udata_close() argument 93 if(pData!=NULL) { in udata_close() 94 uprv_unmapFile(pData); in udata_close() 95 if(pData->heapAllocated ) { in udata_close() 96 uprv_free(pData); in udata_close() 98 UDataMemory_init(pData); in udata_close() 104 udata_getMemory(UDataMemory *pData) { in udata_getMemory() argument 105 if(pData!=NULL && pData->pHeader!=NULL) { in udata_getMemory() 106 return (char *)(pData->pHeader)+udata_getHeaderSize(pData->pHeader); in udata_getMemory() 133 udata_getLength(const UDataMemory *pData) { in udata_getLength() argument [all …]
|
/external/pdfium/core/fpdfapi/page/ |
D | cpdf_generalstate.cpp | 119 const StateData* pData = m_Ref.GetObject(); in GetBlendType() local 120 return pData ? pData->m_BlendType : BlendMode::kNormal; in GetBlendType() 128 const StateData* pData = m_Ref.GetObject(); in GetFillAlpha() local 129 return pData ? pData->m_FillAlpha : 1.0f; in GetFillAlpha() 137 const StateData* pData = m_Ref.GetObject(); in GetStrokeAlpha() local 138 return pData ? pData->m_StrokeAlpha : 1.0f; in GetStrokeAlpha() 146 const StateData* pData = m_Ref.GetObject(); in GetSoftMask() local 147 return pData ? pData->m_pSoftMask.Get() : nullptr; in GetSoftMask() 155 const StateData* pData = m_Ref.GetObject(); in GetTR() local 156 return pData ? pData->m_pTR.Get() : nullptr; in GetTR() [all …]
|
D | cpdf_colorstate.cpp | 46 const ColorData* pData = m_Ref.GetObject(); in GetFillColor() local 47 return pData ? &pData->m_FillColor : nullptr; in GetFillColor() 60 const ColorData* pData = m_Ref.GetObject(); in GetStrokeColor() local 61 return pData ? &pData->m_StrokeColor : nullptr; in GetStrokeColor() 75 ColorData* pData = m_Ref.GetPrivateCopy(); in SetFillColor() local 76 SetColor(pCS, values, &pData->m_FillColor, &pData->m_FillColorRef); in SetFillColor() 81 ColorData* pData = m_Ref.GetPrivateCopy(); in SetStrokeColor() local 82 SetColor(pCS, values, &pData->m_StrokeColor, &pData->m_StrokeColorRef); in SetStrokeColor() 87 ColorData* pData = m_Ref.GetPrivateCopy(); in SetFillPattern() local 88 SetPattern(pPattern, values, &pData->m_FillColor, &pData->m_FillColorRef); in SetFillPattern() [all …]
|
D | cpdf_clippath.cpp | 78 PathData* pData = m_Ref.GetPrivateCopy(); in AppendPath() local 79 if (!pData->m_PathAndTypeList.empty() && bAutoMerge) { in AppendPath() 80 const CPDF_Path& old_path = pData->m_PathAndTypeList.back().first; in AppendPath() 87 pData->m_PathAndTypeList.pop_back(); in AppendPath() 90 pData->m_PathAndTypeList.push_back(std::make_pair(path, type)); in AppendPath() 96 PathData* pData = m_Ref.GetPrivateCopy(); in AppendTexts() local 97 if (pData->m_TextList.size() + pTexts->size() <= kMaxTextObjects) { in AppendTexts() 99 pData->m_TextList.push_back(std::move((*pTexts)[i])); in AppendTexts() 100 pData->m_TextList.push_back(nullptr); in AppendTexts() 114 PathData* pData = m_Ref.GetPrivateCopy(); in Transform() local [all …]
|
/external/pdfium/fxjs/ |
D | cjs_global.cpp | 247 JSGlobalData* pData = it->second.get(); in GetProperty() local 248 if (pData->bDeleted) in GetProperty() 251 switch (pData->nType) { in GetProperty() 253 return CJS_Result::Success(pRuntime->NewNumber(pData->dData)); in GetProperty() 255 return CJS_Result::Success(pRuntime->NewBoolean(pData->bData)); in GetProperty() 258 WideString::FromDefANSI(pData->sData.AsStringView()).AsStringView())); in GetProperty() 261 v8::Local<v8::Object>::New(pRuntime->GetIsolate(), pData->pData)); in GetProperty() 324 CFX_GlobalData::Element* pData = m_pGlobalData->GetAt(i); in UpdateGlobalPersistentVariables() local 325 switch (pData->data.nType) { in UpdateGlobalPersistentVariables() 327 SetGlobalVariables(pData->data.sKey, CFX_Value::DataType::NUMBER, in UpdateGlobalPersistentVariables() [all …]
|
D | cfx_globaldata.cpp | 53 const CFX_KeyValue& pData, in MakeByteString() argument 55 switch (pData.nType) { in MakeByteString() 57 MakeNameTypeString(name, pData.nType, result); in MakeByteString() 58 double dData = pData.dData; in MakeByteString() 63 MakeNameTypeString(name, pData.nType, result); in MakeByteString() 64 uint16_t wData = static_cast<uint16_t>(pData.bData); in MakeByteString() 69 MakeNameTypeString(name, pData.nType, result); in MakeByteString() 70 uint32_t dwDataLen = (uint32_t)pData.sData.GetLength(); in MakeByteString() 72 result->AppendString(pData.sData); in MakeByteString() 76 MakeNameTypeString(name, pData.nType, result); in MakeByteString() [all …]
|
/external/OpenCL-CTS/test_conformance/mem_host_flags/ |
D | C_host_memory_block.h | 30 T *pData; variable 46 bool Equal(T *pData, int num_elements); 64 pData = NULL; in C_host_memory_block() 72 if (pData!=NULL) delete pData; in ~C_host_memory_block() local 79 if (pData!=NULL) delete pData; in Init() local 80 pData= new T [num_elem]; in Init() 82 pData[i] = value; in Init() 90 if (pData!=NULL) delete pData; in Init() local 91 pData = new T [num_elem]; in Init() 93 pData[i]= (T) i; in Init() [all …]
|
/external/swiftshader/third_party/PowerVR_SDK/Shell/OS/Windows/ |
D | PVRShellOS.cpp | 574 void doButtonDown(HWND hWnd, PVRShellInit *pData, EPVRShellButtonState eButton, LPARAM lParam) in doButtonDown() argument 579 pData->TouchBegan(vec2TouchPosition); in doButtonDown() 581 pData->m_u32ButtonState |= eButton; in doButtonDown() 584 bool doButtonUp(HWND hWnd, PVRShellInit *pData, EPVRShellButtonState eButton, LPARAM lParam) in doButtonUp() argument 589 pData->TouchEnded(vec2TouchPosition); in doButtonUp() 590 pData->m_u32ButtonState &= (~eButton); in doButtonUp() 594 if(pData->m_u32ButtonState==0) in doButtonUp() 615 PVRShellInit *pData = (PVRShellInit*) GetWindowLongPtr(hWnd, GWLP_USERDATA); in WndProc() local 630 pData->gShellDone = true; in WndProc() 635 pData->m_pShell->PVRShellSet(prefPositionX, (int)LOWORD(lParam)); in WndProc() [all …]
|
/external/swiftshader/third_party/PowerVR_SDK/Tools/ |
D | PVRTVertex.cpp | 64 const void * const pData, in PVRTVertexRead() argument 84 pOut[i] = ((float*)pData)[i]; in PVRTVertexRead() 89 pOut[i] = ((int*)pData)[i] * 1.0f / (float)(1 << 16); in PVRTVertexRead() 94 pOut[i] = (float)((int*)pData)[i]; in PVRTVertexRead() 99 pOut[i] = (float)((unsigned int*)pData)[i]; in PVRTVertexRead() 104 pOut[i] = (float)((char*)pData)[i]; in PVRTVertexRead() 109 pOut[i] = (float)((char*)pData)[i] / (float)((1 << 7)-1); in PVRTVertexRead() 114 pOut[i] = (float)((unsigned char*)pData)[i]; in PVRTVertexRead() 119 pOut[i] = (float)((unsigned char*)pData)[i] / (float)((1 << 8)-1); in PVRTVertexRead() 124 pOut[i] = (float)((short*)pData)[i]; in PVRTVertexRead() [all …]
|
D | PVRTHash.h | 66 CPVRTHash(const void* pData, unsigned int dataSize, unsigned int dataCount) : m_uiHash(0) in CPVRTHash() argument 68 _ASSERT(pData); in CPVRTHash() 73 m_uiHash = MakeHash(pData, dataSize, dataCount); in CPVRTHash() 142 static CPVRTHash MakeHash(const void* pData, unsigned int dataSize, unsigned int dataCount) in MakeHash() argument 144 _ASSERT(pData); in MakeHash() 154 unsigned char* p = (unsigned char*)pData; in MakeHash()
|
/external/nanopb-c/ |
D | pb_encode.c | 26 …n encode_array(pb_ostream_t *stream, const pb_field_t *field, const void *pData, size_t count, pb_… 27 …ic bool checkreturn encode_field(pb_ostream_t *stream, const pb_field_t *field, const void *pData); 29 …eckreturn encode_extension_field(pb_ostream_t *stream, const pb_field_t *field, const void *pData); 127 const void *pData, size_t count, pb_encoder_t func) in encode_array() argument 157 p = pData; in encode_array() 174 p = pData; in encode_array() 184 p = pData; in encode_array() 215 static bool pb_check_proto3_default_value(const pb_field_t *field, const void *pData) in pb_check_proto3_default_value() argument 218 const void *pSize = (const char*)pData + field->size_offset; in pb_check_proto3_default_value() 247 const pb_bytes_array_t *bytes = (const pb_bytes_array_t*)pData; in pb_check_proto3_default_value() [all …]
|
D | pb_decode.c | 51 static bool checkreturn allocate_field(pb_istream_t *stream, void *pData, size_t data_size, size_t … 412 return func(stream, iter->pos, iter->pData); in decode_static_field() 415 if (iter->pSize != iter->pData) in decode_static_field() 417 return func(stream, iter->pos, iter->pData); in decode_static_field() 433 void *pItem = (char*)iter->pData + iter->pos->data_size * (*size); in decode_static_field() 453 char *pItem = (char*)iter->pData + iter->pos->data_size * (*size); in decode_static_field() 467 memset(iter->pData, 0, iter->pos->data_size); in decode_static_field() 468 pb_message_set_to_defaults((const pb_field_t*)iter->pos->ptr, iter->pData); in decode_static_field() 470 return func(stream, iter->pos, iter->pData); in decode_static_field() 482 static bool checkreturn allocate_field(pb_istream_t *stream, void *pData, size_t data_size, size_t … in allocate_field() argument [all …]
|
/external/pdfium/core/fpdfapi/parser/ |
D | cpdf_stream.cpp | 35 CPDF_Stream::CPDF_Stream(std::unique_ptr<uint8_t, FxFreeDeleter> pData, in CPDF_Stream() argument 39 TakeData(std::move(pData), size); in CPDF_Stream() 72 void CPDF_Stream::InitStream(pdfium::span<const uint8_t> pData, in InitStream() argument 75 SetData(pData); in InitStream() 112 void CPDF_Stream::SetDataAndRemoveFilter(pdfium::span<const uint8_t> pData) { in SetDataAndRemoveFilter() argument 113 SetData(pData); in SetDataAndRemoveFilter() 130 void CPDF_Stream::SetData(pdfium::span<const uint8_t> pData) { in SetData() argument 132 if (!pData.empty()) { in SetData() 133 data_copy.reset(FX_Alloc(uint8_t, pData.size())); in SetData() 134 memcpy(data_copy.get(), pData.data(), pData.size()); in SetData() [all …]
|
/external/pdfium/xfa/fwl/theme/ |
D | cfwl_pushbuttontp.h | 30 void SetTopLineColor(uint32_t* pData); 31 void SetLeftLineColor(uint32_t* pData); 32 void SetRightLineColor(uint32_t* pData); 33 void SetBottomLineColor(uint32_t* pData); 34 void SetBackgroudColor(uint32_t* pData); 35 void SetCaptionColor(uint32_t* pData); 36 void SetCornerColor(uint32_t* pData);
|
/external/grpc-grpc/third_party/nanopb/ |
D | pb_encode.c | 26 …n encode_array(pb_ostream_t *stream, const pb_field_t *field, const void *pData, size_t count, pb_… 27 …ic bool checkreturn encode_field(pb_ostream_t *stream, const pb_field_t *field, const void *pData); 29 …eckreturn encode_extension_field(pb_ostream_t *stream, const pb_field_t *field, const void *pData); 114 const void *pData, size_t count, pb_encoder_t func) in encode_array() argument 144 p = pData; in encode_array() 161 p = pData; in encode_array() 171 p = pData; in encode_array() 203 const pb_field_t *field, const void *pData) in encode_basic_field() argument 212 pSize = (const char*)pData + field->size_offset; in encode_basic_field() 223 pData = *(const void* const*)pData; in encode_basic_field() [all …]
|
D | pb_common.c | 14 iter->pData = (char*)dest_struct + iter->pos->data_offset; in pb_field_iter_begin() 15 iter->pSize = (char*)iter->pData + iter->pos->size_offset; in pb_field_iter_begin() 49 iter->pData = (char*)iter->pData - prev_field->data_offset; in pb_field_iter_next() 72 iter->pData = (char*)iter->pData + prev_size + iter->pos->data_offset; in pb_field_iter_next() 73 iter->pSize = (char*)iter->pData + iter->pos->size_offset; in pb_field_iter_next()
|
D | pb_decode.c | 50 static bool checkreturn allocate_field(pb_istream_t *stream, void *pData, size_t data_size, size_t … 360 return func(stream, iter->pos, iter->pData); in decode_static_field() 364 return func(stream, iter->pos, iter->pData); in decode_static_field() 379 void *pItem = (char*)iter->pData + iter->pos->data_size * (*size); in decode_static_field() 398 void *pItem = (char*)iter->pData + iter->pos->data_size * (*size); in decode_static_field() 412 memset(iter->pData, 0, iter->pos->data_size); in decode_static_field() 413 pb_message_set_to_defaults((const pb_field_t*)iter->pos->ptr, iter->pData); in decode_static_field() 415 return func(stream, iter->pos, iter->pData); in decode_static_field() 427 static bool checkreturn allocate_field(pb_istream_t *stream, void *pData, size_t data_size, size_t … in allocate_field() argument 429 void *ptr = *(void**)pData; in allocate_field() [all …]
|
/external/pdfium/core/fpdfapi/font/ |
D | cpdf_type3char.cpp | 52 const float* pData) { in InitializeFromStreamData() argument 54 m_Width = FXSYS_roundf(TextUnitToGlyphUnit(pData[0])); in InitializeFromStreamData() 55 m_BBox.left = FXSYS_roundf(TextUnitToGlyphUnit(pData[2])); in InitializeFromStreamData() 56 m_BBox.bottom = FXSYS_roundf(TextUnitToGlyphUnit(pData[3])); in InitializeFromStreamData() 57 m_BBox.right = FXSYS_roundf(TextUnitToGlyphUnit(pData[4])); in InitializeFromStreamData() 58 m_BBox.top = FXSYS_roundf(TextUnitToGlyphUnit(pData[5])); in InitializeFromStreamData()
|
/external/icu/icu4c/source/samples/udata/ |
D | writer.c | 67 UNewDataMemory *pData; in main() local 80 pData=udata_create(currdir, DATA_TYPE, DATA_NAME, &dataInfo, in main() 96 udata_write16(pData, intValue); in main() 98 udata_writeString(pData, stringValue, sizeof(stringValue)); in main() 101 dataLength=udata_finish(pData, &errorCode); in main()
|