Home
last modified time | relevance | path

Searched refs:pData (Results 1 – 25 of 234) sorted by relevance

12345678910

/external/sonivox/arm-wt-22k/lib_src/
Deas_ota.c95 static EAS_RESULT OTA_ParseHeader (S_EAS_DATA *pEASData, S_OTA_DATA* pData);
96 static EAS_RESULT OTA_FetchBitField (EAS_HW_DATA_HANDLE hwInstData, S_OTA_DATA *pData, EAS_I32 numB…
97 static EAS_RESULT OTA_SavePosition (EAS_HW_DATA_HANDLE hwInstData, S_OTA_DATA *pData, S_OTA_LOC *pL…
98 static EAS_RESULT OTA_RestorePosition (EAS_HW_DATA_HANDLE hwInstData, S_OTA_DATA *pData, S_OTA_LOC …
163 S_OTA_DATA* pData; in OTA_CheckFileType() local
199 pData = EAS_CMEnumData(EAS_CM_OTA_DATA); in OTA_CheckFileType()
201 pData = EAS_HWMalloc(pEASData->hwInstData, sizeof(S_OTA_DATA)); in OTA_CheckFileType()
202 if (!pData) in OTA_CheckFileType()
207 EAS_HWMemSet(pData, 0, sizeof(S_OTA_DATA)); in OTA_CheckFileType()
210 pData->fileHandle = fileHandle; in OTA_CheckFileType()
[all …]
Deas_imelody.c110 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 …]
Deas_tonecontrol.c74 static EAS_RESULT TC_ParseHeader (S_EAS_DATA *pEASData, S_TC_DATA* pData);
75 static EAS_RESULT TC_StartNote (S_EAS_DATA *pEASData, S_TC_DATA* pData, EAS_INT parserMode, EAS_I8 …
76 static EAS_RESULT TC_GetRepeat (S_EAS_DATA *pEASData, S_TC_DATA* pData, EAS_INT parserMode);
77 static EAS_RESULT TC_PlayBlock (S_EAS_DATA *pEASData, S_TC_DATA* pData);
78 static EAS_RESULT TC_BlockEnd (S_EAS_DATA *pEASData, S_TC_DATA* pData);
79 static EAS_RESULT TC_GetVolume (S_EAS_DATA *pEASData, S_TC_DATA* pData);
80 static EAS_RESULT TC_GetTempo (S_EAS_DATA *pEASData, S_TC_DATA* pData);
81 static EAS_RESULT TC_GetResolution (S_EAS_DATA *pEASData, S_TC_DATA* pData);
82 static EAS_RESULT TC_GetNextChar (EAS_HW_DATA_HANDLE hwInstData, S_TC_DATA *pData, EAS_I8 *pValue);
83 static void TC_PutBackChar (S_TC_DATA *pData, EAS_I8 value);
[all …]
Deas_rtttl.c76 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
136 S_RTTTL_DATA *pData; in RTTTL_CheckFileType() local
[all …]
/external/icu/icu4c/source/tools/toolutil/
Dunewdata.c38 UNewDataMemory *pData; in udata_create() local
52 pData=(UNewDataMemory *)uprv_malloc(sizeof(UNewDataMemory)); in udata_create()
53 if(pData==NULL) { in udata_create()
80 uprv_free(pData); in udata_create()
100 pData->file=T_FileStream_open(filename, "wb"); in udata_create()
101 if(pData->file==NULL) { in udata_create()
102 uprv_free(pData); in udata_create()
117 pData->headerSize=(uint16_t)((headerSize+15)&~0xf); in udata_create()
118 pData->magic1=0xda; in udata_create()
119 pData->magic2=0x27; in udata_create()
[all …]
Dunewdata.h67 udata_finish(UNewDataMemory *pData, UErrorCode *pErrorCode);
75 udata_write8(UNewDataMemory *pData, uint8_t byte);
79 udata_write16(UNewDataMemory *pData, uint16_t word);
83 udata_write32(UNewDataMemory *pData, uint32_t wyde);
87 udata_writeBlock(UNewDataMemory *pData, const void *s, int32_t length);
91 udata_writePadding(UNewDataMemory *pData, int32_t length);
95 udata_writeString(UNewDataMemory *pData, const char *s, int32_t length);
99 udata_writeUString(UNewDataMemory *pData, const UChar *s, int32_t length);
/external/icu/icu4c/source/common/
Dumapfile.c83 uprv_mapFile(UDataMemory *pData, const char *path) { in uprv_mapFile() argument
84 UDataMemory_init(pData); /* Clear the output struct. */ in uprv_mapFile()
88 U_CFUNC void uprv_unmapFile(UDataMemory *pData) { in uprv_unmapFile() argument
94 UDataMemory *pData, /* Fill in with info on the result doing the mapping. */ in uprv_mapFile() argument
105 UDataMemory_init(pData); /* Clear the output struct. */ in uprv_mapFile()
139 pData->pHeader=(const DataHeader *)MapViewOfFile(map, FILE_MAP_READ, 0, 0, 0); in uprv_mapFile()
140 if(pData->pHeader==NULL) { in uprv_mapFile()
144 pData->map=map; in uprv_mapFile()
149 uprv_unmapFile(UDataMemory *pData) { in uprv_unmapFile() argument
150 if(pData!=NULL && pData->map!=NULL) { in uprv_unmapFile()
[all …]
Dudatamem.c90 udata_close(UDataMemory *pData) { in udata_close() argument
91 if(pData!=NULL) { in udata_close()
92 uprv_unmapFile(pData); in udata_close()
93 if(pData->heapAllocated ) { in udata_close()
94 uprv_free(pData); in udata_close()
96 UDataMemory_init(pData); in udata_close()
102 udata_getMemory(UDataMemory *pData) { in udata_getMemory() argument
103 if(pData!=NULL && pData->pHeader!=NULL) { in udata_getMemory()
104 return (char *)(pData->pHeader)+udata_getHeaderSize(pData->pHeader); in udata_getMemory()
131 udata_getLength(const UDataMemory *pData) { in udata_getLength() argument
[all …]
/external/pdfium/xfa/src/fwl/src/theme/
Ddatetimepickertp.cpp110 FX_DWORD* pData = (FX_DWORD*)&m_pThemeData->BoxBkColor; in initThemeData() local
111 *pData++ = 0, *pData++ = 0, *pData++ = ArgbEncode(255, 220, 220, 215), in initThemeData()
112 *pData++ = ArgbEncode(255, 255, 255, 255), in initThemeData()
113 *pData++ = ArgbEncode(255, 255, 240, 207), in initThemeData()
114 *pData++ = ArgbEncode(255, 248, 179, 48), in initThemeData()
115 *pData++ = ArgbEncode(255, 176, 176, 167), in initThemeData()
116 *pData++ = ArgbEncode(255, 241, 239, 239), in initThemeData()
117 *pData++ = ArgbEncode(255, 255, 255, 255), in initThemeData()
118 *pData++ = ArgbEncode(255, 255, 255, 255), in initThemeData()
119 *pData++ = ArgbEncode(255, 220, 220, 215), in initThemeData()
[all …]
Dcheckboxtp.cpp389 FX_DWORD* pData = (FX_DWORD*)&m_pThemeData->clrBoxBk; in SetThemeData() local
391 *pData++ = 0, *pData++ = 0, *pData++ = ArgbEncode(255, 220, 220, 215), in SetThemeData()
392 *pData++ = ArgbEncode(255, 255, 255, 255), in SetThemeData()
393 *pData++ = ArgbEncode(255, 255, 240, 207), in SetThemeData()
394 *pData++ = ArgbEncode(255, 248, 179, 48), in SetThemeData()
395 *pData++ = ArgbEncode(255, 176, 176, 167), in SetThemeData()
396 *pData++ = ArgbEncode(255, 241, 239, 239), in SetThemeData()
397 *pData++ = ArgbEncode(255, 255, 255, 255), in SetThemeData()
398 *pData++ = ArgbEncode(255, 255, 255, 255), in SetThemeData()
399 *pData++ = ArgbEncode(255, 220, 220, 215), in SetThemeData()
[all …]
/external/pdfium/core/src/fxcrt/
Dfx_basic_util.cpp33 void* pData, in AddData() argument
44 pList[i].m_pData = pData; in AddData()
49 FX_PRIVATEDATA data = {pModuleId, pData, callback, bSelfDestruct}; in AddData()
53 void* pData, in SetPrivateData() argument
55 AddData(pModuleId, pData, callback, FALSE); in SetPrivateData()
95 void FX_atonum(const CFX_ByteStringC& strc, FX_BOOL& bInteger, void* pData) { in FX_atonum() argument
118 *(int*)pData = integer; in FX_atonum()
121 *(FX_FLOAT*)pData = FX_atof(strc); in FX_atonum()
210 CFindFileDataA* pData = new CFindFileDataA; in FX_OpenFolder() local
212 pData->m_Handle = in FX_OpenFolder()
[all …]
/external/pdfium/core/src/fpdfapi/fpdf_page/
Dfpdf_page_graph_state.cpp127 CPDF_ClipPathData* pData = GetModify(); in AppendPath() local
128 if (pData->m_PathCount && bAutoMerge) { in AppendPath()
129 CPDF_Path old_path = pData->m_pPathList[pData->m_PathCount - 1]; in AppendPath()
135 pData->m_PathCount--; in AppendPath()
136 pData->m_pPathList[pData->m_PathCount].SetNull(); in AppendPath()
140 if (pData->m_PathCount % 8 == 0) { in AppendPath()
141 CPDF_Path* pNewPath = new CPDF_Path[pData->m_PathCount + 8]; in AppendPath()
142 for (int i = 0; i < pData->m_PathCount; i++) { in AppendPath()
143 pNewPath[i] = pData->m_pPathList[i]; in AppendPath()
145 delete[] pData->m_pPathList; in AppendPath()
[all …]
/external/pdfium/fpdfsdk/src/javascript/
Dglobal.cpp153 v8::Local<v8::Object> pData; in DoProperty() local
154 vp >> pData; in DoProperty()
156 false, "", pData, FALSE); in DoProperty()
175 JSGlobalData* pData = it->second; in DoProperty() local
176 if (pData->bDeleted) { in DoProperty()
180 switch (pData->nType) { in DoProperty()
182 vp << pData->dData; in DoProperty()
185 vp << pData->bData; in DoProperty()
188 vp << pData->sData; in DoProperty()
192 vp.GetJSRuntime()->GetIsolate(), pData->pData); in DoProperty()
[all …]
DJS_GlobalData.cpp157 if (CJS_GlobalData_Element* pData = GetGlobalVariable(sPropName)) { in SetGlobalVariableNumber() local
158 pData->data.nType = JS_GLOBALDATA_TYPE_NUMBER; in SetGlobalVariableNumber()
159 pData->data.dData = dData; in SetGlobalVariableNumber()
180 if (CJS_GlobalData_Element* pData = GetGlobalVariable(sPropName)) { in SetGlobalVariableBoolean() local
181 pData->data.nType = JS_GLOBALDATA_TYPE_BOOLEAN; in SetGlobalVariableBoolean()
182 pData->data.bData = bData; in SetGlobalVariableBoolean()
204 if (CJS_GlobalData_Element* pData = GetGlobalVariable(sPropName)) { in SetGlobalVariableString() local
205 pData->data.nType = JS_GLOBALDATA_TYPE_STRING; in SetGlobalVariableString()
206 pData->data.sData = sData; in SetGlobalVariableString()
229 if (CJS_GlobalData_Element* pData = GetGlobalVariable(sPropName)) { in SetGlobalVariableObject() local
[all …]
/external/pdfium/xfa/src/fwl/src/basewidget/
Dfwl_listboximp.cpp207 IFWL_ListBoxDP* pData = in CountSelItems() local
209 int32_t iCount = pData->CountItems(m_pInterface); in CountSelItems()
211 FWL_HLISTITEM hItem = pData->GetItem(m_pInterface, i); in CountSelItems()
215 FX_DWORD dwStyle = pData->GetItemStyles(m_pInterface, hItem); in CountSelItems()
226 IFWL_ListBoxDP* pData = in GetSelItem() local
228 int32_t iCount = pData->CountItems(m_pInterface); in GetSelItem()
230 FWL_HLISTITEM hItem = pData->GetItem(m_pInterface, i); in GetSelItem()
234 FX_DWORD dwStyle = pData->GetItemStyles(m_pInterface, hItem); in GetSelItem()
249 IFWL_ListBoxDP* pData = in GetSelIndex() local
251 int32_t iCount = pData->CountItems(m_pInterface); in GetSelIndex()
[all …]
Dfwl_barcodeimp.cpp99 IFWL_BarcodeDP* pData = in GenerateBarcodeImageCache() local
101 if (!pData) in GenerateBarcodeImageCache()
130 FX_DWORD dwAttributeMask = pData->GetBarcodeAttributeMask(); in GenerateBarcodeImageCache()
132 m_pBarcodeEngine->SetCharEncoding(pData->GetCharEncoding()); in GenerateBarcodeImageCache()
135 m_pBarcodeEngine->SetModuleHeight(pData->GetModuleHeight()); in GenerateBarcodeImageCache()
138 m_pBarcodeEngine->SetModuleWidth(pData->GetModuleWidth()); in GenerateBarcodeImageCache()
141 m_pBarcodeEngine->SetDataLength(pData->GetDataLength()); in GenerateBarcodeImageCache()
144 m_pBarcodeEngine->SetCalChecksum(pData->GetCalChecksum()); in GenerateBarcodeImageCache()
147 m_pBarcodeEngine->SetPrintChecksum(pData->GetPrintChecksum()); in GenerateBarcodeImageCache()
150 m_pBarcodeEngine->SetTextLocation(pData->GetTextLocation()); in GenerateBarcodeImageCache()
[all …]
/external/nanopb-c/
Dpb_encode.c25 …n encode_array(pb_ostream_t *stream, const pb_field_t *field, const void *pData, size_t count, pb_…
26 …ic bool checkreturn encode_field(pb_ostream_t *stream, const pb_field_t *field, const void *pData);
28 …eckreturn encode_extension_field(pb_ostream_t *stream, const pb_field_t *field, const void *pData);
112 const void *pData, size_t count, pb_encoder_t func) in encode_array() argument
142 p = pData; in encode_array()
159 p = pData; in encode_array()
169 p = pData; in encode_array()
201 const pb_field_t *field, const void *pData) in encode_basic_field() argument
210 pSize = (const char*)pData + field->size_offset; in encode_basic_field()
221 pData = *(const void* const*)pData; in encode_basic_field()
[all …]
Dpb_decode.c30 void *pData; /* Pointer where to store current field value */ member
346 iter->pData = (char*)dest_struct + iter->pos->data_offset; in pb_field_init()
347 iter->pSize = (char*)iter->pData + iter->pos->size_offset; in pb_field_init()
379 iter->pData = iter->dest_struct; in pb_field_next()
384 iter->pData = (char*)iter->pData + prev_size + iter->pos->data_offset; in pb_field_next()
385 iter->pSize = (char*)iter->pData + iter->pos->size_offset; in pb_field_next()
420 return func(stream, iter->pos, iter->pData); in decode_static_field()
424 return func(stream, iter->pos, iter->pData); in decode_static_field()
439 void *pItem = (uint8_t*)iter->pData + iter->pos->data_size * (*size); in decode_static_field()
458 void *pItem = (uint8_t*)iter->pData + iter->pos->data_size * (*size); in decode_static_field()
[all …]
/external/pdfium/fpdfsdk/src/pdfwindow/
DPWL_FontMap.cpp62 if (CPWL_FontMap_Data* pData = m_aData.GetAt(nFontIndex)) { in GetPDFFont() local
63 return pData->pFont; in GetPDFFont()
72 if (CPWL_FontMap_Data* pData = m_aData.GetAt(nFontIndex)) { in GetPDFFontAlias() local
73 return pData->sFontName; in GetPDFFontAlias()
97 if (const CPWL_FontMap_Data* pData = GetFontMapData(0)) { in GetWordFontIndex() local
98 if (nCharset == DEFAULT_CHARSET || pData->nCharset == SYMBOL_CHARSET || in GetWordFontIndex()
99 nCharset == pData->nCharset) { in GetWordFontIndex()
121 if (CPWL_FontMap_Data* pData = m_aData.GetAt(nFontIndex)) { in CharCodeFromUnicode() local
122 if (pData->pFont) { in CharCodeFromUnicode()
123 if (pData->pFont->IsUnicodeCompatible()) { in CharCodeFromUnicode()
[all …]
/external/libvncserver/common/
Dzywrletemplate.c621 if( data-pData >= (w+uw) ){ \
623 pData = data; \
662 pData= data + w; \
663 pEnd = (int*)(pData+ h*scanline); \
664 while (pData < (PIXEL_T*)pEnd) { \
665 pLine = (int*)(pData + uw); \
666 while (pData < (PIXEL_T*)pLine) { \
668 pData++; \
671 pData += scanline-uw; \
675 pData= data + h*scanline; \
[all …]
/external/pdfium/xfa/include/fwl/theme/
Dpushbuttontp.h26 void SetTopLineColor(FX_DWORD* pData);
27 void SetLeftLineColor(FX_DWORD* pData);
28 void SetRightLineColor(FX_DWORD* pData);
29 void SetBottomLineColor(FX_DWORD* pData);
30 void SetBackgroudColor(FX_DWORD* pData);
31 void SetCaptionColor(FX_DWORD* pData);
32 void SetCornerColor(FX_DWORD* pData);
/external/pdfium/xfa/src/fgas/src/crt/
Dfx_utils.cpp342 FX_LPBASEDISCRETEARRAYDATA pData; in CFX_BaseDiscreteArray() local
343 m_pData = pData = new FX_BASEDISCRETEARRAYDATA; in CFX_BaseDiscreteArray()
344 pData->ChunkBuffer.SetSize(16); in CFX_BaseDiscreteArray()
345 pData->iChunkCount = 0; in CFX_BaseDiscreteArray()
346 pData->iChunkSize = iChunkSize; in CFX_BaseDiscreteArray()
347 pData->iBlockSize = iBlockSize; in CFX_BaseDiscreteArray()
355 FX_LPBASEDISCRETEARRAYDATA pData = (FX_LPBASEDISCRETEARRAYDATA)m_pData; in AddSpaceTo() local
356 int32_t& iChunkCount = pData->iChunkCount; in AddSpaceTo()
357 int32_t iChunkSize = pData->iChunkSize; in AddSpaceTo()
361 pChunk = (uint8_t*)pData->ChunkBuffer.GetAt(iChunk); in AddSpaceTo()
[all …]
/external/pdfium/fpdfsdk/src/formfiller/
DFFL_IFormFiller.cpp571 CFFL_PrivateData* pData = (CFFL_PrivateData*)pPrivateData; in QueryWherePopup() local
574 rcPageView.right = pData->pWidget->GetPDFPage()->GetPageWidth(); in QueryWherePopup()
575 rcPageView.bottom = pData->pWidget->GetPDFPage()->GetPageHeight(); in QueryWherePopup()
578 CPDF_Rect rcAnnot = pData->pWidget->GetRect(); in QueryWherePopup()
583 CPDFSDK_Widget* pWidget = (CPDFSDK_Widget*)pData->pWidget; in QueryWherePopup()
823 CFFL_PrivateData* pData = (CFFL_PrivateData*)pPrivateData; in OnPopupPreOpen() local
824 ASSERT(pData->pWidget != NULL); in OnPopupPreOpen()
828 this->OnPreOpen(pData->pWidget, pData->pPageView, bTempReset, bTempExit, in OnPopupPreOpen()
840 CFFL_PrivateData* pData = (CFFL_PrivateData*)pPrivateData; in OnPopupPostOpen() local
841 ASSERT(pData->pWidget != NULL); in OnPopupPostOpen()
[all …]
/external/mesa3d/src/gallium/state_trackers/d3d1x/d3d1xstutil/include/
Dd3d1xstutil.h846 void *pData)
858 if(pData)
860 memcpy(pData, &i->second.first, sizeof(void*));
868 if(pData)
869 memcpy(pData, i->second.first, size);
878 const void *pData)
882 if(DataSize && pData)
898 if(DataSize && pData)
900 memcpy(p, pData, DataSize);
911 const IUnknown *pData)
[all …]
/external/libnfc-nci/halimpl/pn54x/utils/
DphNxpNciHal_utils.c87 int listAdd(struct listHead* pList, void* pData) in listAdd() argument
101 pNode->pData = pData; in listAdd()
141 int listRemove(struct listHead* pList, void* pData) in listRemove() argument
158 if (pList->pFirst->pData == pData) in listRemove()
170 if (pNode->pNext->pData == pData) in listRemove()
182 NXPLOG_NCIHAL_E("Failed to deallocate (not found %8p)", pData); in listRemove()
233 *ppData = pNode->pData; in listGetAndRemoveNext()
264 NXPLOG_NCIHAL_D("- %8p (%8p)", pNode, pNode->pData); in listDump()

12345678910