| /TwlSDK-5.1.0/include/nitro/math/ |
| D | math.h | 150 #define MATH_DIVUP(x, base) (((x) + ((base)-1)) / (base)) argument 162 #define MATH_ROUNDUP(x, base) (((x) + ((base)-1)) & ~((base)-1)) argument 174 #define MATH_ROUNDDOWN(x, base) ((x) & ~((base)-1)) argument
|
| /TwlSDK-5.1.0/build/demos/spi/tp-2/src/ |
| D | main.c | 86 u16 i, min, max, base; in DrawLine() local 100 base = y2; in DrawLine() 106 base = y1; in DrawLine() 112 py = (u16)(((px - min) * (y2 - y1)) / (x2 - x1) + base); in DrawLine() 124 base = x2; in DrawLine() 130 base = x1; in DrawLine() 136 px = (u16)((py - min) * (x2 - x1) / (y2 - y1) + base); in DrawLine()
|
| /TwlSDK-5.1.0/build/demos/fs/arc-1/src/ |
| D | main.c | 84 u32 base, const CARDRomRegion *fnt, const CARDRomRegion *fat) in MyRom_Create() argument 97 if (!FS_LoadArchive(p_rom->arc, base, in MyRom_Create() 179 const u32 base = 0; in NitroMain() local 183 MyRom_Create(&myrom_dup, "dup", base, fnt, fat); in NitroMain() 199 const u32 base = FS_GetFileImageTop(&sub_binary); in NitroMain() local 204 MyRom_Create(&myrom_sub, "sub", base, &header.fnt, &header.fat); in NitroMain()
|
| /TwlSDK-5.1.0/build/demos/gx/UnitTours/3D_Shininess/src/ |
| D | main.c | 73 static inline u8 powFixedPoint8_(u8 base, u8 exponent) in powFixedPoint8_() argument 75 u16 result = (u16)base; in powFixedPoint8_() 79 return base; in powFixedPoint8_() 83 result *= (u16)base; in powFixedPoint8_()
|
| /TwlSDK-5.1.0/build/tools/defval/ |
| D | misc.c | 298 void UnpackFileName(const char *path, char **dir, char **base, char **ext) in UnpackFileName() argument 329 if (base) in UnpackFileName() 330 *base = StrNDup(path + base_top, ext_top - base_top); in UnpackFileName()
|
| D | misc.h | 45 void UnpackFileName(const char *path, char **dir, char **base, char **ext);
|
| /TwlSDK-5.1.0/build/libraries/snd/ARM9/src/ |
| D | snd_interface.c | 54 void SND_StartSeq(int playerNo, const void *base, u32 offset, const struct SNDBankData *bank) in SND_StartSeq() argument 57 SDK_NULL_ASSERT(base); in SND_StartSeq() 60 PushCommand(SND_COMMAND_START_SEQ, playerNo, base, offset, bank); in SND_StartSeq() 91 void SND_PrepareSeq(int playerNo, const void *base, u32 offset, const struct SNDBankData *bank) in SND_PrepareSeq() argument 94 SDK_NULL_ASSERT(base); in SND_PrepareSeq() 97 PushCommand(SND_COMMAND_PREPARE_SEQ, playerNo, base, offset, bank); in SND_PrepareSeq()
|
| /TwlSDK-5.1.0/build/libraries/std/common/src/ |
| D | std_sprintf.c | 30 char *base; member 167 str.len = len, str.cur = str.base = dst; in STD_TVSNPrintf() 541 str.base[len - 1] = '\0'; in STD_TVSNPrintf() 543 return str.cur - str.base; in STD_TVSNPrintf()
|
| /TwlSDK-5.1.0/include/nitro/prc/ |
| D | algo_common.h | 40 #define PRCi_ALLOC_ARRAY(dst, type, size, base, offset) \ argument 41 (dst) = (type*)((u8*)(base) + (offset)); \
|
| /TwlSDK-5.1.0/build/libraries/gx/ARM9/src/ |
| D | gx_load3d.c | 391 u32 base; in GX_LoadTexPlttEx() local 396 base = (u32)(sTexPlttStartAddrTable[texPltt >> 4] << 12); in GX_LoadTexPlttEx() 399 SDK_ASSERT(0 != base); in GX_LoadTexPlttEx() 409 GXi_DmaCopy32Async(GXi_DmaId, pSrc, (void *)(base + destSlotAddr), szByte, NULL, NULL); in GX_LoadTexPlttEx()
|
| /TwlSDK-5.1.0/include/nitro/snd/ARM9/ |
| D | interface.h | 48 void SND_StartSeq(int playerNo, const void *base, u32 offset, const struct SNDBankData *bank); 49 void SND_PrepareSeq(int playerNo, const void *base, u32 offset, const struct SNDBankData *bank);
|
| /TwlSDK-5.1.0/build/demos.TWL/camera/camera-3/src/ |
| D | main.c | 78 GXBGBmpScrBase base; in GetNextDispSrc() local 84 base = dispSrc[rp]; in GetNextDispSrc() 87 return base; in GetNextDispSrc()
|
| /TwlSDK-5.1.0/build/tools/bin2obj/ |
| D | cookargs.c | 428 void UnpackFileName(const char *path, char **dir, char **base, char **ext) in UnpackFileName() argument 451 if (base) in UnpackFileName() 452 *base = StrNDup(path + base_top, ext_top - base_top - 1); in UnpackFileName()
|
| D | bin2obj.h | 67 void UnpackFileName(const char *path, char **dir, char **base, char **ext);
|
| /TwlSDK-5.1.0/include/nitro/fs/ |
| D | romfat.h | 110 u32 base; \ 328 BOOL FS_LoadArchive(struct FSArchive *arc, u32 base,
|
| /TwlSDK-5.1.0/build/libraries/mb/common/src/ |
| D | mb_fileinfo.c | 325 const u32 base = FS_GetFileImageTop(file); in MB_ReadSegment() local 328 u32 mainTop = p_map[1] - base; in MB_ReadSegment() 341 (void)FS_SeekFile(file, (int)(p_map[2] - base), FS_SEEK_SET); in MB_ReadSegment() 351 const u32 base = FS_GetFileImageTop(file); in MB_ReadSegment() local 355 u32 mainTop = p_map[1] - base; in MB_ReadSegment() 371 (void)FS_SeekFile(file, (int)(offset - base), FS_SEEK_SET); in MB_ReadSegment() 377 (void)FS_SeekFile(file, (int)(offset - base), FS_SEEK_SET); in MB_ReadSegment()
|
| /TwlSDK-5.1.0/build/libraries/fs/common/src/ |
| D | fs_overlay.c | 743 MWiDestructorChain *base = __global_destructor_chain; in FS_EndOverlay() local 744 MWiDestructorChain *p = base; in FS_EndOverlay() 761 if (base == p) in FS_EndOverlay() 763 base = __global_destructor_chain = next; in FS_EndOverlay()
|
| D | fs_proc_default.c | 1249 context->base = 0; in FSi_ROMFAT_Unmount() 1606 BOOL FS_LoadArchive(FSArchive *arc, u32 base, in FS_LoadArchive() argument 1619 context->base = base; in FS_LoadArchive() 1819 return context->base; in FS_GetArchiveBase() 1865 return context->base + pos; in FS_GetArchiveOffset()
|
| /TwlSDK-5.1.0/include/nitro/snd/common/ |
| D | seq.h | 144 const u8 *base; // Note: MainMemory pointer member
|
| /TwlSDK-5.1.0/build/libraries/os/common/src/ |
| D | os_printf.c | 741 char *base; member 913 str.len = len, str.cur = str.base = dst; in OS_VSNPrintfEx() 1264 int pos = str.cur - str.base; in OS_VSNPrintfEx() 1453 str.base[len - 1] = '\0'; in OS_VSNPrintfEx() 1454 return str.cur - str.base; in OS_VSNPrintfEx()
|
| /TwlSDK-5.1.0/build/demos/ctrdg/backup-1/src/ |
| D | draw.c | 450 int base = 0; in DrawTextLen() local 453 base = pc->clip.o.x - tx; in DrawTextLen() 468 for (i = base; i < wx; ++i) in DrawTextLen()
|
| /TwlSDK-5.1.0/data/cht_data/PictoChatSearcherSound/ |
| D | README.txt | 37 To avoid this, the text base of each piece of data must be copied and pasted.
|
| /TwlSDK-5.1.0/build/libraries/dsp/ARM9.TWL/src/ |
| D | dsp_process.c | 449 int base = (int)(sizeof(header) + header->SizeOfOptionalHeader); in DSP_EnumSections() local 454 …if (!DSPi_ReadProcessImage(context, (int)(base + index * sizeof(section)), section, (int)sizeof(se… in DSP_EnumSections()
|