/external/icu4c/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...] |
/frameworks/compile/mclinker/include/mcld/ADT/ |
SizeTraits.h | 69 inline uint16_t bswap16(uint16_t pData) 71 return ((pData >> 8) & 0xFF) | ((pData & 0xFF) << 8); 76 inline uint32_t bswap32(uint32_t pData) 78 return (((pData & 0xFF000000) >> 24) | 79 ((pData & 0x00FF0000) >> 8) | 80 ((pData & 0x0000FF00) << 8) | 81 ((pData & 0x000000FF) << 24)); 87 inline uint64_t bswap64(uint64_t pData) 89 return (((pData & 0xFF00000000000000ULL) >> 56) [all...] |
/hardware/ti/wlan/wl1271/stad/src/Sta_Management/ |
mlmeParser.h | 81 TI_UINT8 *pData, 87 TI_UINT8 *pData, 94 TI_UINT8 *pData, 100 TI_UINT8 *pData, 106 TI_UINT8 *pData, 112 TI_UINT8 *pData, 118 TI_UINT8 *pData, 124 TI_UINT8 *pData, 130 TI_UINT8 *pData, 136 TI_UINT8 *pData, [all...] |
mlmeParser.c | 98 TI_UINT8 *pData; 192 pData = (TI_UINT8 *)(pMgmtFrame->body); 220 COPY_WLAN_WORD(&pHandle->tempFrameInfo.frame.content.assocRsp.capabilities , pData); 221 pData += 2; 223 COPY_WLAN_WORD(&pHandle->tempFrameInfo.frame.content.assocRsp.status , pData); 224 pData += 2; 226 COPY_WLAN_WORD(&pHandle->tempFrameInfo.frame.content.assocRsp.aid , pData); 228 pData += 2; 237 pEleHdr = (dot11_eleHdr_t*)pData; 251 status = mlmeParser_readRates(pHandle, pData, bodyDataLen, &readLen, &(pHandle->tempFrameInfo.rates)) [all...] |
/hardware/ti/wlan/wl1271/stad/src/Connection_Managment/ |
connIbss.c | 70 static TI_STATUS waitDisconnToCmplt_to_idle (void *pData); 71 static TI_STATUS idle_to_selfWait(void *pData); 73 static TI_STATUS idle_to_rsnWait(void *pData); 75 static TI_STATUS selfWait_to_waitToDisconnCmplt(void *pData); 76 static TI_STATUS rsnWait_to_waitToDisconnCmplt(void *pData); 77 static TI_STATUS connected_to_waitToDisconnCmplt(void *pData); 78 static TI_STATUS selfWait_to_rsnWait(void *pData); 79 static TI_STATUS rsnWait_to_connected(void *pData); 80 static TI_STATUS actionUnexpected(void *pData); 81 static TI_STATUS actionNop(void *pData); [all...] |
connInfra.c | 86 static TI_STATUS actionUnexpected(void *pData); 88 static TI_STATUS actionNop(void *pData); 90 static TI_STATUS connInfra_ScrWait(void *pData); 92 static TI_STATUS Idle_to_Idle(void *pData); 94 static TI_STATUS ScrWait_to_idle(void *pData); 96 static TI_STATUS ScrWait_to_JoinWait(void *pData); 98 static TI_STATUS JoinWait_to_mlmeWait(void *pData); 100 static TI_STATUS JoinWait_to_WaitDisconnect(void *pData); 102 static TI_STATUS mlmeWait_to_WaitDisconnect(void *pData); 104 static TI_STATUS mlmeWait_to_rsnWait(void *pData); [all...] |
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/reference/vc/m4p10/src/ |
omxVCM4P10_TransformDequantLumaDCFromPair.c | 65 static void InvTransformDC4x4(OMX_S16* pData) 72 int c0 = pData[i+0]; 73 int c1 = pData[i+1]; 74 int c2 = pData[i+2]; 75 int c3 = pData[i+3]; 76 pData[i+0] = (OMX_S16)(c0+c1+c2+c3); 77 pData[i+1] = (OMX_S16)(c0+c1-c2-c3); 78 pData[i+2] = (OMX_S16)(c0-c1-c2+c3); 79 pData[i+3] = (OMX_S16)(c0-c1+c2-c3); 85 int c0 = pData[i+0] [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...] |
/sdk/emulator/opengl/shared/OpenglCodecCommon/ |
GLSharedGroup.cpp | 269 ProgramData *pData = m_programs.valueFor(program); 270 if (pData) 273 delete pData; 282 ProgramData *pData = m_programs.valueFor(program); 283 if (pData) 285 pData->initProgramData(numIndexes); 292 ProgramData* pData = m_programs.valueFor(program); 293 if (pData) 295 return pData->isInitialized(); 303 ProgramData *pData = m_programs.valueFor(program) [all...] |
/external/icu4c/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 | 84 uprv_mapFile(UDataMemory *pData, const char *path) { 85 UDataMemory_init(pData); /* Clear the output struct. */ 89 U_CFUNC void uprv_unmapFile(UDataMemory *pData) { 95 UDataMemory *pData, /* Fill in with info on the result doing the mapping. */ 106 UDataMemory_init(pData); /* Clear the output struct. */ 140 pData->pHeader=(const DataHeader *)MapViewOfFile(map, FILE_MAP_READ, 0, 0, 0); 141 if(pData->pHeader==NULL) { 145 pData->map=map; 150 uprv_unmapFile(UDataMemory *pData) { 151 if(pData!=NULL && pData->map!=NULL) [all...] |
/packages/apps/Nfc/jni/ |
com_android_nfc_list.cpp | 54 bool listAdd(listHead* pList, void* pData) 68 TRACE("Allocated node: %8p (%8p)", pNode, pData); 69 pNode->pData = pData; 100 bool listRemove(listHead* pList, void* pData) 117 if (pList->pFirst->pData == pData) 129 if (pNode->pNext->pData == pData) 141 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);
|
/frameworks/base/tests/RenderScriptTests/SceneGraph/src/com/android/scenegraph/ |
params.rsh | 22 static 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); 70 static bool processParam(SgShaderParam *p, SgShaderParamData *pData, 74 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...] |
/hardware/ti/wlan/wl1271/stad/src/AirLink_Managment/ |
measurementMgrSM.c | 93 static TI_STATUS measurementMgrSM_acUnexpected(void * pData); 95 static TI_STATUS measurementMgrSM_acNop(void * pData); 98 static TI_STATUS measurementMgrSM_acConnected(void * pData); 100 static TI_STATUS measurementMgrSM_acDisconnected_fromIdle(void * pData); 102 static TI_STATUS measurementMgrSM_acEnable(void * pData); 104 static TI_STATUS measurementMgrSM_acDisable_fromIdle(void * pData); 106 static TI_STATUS measurementMgrSM_acFrameReceived_fromIdle(void * pData); 108 static TI_STATUS measurementMgrSM_acSendReportAndCleanObj(void * pData); 111 static TI_STATUS measurementMgrSM_acDisconnected_fromProcessingRequest(void * pData); 113 static TI_STATUS measurementMgrSM_acDisable_fromProcessingRequest(void * pData); [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...] |
/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...] |
/hardware/invensense/mlsdk/mllite/ |
mldl_cfg.h | 130 struct mpu_platform_data *pdata; member in struct:mldl_cfg 163 struct ext_slave_platform_data *pdata, 169 if (!mldl_cfg || !(mldl_cfg->pdata)) { 175 mldl_cfg->accel, &mldl_cfg->pdata->accel, 184 if (!mldl_cfg || !(mldl_cfg->pdata)) { 190 mldl_cfg->compass, &mldl_cfg->pdata->compass, 199 if (!mldl_cfg || !(mldl_cfg->pdata)) { 206 &mldl_cfg->pdata->pressure, data); 215 struct ext_slave_platform_data *pdata); 221 if (!mldl_cfg || !(mldl_cfg->pdata)) { [all...] |