Home
last modified time | relevance | path

Searched refs:U_32 (Results 1 – 25 of 73) sorted by relevance

123

/dports/sysutils/dar/dar-2.5.14-bis/src/libdar/
H A Dtronconneuse.hpp112 U_32 get_clear_block_size() const { return clear_block_size; }; in get_clear_block_size()
146 virtual U_32 encrypted_block_size_for(U_32 clear_block_size) = 0;
156 virtual U_32 clear_block_allocated_size_for(U_32 clear_block_size) = 0;
168 virtual U_32 encrypt_data(const infinint & block_num,
169 const char *clear_buf, const U_32 clear_size, const U_32 clear_allocated,
170 char *crypt_buf, U_32 crypt_size) = 0;
180 virtual U_32 decrypt_data(const infinint & block_num,
181 const char *crypt_buf, const U_32 crypt_size,
182 char *clear_buf, U_32 clear_size) = 0;
201 U_32 encrypted_buf_size; //< allocated size of encrypted_buf
[all …]
H A Dcrypto_sym.hpp66 crypto_sym(U_32 block_size,
85 U_32 encrypted_block_size_for(U_32 clear_block_size);
86 U_32 clear_block_allocated_size_for(U_32 clear_block_size);
87 U_32 encrypt_data(const infinint & block_num,
88 const char *clear_buf, const U_32 clear_size, const U_32 clear_allocated,
89 char *crypt_buf, U_32 crypt_size);
90 U_32 decrypt_data(const infinint & block_num,
91 const char *crypt_buf, const U_32 crypt_size,
92 char *clear_buf, U_32 clear_size);
H A Delastic.cpp83 const U_32 first_pos = pos; in elastic()
101 U_32 power_base = 1; in elastic()
103 const U_32 int_width = sizeof(U_32); in elastic()
104 U_32 byte_counter = 0; in elastic()
140 U_32 count = 0; in elastic()
161 U_32 power_base = 1; in elastic()
163 const U_32 int_width = sizeof(U_32); in elastic()
209 U_32 elastic::dump(unsigned char *buffer, U_32 size) const in dump()
216 U_32 pos; in dump()
217 U_32 cur; in dump()
[all …]
H A Delastic.hpp56 elastic(U_32 size);
57 …elastic(const unsigned char *buffer, U_32 size, elastic_direction dir, const archive_version & rea…
60 U_32 dump(unsigned char *buffer, U_32 size) const;
61 U_32 get_size() const { return taille; }; in get_size()
66 U_32 taille; // max size of elastic buffer is 4GB which is large enough
H A Dstorage.hpp65 U_32 size;
69 storage(U_32 size) in storage()
115 iterator operator + (U_32 s) const in operator +()
117 iterator operator - (U_32 s) const in operator -()
119 iterator & operator += (U_32 s);
120 iterator & operator -= (U_32 s);
132 static const U_32 OFF_BEGIN = 1;
133 static const U_32 OFF_END = 2;
137 U_32 offset;
200 void make_alloc(U_32 size, struct cellule * & begin, struct cellule * & end);
H A Dlimitint.hpp127 limitint & operator >>= (U_32 bit);
129 limitint & operator <<= (U_32 bit);
140 U_32 operator % (U_32 arg) const;
170 static const U_32 sizeof_field = sizeof(B); // number of bytes
208 template <class B> limitint<B> operator >> (const limitint<B> & a, U_32 bit);
210 template <class B> limitint<B> operator << (const limitint<B> & a, U_32 bit);
212 template <class B> limitint<B> operator & (const limitint<B> & a, U_32 bit);
476 template <class B> limitint<B> & limitint<B>::operator >>= (U_32 bit) in operator >>=()
491 template <class B> limitint<B> & limitint<B>::operator <<= (U_32 bit) in operator <<=()
525 template <class B> U_32 limitint<B>::operator % (U_32 arg) const in operator %()
[all …]
H A Dcrypto_sym.cpp59 crypto_sym::crypto_sym(U_32 block_size, in crypto_sym()
230 U_32 crypto_sym::encrypted_block_size_for(U_32 clear_block_size) in encrypted_block_size_for()
238 U_32 crypto_sym::clear_block_allocated_size_for(U_32 clear_block_size) in clear_block_allocated_size_for()
243 U_32 crypto_sym::encrypt_data(const infinint & block_num, in encrypt_data()
244 const char *clear_buf, const U_32 clear_size, const U_32 clear_allocated, in encrypt_data()
245 char *crypt_buf, U_32 crypt_size) in encrypt_data()
248 U_32 size_to_fill = encrypted_block_size_for(clear_size); in encrypt_data()
284U_32 crypto_sym::decrypt_data(const infinint & block_num, const char *crypt_buf, const U_32 crypt_… in decrypt_data()
361 U_32 l = 0, r = 0; in pkcs5_pass2key()
412 for (U_32 i = 1; i <= l; ++i) in pkcs5_pass2key()
[all …]
H A Dstorage.cpp67 U_32 lu, tmp; in storage()
105 U_32 offset = 0; in operator []()
167 U_32 to_write = size - wrote; in write()
168 U_32 space = it.cell->size - it.offset; in write()
201 U_32 to_read = size - read; in read()
349 U_32 sz = 0; in remove_bytes_at_iterator()
391 U_32 pas = 0, delta; in copy_from()
459 U_32 failed_alloc = ~0; in reduce()
624 U_32 dsize = size; in make_alloc()
681 U_32 sz = 0; in make_alloc()
[all …]
H A Dintegers.hpp53 typedef uint32_t U_32; typedef
77 typedef unsigned long U_32; typedef
95 typedef unsigned int U_32; typedef
H A Dreal_infinint.hpp106 infinint & operator >>= (U_32 bit);
108 infinint & operator <<= (U_32 bit);
119 U_32 operator % (U_32 arg) const in operator %()
197 infinint operator >> (const infinint & a, U_32 bit);
199 infinint operator << (const infinint & a, U_32 bit);
H A Dreal_infinint.cpp122 U_32 tmp; in dump()
419 infinint & infinint::operator >>= (U_32 bit) in operator >>=()
424 U_32 byte = bit/8; in operator >>=()
467 U_32 delta_bit = 0; in operator >>=()
481 infinint & infinint::operator <<= (U_32 bit) in operator <<=()
486 U_32 byte = bit/8; in operator <<=()
533 U_32 delta_bit = 0; in operator <<=()
808 infinint operator >> (const infinint & a, U_32 bit) in operator >>()
822 infinint operator << (const infinint & a, U_32 bit) in operator <<()
H A Darchive_options.hpp95 void set_crypto_size(U_32 crypto_size) { x_crypto_size = crypto_size; }; in set_crypto_size()
200 U_32 get_crypto_size() const { return x_crypto_size; }; in get_crypto_size()
218 U_32 get_ref_crypto_size() const { return x_ref_crypto_size; }; in get_ref_crypto_size()
228 U_32 x_crypto_size;
247 U_32 x_ref_crypto_size;
526 U_32 get_crypto_size() const { return x_crypto_size; }; in get_crypto_size()
582 U_32 x_crypto_size;
745 U_32 get_crypto_size() const { return x_crypto_size; }; in get_crypto_size()
772 U_32 x_crypto_size;
966 U_32 get_crypto_size() const { return x_crypto_size; }; in get_crypto_size()
[all …]
H A Dtools.hpp529 U_32 max_size,
530 U_32 modulo,
531 U_32 offset);
620 …next_char_out_of_parenthesis(const std::string & data, const char what, U_32 start, U_32 & found);
709 extern std::string tools_get_permission_string(char type, U_32 perm, bool hard);
H A Dheader.hpp47 …const U_32 SAUV_MAGIC_NUMBER = 123; // Why "SAUV_..." because SAUV was the name of DAR much before…
49 typedef U_32 magic_number;
/dports/sysutils/dar/dar-2.5.14-bis/src/testing/
H A Dtest_tronconneuse.cpp70 …test(user_interaction & dialog, U_32 block_size, generic_file & encrypted_size, bool no_is = false… in test()
74 U_32 encrypted_block_size_for(U_32 clear_block_size) { return clear_block_size + 1; }; in encrypted_block_size_for()
75 U_32 clear_block_allocated_size_for(U_32 clear_block_size) { return clear_block_size + 2; }; in clear_block_allocated_size_for()
76U_32 encrypt_data(const infinint & block_num, const char *clear_buf, const U_32 clear_size, const
77U_32 decrypt_data(const infinint & block_num, const char *crypt_buf, const U_32 crypt_size, char *…
80 U_32 test::encrypt_data(const infinint & block_num, const char *clear_buf, const U_32 clear_size, c… in encrypt_data()
90 U_32 test::decrypt_data(const infinint & block_num, const char *crypt_buf, const U_32 crypt_size, c… in decrypt_data()
H A Dtest_tuyau.cpp67 static void action_xmit(user_interaction & dialog, tuyau *in, tuyau *out, U_32 duration);
85 U_32 duration; in little_main()
106 static void action_xmit(user_interaction & dialog, tuyau *in, tuyau *out, U_32 duration) in action_xmit()
160 U_32 lu; in action_loop()
H A Dtest_limitint.cpp109 U_32 twopower32_1 = ~0; in routine_limitint()
110 U_32 twopower31 = 1 << 31; in routine_limitint()
112 infinint a = (U_32)(twopower32_1); in routine_limitint()
/dports/devel/emscripten/emscripten-2.0.3/tests/nbody-java/
H A Dxmlvm-sock.h46 void netGetJavaNetInetAddressValue (JAVA_OBJECT anInetAddress, U_8* buffer, U_32* length);
47 void netGetJavaNetInetAddressScopeId (JAVA_OBJECT anInetAddress, U_32* scope_id);
49 …ewJavaNetInetAddressGenericBS (JAVA_ARRAY_BYTE* address, U_32 length, const char* hostName, U_32 s…
51 …dr_t handle, U_8 * addr, I_32 addrlength, I_16 family, U_16 nPort, U_32 flowinfo, U_32 scope_id, h…
61 I_32 hysock_timeval_init (U_32 secTime, U_32 uSecTime, hytimeval_t timeP);
H A Dhycomp.h80 typedef unsigned int U_32; typedef
153 typedef U_32 BOOLEAN;
276 typedef U_32 UDATA;
361 #define LOW_LONG(l) (*((U_32 *) &(l)))
362 #define HIGH_LONG(l) (*(((U_32 *) &(l)) + 1))
368 #define U32(x) ((U_32) (x))
372 #define U32P(x) ((U_32 *) (x))
392 #define LU32(x) (*((U_32 *) &(x)))
396 #define LU32P(x) (*((U_32 **) &(x)))
H A Dhysock.h262 U_32 length;
263 U_32 scope;
270 U_32 numberAddresses;
271 U_32 index;
277 U_32 length;
H A Dxmlvm-sock.c286 void netGetJavaNetInetAddressValue (JAVA_OBJECT anInetAddress, U_8* buffer, U_32* length) in netGetJavaNetInetAddressValue()
294 void netGetJavaNetInetAddressScopeId (JAVA_OBJECT anInetAddress, U_32* scope_id) in netGetJavaNetInetAddressScopeId()
361 total = h_len + ((i + 2) * sizeof (void *)) + (i * sizeof (U_32)); in copy_hostent()
386 *((U_32 *) buffer) = *((U_32 *) source->h_addr_list[i]); in copy_hostent()
387 buffer += sizeof (U_32); in copy_hostent()
403 JAVA_OBJECT newJavaNetInetAddressGenericBS (JAVA_ARRAY_BYTE* address, U_32 length, in newJavaNetInetAddressGenericBS()
404 const char* hostName, U_32 scope_id) in newJavaNetInetAddressGenericBS()
411 U_32 i = 0; in newJavaNetInetAddressGenericBS()
581 I_16 family, U_16 nPort, U_32 flowinfo, U_32 scope_id, in hysock_sockaddr_init6()
993 I_32 hysock_timeval_init (U_32 secTime, U_32 uSecTime, hytimeval_t timeP) in hysock_timeval_init()
H A Dxmlvm-number.h51 U_32 u32val[2];
95 U_32 simpleMultiplyHighPrecision (U_64 * arg1, IDATA length, U_64 arg2);
98 U_32 simpleAppendDecimalDigitHighPrecision (U_64 * arg1, IDATA length, U_64 digit);
H A Dhysocket.h34 #define HYSOCK_INADDR_ANY (U_32)0
35 #define HYSOCK_NOFLAGS (U_32)0 /* The default flag argument value, as in a recv */
H A Dxmlvm-hy.h48 U_32 errorMessageBufferSize; /**< error message buffer size */
51 U_32 reportedMessageBufferSize; /**< reported message buffer size */
/dports/sysutils/dar/dar-2.5.14-bis/src/dar_suite/
H A Dcommand_line.hpp102 U_32 crypto_size; //< block size by which to cypher data
103U_32 crypto_size_ref; //< block size by which to uncypher data from the archive of referen…
109U_32 aux_crypto_size; //< block size by which to cypher/uncypher data to/from the auxiliar…

123