/external/sonivox/arm-wt-22k/lib_src/ |
D | 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 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 …]
|
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_tonecontrol.c | 74 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 …]
|
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 136 S_RTTTL_DATA *pData; in RTTTL_CheckFileType() local [all …]
|
/external/sonivox/arm-hybrid-22k/lib_src/ |
D | 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 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 …]
|
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 136 S_RTTTL_DATA *pData; in RTTTL_CheckFileType() local [all …]
|
/external/sonivox/arm-fm-22k/lib_src/ |
D | 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 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 …]
|
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 136 S_RTTTL_DATA *pData; in RTTTL_CheckFileType() local [all …]
|
/external/icu4c/tools/toolutil/ |
D | unewdata.c | 38 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 …]
|
D | unewdata.h | 67 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/icu4c/common/ |
D | umapfile.c | 80 uprv_mapFile(UDataMemory *pData, const char *path) { in uprv_mapFile() argument 81 UDataMemory_init(pData); /* Clear the output struct. */ in uprv_mapFile() 85 U_CFUNC void uprv_unmapFile(UDataMemory *pData) { in uprv_unmapFile() argument 91 UDataMemory *pData, /* Fill in with info on the result doing the mapping. */ in uprv_mapFile() argument 102 UDataMemory_init(pData); /* Clear the output struct. */ in uprv_mapFile() 136 pData->pHeader=(const DataHeader *)MapViewOfFile(map, FILE_MAP_READ, 0, 0, 0); in uprv_mapFile() 137 if(pData->pHeader==NULL) { in uprv_mapFile() 141 pData->map=map; in uprv_mapFile() 146 uprv_unmapFile(UDataMemory *pData) { in uprv_unmapFile() argument 147 if(pData!=NULL && pData->map!=NULL) { in uprv_unmapFile() [all …]
|
D | udatamem.c | 90 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 …]
|
D | ucmndata.c | 208 static uint32_t offsetTOCEntryCount(const UDataMemory *pData) { in offsetTOCEntryCount() argument 210 const UDataOffsetTOC *toc = (UDataOffsetTOC *)pData->toc; in offsetTOCEntryCount() 218 offsetTOCLookupFn(const UDataMemory *pData, in offsetTOCLookupFn() argument 222 const UDataOffsetTOC *toc = (UDataOffsetTOC *)pData->toc; in offsetTOCLookupFn() 258 return pData->pHeader; in offsetTOCLookupFn() 263 static uint32_t pointerTOCEntryCount(const UDataMemory *pData) { in pointerTOCEntryCount() argument 264 const PointerTOC *toc = (PointerTOC *)pData->toc; in pointerTOCEntryCount() 269 static const DataHeader *pointerTOCLookupFn(const UDataMemory *pData, in pointerTOCLookupFn() argument 273 if(pData->toc!=NULL) { in pointerTOCLookupFn() 274 const PointerTOC *toc = (PointerTOC *)pData->toc; in pointerTOCLookupFn() [all …]
|
D | ucmndata.h | 83 (U_CALLCONV * LookupFn)(const UDataMemory *pData, 89 (U_CALLCONV * NumEntriesFn)(const UDataMemory *pData); 109 U_CFUNC void udata_checkCommonData(UDataMemory *pData, UErrorCode *pErrorCode);
|
D | udata.cpp | 137 UDataMemory *pData = udata_findCachedData(inBasename); in findCommonICUDataByName() local 138 if (pData == NULL) in findCommonICUDataByName() 142 … if ((gCommonICUDataArray[i] != NULL) && (gCommonICUDataArray[i]->pHeader == pData->pHeader)) { in findCommonICUDataByName() 157 setCommonICUData(UDataMemory *pData, /* The new common data. Belongs to caller, we copy it. */ in setCommonICUData() argument 173 UDatamemory_assign(newCommonData, pData); in setCommonICUData() 181 } else if (gCommonICUDataArray[i]->pHeader == pData->pHeader) { in setCommonICUData() 198 setCommonICUDataPointer(const void *pData, UBool /*warn*/, UErrorCode *pErrorCode) { in setCommonICUDataPointer() argument 201 tData.pHeader = (const DataHeader *)pData; in setCommonICUDataPointer() 794 UDataMemory *pData; in extendICUData() local 814 pData = openCommonData( in extendICUData() [all …]
|
/external/icu4c/samples/udata/ |
D | writer.c | 61 UNewDataMemory *pData; in main() local 74 pData=udata_create(currdir, DATA_TYPE, DATA_NAME, &dataInfo, in main() 90 udata_write16(pData, intValue); in main() 92 udata_writeString(pData, stringValue, sizeof(stringValue)); in main() 95 dataLength=udata_finish(pData, &errorCode); in main()
|
/external/quake/quake/src/WinQuake/ |
D | snd_android.cpp | 58 SLint16* pData; // Current adress of local audio data storage member 75 if (pCntxt->pData >= (pCntxt->pDataBase + pCntxt->size)) { in BufferQueueCallback() 76 pCntxt->pData = pCntxt->pDataBase; in BufferQueueCallback() 80 res = (*queueItf)->Enqueue(queueItf, (void*) pCntxt->pData, in BufferQueueCallback() 84 pCntxt->pData += AUDIO_DATA_BUFFER_SIZE; in BufferQueueCallback() 178 cntxt.pData = cntxt.pDataBase; in TestPlaySawtoothBufferQueue() 213 res = (*bufferQueueItf)->Enqueue(bufferQueueItf, cntxt.pData, in TestPlaySawtoothBufferQueue() 216 cntxt.pData += AUDIO_DATA_BUFFER_SIZE; in TestPlaySawtoothBufferQueue() 218 res = (*bufferQueueItf)->Enqueue(bufferQueueItf, cntxt.pData, in TestPlaySawtoothBufferQueue() 221 cntxt.pData += AUDIO_DATA_BUFFER_SIZE; in TestPlaySawtoothBufferQueue() [all …]
|
/external/icu4c/tools/genbrk/ |
D | genbrk.cpp | 174 UNewDataMemory *pData; in main() local 182 pData = udata_create(outDir, NULL, outFileName, &dummyDataInfo, NULL, &status); in main() 183 udata_writeBlock(pData, msg, strlen(msg)); in main() 184 udata_finish(pData, &status); in main() 312 UNewDataMemory *pData; in main() local 313 pData = udata_create(outDir, NULL, outFileName, &(dh.info), copyright, &status); in main() 322 udata_writeBlock(pData, outData, outDataSize); in main() 324 bytesWritten = udata_finish(pData, &status); in main()
|
/external/icu4c/tools/gencfu/ |
D | gencfu.cpp | 182 UNewDataMemory *pData; in main() local 190 pData = udata_create(outDir, NULL, outFileName, &dummyDataInfo, NULL, &status); in main() 191 udata_writeBlock(pData, msg, strlen(msg)); in main() 192 udata_finish(pData, &status); in main() 265 UNewDataMemory *pData; in main() local 266 pData = udata_create(outDir, NULL, outFileName, &(dh.info), copyright, &status); in main() 275 udata_writeBlock(pData, outData, outDataSize); in main() 277 bytesWritten = udata_finish(pData, &status); in main()
|
/external/icu4c/tools/gentest/ |
D | gentest.c | 104 UNewDataMemory *pData; in createData() local 111 pData=udata_create(outputDirectory, DATA_TYPE, DATA_NAME, &dataInfo, in createData() 120 udata_write16(pData, intValue); in createData() 121 udata_writeString(pData, stringValue, sizeof(stringValue)); in createData() 124 dataLength=udata_finish(pData, errorCode); in createData()
|
/external/icu4c/common/unicode/ |
D | udata.h | 258 udata_close(UDataMemory *pData); 286 udata_getMemory(UDataMemory *pData); 307 udata_getInfo(UDataMemory *pData, UDataInfo *pInfo);
|
/external/icu4c/tools/gendict/ |
D | gendict.cpp | 331 UNewDataMemory *pData; in main() local 340 pData = udata_create(outDir, NULL, outFileName, &dataInfo, NULL, &tempstatus); in main() 341 udata_writeBlock(pData, msg, strlen(msg)); in main() 342 udata_finish(pData, &tempstatus); in main() 442 UNewDataMemory *pData = udata_create(NULL, NULL, outFileName, &dataInfo, copyright, status); in main() local 463 udata_writeBlock(pData, indexes, sizeof(indexes)); in main() 464 udata_writeBlock(pData, outData, outDataSize); in main() 465 size_t bytesWritten = udata_finish(pData, status); in main()
|
/external/icu4c/tools/makeconv/ |
D | gencnvex.c | 45 UNewDataMemory *pData, int32_t tableType); 116 UNewDataMemory *pData, int32_t tableType) { in CnvExtWrite() argument 142 udata_writeBlock(pData, &header, MBCS_HEADER_V4_LENGTH*4); in CnvExtWrite() 143 udata_writeBlock(pData, extData->ucm->baseName, length); in CnvExtWrite() 224 udata_writeBlock(pData, indexes, sizeof(indexes)); in CnvExtWrite() 225 udata_writeBlock(pData, utm_getStart(extData->toUTable), indexes[UCNV_EXT_TO_U_LENGTH]*4); in CnvExtWrite() 226 … udata_writeBlock(pData, utm_getStart(extData->toUUChars), indexes[UCNV_EXT_TO_U_UCHARS_LENGTH]*2); in CnvExtWrite() 228 …udata_writeBlock(pData, utm_getStart(extData->fromUTableUChars), indexes[UCNV_EXT_FROM_U_LENGTH]*2… in CnvExtWrite() 229 …udata_writeBlock(pData, utm_getStart(extData->fromUTableValues), indexes[UCNV_EXT_FROM_U_LENGTH]*4… in CnvExtWrite() 230 … udata_writeBlock(pData, utm_getStart(extData->fromUBytes), indexes[UCNV_EXT_FROM_U_BYTES_LENGTH]); in CnvExtWrite() [all …]
|