Home
last modified time | relevance | path

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

12345678910>>...12

/external/sonivox/arm-wt-22k/lib_src/
Deas_ota.c98 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 …
166 S_OTA_DATA* pData; in OTA_CheckFileType() local
202 pData = EAS_CMEnumData(EAS_CM_OTA_DATA); in OTA_CheckFileType()
204 pData = EAS_HWMalloc(pEASData->hwInstData, sizeof(S_OTA_DATA)); in OTA_CheckFileType()
205 if (!pData) in OTA_CheckFileType()
210 EAS_HWMemSet(pData, 0, sizeof(S_OTA_DATA)); in OTA_CheckFileType()
213 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/epid-sdk/ext/ipp/sources/ippcp/
Dpcpscramble.h63 const Ipp32u* pData, cpSize dataSize) in cpScramblePut() argument
70 pArray[i*CACHE_LINE_SIZE] = ((Ipp8u*)pData)[i]; in cpScramblePut()
75 ((Ipp16u*)pArray)[i*CACHE_LINE_SIZE/sizeof(Ipp16u)] = ((Ipp16u*)pData)[i]; in cpScramblePut()
79 ((Ipp32u*)pArray)[i*CACHE_LINE_SIZE/sizeof(Ipp32u)] = pData[i]; in cpScramblePut()
82 for(; dataSize>=2; dataSize-=2, pArray+=CACHE_LINE_SIZE, pData+=2) { in cpScramblePut()
83 ((Ipp32u*)pArray)[0] = pData[0]; in cpScramblePut()
84 ((Ipp32u*)pArray)[1] = pData[1]; in cpScramblePut()
87 ((Ipp32u*)pArray)[0] = pData[0]; in cpScramblePut()
90 for(; dataSize>=4; dataSize-=4, pArray+=CACHE_LINE_SIZE, pData+=4) { in cpScramblePut()
91 ((Ipp32u*)pArray)[0] = pData[0]; in cpScramblePut()
[all …]
/external/icu/icu4c/source/tools/toolutil/
Dunewdata.cpp40 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 …]
Dunewdata.h69 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/
Dumapfile.cpp88 uprv_mapFile(UDataMemory *pData, const char *path, UErrorCode *status) { in uprv_mapFile() argument
92 UDataMemory_init(pData); /* Clear the output struct. */ in uprv_mapFile()
96 U_CFUNC void uprv_unmapFile(UDataMemory *pData) { in uprv_unmapFile() argument
102 UDataMemory *pData, /* Fill in with info on the result doing the mapping. */ in uprv_mapFile() argument
115 UDataMemory_init(pData); /* Clear the output struct. */ in uprv_mapFile()
188 pData->pHeader=(const DataHeader *)MapViewOfFile(map, FILE_MAP_READ, 0, 0, 0); in uprv_mapFile()
189 if(pData->pHeader==NULL) { in uprv_mapFile()
193 pData->map=map; in uprv_mapFile()
198 uprv_unmapFile(UDataMemory *pData) { in uprv_unmapFile() argument
199 if(pData!=NULL && pData->map!=NULL) { in uprv_unmapFile()
[all …]
Dudatamem.cpp92 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/
Dcpdf_generalstate.cpp120 const StateData* pData = m_Ref.GetObject(); in GetBlendType() local
121 return pData ? pData->m_BlendType : FXDIB_BLEND_NORMAL; in GetBlendType()
129 const StateData* pData = m_Ref.GetObject(); in GetFillAlpha() local
130 return pData ? pData->m_FillAlpha : 1.0f; in GetFillAlpha()
138 const StateData* pData = m_Ref.GetObject(); in GetStrokeAlpha() local
139 return pData ? pData->m_StrokeAlpha : 1.0f; in GetStrokeAlpha()
147 const StateData* pData = m_Ref.GetObject(); in GetSoftMask() local
148 return pData ? pData->m_pSoftMask.Get() : nullptr; in GetSoftMask()
156 const StateData* pData = m_Ref.GetObject(); in GetTR() local
157 return pData ? pData->m_pTR.Get() : nullptr; in GetTR()
[all …]
Dcpdf_colorstate.cpp45 const ColorData* pData = m_Ref.GetObject(); in GetFillColor() local
46 return pData ? &pData->m_FillColor : nullptr; in GetFillColor()
59 const ColorData* pData = m_Ref.GetObject(); in GetStrokeColor() local
60 return pData ? &pData->m_StrokeColor : nullptr; in GetStrokeColor()
75 ColorData* pData = m_Ref.GetPrivateCopy(); in SetFillColor() local
76 SetColor(pData->m_FillColor, pData->m_FillRGB, pCS, pValue, nValues); in SetFillColor()
82 ColorData* pData = m_Ref.GetPrivateCopy(); in SetStrokeColor() local
83 SetColor(pData->m_StrokeColor, pData->m_StrokeRGB, pCS, pValue, nValues); in SetStrokeColor()
89 ColorData* pData = m_Ref.GetPrivateCopy(); in SetFillPattern() local
90 pData->m_FillColor.SetValue(pPattern, pValue, nValues); in SetFillPattern()
[all …]
Dcpdf_clippath.cpp79 PathData* pData = m_Ref.GetPrivateCopy(); in AppendPath() local
80 if (!pData->m_PathAndTypeList.empty() && bAutoMerge) { in AppendPath()
81 const CPDF_Path& old_path = pData->m_PathAndTypeList.back().first; in AppendPath()
88 pData->m_PathAndTypeList.pop_back(); in AppendPath()
91 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() <= FPDF_CLIPPATH_MAX_TEXTS) { in AppendTexts()
99 pData->m_TextList.push_back(std::move((*pTexts)[i])); in AppendTexts()
100 pData->m_TextList.push_back(nullptr); in AppendTexts()
106 PathData* pData = m_Ref.GetPrivateCopy(); in Transform() local
[all …]
/external/pdfium/fxjs/
Dcjs_global.cpp134 v8::Global<v8::Object> pData; member
163 v8::Local<v8::Object> pData,
168 void PutObjectProperty(v8::Local<v8::Object> obj, CJS_KeyValue* pData);
251 pData.Reset(); in ~JSGlobalData()
288 JSGlobalData* pData = it->second.get(); in GetProperty() local
289 if (pData->bDeleted) in GetProperty()
292 switch (pData->nType) { in GetProperty()
294 return CJS_Return(pRuntime->NewNumber(pData->dData)); in GetProperty()
296 return CJS_Return(pRuntime->NewBoolean(pData->bData)); in GetProperty()
299 WideString::FromLocal(pData->sData.c_str()).c_str())); in GetProperty()
[all …]
Dcjs_globaldata.cpp102 if (CJS_GlobalData_Element* pData = GetGlobalVariable(sPropName)) { in SetGlobalVariableNumber() local
103 pData->data.nType = JS_GlobalDataType::NUMBER; in SetGlobalVariableNumber()
104 pData->data.dData = dData; in SetGlobalVariableNumber()
120 if (CJS_GlobalData_Element* pData = GetGlobalVariable(sPropName)) { in SetGlobalVariableBoolean() local
121 pData->data.nType = JS_GlobalDataType::BOOLEAN; in SetGlobalVariableBoolean()
122 pData->data.bData = bData; in SetGlobalVariableBoolean()
138 if (CJS_GlobalData_Element* pData = GetGlobalVariable(sPropName)) { in SetGlobalVariableString() local
139 pData->data.nType = JS_GlobalDataType::STRING; in SetGlobalVariableString()
140 pData->data.sData = sData; in SetGlobalVariableString()
157 if (CJS_GlobalData_Element* pData = GetGlobalVariable(sPropName)) { in SetGlobalVariableObject() local
[all …]
/external/swiftshader/third_party/PowerVR_SDK/Shell/OS/Windows/
DPVRShellOS.cpp574 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/pdfium/xfa/fwl/theme/
Dcfwl_checkboxtp.cpp181 uint32_t* pData = (uint32_t*)&m_pThemeData->clrBoxBk; in SetThemeData() local
183 *pData++ = 0; in SetThemeData()
184 *pData++ = 0; in SetThemeData()
185 *pData++ = ArgbEncode(255, 220, 220, 215), in SetThemeData()
186 *pData++ = ArgbEncode(255, 255, 255, 255), in SetThemeData()
187 *pData++ = ArgbEncode(255, 255, 240, 207), in SetThemeData()
188 *pData++ = ArgbEncode(255, 248, 179, 48), in SetThemeData()
189 *pData++ = ArgbEncode(255, 176, 176, 167), in SetThemeData()
190 *pData++ = ArgbEncode(255, 241, 239, 239), in SetThemeData()
191 *pData++ = ArgbEncode(255, 255, 255, 255), in SetThemeData()
[all …]
Dcfwl_pushbuttontp.h30 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/swiftshader/third_party/PowerVR_SDK/Tools/
DPVRTVertex.cpp64 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 …]
/external/nanopb-c/
Dpb_encode.c26 …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 …]
Dpb_decode.c51 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/
Dcpdf_stream.cpp22 CPDF_Stream::CPDF_Stream(std::unique_ptr<uint8_t, FxFreeDeleter> pData, in CPDF_Stream() argument
26 SetData(std::move(pData), size); in CPDF_Stream()
55 void CPDF_Stream::InitStream(const uint8_t* pData, in InitStream() argument
59 SetData(pData, size); in InitStream()
96 void CPDF_Stream::SetDataAndRemoveFilter(const uint8_t* pData, uint32_t size) { in SetDataAndRemoveFilter() argument
97 SetData(pData, size); in SetDataAndRemoveFilter()
107 void CPDF_Stream::SetData(const uint8_t* pData, uint32_t size) { in SetData() argument
109 if (pData) { in SetData()
111 memcpy(data_copy.get(), pData, size); in SetData()
116 void CPDF_Stream::SetData(std::unique_ptr<uint8_t, FxFreeDeleter> pData, in SetData() argument
[all …]
/external/pdfium/fpdfsdk/pwl/
Dcpwl_font_map.cpp88 if (const CPWL_FontMap_Data* pData = GetFontMapData(0)) { in GetWordFontIndex() local
90 pData->nCharset == FX_CHARSET_Symbol || nCharset == pData->nCharset) { in GetWordFontIndex()
115 CPWL_FontMap_Data* pData = m_Data[nFontIndex].get(); in CharCodeFromUnicode() local
116 if (!pData || !pData->pFont) in CharCodeFromUnicode()
119 if (pData->pFont->IsUnicodeCompatible()) in CharCodeFromUnicode()
120 return pData->pFont->CharCodeFromUnicode(word); in CharCodeFromUnicode()
126 for (const auto& pData : m_NativeFont) { in GetNativeFontName() local
127 if (pData && pData->nCharset == nCharset) in GetNativeFontName()
128 return pData->sFontName; in GetNativeFontName()
162 for (const auto& pData : m_Data) { in FindFont() local
[all …]
/external/grpc-grpc/third_party/nanopb/
Dpb_encode.c26 …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 …]
Dpb_common.c14 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()
Dpb_decode.c50 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 …]

12345678910>>...12