Home
last modified time | relevance | path

Searched refs:fileHandle (Results 1 – 25 of 34) sorted by relevance

12

/external/sonivox/arm-wt-22k/lib_src/
Deas_xmf.c58 static EAS_RESULT XMF_CheckFileType (S_EAS_DATA *pEASData, EAS_FILE_HANDLE fileHandle, EAS_VOID_PTR…
71 static EAS_RESULT XMF_ReadVLQ (EAS_HW_DATA_HANDLE hwInstData, EAS_FILE_HANDLE fileHandle, EAS_I32 *…
115 static EAS_RESULT XMF_CheckFileType (S_EAS_DATA *pEASData, EAS_FILE_HANDLE fileHandle, EAS_VOID_PTR… in XMF_CheckFileType() argument
125 … if ((result = EAS_HWGetDWord(pEASData->hwInstData, fileHandle, &temp, EAS_TRUE)) != EAS_SUCCESS) in XMF_CheckFileType()
131 … if ((result = EAS_HWGetDWord(pEASData->hwInstData, fileHandle, &temp, EAS_TRUE)) != EAS_SUCCESS) in XMF_CheckFileType()
137 result = EAS_HWGetDWord(pEASData->hwInstData, fileHandle, &temp, EAS_TRUE); in XMF_CheckFileType()
149 result = EAS_HWGetDWord(pEASData->hwInstData, fileHandle, &temp, EAS_TRUE); in XMF_CheckFileType()
177 pXMFData->fileHandle = fileHandle; in XMF_CheckFileType()
189 …if ((result = EAS_HWFileSeek(pEASData->hwInstData, fileHandle, pXMFData->midiOffset)) != EAS_SUCCE… in XMF_CheckFileType()
191 return SMF_CheckFileType(pEASData, fileHandle, &pXMFData->pSMFData, pXMFData->midiOffset); in XMF_CheckFileType()
[all …]
Deas_wavefile.c79 static EAS_RESULT WaveCheckFileType (S_EAS_DATA *pEASData, EAS_FILE_HANDLE fileHandle, EAS_VOID_PTR…
89 static EAS_RESULT WaveParseHeader (S_EAS_DATA *pEASData, EAS_FILE_HANDLE fileHandle, S_WAVE_STATE *…
93 static EAS_RESULT SaveFmtChunk (S_EAS_DATA *pEASData, EAS_FILE_HANDLE fileHandle, S_WAVE_STATE *pWa…
137 static EAS_RESULT WaveCheckFileType (S_EAS_DATA *pEASData, EAS_FILE_HANDLE fileHandle, EAS_VOID_PTR… in WaveCheckFileType() argument
145 if (WaveParseHeader(pEASData, fileHandle, NULL) == EAS_SUCCESS) in WaveCheckFileType()
158 pWaveData->fileHandle = fileHandle; in WaveCheckFileType()
195 …if ((result = EAS_HWFileSeek(pEASData->hwInstData, pWaveData->fileHandle, pWaveData->fileOffset)) … in WavePrepare()
199 if ((result = WaveParseHeader(pEASData, pWaveData->fileHandle, pWaveData)) != EAS_SUCCESS) in WavePrepare()
513 static EAS_RESULT WaveParseHeader (S_EAS_DATA *pEASData, EAS_FILE_HANDLE fileHandle, S_WAVE_STATE *… in WaveParseHeader() argument
535 params.fileHandle = fileHandle; in WaveParseHeader()
[all …]
Deas_smf.c58 static EAS_RESULT SMF_GetVarLenData (EAS_HW_DATA_HANDLE hwInstData, EAS_FILE_HANDLE fileHandle, EAS…
107 EAS_RESULT SMF_CheckFileType (S_EAS_DATA *pEASData, EAS_FILE_HANDLE fileHandle, EAS_VOID_PTR *ppHan… in SMF_CheckFileType() argument
114 if ((result = EAS_HWFileSeek(pEASData->hwInstData, fileHandle, offset)) != EAS_SUCCESS) in SMF_CheckFileType()
120 result = EAS_SearchFile(pEASData, fileHandle, smfHeader, sizeof(smfHeader), &offset); in SMF_CheckFileType()
129 …if ((result = EAS_HWReadFile(pEASData->hwInstData, fileHandle, header, sizeof(header), &count)) !=… in SMF_CheckFileType()
150 pSMFData->fileHandle = fileHandle; in SMF_CheckFileType()
438 if (pSMFData->streams[i].fileHandle != NULL) in SMF_Close()
440 …if ((result = EAS_HWCloseFile(pEASData->hwInstData, pSMFData->streams[i].fileHandle)) != EAS_SUCCE… in SMF_Close()
444 if (pSMFData->fileHandle != NULL) in SMF_Close()
445 if ((result = EAS_HWCloseFile(pEASData->hwInstData, pSMFData->fileHandle)) != EAS_SUCCESS) in SMF_Close()
[all …]
Deas_mdls.c244 EAS_FILE_HANDLE fileHandle; member
464 EAS_RESULT DLSParser (EAS_HW_DATA_HANDLE hwInstData, EAS_FILE_HANDLE fileHandle, EAS_I32 offset, EA… in DLSParser() argument
490 dls.fileHandle = fileHandle; in DLSParser()
496 if ((result = EAS_HWFileSeek(dls.hwInstData, dls.fileHandle, offset)) != EAS_SUCCESS) in DLSParser()
498 …if ((result = EAS_HWReadFile(dls.hwInstData, dls.fileHandle, &temp, sizeof(temp), &size)) != EAS_S… in DLSParser()
785 if ((result = EAS_HWFileSeek(pDLSData->hwInstData, pDLSData->fileHandle, *pPos)) != EAS_SUCCESS) in NextChunk()
789 …if ((result = EAS_HWGetDWord(pDLSData->hwInstData, pDLSData->fileHandle, pChunkType, EAS_TRUE)) !=… in NextChunk()
793 …if ((result = EAS_HWGetDWord(pDLSData->hwInstData, pDLSData->fileHandle, pSize, EAS_FALSE)) != EAS… in NextChunk()
806 …if ((result = EAS_HWGetDWord(pDLSData->hwInstData, pDLSData->fileHandle, pChunkType, EAS_TRUE)) !=… in NextChunk()
843 if ((result = EAS_HWFileSeek(pDLSData->hwInstData, pDLSData->fileHandle, pos)) != EAS_SUCCESS) in Parse_ptbl()
[all …]
Deas_pcm.c112 static S_PCM_STATE *FindSlot (S_EAS_DATA *pEASData, EAS_FILE_HANDLE fileHandle, EAS_PCM_CALLBACK pC…
154 pState->fileHandle = NULL; in EAS_PEInit()
215 …if ((pState->fileHandle) && (pState->state != EAS_STATE_STOPPED) && (pState->state != EAS_STATE_PA… in EAS_PERender()
272 if ((result = EAS_HWCloseFile(pEASData->hwInstData, pState->fileHandle)) != EAS_SUCCESS) in EAS_PEClose()
275 pState->fileHandle = NULL; in EAS_PEClose()
301 …if ((result = EAS_HWFileSeek(pEASData->hwInstData, pState->fileHandle, pState->startPos)) != EAS_S… in EAS_PEReset()
346 …if ((pState = FindSlot(pEASData, pParams->fileHandle, pParams->pCallbackFunc, pParams->cbInstData)… in EAS_PEOpenStream()
353 if ((result = EAS_HWFilePos(pEASData->hwInstData, pState->fileHandle, &filePos)) != EAS_SUCCESS) in EAS_PEOpenStream()
356 pState->fileHandle = NULL; in EAS_PEOpenStream()
441 *pFileHandle = pState->fileHandle; in EAS_PEGetFileHandle()
[all …]
Deas_rtttl.c65 static EAS_RESULT RTTTL_CheckFileType (S_EAS_DATA *pEASData, EAS_FILE_HANDLE fileHandle, EAS_VOID_P…
133 static EAS_RESULT RTTTL_CheckFileType (S_EAS_DATA *pEASData, EAS_FILE_HANDLE fileHandle, EAS_VOID_P… in RTTTL_CheckFileType() argument
139 data.fileHandle = fileHandle; in RTTTL_CheckFileType()
155 pData->fileHandle = fileHandle; in RTTTL_CheckFileType()
337 …if ((result = EAS_HWFileSeek(pEASData->hwInstData, pData->fileHandle, pData->repeatOffset)) != EAS… in RTTTL_Event()
568 if ((result = EAS_HWCloseFile(pEASData->hwInstData, pData->fileHandle)) != EAS_SUCCESS) in RTTTL_Close()
615 …if ((result = EAS_HWFileSeek(pEASData->hwInstData, pData->fileHandle, pData->fileOffset)) != EAS_S… in RTTTL_Reset()
999 …if ((result = EAS_HWFileSeek(pEASData->hwInstData, pData->fileHandle, pData->fileOffset)) != EAS_S… in RTTTL_ParseHeader()
1009 if ((result = EAS_HWGetByte(pEASData->hwInstData, pData->fileHandle, &temp)) != EAS_SUCCESS) in RTTTL_ParseHeader()
1102 …if ((result = EAS_HWFilePos(pEASData->hwInstData, pData->fileHandle, &pData->repeatOffset)) != EAS… in RTTTL_ParseHeader()
[all …]
Deas_ota.c87 static EAS_RESULT OTA_CheckFileType (S_EAS_DATA *pEASData, EAS_FILE_HANDLE fileHandle, EAS_VOID_PTR…
164 static EAS_RESULT OTA_CheckFileType (S_EAS_DATA *pEASData, EAS_FILE_HANDLE fileHandle, EAS_VOID_PTR… in OTA_CheckFileType() argument
174 if ((result = EAS_HWGetByte(pEASData->hwInstData, fileHandle, &temp)) != EAS_SUCCESS) in OTA_CheckFileType()
184 if ((result = EAS_HWGetByte(pEASData->hwInstData, fileHandle, &temp)) != EAS_SUCCESS) in OTA_CheckFileType()
213 pData->fileHandle = fileHandle; in OTA_CheckFileType()
627 if ((result = EAS_HWCloseFile(pEASData->hwInstData, pData->fileHandle)) != EAS_SUCCESS) in OTA_Close()
874 …if ((result = EAS_HWFileSeek(pEASData->hwInstData, pData->fileHandle, pData->fileOffset)) != EAS_S… in OTA_ParseHeader()
878 if ((result = EAS_HWGetByte(pEASData->hwInstData, pData->fileHandle, &temp)) != EAS_SUCCESS) in OTA_ParseHeader()
1014 …if ((result = EAS_HWGetByte(hwInstData, pData->fileHandle, &pData->current.dataByte)) != EAS_SUCCE… in OTA_FetchBitField()
1057 return EAS_HWFilePos(hwInstData, pData->fileHandle, &pLoc->fileOffset); in OTA_SavePosition()
[all …]
Deas_imelody.c122 static EAS_RESULT IMY_CheckFileType (S_EAS_DATA *pEASData, EAS_FILE_HANDLE fileHandle, EAS_VOID_PTR…
143 static EAS_RESULT IMY_ReadLine (EAS_HW_DATA_HANDLE hwInstData, EAS_FILE_HANDLE fileHandle, EAS_I8 *…
188 static EAS_RESULT IMY_CheckFileType (S_EAS_DATA *pEASData, EAS_FILE_HANDLE fileHandle, EAS_VOID_PTR… in IMY_CheckFileType() argument
200 if (IMY_ReadLine(pEASData->hwInstData, fileHandle, buffer, NULL) != EAS_SUCCESS) in IMY_CheckFileType()
217 pData->fileHandle = fileHandle; in IMY_CheckFileType()
443 …if ((result = EAS_HWFileSeek(pEASData->hwInstData, pData->fileHandle, pData->repeatOffset)) != EAS… in IMY_Event()
445 … IMY_ReadLine(pEASData->hwInstData, pData->fileHandle, pData->buffer, &pData->startLine); in IMY_Event()
646 if ((result = EAS_HWCloseFile(pEASData->hwInstData, pData->fileHandle)) != EAS_SUCCESS) in IMY_Close()
696 …if ((result = EAS_HWFileSeek(pEASData->hwInstData, pData->fileHandle, pData->fileOffset)) != EAS_S… in IMY_Reset()
1470 …if ((result = IMY_ReadLine(pEASData->hwInstData, pData->fileHandle, pData->buffer, &pData->startLi… in IMY_ParseHeader()
[all …]
Deas_tonecontrol.c63 static EAS_RESULT TC_CheckFileType (S_EAS_DATA *pEASData, EAS_FILE_HANDLE fileHandle, EAS_VOID_PTR …
134 static EAS_RESULT TC_CheckFileType (S_EAS_DATA *pEASData, EAS_FILE_HANDLE fileHandle, EAS_VOID_PTR … in TC_CheckFileType() argument
141 data.fileHandle = fileHandle; in TC_CheckFileType()
439 if ((result = EAS_HWCloseFile(pEASData->hwInstData, pData->fileHandle)) != EAS_SUCCESS) in TC_Close()
485 …if ((result = EAS_HWFileSeek(pEASData->hwInstData, pData->fileHandle, pData->fileOffset)) != EAS_S… in TC_Reset()
661 …if ((result = EAS_HWFileSeek(pEASData->hwInstData, pData->fileHandle, pData->fileOffset)) != EAS_S… in TC_ParseHeader()
794 …if ((result = EAS_HWFilePos(pEASData->hwInstData, pData->fileHandle, &pData->restorePos)) != EAS_S… in TC_PlayBlock()
799 …if ((result = EAS_HWFileSeek(pEASData->hwInstData, pData->fileHandle, pData->fileOffset)) != EAS_S… in TC_PlayBlock()
836 return EAS_HWFileSeek(pEASData->hwInstData, pData->fileHandle, pData->restorePos); in TC_BlockEnd()
926 return EAS_HWGetByte(hwInstData, pData->fileHandle, pValue); in TC_GetNextChar()
Deas_imaadpcm.c124 …if ((result = EAS_HWFileSeek(pEASData->hwInstData, pState->fileHandle, (EAS_I32) (pState->startPos… in IMADecoderSample()
137 …if ((result = EAS_HWGetWord(pEASData->hwInstData, pState->fileHandle, &sTemp, EAS_FALSE)) != EAS_S… in IMADecoderSample()
145 …if ((result = EAS_HWGetWord(pEASData->hwInstData, pState->fileHandle, &sTemp, EAS_FALSE)) != EAS_S… in IMADecoderSample()
155 …if ((result = EAS_HWGetWord(pEASData->hwInstData, pState->fileHandle, &sTemp, EAS_FALSE)) != EAS_S… in IMADecoderSample()
160 …if ((result = EAS_HWGetWord(pEASData->hwInstData, pState->fileHandle, &sTemp, EAS_FALSE)) != EAS_S… in IMADecoderSample()
183 …if ((result = EAS_HWGetByte(pEASData->hwInstData, pState->fileHandle, &pState->srcByte)) != EAS_SU… in IMADecoderSample()
Deas_public.c566 EAS_RESULT EAS_OpenJETStream (EAS_DATA_HANDLE pEASData, EAS_FILE_HANDLE fileHandle, EAS_I32 offset,… in EAS_OpenJETStream() argument
585 …if ((result = (*pParserModule->pfCheckFileType)(pEASData, fileHandle, &streamHandle, offset)) != E… in EAS_OpenJETStream()
623 EAS_FILE_HANDLE fileHandle; in EAS_OpenFile() local
630 …if ((result = EAS_HWOpenFile(pEASData->hwInstData, locator, &fileHandle, EAS_FILE_READ)) != EAS_SU… in EAS_OpenFile()
637 EAS_HWCloseFile(pEASData->hwInstData, fileHandle); in EAS_OpenFile()
651 …if ((result = (*pParserModule->pfCheckFileType)(pEASData, fileHandle, &streamHandle, 0L)) != EAS_S… in EAS_OpenFile()
654 EAS_HWCloseFile(pEASData->hwInstData, fileHandle); in EAS_OpenFile()
671 if ((result = EAS_HWFileSeek(pEASData->hwInstData, fileHandle, 0L)) != EAS_SUCCESS) in EAS_OpenFile()
674 EAS_HWCloseFile(pEASData->hwInstData, fileHandle); in EAS_OpenFile()
681 EAS_HWCloseFile(pEASData->hwInstData, fileHandle); in EAS_OpenFile()
[all …]
Deas_miditypes.h81 EAS_FILE_HANDLE fileHandle; /* host wrapper file handle */ member
104 EAS_FILE_HANDLE fileHandle; /* file handle */ member
Deas_xmfdata.h47 EAS_FILE_HANDLE fileHandle; member
Deas_wavefile.h45 EAS_FILE_HANDLE fileHandle; member
Deas_tcdata.h46 EAS_FILE_HANDLE fileHandle; /* file handle */ member
Deas_rtttldata.h51 EAS_FILE_HANDLE fileHandle; /* file handle */ member
Deas_imelodydata.h50 EAS_FILE_HANDLE fileHandle; /* file handle */ member
Deas_otadata.h58 EAS_FILE_HANDLE fileHandle; /* file handle */ member
Djet.c50 extern EAS_RESULT EAS_OpenJETStream (EAS_DATA_HANDLE pEASData, EAS_FILE_HANDLE fileHandle, EAS_I32 …
51 extern EAS_RESULT DLSParser (EAS_HW_DATA_HANDLE hwInstData, EAS_FILE_HANDLE fileHandle, EAS_I32 off…
615 EAS_FILE_HANDLE fileHandle; in JET_QueueSegment() local
657 … result = EAS_HWDupHandle(easHandle->hwInstData, easHandle->jetHandle->jetFileHandle, &fileHandle); in JET_QueueSegment()
661 easHandle->jetHandle->jetFileHandle = fileHandle; in JET_QueueSegment()
/external/ltp/testcases/kernel/fs/scsi/ltpfs/
Dmain.c334 int fileHandle; in create_file() local
337 if ((fileHandle = creat(filename, S_IRWXU)) < 0) { in create_file()
348 if (write(fileHandle, wbuf, randomsize) < 0) { in create_file()
352 close(fileHandle); in create_file()
359 close(fileHandle); in create_file()
538 int fileHandle, fileHandle2; in open_read_close() local
542 if ((fileHandle = open(fname, O_RDONLY | O_SYNC | O_ASYNC)) < 0) { in open_read_close()
556 while ((c = read(fileHandle, buffer, BUFFSIZE)) > 0) { in open_read_close()
562 close(fileHandle); in open_read_close()
571 close(fileHandle); in open_read_close()
[all …]
/external/ltp/testcases/kernel/syscalls/chroot/
Dchroot02.c58 int fileHandle = 0; variable
123 if ((fileHandle = creat(TMP_FILENAME, 0777)) == -1) in setup()
144 close(fileHandle); in cleanup()
/external/ltp/testcases/kernel/syscalls/statfs/
Dstatfs03.c62 int fileHandle = 0; variable
131 if ((fileHandle = creat(path, 0444)) == -1) in setup()
160 close(fileHandle); in cleanup()
/external/curl/tests/python_dependencies/impacket/
Dsmbserver.py542 fileHandle = connData['OpenedFiles'][fid]['FileHandle']
543 if fileHandle != PIPE_FILE_DESCRIPTOR:
544 os.write(fileHandle,data)
545 respData = os.read(fileHandle,data)
647 fileHandle = connData['OpenedFiles'][setFileInfoParameters['FID']]['FileHandle']
650 os.lseek(fileHandle, infoRecord['EndOfFile']-1, 0)
651 os.write(fileHandle, '\x00')
1287 fileHandle = connData['OpenedFiles'][comClose['FID']]['FileHandle']
1289 if fileHandle == PIPE_FILE_DESCRIPTOR:
1291 elif fileHandle != VOID_FILE_DESCRIPTOR:
[all …]
/external/skqp/src/ports/
DSkOSFile_win.cpp133 HANDLE fileHandle = (HANDLE)_get_osfhandle(fileno); in sk_qread() local
150 if (ReadFile(fileHandle, buffer, static_cast<DWORD>(count), &bytesRead, &overlapped)) { in sk_qread()
/external/skia/src/ports/
DSkOSFile_win.cpp133 HANDLE fileHandle = (HANDLE)_get_osfhandle(fileno); in sk_qread() local
150 if (ReadFile(fileHandle, buffer, static_cast<DWORD>(count), &bytesRead, &overlapped)) { in sk_qread()

12