/prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/include/ddk/ |
d3dhalex.h | 5 #define D3DGDI_IS_GDI2(pData) ((((DD_GETDRIVERINFO2DATA*)(pData->lpvData))->dwMagic) == D3DGDI2_MAGIC) 6 #define D3DGDI_IS_STEREOMODE(pData) ((((DD_STEREOMODE*) (pData->lpvData))->dwHeight) != D3DGDI2_MAGIC) 7 #define D3DGDI_GET_GDI2_DATA(pData) (D3DGDI_IS_GDI2(pData) ? (((DD_GETDRIVERINFO2DATA*)(pData->lpvData))) : NULL) 8 #define D3DGDI_GET_STEREOMODE_DATA(pData) (D3DGDI_IS_STEREOMODE(pData) ? (((DD_STEREOMODE*)(pData->lpvData))) : NULL [all...] |
/bootable/recovery/minui/ |
graphics_adf.cpp | 53 static int adf_surface_init(adf_pdata *pdata, drm_mode_modeinfo *mode, adf_surface_pdata *surf) { 56 surf->fd = adf_interface_simple_buffer_alloc(pdata->intf_fd, mode->hdisplay, 57 mode->vdisplay, pdata->format, &surf->offset, &surf->pitch); 64 surf->base.pixel_bytes = (pdata->format == DRM_FORMAT_RGB565) ? 2 : 4; 77 static int adf_interface_init(adf_pdata *pdata) 83 err = adf_get_interface_data(pdata->intf_fd, &intf_data); 87 err = adf_surface_init(pdata, &intf_data.current_mode, &pdata->surfaces[0]); 94 err = adf_surface_init(pdata, &intf_data.current_mode, 95 &pdata->surfaces[1]) 139 adf_pdata *pdata = (adf_pdata *)backend; local 198 adf_pdata *pdata = (adf_pdata *)backend; local 213 adf_pdata *pdata = (adf_pdata *)backend; local 226 adf_pdata *pdata = (adf_pdata *)backend; local 238 adf_pdata* pdata = reinterpret_cast<adf_pdata*>(calloc(1, sizeof(*pdata))); local [all...] |
/external/icu/icu4c/source/tools/toolutil/ |
unewdata.c | 38 UNewDataMemory *pData; 52 pData=(UNewDataMemory *)uprv_malloc(sizeof(UNewDataMemory)); 53 if(pData==NULL) { 80 uprv_free(pData); 100 pData->file=T_FileStream_open(filename, "wb"); 101 if(pData->file==NULL) { 102 uprv_free(pData); 117 pData->headerSize=(uint16_t)((headerSize+15)&~0xf); 118 pData->magic1=0xda; 119 pData->magic2=0x27 [all...] |
/external/pdfium/fpdfsdk/src/javascript/ |
global.cpp | 148 js_global_data* pData = NULL; 151 if (m_mapGlobal.Lookup(sPropName, (FX_LPVOID&)pData)) 153 pData->bDeleted = TRUE; 187 JSObject pData; 188 vp >> pData; 189 return SetGlobalVariables(sPropName, JS_GLOBALDATA_TYPE_OBJECT, 0, false, "", pData, FALSE); 206 js_global_data* pData = NULL; 209 if (m_mapGlobal.Lookup(sPropName, (FX_LPVOID&)pData)) 211 if (pData) 213 if (!pData->bDeleted [all...] |
/frameworks/av/media/libstagefright/codecs/on2/h264dec/source/ |
h264bsd_conceal.c | 265 u8 *pData; 341 pData = mbPos - width*16; 342 a[0] = *pData++; a[0] += *pData++; a[0] += *pData++; a[0] += *pData++; 343 a[1] = *pData++; a[1] += *pData++; a[1] += *pData++; a[1] += *pData++ [all...] |
/device/generic/goldfish/opengl/shared/OpenglCodecCommon/ |
GLSharedGroup.cpp | 297 ProgramData *pData = m_programs.valueFor(program); 298 if (pData) 301 delete pData; 310 ProgramData *pData = m_programs.valueFor(program); 311 if (pData) 313 pData->initProgramData(numIndexes); 320 ProgramData* pData = m_programs.valueFor(program); 321 if (pData) 323 return pData->isInitialized(); 331 ProgramData *pData = m_programs.valueFor(program) [all...] |
/external/icu/icu4c/source/common/ |
udatamem.c | 90 udata_close(UDataMemory *pData) { 91 if(pData!=NULL) { 92 uprv_unmapFile(pData); 93 if(pData->heapAllocated ) { 94 uprv_free(pData); 96 UDataMemory_init(pData); 102 udata_getMemory(UDataMemory *pData) { 103 if(pData!=NULL && pData->pHeader!=NULL) { 104 return (char *)(pData->pHeader)+udata_getHeaderSize(pData->pHeader) [all...] |
umapfile.c | 83 uprv_mapFile(UDataMemory *pData, const char *path) { 84 UDataMemory_init(pData); /* Clear the output struct. */ 88 U_CFUNC void uprv_unmapFile(UDataMemory *pData) { 94 UDataMemory *pData, /* Fill in with info on the result doing the mapping. */ 105 UDataMemory_init(pData); /* Clear the output struct. */ 139 pData->pHeader=(const DataHeader *)MapViewOfFile(map, FILE_MAP_READ, 0, 0, 0); 140 if(pData->pHeader==NULL) { 144 pData->map=map; 149 uprv_unmapFile(UDataMemory *pData) { 150 if(pData!=NULL && pData->map!=NULL) [all...] |
/frameworks/compile/mclinker/include/mcld/ADT/ |
SizeTraits.h | 115 inline uint16_t bswap16(uint16_t pData) { 116 return ((pData >> 8) & 0xFF) | ((pData & 0xFF) << 8); 121 inline uint32_t bswap32(uint32_t pData) { 122 return (((pData & 0xFF000000) >> 24) | ((pData & 0x00FF0000) >> 8) | 123 ((pData & 0x0000FF00) << 8) | ((pData & 0x000000FF) << 24)); 128 inline uint64_t bswap64(uint64_t pData) { 129 return (((pData & 0xFF00000000000000ULL) >> 56) [all...] |
/packages/apps/Nfc/nxp/jni/ |
com_android_nfc_list.cpp | 55 bool listAdd(listHead* pList, void* pData) 69 TRACE("Allocated node: %8p (%8p)", pNode, pData); 70 pNode->pData = pData; 101 bool listRemove(listHead* pList, void* pData) 118 if (pList->pFirst->pData == pData) 130 if (pNode->pNext->pData == pData) 142 ALOGE("Failed to deallocate (not found %8p)", pData); [all...] |
com_android_nfc_list.h | 28 void* pData; 40 bool listAdd(listHead* pList, void* pData); 41 bool listRemove(listHead* pList, void* pData);
|
/external/pdfium/core/src/fxcrt/ |
fx_basic_util.cpp | 29 void CFX_PrivateData::AddData(FX_LPVOID pModuleId, FX_LPVOID pData, PD_CALLBACK_FREEDATA callback, FX_BOOL bSelfDestruct) 39 pList[i].m_pData = pData; 44 FX_PRIVATEDATA data = {pModuleId, pData, callback, bSelfDestruct}; 47 void CFX_PrivateData::SetPrivateData(FX_LPVOID pModuleId, FX_LPVOID pData, PD_CALLBACK_FREEDATA callback) 49 AddData(pModuleId, pData, callback, FALSE); 93 void FX_atonum(FX_BSTR strc, FX_BOOL& bInteger, void* pData) 120 *(int*)pData = integer; 123 *(FX_FLOAT*)pData = FX_atof(strc); 321 CFindFileDataA* pData = new CFindFileDataA; 323 pData->m_Handle = FindFirstFileA(CFX_ByteString(path) + "/*.*", &pData->m_FindData) [all...] |
/frameworks/base/tests/RenderScriptTests/SceneGraph/src/com/android/scenegraph/ |
params.rsh | 22 static inline void debugParam(SgShaderParam *p, SgShaderParamData *pData) { 24 printName(pData->paramName); 26 rsDebug("type ", pData->type); 27 rsDebug("data timestamp ", pData->timestamp); 31 if (rsIsObject(pData->transform)) { 32 pTransform = (const SgTransform *)rsGetElementAt(pData->transform, 0); 41 if (rsIsObject(pData->light)) { 42 pLight = (const SgLight *)rsGetElementAt(pData->light, 0); 69 static inline bool processParam(SgShaderParam *p, SgShaderParamData *pData, 73 bool isDataOnly = (pData->type > SHADER_PARAM_DATA_ONLY) [all...] |
/frameworks/av/media/libeffects/lvm/lib/Bass/src/ |
LVDBE_Control.c | 120 (void *)&pInstance->pData->HPFTaps, /* Destination Cast to void: \ 122 sizeof(pInstance->pData->HPFTaps)/sizeof(LVM_INT16)); /* Number of words */ 124 &pInstance->pData->HPFTaps, 132 (void *)&pInstance->pData->BPFTaps, /* Destination Cast to void:\ 134 sizeof(pInstance->pData->BPFTaps)/sizeof(LVM_INT16)); /* Number of words */ 136 &pInstance->pData->BPFTaps, 163 pInstance->pData->AGCInstance.AGC_Attack = LVDBE_AGC_ATTACK_Table[(LVM_UINT16)pParams->SampleRate]; /* Attack multiplier */ 164 pInstance->pData->AGCInstance.AGC_Decay = LVDBE_AGC_DECAY_Table[(LVM_UINT16)pParams->SampleRate]; /* Decay multipler */ 172 pInstance->pData->AGCInstance.AGC_MaxGain = LVDBE_AGC_HPFGAIN_Table[(LVM_UINT16)pParams->EffectLevel]; /* High pass filter on */ 176 pInstance->pData->AGCInstance.AGC_MaxGain = LVDBE_AGC_GAIN_Table[(LVM_UINT16)pParams->EffectLevel]; /* High p (…) [all...] |
/external/sonivox/arm-fm-22k/lib_src/ |
eas_ota.c | 95 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 numBits, EAS_U8 *pValue); 97 static EAS_RESULT OTA_SavePosition (EAS_HW_DATA_HANDLE hwInstData, S_OTA_DATA *pData, S_OTA_LOC *pLoc); 98 static EAS_RESULT OTA_RestorePosition (EAS_HW_DATA_HANDLE hwInstData, S_OTA_DATA *pData, S_OTA_LOC *pLoc); 163 S_OTA_DATA* pData; 199 pData = EAS_CMEnumData(EAS_CM_OTA_DATA); 201 pData = EAS_HWMalloc(pEASData->hwInstData, sizeof(S_OTA_DATA)); 202 if (!pData) 207 EAS_HWMemSet(pData, 0, sizeof(S_OTA_DATA)); 210 pData->fileHandle = fileHandle [all...] |
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 *pDuration); 78 static EAS_RESULT RTTTL_GetOctave (EAS_HW_DATA_HANDLE hwInstData, S_RTTTL_DATA *pData, EAS_U8 *pOctave); 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 *pValue); 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 *pValue); 83 static EAS_RESULT RTTTL_PeekNextChar (EAS_HW_DATA_HANDLE hwInstData, S_RTTTL_DATA *pData, EAS_I8 *pValue); 86 EAS_INLINE void RTTTL_PutBackChar (S_RTTTL_DATA *pData, EAS_I8 value) { pData->dataByte = value; [all...] |
/external/sonivox/arm-hybrid-22k/lib_src/ |
eas_ota.c | 95 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 numBits, EAS_U8 *pValue); 97 static EAS_RESULT OTA_SavePosition (EAS_HW_DATA_HANDLE hwInstData, S_OTA_DATA *pData, S_OTA_LOC *pLoc); 98 static EAS_RESULT OTA_RestorePosition (EAS_HW_DATA_HANDLE hwInstData, S_OTA_DATA *pData, S_OTA_LOC *pLoc); 163 S_OTA_DATA* pData; 199 pData = EAS_CMEnumData(EAS_CM_OTA_DATA); 201 pData = EAS_HWMalloc(pEASData->hwInstData, sizeof(S_OTA_DATA)); 202 if (!pData) 207 EAS_HWMemSet(pData, 0, sizeof(S_OTA_DATA)); 210 pData->fileHandle = fileHandle [all...] |
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 *pDuration); 78 static EAS_RESULT RTTTL_GetOctave (EAS_HW_DATA_HANDLE hwInstData, S_RTTTL_DATA *pData, EAS_U8 *pOctave); 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 *pValue); 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 *pValue); 83 static EAS_RESULT RTTTL_PeekNextChar (EAS_HW_DATA_HANDLE hwInstData, S_RTTTL_DATA *pData, EAS_I8 *pValue); 86 EAS_INLINE void RTTTL_PutBackChar (S_RTTTL_DATA *pData, EAS_I8 value) { pData->dataByte = value; [all...] |
/external/sonivox/arm-wt-22k/lib_src/ |
eas_ota.c | 95 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 numBits, EAS_U8 *pValue); 97 static EAS_RESULT OTA_SavePosition (EAS_HW_DATA_HANDLE hwInstData, S_OTA_DATA *pData, S_OTA_LOC *pLoc); 98 static EAS_RESULT OTA_RestorePosition (EAS_HW_DATA_HANDLE hwInstData, S_OTA_DATA *pData, S_OTA_LOC *pLoc); 163 S_OTA_DATA* pData; 199 pData = EAS_CMEnumData(EAS_CM_OTA_DATA); 201 pData = EAS_HWMalloc(pEASData->hwInstData, sizeof(S_OTA_DATA)); 202 if (!pData) 207 EAS_HWMemSet(pData, 0, sizeof(S_OTA_DATA)); 210 pData->fileHandle = fileHandle [all...] |
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 *pDuration); 78 static EAS_RESULT RTTTL_GetOctave (EAS_HW_DATA_HANDLE hwInstData, S_RTTTL_DATA *pData, EAS_U8 *pOctave); 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 *pValue); 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 *pValue); 83 static EAS_RESULT RTTTL_PeekNextChar (EAS_HW_DATA_HANDLE hwInstData, S_RTTTL_DATA *pData, EAS_I8 *pValue); 86 EAS_INLINE void RTTTL_PutBackChar (S_RTTTL_DATA *pData, EAS_I8 value) { pData->dataByte = value; [all...] |
/external/pdfium/core/src/fpdfapi/fpdf_page/ |
fpdf_page_graph_state.cpp | 139 CPDF_ClipPathData* pData = GetModify(); 140 if (pData->m_PathCount && bAutoMerge) { 141 CPDF_Path old_path = pData->m_pPathList[pData->m_PathCount - 1]; 147 pData->m_PathCount --; 148 pData->m_pPathList[pData->m_PathCount].SetNull(); 152 if (pData->m_PathCount % 8 == 0) { 153 CPDF_Path* pNewPath = new CPDF_Path[pData->m_PathCount + 8]; 154 for (int i = 0; i < pData->m_PathCount; i ++) [all...] |
/dalvik/libdex/ |
DexClass.cpp | 28 static bool verifyUlebs(const u1* pData, const u1* pLimit, u4 count) { 33 readAndVerifyUnsignedLeb128(&pData, pLimit, &okay); 42 bool dexReadAndVerifyClassDataHeader(const u1** pData, const u1* pLimit, 44 if (! verifyUlebs(*pData, pLimit, 4)) { 48 dexReadClassDataHeader(pData, pHeader); 63 bool dexReadAndVerifyClassDataField(const u1** pData, const u1* pLimit, 65 if (! verifyUlebs(*pData, pLimit, 2)) { 69 dexReadClassDataField(pData, pField, lastIndex); 84 bool dexReadAndVerifyClassDataMethod(const u1** pData, const u1* pLimit, 86 if (! verifyUlebs(*pData, pLimit, 3)) [all...] |
DexClass.h | 62 bool dexReadAndVerifyClassDataHeader(const u1** pData, const u1* pLimit, 76 bool dexReadAndVerifyClassDataField(const u1** pData, const u1* pLimit, 90 bool dexReadAndVerifyClassDataMethod(const u1** pData, const u1* pLimit, 103 DexClassData* dexReadAndVerifyClassData(const u1** pData, const u1* pLimit); 121 DEX_INLINE void dexReadClassDataHeader(const u1** pData, 123 pHeader->staticFieldsSize = readUnsignedLeb128(pData); 124 pHeader->instanceFieldsSize = readUnsignedLeb128(pData); 125 pHeader->directMethodsSize = readUnsignedLeb128(pData); 126 pHeader->virtualMethodsSize = readUnsignedLeb128(pData); 136 DEX_INLINE void dexReadClassDataField(const u1** pData, DexField* pField [all...] |
/prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/include/ |
d3d11.h | 415 void *pData; 964 void *pData) = 0; 969 const void *pData) = 0; 973 const IUnknown *pData) = 0; 1004 void *pData); 1010 const void *pData); 1015 const IUnknown *pData); [all...] |
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/reference/vc/m4p10/src/ |
omxVCM4P10_TransformDequantLumaDCFromPair.c | 80 static void InvTransformDC4x4(OMX_S16* pData) 87 int c0 = pData[i+0]; 88 int c1 = pData[i+1]; 89 int c2 = pData[i+2]; 90 int c3 = pData[i+3]; 91 pData[i+0] = (OMX_S16)(c0+c1+c2+c3); 92 pData[i+1] = (OMX_S16)(c0+c1-c2-c3); 93 pData[i+2] = (OMX_S16)(c0-c1-c2+c3); 94 pData[i+3] = (OMX_S16)(c0-c1+c2-c3); 100 int c0 = pData[i+0] [all...] |