Home
last modified time | relevance | path

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

/TwlSDK-5.1.0/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.1.0/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.1.0/build/buildsetup/ioreg/
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 …]
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 …]
/TwlSDK-5.1.0/build/demos/gx/UnitTours/DEMOLib/src/
DDEMOHostio.c462 ISTDFIOFile *handle = DEMOi_HIO_AllocFile(context); in DEMOi_HIO_OpenFile() local
464 if (!handle) in DEMOi_HIO_OpenFile()
474 result = DEMOi_HIO_ConvertError(ISTDFIOOpen(handle, tmppath, flags)); in DEMOi_HIO_OpenFile()
477 FS_SetFileHandle(file, arc, (void *)handle); in DEMOi_HIO_OpenFile()
497 ISTDFIOFile *handle = (ISTDFIOFile *)FS_GetFileUserData(file); in DEMOi_HIO_CloseFile() local
498 result = DEMOi_HIO_ConvertError(ISTDFIOClose(handle)); in DEMOi_HIO_CloseFile()
499 DEMOi_HIO_FreeFile(context, handle); in DEMOi_HIO_CloseFile()
519 ISTDFIOFile *handle = (ISTDFIOFile *)FS_GetFileUserData(file); in DEMOi_HIO_ReadFile() local
521 result = DEMOi_HIO_ConvertError(ISTDFIORead(handle, buffer, *length, length)); in DEMOi_HIO_ReadFile()
540 ISTDFIOFile *handle = (ISTDFIOFile *)FS_GetFileUserData(file); in DEMOi_HIO_WriteFile() local
[all …]
/TwlSDK-5.1.0/tools/bin/
Dpdic2c.pl281 my $handle;
285 $handle = \*OFH;
289 $handle = \*STDOUT;
291 binmode $handle;
293 print $handle $text;
296 close $handle;
/TwlSDK-5.1.0/include/twl/fatfs/common/
Dtypes.h345 FATFSFileHandle handle; member
355 FATFSFileHandle handle; member
362 FATFSFileHandle handle; member
371 FATFSFileHandle handle; member
380 FATFSFileHandle handle; member
389 FATFSFileHandle handle; member
398 FATFSFileHandle handle; member
405 FATFSFileHandle handle; member
413 FATFSFileHandle handle; member
421 FATFSDirectoryHandle handle; member
[all …]
/TwlSDK-5.1.0/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
1033 read = FATFS_ReadFile(handle, dst, (int)len); in FSi_FATFS_ReadFile()
1075 FATFSFileHandle handle = (FATFSFileHandle)FS_GetFileUserData(file); in FSi_FATFS_WriteFile() local
1109 written = FATFS_WriteFile(handle, dst, (int)len); in FSi_FATFS_WriteFile()
[all …]
/TwlSDK-5.1.0/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.1.0/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.1.0/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.1.0/include/nitro/specfiles/2.x/
DARM9-TS.lcf.template106 # Added ALIGN(32) for convenience to handle cache line
DARM9-TEG.lcf.template81 # Added ALIGN(32) for convenience to handle cache line
/TwlSDK-5.1.0/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