Home
last modified time | relevance | path

Searched refs:handle (Results 1 – 22 of 22) sorted by relevance

/TwlSDK-5.5/build/demos/snd/seq/src/
Dseq.c86 BOOL SeqMain(SeqHandle * handle) in SeqMain() argument
93 if (!(handle->state & SEQ_STATE_PLAY)) in SeqMain()
99 handle->time_control += handle->time_per_callback; in SeqMain()
101 while (handle->time_control > handle->tempo) in SeqMain()
106 if (handle->delta_time > 0) in SeqMain()
108 handle->delta_time--; in SeqMain()
111 while (handle->delta_time == 0) in SeqMain()
115 handle->current_ptr += handle->next_delta_bytesize; in SeqMain()
118 if (*handle->current_ptr >= 0x80) in SeqMain()
121 current_event = handle->running_status = *handle->current_ptr; in SeqMain()
[all …]
Dmain.c42 static SeqHandle handle; variable
106 (void)SeqPlay(&handle, midifile_buf); in NitroMain()
111 (void)SeqStop(&handle); in NitroMain()
115 (void)SeqMain(&handle); in NitroMain()
/TwlSDK-5.5/build/buildsetup/trig/
Dasinatan.pl5 $handle = STDOUT;
8 print $handle <<ENDDOC;
35 printf $handle " (fx16)0x%04x // %.3f\n", $val, ($val / 4096.0);
37 printf $handle " (fx16)0x%04x, // %.3f\n", $val, ($val / 4096.0);
42 print $handle "};\n";
43 print $handle "\n";
45 print $handle <<ENDDOC;
Dsincos.pl3 $handle = STDOUT;
5 print $handle <<ENDDOC;
29 …printf $handle " (fx16)0x%04x, (fx16)0x%04x // %.3f, %.3f ( deg = %f )\n", ($valsin…
31 …printf $handle " (fx16)0x%04x, (fx16)0x%04x, // %.3f, %.3f ( deg = %f )\n", ($valsin…
35 print $handle "};\n";
/TwlSDK-5.5/build/buildsetup/ioreg/
Dheader_generator_ioreg.TWL.pl352 my $handle = OUT;
362 print $handle <<ENDDOC;
402 print $handle "/* $hash->{'name'} */\n\n";
412 printf $handle "#if %s\n\n", $tmp_hash->{'condition'};
414 printf $handle "\n#elif %s\n\n", $tmp_hash->{'condition'};
417 printf $handle "\n#else\n\n";
420 printf $handle "#define %-50s %s\n", $tmp_hash->{'offset_def'}, $tmp_hash->{'offset'};
421 …printf $handle "#define %-50s %s\n", $tmp_hash->{"address_def"}, "(HW_REG_BASE + $tmp_hash->{'offs…
422 … printf $handle "#define %-50s %s\n", $tmp_hash->{"valname_def_new"}, $tmp_hash->{"reg_type"};
425 printf $handle "// endif %s\n", $tmp_hash->{"condition"}
[all …]
Dheader_generator_ioreg.pl352 my $handle = OUT;
362 print $handle <<ENDDOC;
402 print $handle "/* $hash->{'name'} */\n\n";
412 printf $handle "#if %s\n\n", $tmp_hash->{'condition'};
414 printf $handle "\n#elif %s\n\n", $tmp_hash->{'condition'};
417 printf $handle "\n#else\n\n";
420 printf $handle "#define %-50s %s\n", $tmp_hash->{'offset_def'}, $tmp_hash->{'offset'};
421 …printf $handle "#define %-50s %s\n", $tmp_hash->{"address_def"}, "(HW_REG_BASE + $tmp_hash->{'offs…
422 … printf $handle "#define %-50s %s\n", $tmp_hash->{"valname_def_new"}, $tmp_hash->{"reg_type"};
425 printf $handle "// endif %s\n", $tmp_hash->{"condition"}
[all …]
/TwlSDK-5.5/build/demos/gx/UnitTours/DEMOLib/src/
DDEMOHostio.c466 ISTDFIOFile *handle = DEMOi_HIO_AllocFile(context); in DEMOi_HIO_OpenFile() local
468 if (!handle) in DEMOi_HIO_OpenFile()
478 result = DEMOi_HIO_ConvertError(ISTDFIOOpen(handle, tmppath, flags)); in DEMOi_HIO_OpenFile()
481 FS_SetFileHandle(file, arc, (void *)handle); in DEMOi_HIO_OpenFile()
501 ISTDFIOFile *handle = (ISTDFIOFile *)FS_GetFileUserData(file); in DEMOi_HIO_CloseFile() local
502 result = DEMOi_HIO_ConvertError(ISTDFIOClose(handle)); in DEMOi_HIO_CloseFile()
503 DEMOi_HIO_FreeFile(context, handle); in DEMOi_HIO_CloseFile()
523 ISTDFIOFile *handle = (ISTDFIOFile *)FS_GetFileUserData(file); in DEMOi_HIO_ReadFile() local
525 result = DEMOi_HIO_ConvertError(ISTDFIORead(handle, buffer, *length, length)); in DEMOi_HIO_ReadFile()
544 ISTDFIOFile *handle = (ISTDFIOFile *)FS_GetFileUserData(file); in DEMOi_HIO_WriteFile() local
[all …]
/TwlSDK-5.5/tools/bin/
Dpdic2c.pl281 my $handle;
285 $handle = \*OFH;
289 $handle = \*STDOUT;
291 binmode $handle;
293 print $handle $text;
296 close $handle;
/TwlSDK-5.5/include/twl/fatfs/common/
Dtypes.h349 FATFSFileHandle handle; member
359 FATFSFileHandle handle; member
366 FATFSFileHandle handle; member
375 FATFSFileHandle handle; member
384 FATFSFileHandle handle; member
393 FATFSFileHandle handle; member
402 FATFSFileHandle handle; member
409 FATFSFileHandle handle; member
417 FATFSFileHandle handle; member
425 FATFSDirectoryHandle handle; member
[all …]
/TwlSDK-5.5/build/libraries/fs/common/src/
Dfs_archive_fatfs.c892 FATFSFileHandle handle = FATFS_INVALID_HANDLE; in FSi_FATFS_OpenFile() local
937 handle = FATFS_OpenFileW(unipath, modestring); in FSi_FATFS_OpenFile()
938 if (handle != FATFS_INVALID_HANDLE) in FSi_FATFS_OpenFile()
940 FS_SetFileHandle(file, arc, (void*)handle); in FSi_FATFS_OpenFile()
968 FATFSFileHandle handle = (FATFSFileHandle)FS_GetFileUserData(file); in FSi_FATFS_CloseFile() local
971 if (FATFS_CloseFile(handle)) in FSi_FATFS_CloseFile()
1001 FATFSFileHandle handle = (FATFSFileHandle)FS_GetFileUserData(file); in FSi_FATFS_ReadFile() local
1053 read = FATFS_ReadFile(handle, dst, (int)len); in FSi_FATFS_ReadFile()
1095 FATFSFileHandle handle = (FATFSFileHandle)FS_GetFileUserData(file); in FSi_FATFS_WriteFile() local
1150 written = FATFS_WriteFile(handle, dst, (int)len); in FSi_FATFS_WriteFile()
[all …]
/TwlSDK-5.5/build/demos.TWL/tcl/tcl-2/src/
Dmain.c127 OSHeapHandle handle; in TwlMain() local
172 handle = OS_CreateHeap( OS_ARENA_MAIN, OS_GetMainArenaLo(), OS_GetMainArenaHi() ); in TwlMain()
173 if (handle < 0) in TwlMain()
177 handle = OS_SetCurrentHeap( OS_ARENA_MAIN, handle ); in TwlMain()
/TwlSDK-5.5/build/demos.TWL/tcl/tcl-1/src/
Dmain.c172 OSHeapHandle handle; in TwlMain() local
216 handle = OS_CreateHeap( OS_ARENA_MAIN, OS_GetMainArenaLo(), OS_GetMainArenaHi() ); in TwlMain()
217 if (handle < 0) in TwlMain()
221 handle = OS_SetCurrentHeap( OS_ARENA_MAIN, handle ); in TwlMain()
/TwlSDK-5.5/build/demos/prc/characterRecognition-1/src/
Dmain.c292 OSHeapHandle handle; in InitOS() local
302 handle = in InitOS()
305 (void)OS_SetCurrentHeap(OS_ARENA_MAIN, handle); in InitOS()
/TwlSDK-5.5/build/demos/prc/characterRecognition-2/src/
Dmain.c561 OSHeapHandle handle; in InitOS() local
571 handle = in InitOS()
574 (void)OS_SetCurrentHeap(OS_ARENA_MAIN, handle); in InitOS()
/TwlSDK-5.5/build/tools/makelcf/test/
DARM9-TEG.autogen.lcf129 # Added ALIGN(32) for convenience to handle cache line
Dtest2.lcf129 # Added ALIGN(32) for convenience to handle cache line
Dtest.autogen.lcf129 # Added ALIGN(32) for convenience to handle cache line
Doverlay.autogen.lcf129 # Added ALIGN(32) for convenience to handle cache line
/TwlSDK-5.5/include/nitro/specfiles/2.x/
DARM9-TEG.lcf.template81 # Added ALIGN(32) for convenience to handle cache line
DARM9-TS.lcf.template106 # Added ALIGN(32) for convenience to handle cache line
/TwlSDK-5.5/include/nitro/specfiles/
DARM9-TEG.lcf.template95 # Added ALIGN(32) for convenience to handle cache line
DARM9-TS.lcf.template123 # Added ALIGN(32) for convenience to handle cache line