Lines Matching refs:i
140 int i, j; in ConvertHexCharToChar() local
152 for(i = dst_size -1; i >= 0; i--) in ConvertHexCharToChar()
154 tmp[i] = 0x00; in ConvertHexCharToChar()
160 tmp[i] += 0; in ConvertHexCharToChar()
165 tmp[i] += (*p - '0') << 4 * j; in ConvertHexCharToChar()
167 tmp[i] += (*p - 'a' + 10) << 4 * j; in ConvertHexCharToChar()
169 tmp[i] += (*p - 'A' + 10) << 4 * j; in ConvertHexCharToChar()
192 int i, tmp; in OutputIntForBin() local
194 for( i= byte - 1; i>=0; i--) in OutputIntForBin()
196 tmp = val >> i * 8; in OutputIntForBin()
198 val = val - (tmp << i * 8); in OutputIntForBin()
211 int i; in CreateChJumpFile() local
225 for(i=0; i < 4; i++) // (Game Code) (32 bit) in CreateChJumpFile()
227 if(gameCode[i] == 0x00) in CreateChJumpFile()
230 fputc(gameCode[i], fp); in CreateChJumpFile()
254 int i, mode; in main() local
264 for(i = 1; i < argc; i++) in main()
266 p = argv[i]; in main()