Main Page | Class Hierarchy | Class List | File List | Class Members | File Members

qword.cc File Reference

#include "qword.h"

Go to the source code of this file.

Functions

uint64 int_to_qword (int i)
sint64 int_to_sint64 (int i)
uint64 sint64_to_uint64 (sint64 s)
sint64 uint64_to_sint64 (uint64 u)
sint64 to_sint64 (int i)
uint64 to_uint64 (UINT i)
sint64 to_sint64 (const uint64 &u)
uint64 to_uint64 (const sint64 &s)
int qword_cmp (uint64 a, uint64 b)
uint64 qword_add (uint64 a, uint64 b)
uint64 qword_sub (uint64 a, uint64 b)
uint64 qword_mul (uint64 a, uint64 b)
uint64 operator+ (const uint64 &a, const uint64 &b)
uint64operator++ (uint64 &a)
uint64 operator++ (uint64 &a, int b)
uint64operator+= (uint64 &a, const uint64 &b)
uint64 operator- (const uint64 &a, const uint64 &b)
uint64operator-- (uint64 &a)
uint64 operator-- (uint64 &a, int b)
uint64operator-= (uint64 &a, const uint64 &b)
uint64 operator * (const uint64 &a, const uint64 &b)
uint64operator *= (uint64 &a, const uint64 &b)
uint64 operator/ (const uint64 &a, const uint64 &b)
uint64operator/= (uint64 &a, const uint64 &b)
uint64 operator% (const uint64 &a, const uint64 &b)
uint64operator%= (uint64 &a, const uint64 &b)
uint64 operator & (const uint64 &a, const uint64 &b)
uint64operator &= (uint64 &a, uint64 b)
uint64 operator| (const uint64 &a, const uint64 &b)
uint64operator|= (uint64 &a, const uint64 &b)
uint64 operator^ (const uint64 &a, const uint64 &b)
uint64operator^= (uint64 &a, const uint64 &b)
uint64 operator>> (const uint64 &a, byte b)
uint64operator>>= (uint64 &a, byte b)
uint64 operator<< (const uint64 &a, byte b)
uint64operator<<= (uint64 &a, byte b)
uint64 operator~ (const uint64 &a)
uint64 operator- (const uint64 &a)
bool operator< (const uint64 &a, const uint64 &b)
bool operator<= (const uint64 &a, const uint64 &b)
bool operator> (const uint64 &a, const uint64 &b)
bool operator>= (const uint64 &a, const uint64 &b)
bool operator== (const uint64 &a, const uint64 &b)
bool operator!= (const uint64 &a, const uint64 &b)
bool operator! (const uint64 &a)
int sint64_cmp (sint64 a, sint64 b)
sint64 sint64_add (sint64 a, sint64 b)
sint64 sint64_sub (sint64 a, sint64 b)
sint64 sint64_mul (sint64 a, sint64 b)
sint64 operator+ (const sint64 &a, const sint64 &b)
sint64operator++ (sint64 &a)
sint64 operator++ (sint64 &a, int b)
sint64operator+= (sint64 &a, const sint64 &b)
sint64 operator- (const sint64 &a, const sint64 &b)
sint64operator-- (sint64 &a)
sint64 operator-- (sint64 &a, int b)
sint64operator-= (sint64 &a, const sint64 &b)
sint64 operator * (const sint64 &a, const sint64 &b)
sint64operator *= (sint64 &a, const sint64 &b)
sint64 operator/ (const sint64 &a, const sint64 &b)
sint64operator/= (sint64 &a, const sint64 &b)
sint64 operator% (const sint64 &a, const sint64 &b)
sint64operator%= (sint64 &a, const sint64 &b)
sint64 operator & (const sint64 &a, const sint64 &b)
sint64operator &= (sint64 &a, sint64 b)
sint64 operator| (const sint64 &a, const sint64 &b)
sint64operator|= (sint64 &a, const sint64 &b)
sint64 operator^ (const sint64 &a, const sint64 &b)
sint64operator^= (sint64 &a, const sint64 &b)
sint64 operator>> (const sint64 &a, byte b)
sint64operator>>= (sint64 &a, byte b)
sint64 operator<< (const sint64 &a, byte b)
sint64operator<<= (sint64 &a, byte b)
sint64 operator~ (const sint64 &a)
sint64 operator- (const sint64 &a)
bool operator< (const sint64 &a, const sint64 &b)
bool operator<= (const sint64 &a, const sint64 &b)
bool operator> (const sint64 &a, const sint64 &b)
bool operator>= (const sint64 &a, const sint64 &b)
bool operator== (const sint64 &a, const sint64 &b)
bool operator!= (const sint64 &a, const sint64 &b)
bool operator! (const sint64 &a)


Function Documentation

uint64 int_to_qword int  i  ) 
 

Definition at line 24 of file qword.cc.

References uint64::hi, and uint64::lo.

Referenced by filetime_to_ctime().

sint64 int_to_sint64 int  i  ) 
 

Definition at line 32 of file qword.cc.

References dword, sint64::hi, and sint64::lo.

sint64 operator & const sint64 a,
const sint64 b
 

Definition at line 631 of file qword.cc.

uint64 operator & const uint64 a,
const uint64 b
 

Definition at line 317 of file qword.cc.

sint64& operator &= sint64 a,
sint64  b
 

Definition at line 636 of file qword.cc.

uint64& operator &= uint64 a,
uint64  b
 

Definition at line 322 of file qword.cc.

sint64 operator * const sint64 a,
const sint64 b
 

Definition at line 594 of file qword.cc.

References sint64_mul().

uint64 operator * const uint64 a,
const uint64 b
 

Definition at line 280 of file qword.cc.

References qword_mul().

sint64& operator *= sint64 a,
const sint64 b
 

Definition at line 599 of file qword.cc.

uint64& operator *= uint64 a,
const uint64 b
 

Definition at line 285 of file qword.cc.

bool operator! const sint64 a  ) 
 

Definition at line 712 of file qword.cc.

References sint64_cmp(), and to_sint64().

bool operator! const uint64 a  ) 
 

Definition at line 398 of file qword.cc.

References qword_cmp(), and to_uint64().

bool operator!= const sint64 a,
const sint64 b
 

Definition at line 710 of file qword.cc.

References sint64_cmp().

bool operator!= const uint64 a,
const uint64 b
 

Definition at line 396 of file qword.cc.

References qword_cmp().

sint64 operator% const sint64 a,
const sint64 b
 

Definition at line 616 of file qword.cc.

uint64 operator% const uint64 a,
const uint64 b
 

Definition at line 302 of file qword.cc.

sint64& operator%= sint64 a,
const sint64 b
 

Definition at line 625 of file qword.cc.

uint64& operator%= uint64 a,
const uint64 b
 

Definition at line 311 of file qword.cc.

sint64 operator+ const sint64 a,
const sint64 b
 

Definition at line 543 of file qword.cc.

References sint64_add().

uint64 operator+ const uint64 a,
const uint64 b
 

Definition at line 229 of file qword.cc.

References qword_add().

sint64 operator++ sint64 a,
int  b
 

Definition at line 555 of file qword.cc.

sint64& operator++ sint64 a  ) 
 

Definition at line 549 of file qword.cc.

References to_sint64().

uint64 operator++ uint64 a,
int  b
 

Definition at line 241 of file qword.cc.

uint64& operator++ uint64 a  ) 
 

Definition at line 235 of file qword.cc.

References to_uint64().

sint64& operator+= sint64 a,
const sint64 b
 

Definition at line 562 of file qword.cc.

uint64& operator+= uint64 a,
const uint64 b
 

Definition at line 248 of file qword.cc.

sint64 operator- const sint64 a  ) 
 

Definition at line 692 of file qword.cc.

References sint64::hi, sint64::lo, and to_sint64().

sint64 operator- const sint64 a,
const sint64 b
 

Definition at line 568 of file qword.cc.

References sint64_sub().

uint64 operator- const uint64 a  ) 
 

Definition at line 378 of file qword.cc.

References uint64::hi, uint64::lo, and to_uint64().

uint64 operator- const uint64 a,
const uint64 b
 

Definition at line 254 of file qword.cc.

References qword_sub().

sint64 operator-- sint64 a,
int  b
 

Definition at line 581 of file qword.cc.

sint64& operator-- sint64 a  ) 
 

Definition at line 574 of file qword.cc.

References to_sint64().

uint64 operator-- uint64 a,
int  b
 

Definition at line 267 of file qword.cc.

uint64& operator-- uint64 a  ) 
 

Definition at line 260 of file qword.cc.

References to_uint64().

sint64& operator-= sint64 a,
const sint64 b
 

Definition at line 588 of file qword.cc.

uint64& operator-= uint64 a,
const uint64 b
 

Definition at line 274 of file qword.cc.

sint64 operator/ const sint64 a,
const sint64 b
 

Definition at line 605 of file qword.cc.

uint64 operator/ const uint64 a,
const uint64 b
 

Definition at line 291 of file qword.cc.

sint64& operator/= sint64 a,
const sint64 b
 

Definition at line 610 of file qword.cc.

uint64& operator/= uint64 a,
const uint64 b
 

Definition at line 296 of file qword.cc.

bool operator< const sint64 a,
const sint64 b
 

Definition at line 700 of file qword.cc.

References sint64_cmp().

bool operator< const uint64 a,
const uint64 b
 

Definition at line 386 of file qword.cc.

References qword_cmp().

sint64 operator<< const sint64 a,
byte  b
 

Definition at line 674 of file qword.cc.

uint64 operator<< const uint64 a,
byte  b
 

Definition at line 360 of file qword.cc.

sint64& operator<<= sint64 a,
byte  b
 

Definition at line 679 of file qword.cc.

uint64& operator<<= uint64 a,
byte  b
 

Definition at line 365 of file qword.cc.

bool operator<= const sint64 a,
const sint64 b
 

Definition at line 702 of file qword.cc.

References sint64_cmp().

bool operator<= const uint64 a,
const uint64 b
 

Definition at line 388 of file qword.cc.

References qword_cmp().

bool operator== const sint64 a,
const sint64 b
 

Definition at line 708 of file qword.cc.

References sint64_cmp().

bool operator== const uint64 a,
const uint64 b
 

Definition at line 394 of file qword.cc.

References qword_cmp().

bool operator> const sint64 a,
const sint64 b
 

Definition at line 704 of file qword.cc.

References sint64_cmp().

bool operator> const uint64 a,
const uint64 b
 

Definition at line 390 of file qword.cc.

References qword_cmp().

bool operator>= const sint64 a,
const sint64 b
 

Definition at line 706 of file qword.cc.

References sint64_cmp().

bool operator>= const uint64 a,
const uint64 b
 

Definition at line 392 of file qword.cc.

References qword_cmp().

sint64 operator>> const sint64 a,
byte  b
 

Definition at line 664 of file qword.cc.

uint64 operator>> const uint64 a,
byte  b
 

Definition at line 350 of file qword.cc.

sint64& operator>>= sint64 a,
byte  b
 

Definition at line 669 of file qword.cc.

uint64& operator>>= uint64 a,
byte  b
 

Definition at line 355 of file qword.cc.

sint64 operator^ const sint64 a,
const sint64 b
 

Definition at line 653 of file qword.cc.

uint64 operator^ const uint64 a,
const uint64 b
 

Definition at line 339 of file qword.cc.

sint64& operator^= sint64 a,
const sint64 b
 

Definition at line 658 of file qword.cc.

uint64& operator^= uint64 a,
const uint64 b
 

Definition at line 344 of file qword.cc.

sint64 operator| const sint64 a,
const sint64 b
 

Definition at line 642 of file qword.cc.

uint64 operator| const uint64 a,
const uint64 b
 

Definition at line 328 of file qword.cc.

sint64& operator|= sint64 a,
const sint64 b
 

Definition at line 647 of file qword.cc.

uint64& operator|= uint64 a,
const uint64 b
 

Definition at line 333 of file qword.cc.

sint64 operator~ const sint64 a  ) 
 

Definition at line 684 of file qword.cc.

References sint64::hi, and sint64::lo.

uint64 operator~ const uint64 a  ) 
 

Definition at line 370 of file qword.cc.

References uint64::hi, and uint64::lo.

uint64 qword_add uint64  a,
uint64  b
 

Definition at line 97 of file qword.cc.

References uint64::hi, and uint64::lo.

Referenced by operator+().

int qword_cmp uint64  a,
uint64  b
 

Definition at line 88 of file qword.cc.

References uint64::hi, and uint64::lo.

Referenced by AddressFlat64::compareDelinear(), AddressFlat64::compareTo(), elf_addr_is_valid(), elf_addr_to_ofs(), elf_addr_to_section(), elf_ofs_to_addr(), elf_ofs_to_section(), operator!(), operator!=(), operator<(), operator<=(), operator==(), operator>(), operator>=(), and scalar_int_op().

uint64 qword_mul uint64  a,
uint64  b
 

Definition at line 179 of file qword.cc.

References uint64::lo, and to_uint64().

Referenced by operator *().

uint64 qword_sub uint64  a,
uint64  b
 

Definition at line 106 of file qword.cc.

References uint64::hi, and uint64::lo.

Referenced by operator-().

sint64 sint64_add sint64  a,
sint64  b
 

Definition at line 414 of file qword.cc.

References sint64::hi, and sint64::lo.

Referenced by operator+().

int sint64_cmp sint64  a,
sint64  b
 

Definition at line 404 of file qword.cc.

References sint64::hi, and sint64::lo.

Referenced by operator!(), operator!=(), operator<(), operator<=(), operator==(), operator>(), and operator>=().

sint64 sint64_mul sint64  a,
sint64  b
 

Definition at line 497 of file qword.cc.

References sint64::lo, and to_sint64().

Referenced by operator *().

sint64 sint64_sub sint64  a,
sint64  b
 

Definition at line 423 of file qword.cc.

References sint64::hi, and sint64::lo.

Referenced by operator-().

uint64 sint64_to_uint64 sint64  s  ) 
 

Definition at line 40 of file qword.cc.

References uint64::hi, sint64::hi, uint64::lo, and sint64::lo.

sint64 to_sint64 const uint64 u  ) 
 

Definition at line 72 of file qword.cc.

References uint64::hi, sint64::hi, uint64::lo, and sint64::lo.

Referenced by operator!(), operator++(), operator-(), operator--(), scalar_create_int_c(), and sint64_mul().

sint64 to_sint64 int  i  ) 
 

Definition at line 56 of file qword.cc.

References dword, sint64::hi, and sint64::lo.

uint64 to_uint64 const sint64 s  ) 
 

Definition at line 80 of file qword.cc.

References sint64::hi, uint64::hi, sint64::lo, and uint64::lo.

Referenced by operator!(), operator++(), operator-(), operator--(), qword_mul(), and scalar_create_int_c().

uint64 to_uint64 UINT  i  ) 
 

Definition at line 64 of file qword.cc.

References uint64::hi, uint64::lo, and UINT.

sint64 uint64_to_sint64 uint64  u  ) 
 

Definition at line 48 of file qword.cc.

References sint64::hi, uint64::hi, sint64::lo, and uint64::lo.


Generated on Fri May 7 21:15:52 2004 by doxygen 1.3.5