/external/sonivox/arm-wt-22k/lib_src/ |
D | eas_xmf.c | 58 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_U32 *… 120 static EAS_RESULT XMF_CheckFileType (S_EAS_DATA *pEASData, EAS_FILE_HANDLE fileHandle, EAS_VOID_PTR… in XMF_CheckFileType() argument 130 … 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() 142 result = EAS_HWGetDWord(pEASData->hwInstData, fileHandle, &temp, EAS_TRUE); in XMF_CheckFileType() 154 result = EAS_HWGetDWord(pEASData->hwInstData, fileHandle, &temp, EAS_TRUE); in XMF_CheckFileType() 182 pXMFData->fileHandle = fileHandle; in XMF_CheckFileType() 194 …if ((result = EAS_HWFileSeek(pEASData->hwInstData, fileHandle, pXMFData->midiOffset)) != EAS_SUCCE… in XMF_CheckFileType() 198 …if ((result = SMF_CheckFileType(pEASData, fileHandle, &pXMFData->pSMFData, pXMFData->midiOffset)) … in XMF_CheckFileType() [all …]
|
D | eas_smf.c | 58 static EAS_RESULT SMF_GetVarLenData (EAS_HW_DATA_HANDLE hwInstData, EAS_FILE_HANDLE fileHandle, EAS… 112 EAS_RESULT SMF_CheckFileType (S_EAS_DATA *pEASData, EAS_FILE_HANDLE fileHandle, EAS_VOID_PTR *ppHan… in SMF_CheckFileType() argument 119 if ((result = EAS_HWFileSeek(pEASData->hwInstData, fileHandle, offset)) != EAS_SUCCESS) in SMF_CheckFileType() 126 result = EAS_SearchFile(pEASData, fileHandle, smfHeader, sizeof(smfHeader), &offset); in SMF_CheckFileType() 137 …if ((result = EAS_HWReadFile(pEASData->hwInstData, fileHandle, header, sizeof(header), &count)) !=… in SMF_CheckFileType() 158 pSMFData->fileHandle = fileHandle; in SMF_CheckFileType() 446 if (pSMFData->streams[i].fileHandle != NULL) in SMF_Close() 448 …if ((result = EAS_HWCloseFile(pEASData->hwInstData, pSMFData->streams[i].fileHandle)) != EAS_SUCCE… in SMF_Close() 452 if (pSMFData->fileHandle != NULL) in SMF_Close() 453 if ((result = EAS_HWCloseFile(pEASData->hwInstData, pSMFData->fileHandle)) != EAS_SUCCESS) in SMF_Close() [all …]
|
D | eas_mdls.c | 244 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 491 dls.fileHandle = fileHandle; in DLSParser() 497 if ((result = EAS_HWFileSeek(dls.hwInstData, dls.fileHandle, offset)) != EAS_SUCCESS) in DLSParser() 499 …if ((result = EAS_HWReadFile(dls.hwInstData, dls.fileHandle, &chunk_type, sizeof(chunk_type), &siz… in DLSParser() 786 if ((result = EAS_HWFileSeek(pDLSData->hwInstData, pDLSData->fileHandle, *pPos)) != EAS_SUCCESS) in NextChunk() 790 …if ((result = EAS_HWGetDWord(pDLSData->hwInstData, pDLSData->fileHandle, pChunkType, EAS_TRUE)) !=… in NextChunk() 794 …if ((result = EAS_HWGetDWord(pDLSData->hwInstData, pDLSData->fileHandle, pSize, EAS_FALSE)) != EAS… in NextChunk() 807 …if ((result = EAS_HWGetDWord(pDLSData->hwInstData, pDLSData->fileHandle, pChunkType, EAS_TRUE)) !=… in NextChunk() 844 if ((result = EAS_HWFileSeek(pDLSData->hwInstData, pDLSData->fileHandle, pos)) != EAS_SUCCESS) in Parse_ptbl() [all …]
|
D | eas_rtttl.c | 65 static EAS_RESULT RTTTL_CheckFileType (S_EAS_DATA *pEASData, EAS_FILE_HANDLE fileHandle, EAS_VOID_P… 138 static EAS_RESULT RTTTL_CheckFileType (S_EAS_DATA *pEASData, EAS_FILE_HANDLE fileHandle, EAS_VOID_P… in RTTTL_CheckFileType() argument 144 data.fileHandle = fileHandle; in RTTTL_CheckFileType() 160 pData->fileHandle = fileHandle; in RTTTL_CheckFileType() 345 …if ((result = EAS_HWFileSeek(pEASData->hwInstData, pData->fileHandle, pData->repeatOffset)) != EAS… in RTTTL_Event() 578 if ((result = EAS_HWCloseFile(pEASData->hwInstData, pData->fileHandle)) != EAS_SUCCESS) in RTTTL_Close() 625 …if ((result = EAS_HWFileSeek(pEASData->hwInstData, pData->fileHandle, pData->fileOffset)) != EAS_S… in RTTTL_Reset() 1020 …if ((result = EAS_HWFileSeek(pEASData->hwInstData, pData->fileHandle, pData->fileOffset)) != EAS_S… in RTTTL_ParseHeader() 1030 if ((result = EAS_HWGetByte(pEASData->hwInstData, pData->fileHandle, &temp)) != EAS_SUCCESS) in RTTTL_ParseHeader() 1123 …if ((result = EAS_HWFilePos(pEASData->hwInstData, pData->fileHandle, &pData->repeatOffset)) != EAS… in RTTTL_ParseHeader() [all …]
|
D | eas_ota.c | 87 static EAS_RESULT OTA_CheckFileType (S_EAS_DATA *pEASData, EAS_FILE_HANDLE fileHandle, EAS_VOID_PTR… 169 static EAS_RESULT OTA_CheckFileType (S_EAS_DATA *pEASData, EAS_FILE_HANDLE fileHandle, EAS_VOID_PTR… in OTA_CheckFileType() argument 179 if ((result = EAS_HWGetByte(pEASData->hwInstData, fileHandle, &temp)) != EAS_SUCCESS) in OTA_CheckFileType() 189 if ((result = EAS_HWGetByte(pEASData->hwInstData, fileHandle, &temp)) != EAS_SUCCESS) in OTA_CheckFileType() 218 pData->fileHandle = fileHandle; in OTA_CheckFileType() 632 if ((result = EAS_HWCloseFile(pEASData->hwInstData, pData->fileHandle)) != EAS_SUCCESS) in OTA_Close() 881 …if ((result = EAS_HWFileSeek(pEASData->hwInstData, pData->fileHandle, pData->fileOffset)) != EAS_S… in OTA_ParseHeader() 885 if ((result = EAS_HWGetByte(pEASData->hwInstData, pData->fileHandle, &temp)) != EAS_SUCCESS) in OTA_ParseHeader() 1021 …if ((result = EAS_HWGetByte(hwInstData, pData->fileHandle, &pData->current.dataByte)) != EAS_SUCCE… in OTA_FetchBitField() 1064 return EAS_HWFilePos(hwInstData, pData->fileHandle, &pLoc->fileOffset); in OTA_SavePosition() [all …]
|
D | eas_imelody.c | 122 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 *… 193 static EAS_RESULT IMY_CheckFileType (S_EAS_DATA *pEASData, EAS_FILE_HANDLE fileHandle, EAS_VOID_PTR… in IMY_CheckFileType() argument 205 if (IMY_ReadLine(pEASData->hwInstData, fileHandle, buffer, NULL) != EAS_SUCCESS) in IMY_CheckFileType() 222 pData->fileHandle = fileHandle; in IMY_CheckFileType() 448 …if ((result = EAS_HWFileSeek(pEASData->hwInstData, pData->fileHandle, pData->repeatOffset)) != EAS… in IMY_Event() 450 … IMY_ReadLine(pEASData->hwInstData, pData->fileHandle, pData->buffer, &pData->startLine); in IMY_Event() 651 if ((result = EAS_HWCloseFile(pEASData->hwInstData, pData->fileHandle)) != EAS_SUCCESS) in IMY_Close() 701 …if ((result = EAS_HWFileSeek(pEASData->hwInstData, pData->fileHandle, pData->fileOffset)) != EAS_S… in IMY_Reset() 1477 …if ((result = IMY_ReadLine(pEASData->hwInstData, pData->fileHandle, pData->buffer, &pData->startLi… in IMY_ParseHeader() [all …]
|
D | eas_public.c | 517 EAS_RESULT EAS_OpenJETStream (EAS_DATA_HANDLE pEASData, EAS_FILE_HANDLE fileHandle, EAS_I32 offset,… in EAS_OpenJETStream() argument 536 …if ((result = (*pParserModule->pfCheckFileType)(pEASData, fileHandle, &streamHandle, offset)) != E… in EAS_OpenJETStream() 574 EAS_FILE_HANDLE fileHandle; in EAS_OpenFile() local 581 …if ((result = EAS_HWOpenFile(pEASData->hwInstData, locator, &fileHandle, EAS_FILE_READ)) != EAS_SU… in EAS_OpenFile() 588 EAS_HWCloseFile(pEASData->hwInstData, fileHandle); in EAS_OpenFile() 602 …if ((result = (*pParserModule->pfCheckFileType)(pEASData, fileHandle, &streamHandle, 0L)) != EAS_S… in EAS_OpenFile() 605 EAS_HWCloseFile(pEASData->hwInstData, fileHandle); in EAS_OpenFile() 622 if ((result = EAS_HWFileSeek(pEASData->hwInstData, fileHandle, 0L)) != EAS_SUCCESS) in EAS_OpenFile() 625 EAS_HWCloseFile(pEASData->hwInstData, fileHandle); in EAS_OpenFile() 632 EAS_HWCloseFile(pEASData->hwInstData, fileHandle); in EAS_OpenFile() [all …]
|
D | eas_miditypes.h | 81 EAS_FILE_HANDLE fileHandle; /* host wrapper file handle */ member 104 EAS_FILE_HANDLE fileHandle; /* file handle */ member
|
D | eas_xmfdata.h | 47 EAS_FILE_HANDLE fileHandle; member
|
D | eas_tcdata.h | 46 EAS_FILE_HANDLE fileHandle; /* file handle */ member
|
D | eas_rtttldata.h | 51 EAS_FILE_HANDLE fileHandle; /* file handle */ member
|
D | eas_imelodydata.h | 50 EAS_FILE_HANDLE fileHandle; /* file handle */ member
|
D | eas_otadata.h | 58 EAS_FILE_HANDLE fileHandle; /* file handle */ member
|
D | eas_smf.h | 34 EAS_RESULT SMF_CheckFileType (S_EAS_DATA *pEASData, EAS_FILE_HANDLE fileHandle, EAS_VOID_PTR *ppHan…
|
D | jet.c | 50 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()
|
D | eas_parser.h | 51 …ONST pfCheckFileType)(struct s_eas_data_tag *pEASData, EAS_FILE_HANDLE fileHandle, EAS_VOID_PTR *p…
|
D | eas_pcmdata.h | 76 EAS_FILE_HANDLE fileHandle; /* pointer to input file */ member
|
/external/ltp/testcases/kernel/fs/scsi/ltpfs/ |
D | main.c | 334 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/ |
D | chroot02.c | 58 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/ |
D | statfs03.c | 62 int fileHandle = 0; variable 131 if ((fileHandle = creat(path, 0444)) == -1) in setup() 160 close(fileHandle); in cleanup()
|
/external/curl/tests/python_dependencies/impacket/ |
D | smbserver.py | 548 fileHandle = connData['OpenedFiles'][fid]['FileHandle'] 549 if fileHandle != PIPE_FILE_DESCRIPTOR: 550 os.write(fileHandle,data) 551 respData = os.read(fileHandle,data) 653 fileHandle = connData['OpenedFiles'][setFileInfoParameters['FID']]['FileHandle'] 656 os.lseek(fileHandle, infoRecord['EndOfFile']-1, 0) 657 os.write(fileHandle, '\x00') 1293 fileHandle = connData['OpenedFiles'][comClose['FID']]['FileHandle'] 1295 if fileHandle == PIPE_FILE_DESCRIPTOR: 1297 elif fileHandle != VOID_FILE_DESCRIPTOR: [all …]
|
/external/toolchain-utils/compiler_wrapper/ |
D | goldenutil_test.go | 72 fileHandle, err := os.Create(filepath.Join(goldenDir, file.Name)) 76 defer fileHandle.Close() 78 writeGoldenRecords(ctx, fileHandle, file.Records)
|
/external/skia/src/ports/ |
D | SkOSFile_win.cpp | 133 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/skqp/src/ports/ |
D | SkOSFile_win.cpp | 133 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/mdnsresponder/mDNSShared/ |
D | DebugServices.c | 2474 int fileHandle; in DebugWinEnableConsole() local 2490 fileHandle = _open_osfhandle( (long) GetStdHandle( STD_INPUT_HANDLE ), _O_TEXT ); in DebugWinEnableConsole() 2493 file = __handle_reopen( (unsigned long) fileHandle, "r", stdin ); in DebugWinEnableConsole() 2496 file = _fdopen( fileHandle, "r" ); in DebugWinEnableConsole() 2507 fileHandle = _open_osfhandle( (long) GetStdHandle( STD_OUTPUT_HANDLE ), _O_TEXT ); in DebugWinEnableConsole() 2510 file = __handle_reopen( (unsigned long) fileHandle, "w", stdout ); in DebugWinEnableConsole() 2513 file = _fdopen( fileHandle, "w" ); in DebugWinEnableConsole() 2524 fileHandle = _open_osfhandle( (long) GetStdHandle( STD_OUTPUT_HANDLE ), _O_TEXT ); in DebugWinEnableConsole() 2527 file = __handle_reopen( (unsigned long) fileHandle, "w", stderr ); in DebugWinEnableConsole() 2530 file = _fdopen( fileHandle, "w" ); in DebugWinEnableConsole()
|