Home
last modified time | relevance | path

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

1234

/external/sonivox/arm-wt-22k/lib_src/
Deas_xmf.c54 static EAS_RESULT XMF_CheckFileType (S_EAS_DATA *pEASData, EAS_FILE_HANDLE fileHandle, EAS_VOID_PTR…
67 static EAS_RESULT XMF_ReadVLQ (EAS_HW_DATA_HANDLE hwInstData, EAS_FILE_HANDLE fileHandle, EAS_I32 *…
111 static EAS_RESULT XMF_CheckFileType (S_EAS_DATA *pEASData, EAS_FILE_HANDLE fileHandle, EAS_VOID_PTR… in XMF_CheckFileType() argument
121 … if ((result = EAS_HWGetDWord(pEASData->hwInstData, fileHandle, &temp, EAS_TRUE)) != EAS_SUCCESS) in XMF_CheckFileType()
127 … if ((result = EAS_HWGetDWord(pEASData->hwInstData, fileHandle, &temp, EAS_TRUE)) != EAS_SUCCESS) in XMF_CheckFileType()
136 … if ((result = EAS_HWGetDWord(pEASData->hwInstData, fileHandle, &temp, EAS_TRUE)) != EAS_SUCCESS) in XMF_CheckFileType()
145 … if ((result = EAS_HWGetDWord(pEASData->hwInstData, fileHandle, &temp, EAS_TRUE)) != EAS_SUCCESS) in XMF_CheckFileType()
164 pXMFData->fileHandle = fileHandle; in XMF_CheckFileType()
176 …if ((result = EAS_HWFileSeek(pEASData->hwInstData, fileHandle, pXMFData->midiOffset)) != EAS_SUCCE… in XMF_CheckFileType()
178 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.c55 static EAS_RESULT SMF_GetVarLenData (EAS_HW_DATA_HANDLE hwInstData, EAS_FILE_HANDLE fileHandle, EAS…
104 EAS_RESULT SMF_CheckFileType (S_EAS_DATA *pEASData, EAS_FILE_HANDLE fileHandle, EAS_VOID_PTR *ppHan… in SMF_CheckFileType() argument
111 if ((result = EAS_HWFileSeek(pEASData->hwInstData, fileHandle, offset)) != EAS_SUCCESS) in SMF_CheckFileType()
117 result = EAS_SearchFile(pEASData, fileHandle, smfHeader, sizeof(smfHeader), &offset); in SMF_CheckFileType()
126 …if ((result = EAS_HWReadFile(pEASData->hwInstData, fileHandle, header, sizeof(header), &count)) !=… in SMF_CheckFileType()
146 pSMFData->fileHandle = fileHandle; in SMF_CheckFileType()
434 if (pSMFData->streams[i].fileHandle != NULL) in SMF_Close()
436 …if ((result = EAS_HWCloseFile(pEASData->hwInstData, pSMFData->streams[i].fileHandle)) != EAS_SUCCE… in SMF_Close()
440 if (pSMFData->fileHandle != NULL) in SMF_Close()
441 if ((result = EAS_HWCloseFile(pEASData->hwInstData, pSMFData->fileHandle)) != EAS_SUCCESS) in SMF_Close()
[all …]
Deas_mdls.c233 EAS_FILE_HANDLE fileHandle; member
451 EAS_RESULT DLSParser (EAS_HW_DATA_HANDLE hwInstData, EAS_FILE_HANDLE fileHandle, EAS_I32 offset, EA… in DLSParser() argument
477 dls.fileHandle = fileHandle; in DLSParser()
483 if ((result = EAS_HWFileSeek(dls.hwInstData, dls.fileHandle, offset)) != EAS_SUCCESS) in DLSParser()
485 …if ((result = EAS_HWReadFile(dls.hwInstData, dls.fileHandle, &temp, sizeof(temp), &size)) != EAS_S… in DLSParser()
765 if ((result = EAS_HWFileSeek(pDLSData->hwInstData, pDLSData->fileHandle, *pPos)) != EAS_SUCCESS) in NextChunk()
769 …if ((result = EAS_HWGetDWord(pDLSData->hwInstData, pDLSData->fileHandle, pChunkType, EAS_TRUE)) !=… in NextChunk()
773 …if ((result = EAS_HWGetDWord(pDLSData->hwInstData, pDLSData->fileHandle, pSize, EAS_FALSE)) != EAS… in NextChunk()
781 …if ((result = EAS_HWGetDWord(pDLSData->hwInstData, pDLSData->fileHandle, pChunkType, EAS_TRUE)) !=… in NextChunk()
818 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 …]
/external/sonivox/arm-fm-22k/lib_src/
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.c55 static EAS_RESULT SMF_GetVarLenData (EAS_HW_DATA_HANDLE hwInstData, EAS_FILE_HANDLE fileHandle, EAS…
104 EAS_RESULT SMF_CheckFileType (S_EAS_DATA *pEASData, EAS_FILE_HANDLE fileHandle, EAS_VOID_PTR *ppHan… in SMF_CheckFileType() argument
111 if ((result = EAS_HWFileSeek(pEASData->hwInstData, fileHandle, offset)) != EAS_SUCCESS) in SMF_CheckFileType()
117 result = EAS_SearchFile(pEASData, fileHandle, smfHeader, sizeof(smfHeader), &offset); in SMF_CheckFileType()
126 …if ((result = EAS_HWReadFile(pEASData->hwInstData, fileHandle, header, sizeof(header), &count)) !=… in SMF_CheckFileType()
146 pSMFData->fileHandle = fileHandle; in SMF_CheckFileType()
429 if (pSMFData->streams[i].fileHandle != NULL) in SMF_Close()
431 …if ((result = EAS_HWCloseFile(pEASData->hwInstData, pSMFData->streams[i].fileHandle)) != EAS_SUCCE… in SMF_Close()
435 if (pSMFData->fileHandle != NULL) in SMF_Close()
436 if ((result = EAS_HWCloseFile(pEASData->hwInstData, pSMFData->fileHandle)) != EAS_SUCCESS) in SMF_Close()
[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 …]
/external/sonivox/arm-hybrid-22k/lib_src/
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.c55 static EAS_RESULT SMF_GetVarLenData (EAS_HW_DATA_HANDLE hwInstData, EAS_FILE_HANDLE fileHandle, EAS…
104 EAS_RESULT SMF_CheckFileType (S_EAS_DATA *pEASData, EAS_FILE_HANDLE fileHandle, EAS_VOID_PTR *ppHan… in SMF_CheckFileType() argument
111 if ((result = EAS_HWFileSeek(pEASData->hwInstData, fileHandle, offset)) != EAS_SUCCESS) in SMF_CheckFileType()
117 result = EAS_SearchFile(pEASData, fileHandle, smfHeader, sizeof(smfHeader), &offset); in SMF_CheckFileType()
126 …if ((result = EAS_HWReadFile(pEASData->hwInstData, fileHandle, header, sizeof(header), &count)) !=… in SMF_CheckFileType()
146 pSMFData->fileHandle = fileHandle; in SMF_CheckFileType()
429 if (pSMFData->streams[i].fileHandle != NULL) in SMF_Close()
431 …if ((result = EAS_HWCloseFile(pEASData->hwInstData, pSMFData->streams[i].fileHandle)) != EAS_SUCCE… in SMF_Close()
435 if (pSMFData->fileHandle != NULL) in SMF_Close()
436 if ((result = EAS_HWCloseFile(pEASData->hwInstData, pSMFData->fileHandle)) != EAS_SUCCESS) in SMF_Close()
[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 …]
/external/webkit/Tools/Scripts/webkitperl/VCSUtils_unittest/
DparseDiffHeader.pl110 my $fileHandle;
111 open($fileHandle, "<", \$testCase->{inputText});
112 my $line = <$fileHandle>;
114 my @got = VCSUtils::parseDiffHeader($fileHandle, $line);
119 my $gotNextLine = <$fileHandle>;
DparseSvnDiffHeader.pl209 my $fileHandle;
210 open($fileHandle, "<", \$testCase->{inputText});
211 my $line = <$fileHandle>;
213 my @got = VCSUtils::parseSvnDiffHeader($fileHandle, $line);
218 my $gotNextLine = <$fileHandle>;
DparseSvnPropertyValue.pl222 my $fileHandle;
223 open($fileHandle, "<", \$testCase->{inputText});
224 my $line = <$fileHandle>;
226 my @got = VCSUtils::parseSvnPropertyValue($fileHandle, $line);
231 my $gotNextLine = <$fileHandle>;
DparseSvnDiffFooter.pl386 my $fileHandle;
387 open($fileHandle, "<", \$testCase->{inputText});
388 my $line = <$fileHandle>;
390 my @got = VCSUtils::parseSvnDiffProperties($fileHandle, $line);
395 my $gotNextLine = <$fileHandle>;
DparseGitDiffHeader.pl483 my $fileHandle;
484 open($fileHandle, "<", \$testCase->{inputText});
485 my $line = <$fileHandle>;
487 my @got = VCSUtils::parseGitDiffHeader($fileHandle, $line);
492 my $gotNextLine = <$fileHandle>;
DparseFirstEOL.pl60 my $fileHandle;
61 open($fileHandle, "<", \$string);
62 return parseFirstEOL($fileHandle);
DparsePatch.pl80 my $fileHandle;
81 open($fileHandle, "<", \$patch);
83 my @gotDiffHashRefs = parsePatch($fileHandle);
DparseDiffWithMockFiles.pl278 my $fileHandle;
279 open($fileHandle, "<", \$testCase->{inputText});
280 my $line = <$fileHandle>;
282 my @got = VCSUtils::parseDiff($fileHandle, $line);
287 my $gotNextLine = <$fileHandle>;
/external/webkit/Source/WebCore/platform/win/
DSharedBufferWin.cpp47 …HANDLE fileHandle = CreateFileW(nullifiedPath.charactersWithNullTermination(), GENERIC_READ, FILE_… in createWithContentsOfFile() local
48 if (fileHandle == INVALID_HANDLE_VALUE) { in createWithContentsOfFile()
54 DWORD bytesToRead = GetFileSize(fileHandle, 0); in createWithContentsOfFile()
60 … if (ReadFile(fileHandle, buffer.data(), bytesToRead, &bytesRead, 0) && bytesToRead == bytesRead) in createWithContentsOfFile()
67 CloseHandle(fileHandle); in createWithContentsOfFile()
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/builderTemplate/publishingFiles/staticDropFiles/
Ddownload.php20 $fileHandle = fopen($clickFile, "r"); variable
21 while (!feof($fileHandle)) {
22 $aLine = fgets($fileHandle, 4096);
25 fclose($fileHandle);
DbuildNotes.php10 $fileHandle = fopen("../../dlconfig.txt", "r"); variable
11 while (!feof($fileHandle)) {
13 $aLine = fgets($fileHandle, 4096); // Length parameter only optional after 4.2.0
17 fclose($fileHandle);
DconsoleLogs.php10 $fileHandle = fopen("../../dlconfig.txt", "r"); variable
11 while (!feof($fileHandle)) {
13 $aLine = fgets($fileHandle, 4096); // Length parameter only optional after 4.2.0
17 fclose($fileHandle);
/external/webkit/Tools/Scripts/
DVCSUtils.pm456 my ($fileHandle) = @_;
461 my $firstLine = <$fileHandle>;
570 my ($fileHandle, $line) = @_;
639 $_ = <$fileHandle>; # Not defined if end-of-file reached.
689 my ($fileHandle, $line) = @_;
736 $_ = <$fileHandle>; # Not defined if end-of-file reached.
790 my ($fileHandle, $line) = @_;
799 ($header, $lastReadLine) = parseSvnDiffHeader($fileHandle, $line);
802 ($header, $lastReadLine) = parseGitDiffHeader($fileHandle, $line);
877 my ($fileHandle, $line, $optionsHashRef) = @_;
[all …]
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/builderTemplate/publishingFiles/dropSiteRootFiles/
Dindex.php30 $fileHandle = fopen("dlconfig.txt", "r"); variable
31 while (!feof($fileHandle)) {
33 $aLine = fgets($fileHandle, 4096);
38 fclose($fileHandle);

1234