/dports/emulators/ucon64/ucon64-2.2.2-src/src/backup/ |
H A D | mgd.c | 211 if (size <= 1 * MBIT) in mgd_make_name() 242 if (size <= 1 * MBIT) in mgd_make_name() 250 if (size <= 8 * MBIT) in mgd_make_name() 275 if (size <= 1 * MBIT) in mgd_make_name() 292 if (size <= 6 * MBIT) in mgd_make_name() 301 if (size < 1 * MBIT) in mgd_make_name() 310 if (size <= 3 * MBIT) in mgd_make_name() 323 if (size < 1 * MBIT) in mgd_make_name() 332 if (size <= 3 * MBIT) in mgd_make_name() 353 if (size < 1 * MBIT) in mgd_make_name() [all …]
|
H A D | pce-pro.c | 227 size += 2 * MBIT; in pce_write_rom() 234 if (size == 4 * MBIT) in pce_write_rom() 235 size += 2 * MBIT; in pce_write_rom() 256 romsize = game_table[game_no * 0x20 + 0x1e] * MBIT; in pce_write_rom() 261 if (bytesleft == 4 * MBIT) in pce_write_rom() 262 bytesleft += 2 * MBIT; in pce_write_rom() 269 if ((romsize == 3 * MBIT) && (address - startaddress == 2 * MBIT)) in pce_write_rom() 270 address += 2 * MBIT; in pce_write_rom() 271 else if ((romsize == 4 * MBIT) && (address - startaddress == 4 * MBIT)) in pce_write_rom() 272 fseek (file, -2 * (long) MBIT, SEEK_CUR); in pce_write_rom() [all …]
|
H A D | md-pro.c | 210 if ((id == 0xb0d0 || id == 0x8916) && size > 32 * MBIT) in md_read_rom() 211 size = 32 * MBIT; // Sharp or Intel 32 Mbit flash card in md_read_rom() 214 else if (id == 0x8917 && size > 64 * MBIT) in md_read_rom() 215 size = 64 * MBIT; // Intel 64 Mbit flash card in md_read_rom() 218 printf ("Receive: %u Bytes (%.4f Mb)\n\n", size, (float) size / MBIT); in md_read_rom() 285 printf ("Send: %u Bytes (%.4f Mb)\n\n", size, (float) size / MBIT); in md_write_rom() 304 bytesleft = game_table[game_no * 0x20 + 0x1d] * MBIT; in md_write_rom() 321 address = (address + 2 * MBIT - 1) & ~(2 * MBIT - 1); in md_write_rom() 378 printf ("Receive: %u Bytes (%.4f Mb)\n\n", size, (float) size / MBIT); in md_read_sram() 453 printf ("Send: %u Bytes (%.4f Mb)\n\n", size, (float) size / MBIT); in md_write_sram()
|
H A D | smsgg-pro.c | 190 printf ("Receive: %u Bytes (%.4f Mb)\n\n", size, (float) size / MBIT); in smsgg_read_rom() 262 printf ("Send: %u Bytes (%.4f Mb)\n\n", size, (float) size / MBIT); in smsgg_write_rom() 338 printf ("Receive: %u Bytes (%.4f Mb)\n\n", size, (float) size / MBIT); in smsgg_read_sram() 406 printf ("Send: %u Bytes (%.4f Mb)\n\n", size, (float) size / MBIT); in smsgg_write_sram()
|
H A D | sflash.c | 180 printf ("Receive: %u Bytes (%.4f Mb)\n\n", size, (float) size / MBIT); in sf_read_rom() 243 printf ("Send: %u Bytes (%.4f Mb)\n\n", size, (float) size / MBIT); in sf_write_rom() 333 printf ("Receive: %u Bytes (%.4f Mb)\n\n", size, (float) size / MBIT); in sf_read_sram() 386 printf ("Send: %u Bytes (%.4f Mb)\n\n", size, (float) size / MBIT); in sf_write_sram()
|
H A D | cmc.c | 207 if (reported_size < MBIT) in cyan_calculate_rom_size() 208 reported_size = MBIT; in cyan_calculate_rom_size() 231 if (i == MBIT) in cyan_calculate_rom_size() 233 for (i = 0; i < MBIT; i++) in cyan_calculate_rom_size() 236 if (i == MBIT) in cyan_calculate_rom_size()
|
H A D | gd.c | 853 if ((i + 1) * 8 * MBIT <= gd_fsize - gd_header_len) in gd_write_rom() 854 part_sizes[i] = 8 * MBIT; in gd_write_rom() 856 part_sizes[i] = gd_fsize - gd_header_len - i * 8 * MBIT; in gd_write_rom() 863 if ((buffer = (unsigned char *) malloc (8 * MBIT + gd_header_len)) == NULL) in gd_write_rom() 865 fprintf (stderr, ucon64_msg[ROM_BUFFER_ERROR], 8 * MBIT + gd_header_len); in gd_write_rom() 869 printf ("Send: %u Bytes (%.4f Mb)\n", gd_fsize, (float) gd_fsize / MBIT); in gd_write_rom()
|
H A D | msg.c | 168 printf ("Receive: %d Bytes (%.4f Mb)\n", size, (float) size / MBIT); in msg_read_rom() 226 printf ("Send: %u Bytes (%.4f Mb)\n", size, (float) size / MBIT); in msg_write_rom()
|
H A D | fal.c | 602 printf ("Receive: %d Bytes (%.4f Mb)\n\n", size, (float) size / MBIT); in BackupSRAM() 646 (float) ucon64.fsize / MBIT); in RestoreSRAM() 689 printf ("Receive: %d Bytes (%.4f Mb)\n\n", size, (float) size / MBIT); in BackupROM() 940 printf ("Send: %d Bytes (%.4f Mb)\n\n", FileSize, (float) FileSize / MBIT); in ProgramNonTurboIntelFlash() 1057 printf ("Send: %d Bytes (%.4f Mb)\n\n", FileSize, (float) FileSize / MBIT); in ProgramTurboIntelFlash() 1176 printf ("Send: %d Bytes (%.4f Mb)\n\n", FileSize, (float) FileSize / MBIT); in ProgramSharpFlash()
|
H A D | mgh.c | 58 snprintf (suffix, sizeof suffix, ".%03u", size / MBIT); in mgh_make_name()
|
H A D | swc.c | 768 printf ("Receive: %u Bytes (%.4f Mb)\n", size * MBIT, (float) size); in swc_read_rom() 781 size *= MBIT; // size in bytes for ucon64_gauge() below in swc_read_rom() 806 dump_rom (file, 8 * MBIT, 8 * 16, 0xc00000, 0xcfffff, 0xc00000); in swc_read_rom() 808 dump_rom (file, size - 8 * MBIT, blocksleft - 8 * 16, 0xf00000, 0xffffff, in swc_read_rom() 860 printf ("Send: %u Bytes (%.4f Mb)\n", fsize, (float) fsize / MBIT); in swc_write_rom()
|
H A D | gbx.c | 1594 if ((filesize < 0x8000) || (filesize & 0x7fff) || (filesize > 64 * MBIT)) 1715 printf ("Receive: %d Bytes (%.4f Mb)\n\n", totalbytes, (float) totalbytes / MBIT); in gbx_read_rom() 1752 (ucon64.fsize > 64 * MBIT)) in gbx_write_rom() 1775 n_banks * 0x4000, (float) (n_banks * 0x4000) / MBIT); in gbx_write_rom() 1907 printf ("Receive: %d Bytes (%.4f Mb)\n\n", totalbytes, (float) totalbytes / MBIT); in gbx_read_sram() 1981 printf ("Send: %d Bytes (%.4f Mb)\n\n", totalbytes, (float) totalbytes / MBIT); in gbx_write_sram()
|
/dports/net/l2tpd/l2tpd-0.69/ |
H A D | avpsend.c | 32 raw[0] = htons (0x8 | MBIT); in add_message_type_avp() 54 raw[0] = htons (0xA | MBIT); in add_frame_caps_avp() 66 raw[0] = htons (0xA | MBIT); in add_bearer_caps_avp() 104 raw[0] = htons (0xC | MBIT); in add_hostname_avp() 126 raw[0] = htons (0x8 | MBIT); in add_tunnelid_avp() 137 raw[0] = htons (0x8 | MBIT); in add_avp_rws() 204 raw[0] = htons (0x8 | MBIT); 219 raw[0] = htons (0xA | MBIT); 231 raw[0] = htons (0xA | MBIT); 243 raw[0] = htons (0xA | MBIT); [all …]
|
/dports/emulators/ucon64/ucon64-2.2.2-src/src/console/ |
H A D | snes.c | 1819 newsize = ((size + MBIT - 1) / MBIT) * MBIT; in snes_convert_to_gd() 1858 snes_mirror (dstbuf, 8 * MBIT, 12 * MBIT, 16 * MBIT); in snes_convert_to_gd() 1868 snes_mirror (dstbuf, 8 * MBIT, 10 * MBIT, 12 * MBIT); in snes_convert_to_gd() 1869 snes_mirror (dstbuf, 12 * MBIT, 14 * MBIT, 16 * MBIT); in snes_convert_to_gd() 2050 12 * MBIT : ((size + MBIT - 1) & ~(MBIT - 1)), in snes_ufo() 2147 { 4 * MBIT, 8 * MBIT, 10 * MBIT, 12 * MBIT, in snes_ufosd() 2148 16 * MBIT, 20 * MBIT, 24 * MBIT, 32 * MBIT }; in snes_ufosd() 2574 (size + 9 * MBIT - 1) / (9 * MBIT)); in snes_split_ufo() 2705 (size + 9 * MBIT - 1) / (9 * MBIT)); in snes_split_smc() 2785 if (size < 4 * MBIT && size != 2 * MBIT) in snes_s() [all …]
|
H A D | genesis.c | 346 genesis_rom_size = 1 * MBIT; in genesis_mgd() 348 genesis_rom_size = 2 * MBIT; in genesis_mgd() 350 genesis_rom_size = 4 * MBIT; in genesis_mgd() 352 genesis_rom_size = 8 * MBIT; in genesis_mgd() 354 genesis_rom_size = 16 * MBIT; in genesis_mgd() 356 genesis_rom_size = 20 * MBIT; in genesis_mgd() 569 if (part_size < 4 * MBIT) in genesis_s() 721 if (part_size < 4 * MBIT) in genesis_smgh() 729 part_size = 8 * MBIT; in genesis_smgh() 1227 if (size <= 16 * MBIT) in write_game_table_entry() [all …]
|
H A D | gba.c | 754 if (truncate_size != 64 * MBIT && truncate_size != 128 * MBIT && in gba_multi() 755 truncate_size != 256 * MBIT && truncate_size != 512 * MBIT && in gba_multi() 756 truncate_size != 1024 * MBIT) in gba_multi() 843 truncate_size / MBIT, fname_ptr, in gba_multi() 876 if (totalsize > 64 * MBIT && !truncate_size_ispow2) in gba_multi() 881 size_pow2 / MBIT, size_pow2_lesser / MBIT, size_pow2_lesser / MBIT, in gba_multi() 882 totalsize / (float) MBIT); in gba_multi() 1289 if ((pos - GBA_MENU_SIZE) > 128 * MBIT) in gba_sc() 1302 if ((pos - GBA_MENU_SIZE) > 128 * MBIT) in gba_sc()
|
H A D | lynx.c | 146 header.page_size_bank0 = (short) (size > 4 * MBIT ? 4 * MBIT / 256 : size / 256); in lynx_lnx() 147 header.page_size_bank1 = (short) (size > 4 * MBIT ? (size - (4 * MBIT)) / 256 : 0); in lynx_lnx()
|
H A D | pce.c | 696 header.emulation = size == 3 * MBIT ? 1 : 0; in pce_msg() 852 fputc ((int) (totalsize / MBIT), destfile); // 0x1d = bank code in write_game_table_entry() 853 fputc (size / MBIT, destfile); // 0x1e = ROM size (not used by loader, but by us) in write_game_table_entry() 946 truncate_size / MBIT, ucon64.fname, in pce_multi() 968 totalsize = (totalsize + MBIT - 1) & ~(MBIT - 1); in pce_multi() 969 if (size == 3 * MBIT || size == 4 * MBIT) in pce_multi() 970 totalsize += 2 * MBIT; in pce_multi()
|
H A D | neogeo.c | 215 fcopy (fname, 0, MBIT, dest_name, "wb"); in neogeo_bios() 216 ucon64_fbswap16 (dest_name, 0, MBIT); in neogeo_bios()
|
H A D | n64.c | 391 if (size > 4 * MBIT) in n64_usms() 397 if ((usmsbuf = (char *) malloc (4 * MBIT)) == NULL) in n64_usms() 399 fprintf (stderr, ucon64_msg[BUFFER_ERROR], 4 * MBIT); in n64_usms() 402 memset (usmsbuf, 0xff, 4 * MBIT); in n64_usms() 412 ucon64_fwrite (usmsbuf, rominfo->backup_header_len + 0x01b410, 4 * MBIT, dest_name, "r+b"); in n64_usms()
|
/dports/textproc/ltxml/ltxml-1.2.9/XML/src/api/ |
H A D | sgmlparse.c | 133 NSL_Bit *MBIT; in GetMatchingComponent() local 137 MBIT=NextBit(sgmlfile); in GetMatchingComponent() 138 switch (MBIT->type) { in GetMatchingComponent() 141 MITEM=MBIT->value.item; in GetMatchingComponent() 164 *MBITp = MBIT; in GetMatchingComponent() 178 *MBITp = MBIT; in GetMatchingComponent() 181 *MBITp = MBIT; in GetMatchingComponent() 187 FreeBit(MBIT); in GetMatchingComponent() 193 FreeBit(MBIT); in GetMatchingComponent() 205 NSL_Bit *MBIT; in GetNextQueryItem() local [all …]
|
/dports/archivers/opkg-openwrt/opkg-b07cde3/libbb/ |
H A D | mode_string.c | 38 static const mode_t MBIT[] = { variable 62 buf[i + 1] = (mode & MBIT[i]) ? SMODE1[i] : SMODE0[i]; in mode_string() 64 buf[i + 1] = (mode & MBIT[i]) ? MODE1[i] : MODE0[i]; in mode_string()
|
/dports/emulators/ucon64/ucon64-2.2.2-src/src/ |
H A D | ucon64_defines.h | 55 #define MBIT 131072U macro 56 #define TOMBIT(x) ((unsigned int)(x) / MBIT) 57 #define TOMBIT_F(x) ((float)(x) / MBIT) 59 #define MAXROMSIZE (512 * MBIT)
|
H A D | ucon64_opts.c | 701 ucon64.part_size = strtol (option_arg, NULL, 10) * MBIT; in ucon64_switches() 1093 (MBIT - ((ucon64.fsize - value) % MBIT))) == -1) in ucon64_options() 1470 gba_multi (strtol (option_arg, NULL, 10) * MBIT, NULL); in ucon64_options() 1473 genesis_multi (strtol (option_arg, NULL, 10) * MBIT); in ucon64_options() 1476 pce_multi (strtol (option_arg, NULL, 10) * MBIT); in ucon64_options() 1479 sms_multi (strtol (option_arg, NULL, 10) * MBIT); in ucon64_options() 1482 snes_multi (strtol (option_arg, NULL, 10) * MBIT); in ucon64_options() 2394 smsgg_read_rom (ucon64.fname, ucon64.parport, 32 * MBIT); in ucon64_options() 2522 pce_read_rom (ucon64.fname, ucon64.parport, 32 * MBIT); in ucon64_options() 2543 sf_read_rom (ucon64.fname, ucon64.parport, 64 * MBIT); in ucon64_options() [all …]
|
/dports/lang/yap/yap-6.2.2/VC/include/ |
H A D | TermExt.h | 130 …)FunctorDouble, *(Float *)(H+1) = dbl, H[2]=((2*sizeof(CELL)+EndSpecials)|MBIT),H+=3,AbsAppl(H-3))… in MkFloatTerm() 177 …FunctorDouble, *(Float *)(H+1) = dbl, H[3]=((3*sizeof(CELL)+EndSpecials)|MBIT), H+=4, AbsAppl(H-4… in MkFloatTerm() 215 … (CELL)FunctorLongInt,H[1] = (CELL)(i),H[2]=((2*sizeof(CELL)+EndSpecials)|MBIT),H+=3,AbsAppl(H-3))… in MkLongIntTerm()
|